:root {
  --bg: #fbf8f1;
  --surface: #fffdfa;
  --surface-soft: #f5efe4;
  --ink: #1f2430;
  --ink-soft: #4f5a67;
  --brand: #21506a;
  --brand-soft: #4d7691;
  --accent: #e2a640;
  --accent-soft: #f4d69a;
  --line: #dfd4c5;
  --ok: #2e7d32;
  --error: #b6312a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px rgba(31, 36, 48, 0.09);
  --container: 1160px;
  --photo-filter: saturate(0.94) contrast(1.04) brightness(0.99);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(202, 133, 66, 0.16), transparent 35%),
    radial-gradient(circle at 100% 10%, rgba(33, 80, 106, 0.14), transparent 40%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 1.3rem;
}

.section {
  padding-block: 5rem;
}

.section-soft {
  background: linear-gradient(160deg, rgba(237, 195, 142, 0.22), rgba(245, 239, 228, 0.78));
  border-block: 1px solid rgba(202, 133, 66, 0.18);
}

.section-dark {
  background: linear-gradient(145deg, #121a2b 0%, #0c1220 100%);
  color: #f6f8f8;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-soft);
  margin-bottom: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card.reveal:nth-child(2) { transition-delay: 0.06s; }
.card.reveal:nth-child(3) { transition-delay: 0.12s; }
.card.reveal:nth-child(4) { transition-delay: 0.18s; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 212, 197, 0.72);
  background: rgba(249, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 252, 246, 0.97);
  border-bottom-color: rgba(33, 80, 106, 0.2);
  box-shadow: 0 8px 24px rgba(33, 80, 106, 0.12);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-text {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  background: var(--accent);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.24rem 0.65rem;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.hero {
  padding-block: 6.2rem 5.4rem;
}

.hero-inner {
  max-width: 860px;
}

.hero h1 {
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.26rem);
  color: var(--ink-soft);
  max-width: 760px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.trust-chips {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-chips span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(33, 80, 106, 0.2);
  background: rgba(255, 255, 255, 0.65);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.62rem;
}

.hero-visual {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 960px;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(33, 80, 106, 0.16);
  box-shadow: 0 24px 42px rgba(31, 36, 48, 0.16);
  object-fit: cover;
  max-height: 420px;
  filter: var(--photo-filter);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--accent), #dc9855);
  color: #1f170f;
  box-shadow: 0 10px 22px rgba(202, 133, 66, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(202, 133, 66, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(33, 80, 106, 0.28);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
}

h2 {
  font-family: "Prata", serif;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.promise-card {
  padding: 1.65rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #fffdf9, #f6ecdf);
  border: 1px solid rgba(202, 133, 66, 0.28);
  box-shadow: var(--shadow);
}

.promise-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.about-image {
  margin-top: 1rem;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 80, 106, 0.14);
  max-height: 230px;
  object-fit: cover;
  filter: var(--photo-filter);
}

.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.info-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(33, 80, 106, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.mission-panel {
  background: linear-gradient(155deg, rgba(33, 80, 106, 0.95), rgba(77, 118, 145, 0.9));
  color: #eff7f8;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 1.9rem;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(33, 80, 106, 0.16);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(202, 133, 66, 0.5);
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-soft);
  margin-bottom: 0.7rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

.card p {
  color: var(--ink-soft);
}

.card-visual {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 80, 106, 0.1);
  object-fit: cover;
  max-height: 140px;
  margin-bottom: 0.8rem;
  background: #fff;
  filter: var(--photo-filter);
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials-grid .card {
  background: linear-gradient(165deg, #fffdf9, #f8f0e3);
}

.testimonials-grid .card p:first-child {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-image {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 80, 106, 0.12);
  margin-bottom: 0.8rem;
  filter: var(--photo-filter);
}

.process {
  background: linear-gradient(150deg, rgba(33, 80, 106, 0.07), rgba(226, 166, 64, 0.08));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-grid article {
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(33, 80, 106, 0.14);
  padding: 1rem;
}

.process-visual {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(33, 80, 106, 0.12);
  margin-bottom: 0.7rem;
  background: #fff;
  filter: var(--photo-filter);
}

.process-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.process-grid p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.gallery {
  background: linear-gradient(155deg, rgba(33, 80, 106, 0.05), rgba(226, 166, 64, 0.08));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 80, 106, 0.12);
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.12);
  filter: var(--photo-filter);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 34px rgba(33, 80, 106, 0.22);
  filter: saturate(1.02) contrast(1.06) brightness(1.01);
}

.faq-item {
  margin-bottom: 0.8rem;
  padding: 1.1rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 1.7rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.1rem;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--brand-soft);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

.section-dark .section-intro {
  color: rgba(246, 248, 248, 0.86);
}

.insurance-logo-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.insurance-section {
  background: linear-gradient(160deg, rgba(244, 232, 212, 0.55), rgba(251, 248, 241, 0.95));
}

.insurance-section .section-intro {
  color: var(--ink-soft);
}

.trust-section {
  background: linear-gradient(160deg, rgba(244, 232, 212, 0.45), rgba(251, 248, 241, 0.98));
}

.trust-section .section-intro,
.trust-section h2 {
  color: var(--ink);
}

.insurance-logo-card {
  margin: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 234, 0.95));
  border: 1px solid rgba(64, 86, 110, 0.35);
  box-shadow: 0 10px 24px rgba(12, 19, 30, 0.35);
  padding: 0.7rem;
}

.insurance-logo-grid img {
  width: 100%;
  height: 102px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.45rem;
}

.insurance-logo-card--uhc img {
  padding: 0.6rem 0.8rem;
}

.insurance-logo-card--sunshine img {
  padding: 0.7rem 1rem;
}

.insurance-logo-card--cms img {
  padding: 0.55rem 0.75rem;
}

.insurance-logo-card figcaption {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #20384f;
}

.img-placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 2rem;
  text-align: center;
  color: rgba(246, 248, 248, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.6rem;
}

.contact-info {
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.contact-info address {
  margin-top: 1rem;
  font-style: normal;
  display: grid;
  gap: 0.7rem;
}

.contact-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-soft);
}

.contact-row a {
  color: var(--brand);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-btn {
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.58rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.contact-form-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.45rem;
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.form-note {
  margin-bottom: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-note-alt {
  margin-top: 0.1rem;
  margin-bottom: 0;
  font-size: 0.85rem;
}

#contact-form {
  display: grid;
  gap: 0.85rem;
}

#contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.93rem;
  font-weight: 600;
}

#contact-form input,
#contact-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.66rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fffcf8;
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(77, 118, 145, 0.15);
}

.form-status {
  min-height: 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: var(--error);
}

.site-footer {
  padding-block: 1.8rem;
  background: #151c27;
  color: rgba(239, 243, 244, 0.8);
}

.footer-inner {
  text-align: center;
  display: grid;
  gap: 0.4rem;
}

.footer-legal {
  font-size: 0.84rem;
  color: rgba(239, 243, 244, 0.65);
}

.hipaa-badge {
  justify-self: center;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(119, 214, 163, 0.42);
  background: rgba(20, 84, 62, 0.35);
  color: #d9f8eb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hipaa-badge svg {
  width: 18px;
  height: 18px;
  fill: #8ef0c3;
  flex-shrink: 0;
}

@media (max-width: 1060px) {
  .header-inner {
    min-height: auto;
    padding-block: 0.65rem;
    row-gap: 0.65rem;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .main-nav {
    gap: 0.95rem;
  }

  .main-nav a {
    font-size: 0.92rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insurance-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    min-height: auto;
    padding-block: 0.55rem;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.35rem;
    padding-inline: 0.1rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .about-grid,
  .goals-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (max-width: 620px) {
  .container {
    padding-inline: 0.85rem;
  }

  .logo-area {
    gap: 0.55rem;
  }

  .logo-text {
    font-size: 0.98rem;
  }

  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 5rem 4.2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .trust-chips span {
    font-size: 0.7rem;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .gallery-grid,
  .insurance-logo-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 1rem;
  }

  #contact-form input,
  #contact-form textarea {
    font-size: 16px;
  }

  .hipaa-badge {
    font-size: 0.72rem;
    padding: 0.38rem 0.7rem;
  }
}

@media (max-width: 430px) {
  .header-inner {
    row-gap: 0.45rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .lang-btn {
    padding: 0.2rem 0.56rem;
    font-size: 0.72rem;
  }

  .hero {
    padding-block: 4.4rem 3.8rem;
  }

  .hero-sub,
  .section-intro,
  .card p,
  .process-grid p {
    font-size: 0.95rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-grid img,
  .gallery-grid img:hover,
  .site-header,
  .site-header.scrolled {
    transition: none;
    transform: none;
  }
}
