@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --blue: #224292;
  --cyan: #52bdd2;
  --red: #e22328;
  --green: #83bc43;
  --yellow: #fab71b;
  --ink: #17315f;
  --body: #46536b;
  --muted: #f3f8fb;
  --soft-blue: #eaf6fa;
  --white: #ffffff;
  --line: #dbe7ee;
  --shadow: 0 18px 45px rgba(34, 66, 146, 0.12);
  --shadow-hover: 0 18px 40px rgba(34, 66, 146, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  color-scheme: only light;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(34, 66, 146, 0.08);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(34, 66, 146, 0.1);
}

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

.brand {
  width: 185px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  transition: transform 220ms var(--ease-out), filter 220ms ease;
}

.brand:hover img {
  filter: saturate(1.04);
  transform: translateY(-1px) scale(1.01);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: var(--soft-blue);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  position: relative;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, background 180ms ease;
}

.menu-toggle:hover {
  background: #183477;
  box-shadow: 0 10px 22px rgba(34, 66, 146, 0.18);
  transform: translateY(-1px);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle::before {
  top: 14px;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle::after {
  top: 28px;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 26px rgba(34, 66, 146, 0.12);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 56%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left 520ms var(--ease-out);
  z-index: 0;
}

.button:hover {
  box-shadow: 0 14px 28px rgba(34, 66, 146, 0.14);
  transform: translateY(-1px);
  background: #183477;
}

.button:hover::after {
  left: 116%;
}

.button:focus-visible,
.hero-arrow:focus-visible,
.hero-dot:focus-visible,
.timeline-arrow:focus-visible,
.timeline-step:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(250, 183, 27, 0.72);
  outline-offset: 3px;
}

.button.secondary {
  background: var(--yellow);
  color: #112755;
}

.button.secondary:hover {
  background: #f0a800;
}

.button.outline {
  background: transparent;
  border-color: rgba(34, 66, 146, 0.22);
  color: var(--blue);
}

.button.outline:hover {
  background: var(--soft-blue);
}

.hero {
  min-height: 690px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  min-height: 690px;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 720ms var(--ease-out), visibility 720ms var(--ease-out);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
}

.hero-slide-primary {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.42) 70%, rgba(255, 255, 255, 0.08) 100%),
    url("../img/hero-care.png");
}

.hero-slide-compact {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(255, 255, 255, 0.5) 76%, rgba(255, 255, 255, 0.12) 100%),
    url("../img/therapy-session.png");
  background-position: center center;
}

.hero-slide-reference {
  padding: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 48, 108, 0.86) 0%, rgba(18, 48, 108, 0.68) 34%, rgba(18, 48, 108, 0.22) 68%, rgba(18, 48, 108, 0.04) 100%),
    url("../img/specialties-care.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide-reference .container {
  height: 100%;
  display: grid;
  align-items: center;
}

.hero-reference-card {
  min-height: 690px;
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-reference-card::after {
  display: none;
}

.hero-reference-content {
  width: min(625px, 58%);
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 76px 0 98px;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-reference-content .button {
  min-width: 220px;
  justify-content: center;
}

.hero-reference-content h1,
.hero-reference-content .hero-lead,
.hero-reference-content .hero-copy,
.hero-reference-content .hero-phrase {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(10, 23, 54, 0.36);
}

.hero-reference-content h1 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.04;
}

.hero-reference-content .hero-lead {
  max-width: 555px;
  font-size: 20px;
}

.hero-reference-content .hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
}

.hero-reference-content .hero-phrase {
  border-left-color: var(--yellow);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  background:
    linear-gradient(90deg, var(--blue) 0 20%, var(--cyan) 20% 40%, var(--green) 40% 60%, var(--yellow) 60% 80%, var(--red) 80% 100%);
  z-index: 4;
}

.hero-content {
  width: 610px;
  max-width: 100%;
  padding: 76px 0 98px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms var(--ease-out) 120ms, transform 560ms var(--ease-out) 120ms;
}

.hero-slide.is-active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-compact .hero-content {
  width: 565px;
}

.hero-slide-compact h1 {
  max-width: 550px;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.1;
}

.hero-slide-compact .hero-lead {
  max-width: 540px;
  margin-bottom: 14px;
  font-size: 20px;
}

.hero-slide-compact .hero-copy {
  max-width: 535px;
  margin-bottom: 24px;
  font-size: 17px;
}

.hero-slide-compact .hero-phrase {
  min-height: 38px;
  margin-bottom: 22px;
  font-size: 18px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(34, 66, 146, 0.18);
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.hero-arrow:hover {
  background: #183477;
  box-shadow: 0 14px 28px rgba(34, 66, 146, 0.18);
  transform: translateY(-1px);
}

.hero-dots {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(34, 66, 146, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(34, 66, 146, 0.11);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #c9dce8;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 200ms var(--ease-out), background 180ms ease, transform 180ms var(--ease-out);
}

.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  scale: 0 1;
  transform-origin: left center;
  transition: scale 320ms var(--ease-out);
}

.hero-dot:hover {
  background: var(--cyan);
  transform: none;
}

.hero-dot.is-active {
  width: 34px;
}

.hero-dot.is-active::after {
  scale: 1 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: var(--yellow);
}

h1,
.page-hero h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.06;
  font-weight: 800;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.42;
  font-weight: 800;
}

.hero-copy {
  max-width: 575px;
  margin-bottom: 32px;
  color: #334461;
  font-size: 18px;
}

.hero-phrase {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 6px solid var(--green);
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.compact {
  padding: 72px 0;
}

.section.soft {
  background: var(--muted);
}

.section.blue {
  background: var(--blue);
  color: var(--white);
}

.section.blue .section-title h2,
.section.blue .section-title p,
.section.blue .eyebrow {
  color: var(--white);
}

.section.blue .eyebrow::before {
  background: var(--yellow);
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.14;
  font-weight: 800;
}

.section-title p {
  color: var(--body);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.split-top {
  align-items: start;
}

.media-frame {
  position: relative;
  isolation: isolate;
}

.media-frame img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 420ms var(--ease-out), box-shadow 240ms ease, filter 240ms ease;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 3px solid var(--cyan);
  border-radius: 8px;
  z-index: -1;
  transition: transform 360ms var(--ease-out), border-color 240ms ease;
}

.media-frame:hover img {
  filter: saturate(1.025);
  box-shadow: var(--shadow-hover);
  transform: scale(1.012);
}

.media-frame:hover::before {
  border-color: var(--yellow);
  transform: translate(4px, -4px);
}

.structure-carousel {
  width: min(100%, 540px);
  justify-self: center;
}

.structure-section {
  padding-top: 62px;
  background:
    linear-gradient(180deg, rgba(243, 248, 251, 0.7), rgba(255, 255, 255, 1) 72%),
    var(--white);
}

.structure-layout {
  display: grid;
  gap: 62px;
}

.structure-intro {
  width: min(100%, 840px);
  margin-inline: auto;
  text-align: center;
}

.structure-intro p {
  font-size: 18px;
  line-height: 1.62;
}

.structure-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.78fr);
  gap: 38px;
  align-items: stretch;
}

.structure-copy-stack {
  display: grid;
  align-content: start;
  gap: 24px;
}

.structure-side {
  display: grid;
  align-items: start;
  justify-items: center;
}

.structure-section .structure-carousel {
  height: auto;
  min-height: 0;
}

.structure-panel-main,
.structure-panel-family {
  box-shadow: 0 12px 30px rgba(34, 66, 146, 0.07);
}

.structure-panel-family {
  padding: 28px 30px;
}

.structure-carousel-viewport {
  position: relative;
  aspect-ratio: 2 / 3;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--muted);
  box-shadow: var(--shadow);
}

.media-frame.structure-carousel img {
  border-radius: 0;
  box-shadow: none;
}

.structure-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 560ms ease,
    transform 900ms var(--ease-out),
    filter 240ms ease;
}

.structure-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.media-frame.structure-carousel:hover img {
  box-shadow: none;
}

.media-frame.structure-carousel:hover .structure-carousel-slide.is-active {
  filter: saturate(1.025);
  transform: scale(1.012);
}

.structure-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(34, 66, 146, 0.92);
  color: var(--white);
  font-family: inherit;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(23, 49, 95, 0.2);
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.structure-carousel-control:hover,
.structure-carousel-control:focus-visible {
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(23, 49, 95, 0.22);
  transform: translateY(-50%) scale(1.03);
}

.structure-carousel-prev {
  left: 14px;
}

.structure-carousel-next {
  right: 14px;
}

.structure-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: max-content;
  max-width: calc(100% - 96px);
  min-height: 26px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(23, 49, 95, 0.42);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.structure-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition:
    width 180ms var(--ease-out),
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--ease-out);
}

.structure-carousel-dot:hover,
.structure-carousel-dot:focus-visible {
  transform: scale(1.06);
}

.structure-carousel-dot.is-active {
  width: 22px;
  border-color: var(--yellow);
  background: var(--yellow);
}

.timeline-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 58px;
}

.treatment-timeline {
  scroll-margin-top: 110px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 240ms ease, border-color 240ms ease;
}

.treatment-timeline:hover {
  border-color: rgba(82, 189, 210, 0.65);
  box-shadow: var(--shadow-hover);
}

.timeline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.timeline-head h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.timeline-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  font-weight: 800;
  line-height: 0;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.timeline-arrow span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.timeline-arrow:hover {
  box-shadow: 0 10px 22px rgba(34, 66, 146, 0.16);
  transform: translateY(-1px);
  background: #183477;
}

.timeline-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.timeline-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 0 18px;
}

.timeline-progress-track {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 50%;
  height: 5px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #d7e6ee;
  overflow: hidden;
}

.timeline-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--yellow), var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.timeline-step {
  width: 42px;
  height: 42px;
  justify-self: center;
  border: 3px solid var(--white);
  border-radius: 8px;
  background: #d7e6ee;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.timeline-step:hover {
  background: var(--cyan);
  box-shadow: 0 8px 18px rgba(82, 189, 210, 0.18);
  transform: translateY(-1px) scale(1.02);
}

.timeline-step.is-active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(34, 66, 146, 0.2);
  transform: translateY(-2px);
}

.timeline-step.is-complete {
  background: var(--green);
  color: var(--ink);
}

.timeline-viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  scrollbar-color: var(--cyan) #d7e6ee;
  scrollbar-width: thin;
}

.timeline-viewport::-webkit-scrollbar {
  height: 9px;
}

.timeline-viewport::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #d7e6ee;
}

.timeline-viewport::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--cyan);
}

.timeline-card {
  min-width: min(680px, calc(100vw - 84px));
  min-height: 300px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.965), rgba(255, 255, 255, 0.965)),
    url("../img/pattern.png");
  background-position: center;
  background-size: 760px auto;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(34, 66, 146, 0.08);
  opacity: 1;
  transform: scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.timeline-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(82, 189, 210, 0.7);
  box-shadow: 0 18px 45px rgba(34, 66, 146, 0.14);
}

.timeline-badge {
  display: grid;
  gap: 12px;
}

.timeline-number,
.timeline-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.timeline-number {
  background: var(--blue);
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
}

.timeline-icon {
  background: var(--soft-blue);
  color: var(--blue);
  border: 1px solid rgba(34, 66, 146, 0.12);
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.timeline-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-card:nth-child(2) .timeline-number,
.timeline-card:nth-child(7) .timeline-number {
  background: var(--cyan);
  color: #0e315f;
}

.timeline-card:nth-child(3) .timeline-number {
  background: var(--green);
  color: #17315f;
}

.timeline-card:nth-child(4) .timeline-number {
  background: var(--yellow);
  color: #17315f;
}

.timeline-card:nth-child(5) .timeline-number {
  background: var(--red);
}

.timeline-card:nth-child(6) .timeline-number {
  background: var(--blue);
}

.timeline-card:hover {
  opacity: 1;
  border-color: rgba(250, 183, 27, 0.8);
  box-shadow: var(--shadow-hover);
  transform: scale(1) translateY(-2px);
}

.timeline-card:hover .timeline-icon {
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-2deg) scale(1.03);
}

.timeline-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.16;
  font-weight: 800;
}

.timeline-card p {
  margin-bottom: 0;
  color: #354965;
  font-size: 18px;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  position: relative;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.info-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.png");
  background-size: 520px auto;
  background-position: right center;
  opacity: 0.055;
}

.info-band > * {
  position: relative;
  z-index: 1;
}

.info-band:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.info-band h2,
.info-band h3 {
  color: var(--white);
}

.info-band h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

.info-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.info-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.info-photo {
  min-height: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(5, 23, 64, 0.16);
  overflow: hidden;
}

.info-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms var(--ease-out), filter 220ms ease;
}

.info-photo:hover img {
  filter: saturate(1.025);
  transform: scale(1.018);
}

.info-panel {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 180ms ease, transform 180ms var(--ease-out);
}

.info-panel:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.info-panel h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.info-panel .button {
  align-self: flex-start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(34, 66, 146, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 210ms var(--ease-out), box-shadow 210ms ease, border-color 210ms ease;
}

.card::before {
  content: "";
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--cyan);
  transition: width 220ms var(--ease-out), background 180ms ease;
}

.card:nth-child(2n)::before {
  background: var(--green);
}

.card:nth-child(3n)::before {
  background: var(--yellow);
}

.card:nth-child(5n)::before {
  background: var(--red);
}

.cards-photo {
  min-height: 260px;
  grid-column: span 2;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(34, 66, 146, 0.07);
  overflow: hidden;
  position: relative;
  transition: transform 210ms var(--ease-out), box-shadow 210ms ease, border-color 210ms ease;
}

.cards-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms var(--ease-out), filter 220ms ease;
}

.cards-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 66, 146, 0.02), rgba(34, 66, 146, 0.13));
  pointer-events: none;
}

.cards-photo:hover {
  border-color: rgba(82, 189, 210, 0.72);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.cards-photo:hover img {
  filter: saturate(1.025);
  transform: scale(1.018);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 800;
}

.card:hover {
  border-color: rgba(82, 189, 210, 0.68);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card:hover::before {
  width: 64px;
}

.page-hero {
  padding: 112px 0 88px;
  background:
    linear-gradient(115deg, rgba(34, 66, 146, 0.96), rgba(82, 189, 210, 0.88)),
    url("../img/pattern.png");
  background-size: cover;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.page-hero .eyebrow {
  color: var(--white);
}

.page-hero h1 {
  max-width: 760px;
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.long-copy {
  display: grid;
  gap: 20px;
}

.about-story-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  gap: 44px;
}

.story-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.story-columns {
  column-count: 2;
  column-gap: 26px;
  font-size: 16px;
  line-height: 1.6;
}

.story-columns p {
  break-inside: avoid;
  margin-bottom: 14px;
}

.story-highlight {
  margin: 0;
  padding: 18px 20px;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 20px;
}

.about-story-grid .media-frame {
  height: 100%;
  min-height: 520px;
}

.about-story-grid .media-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.statement {
  padding: 30px;
  border-radius: 8px;
  background: var(--muted);
  border: 1px solid var(--line);
  transition: transform 210ms var(--ease-out), background 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.statement:hover {
  background: var(--white);
  border-color: rgba(82, 189, 210, 0.7);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.statement-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(34, 66, 146, 0.15);
  transition: transform 220ms var(--ease-out), background 180ms ease;
}

.statement-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statement:nth-child(2) .statement-icon {
  background: var(--cyan);
  color: #0e315f;
}

.statement:nth-child(3) .statement-icon {
  background: var(--green);
  color: #102b63;
}

.statement:hover .statement-icon {
  transform: translateY(-2px) rotate(-1deg);
}

.statement h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.talent {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.talent:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.talent .eyebrow {
  color: var(--yellow);
}

.talent .eyebrow::before {
  background: var(--yellow);
}

.talent h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 32px;
  line-height: 1.18;
}

.talent strong {
  color: var(--yellow);
}

.talent-content {
  max-width: 680px;
}

.talent-button {
  margin-top: 12px;
}

.talent-photo {
  min-height: 360px;
  align-self: stretch;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(5, 23, 64, 0.2);
  overflow: hidden;
}

.talent-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms var(--ease-out), filter 220ms ease;
}

.talent-photo:hover img {
  filter: saturate(1.025);
  transform: scale(1.018);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.specialty {
  min-height: 104px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
  box-shadow: 0 10px 30px rgba(34, 66, 146, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 210ms var(--ease-out), box-shadow 210ms ease, border-color 210ms ease, color 210ms ease;
}

.specialty > * {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.specialty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  border: 1px solid rgba(34, 66, 146, 0.1);
  transition: transform 220ms var(--ease-out), background 180ms ease, color 180ms ease;
}

.specialty-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.specialty-name {
  display: block;
  overflow-wrap: normal;
  hyphens: none;
}

.specialty::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--cyan);
  opacity: 0.22;
  transform: rotate(12deg);
  transition: transform 260ms var(--ease-out), opacity 210ms ease;
}

.specialty:nth-child(2n)::after {
  background: var(--green);
}

.specialty:nth-child(3n)::after {
  background: var(--yellow);
}

.specialty:nth-child(5n)::after {
  background: var(--red);
}

.specialty:hover {
  border-color: rgba(82, 189, 210, 0.72);
  box-shadow: var(--shadow-hover);
  color: var(--blue);
  transform: translateY(-2px);
}

.specialty:hover .specialty-icon {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px) rotate(-1deg);
}

.specialty:hover::after {
  opacity: 0.3;
  transform: translate(-3px, -3px) rotate(12deg) scale(1.08);
}

.list-panel {
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 210ms var(--ease-out), box-shadow 210ms ease, border-color 210ms ease;
}

.list-panel:hover {
  border-color: rgba(131, 188, 67, 0.72);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.list-panel h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.brand-list {
  display: grid;
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

.brand-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.brand-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 9px;
  border-radius: 4px;
  background: var(--green);
}

.brand-list li:nth-child(2n)::before {
  background: var(--cyan);
}

.brand-list li:nth-child(3n)::before {
  background: var(--yellow);
}

.brand-list li:nth-child(5n)::before {
  background: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(243, 248, 251, 0.72), rgba(255, 255, 255, 1) 72%),
    var(--white);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1fr);
  gap: 38px;
  align-items: stretch;
}

.contact-intro-panel {
  display: grid;
  grid-template-rows: auto minmax(340px, 1fr);
  gap: 28px;
  align-self: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(34, 66, 146, 0.07);
}

.contact-lead {
  max-width: none;
  margin-bottom: 0;
}

.contact-lead p {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 1.55;
}

.contact-media {
  align-self: stretch;
  min-height: 360px;
}

.contact-media img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% center;
}

.contact-layout .contact-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.contact-map-wide {
  grid-column: 1 / -1;
  margin-top: 0;
}

.contact-map-wide .map-frame {
  height: clamp(320px, 32vw, 420px);
}

.contact-grid > *,
.split > *,
.info-band > *,
.talent > * {
  min-width: 0;
}

.contact-panel {
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out);
}

.contact-panel:hover {
  border-color: rgba(82, 189, 210, 0.7);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.contact-panel h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 30px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms var(--ease-out);
}

.contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-weight: 800;
}

.contact-item a,
.contact-item span {
  overflow-wrap: anywhere;
}

.contact-item:hover {
  background: linear-gradient(90deg, rgba(82, 189, 210, 0.09), transparent);
  padding-left: 6px;
}

.map-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--muted);
  overflow: hidden;
  transition: transform 210ms var(--ease-out), box-shadow 210ms ease, border-color 210ms ease;
}

.map-card:hover {
  border-color: rgba(250, 183, 27, 0.82);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(34, 66, 146, 0.96), rgba(82, 189, 210, 0.82)),
    url("../img/pattern.png");
  background-size: cover, 520px auto;
  background-repeat: no-repeat, repeat;
  color: var(--white);
}

.map-card-header strong {
  font-size: 19px;
  font-weight: 800;
}

.map-card-header a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--yellow);
  color: #12306c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.map-card-header a:hover {
  background: #f0a800;
}

.map-frame {
  position: relative;
  height: 340px;
  background: var(--soft-blue);
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  z-index: 2;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(234, 246, 250, 0.94), rgba(255, 255, 255, 0.7)),
    url("../img/pattern.png");
  background-size: 540px auto;
  color: var(--ink);
  z-index: 1;
}

.map-fallback strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.map-fallback span {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.map-pin {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  background: var(--red);
  color: transparent;
  font-size: 18px;
  font-weight: 800;
  transform: rotate(-45deg);
  box-shadow: 0 14px 30px rgba(226, 35, 40, 0.22);
}

.map-pin::after {
  content: "IN";
  color: var(--white);
  transform: rotate(45deg);
}

.cta-strip {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(250, 183, 27, 0.94), rgba(131, 188, 67, 0.92)),
    url("../img/puzzle-base.png");
  background-size: cover;
  background-position: center;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 680px;
  margin: 0;
  color: #12306c;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
}

.site-footer {
  padding: 54px 0 40px;
  background: #102b63;
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(170px, 0.45fr) minmax(270px, 0.7fr);
  gap: 36px;
}

.footer-brand {
  display: inline-block;
  transition: transform 180ms var(--ease-out), filter 180ms ease;
}

.site-footer .footer-brand:hover {
  filter: saturate(1.04);
  transform: translateY(-1px);
}

.footer-logo {
  width: 262px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.site-footer a {
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.site-footer a:hover {
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.footer-bottom span:last-child {
  padding-right: 82px;
}

.reveal-ready .site-footer .footer-bottom.reveal {
  opacity: 1;
  transform: none;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 800;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms var(--ease-out), filter 180ms ease;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-float:hover {
  filter: saturate(1.04);
  transform: translateY(-2px) scale(1.02);
}

.reveal-ready .reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 620ms var(--ease-out) var(--reveal-delay, 0ms),
    translate 620ms var(--ease-out) var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.reveal-ready .reveal.reveal-left {
  translate: -28px 0;
}

.reveal-ready .reveal.reveal-right {
  translate: 28px 0;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 1050px) {
  .brand {
    width: 176px;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  .hero,
  .hero-slide {
    min-height: 650px;
  }

  .hero-content {
    width: min(590px, 78vw);
    padding: 64px 0 96px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-slide-compact h1 {
    font-size: 38px;
  }

  .hero-slide-compact .hero-lead {
    font-size: 19px;
  }

  .hero-slide-reference {
    padding: 0;
  }

  .hero-reference-card {
    min-height: 650px;
  }

  .hero-reference-content {
    width: min(560px, 66%);
    min-height: 650px;
    padding: 64px 0 96px;
  }

  .hero-reference-content h1 {
    font-size: 40px;
  }

  .split,
  .timeline-intro-grid,
  .contact-grid,
  .info-band,
  .talent {
    grid-template-columns: 1fr;
  }

  .contact-intro-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
  }

  .contact-media {
    min-height: 300px;
  }

  .story-columns {
    column-count: 1;
    font-size: inherit;
    line-height: inherit;
  }

  .about-story-grid .media-frame {
    height: auto;
    min-height: 0;
  }

  .about-story-grid .media-frame img {
    height: auto;
  }

  .talent-photo {
    min-height: 320px;
  }

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

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

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

  .structure-side {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .structure-section .structure-carousel {
    --structure-carousel-height: min(680px, 82vw);
    height: auto;
  }

  .cards-photo {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .reveal-ready .reveal.reveal-left,
  .reveal-ready .reveal.reveal-right {
    translate: 0 24px;
  }

  .reveal-ready .reveal.is-visible {
    translate: 0 0;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 156px;
  }

  .site-nav {
    top: 76px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 730px;
  }

  .hero-slide {
    min-height: 730px;
    align-items: flex-start;
  }

  .hero-slide-primary {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.22) 100%),
      url("../img/hero-care.png");
    background-position: 70% bottom;
  }

  .hero-slide-compact {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 64%, rgba(255, 255, 255, 0.28) 100%),
      url("../img/therapy-session.png");
    background-position: 56% bottom;
  }

  .hero-slide-reference {
    padding: 0;
    align-items: stretch;
    background-image:
      linear-gradient(180deg, rgba(18, 48, 108, 0.92) 0%, rgba(18, 48, 108, 0.72) 48%, rgba(18, 48, 108, 0.2) 100%),
      url("../img/specialties-care.jpg");
    background-position: 55% bottom;
  }

  .hero-slide-reference .container {
    align-items: stretch;
  }

  .hero-reference-card {
    min-height: 730px;
    border-radius: 0;
    background: transparent;
  }

  .hero-reference-content {
    width: 100%;
    min-height: 730px;
    justify-content: flex-start;
    padding: 46px 0 210px;
  }

  .hero-content {
    width: 100%;
    padding: 46px 0 248px;
  }

  .hero h1,
  h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-slide-compact .hero-content {
    width: 100%;
    padding: 38px 0 235px;
  }

  .hero-slide-compact h1 {
    max-width: 350px;
    margin-bottom: 14px;
    font-size: 30px;
  }

  .hero-slide-compact .hero-lead {
    max-width: 350px;
    margin-bottom: 12px;
    font-size: 17px;
  }

  .hero-slide-compact .hero-copy {
    max-width: 350px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.54;
  }

  .hero-slide-compact .hero-phrase {
    min-height: 36px;
    margin-bottom: 18px;
    font-size: 16px;
  }

  .hero-reference-content h1 {
    max-width: 330px;
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.08;
  }

  .hero-reference-content .hero-lead {
    max-width: 330px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .hero-reference-content .hero-copy {
    max-width: 330px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.52;
  }

  .hero-reference-content .hero-phrase {
    min-height: 34px;
    margin-bottom: 16px;
    font-size: 15px;
  }

  .hero-reference-content .button {
    width: 100%;
    min-width: 0;
  }

  .hero-controls {
    bottom: 24px;
    justify-content: center;
    gap: 8px;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .hero-dots {
    min-height: 44px;
  }

  .section {
    padding: 68px 0;
  }

  .section.compact {
    padding: 54px 0;
  }

  .section-title h2,
  .info-band h2,
  .cta-inner h2 {
    font-size: 30px;
  }

  .page-hero {
    padding: 76px 0 64px;
  }

  .treatment-timeline {
    padding: 18px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .timeline-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .timeline-head h2 {
    font-size: 28px;
  }

  .timeline-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .timeline-progress {
    padding: 0 4px;
  }

  .timeline-progress-track {
    left: 24px;
    right: 24px;
  }

  .timeline-step {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-width: 2px;
  }

  .timeline-viewport {
    gap: 14px;
    padding-bottom: 14px;
  }

  .timeline-card {
    min-width: min(294px, calc(100vw - 70px));
    min-height: 420px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .timeline-badge {
    grid-template-columns: 58px 58px;
  }

  .timeline-number,
  .timeline-icon {
    width: 58px;
    height: 58px;
  }

  .timeline-number {
    font-size: 24px;
  }

  .timeline-icon svg {
    width: 28px;
    height: 28px;
  }

  .timeline-card h3 {
    font-size: 24px;
  }

  .timeline-card p {
    font-size: 16px;
  }

  .cards-grid,
  .statement-grid,
  .specialty-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-feature {
    grid-template-columns: 1fr;
  }

  .info-photo,
  .cards-photo,
  .talent-photo {
    min-height: 240px;
  }

  .structure-carousel {
    --structure-carousel-height: min(560px, 122vw);
  }

  .structure-section {
    padding-top: 42px;
  }

  .structure-layout {
    gap: 42px;
  }

  .structure-intro p {
    font-size: 16px;
  }

  .structure-side {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .structure-section .structure-carousel {
    --structure-carousel-height: min(560px, 122vw);
    height: auto;
  }

  .structure-carousel-control {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .structure-carousel-prev {
    left: 10px;
  }

  .structure-carousel-next {
    right: 10px;
  }

  .statement-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
  }

  .statement-icon svg {
    width: 29px;
    height: 29px;
  }

  .story-highlight {
    font-size: 18px;
  }

  .cards-photo {
    grid-column: auto;
  }

  .info-band,
  .talent,
  .contact-panel,
  .list-panel {
    padding: 24px;
  }

  .contact-intro-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .contact-lead p {
    font-size: 17px;
  }

  .contact-media {
    min-height: 240px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-frame {
    height: 280px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom span:last-child {
    padding-right: 70px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}


/* --- Ajustes de aprovacao de layout --- */
.page-hero.page-hero-green {
  background:
    linear-gradient(115deg, rgba(53, 110, 30, 0.96), rgba(131, 188, 67, 0.9)),
    url("../img/pattern.png");
  background-size: cover;
}

.page-hero.page-hero-red {
  background:
    linear-gradient(115deg, rgba(150, 22, 25, 0.96), rgba(226, 35, 40, 0.9)),
    url("../img/pattern.png");
  background-size: cover;
}

@media (min-width: 1051px) {
  .specialties-split {
    align-items: stretch;
  }
  .specialties-split .media-frame {
    height: 100%;
  }
  .specialties-split .media-frame img {
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: center;
  }
}


/* --- Instagram no header --- */
.header-instagram {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(34, 66, 146, 0.18);
  flex: 0 0 auto;
  transition: transform 180ms var(--ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-instagram svg {
  width: 22px;
  height: 22px;
}

.header-instagram:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(34, 66, 146, 0.18);
}

.header-instagram:focus-visible {
  outline: 3px solid rgba(250, 183, 27, 0.72);
  outline-offset: 3px;
}


/* ===== Elementos decorativos (peças oficiais Inovar) ===== */
.deco-host { position: relative; overflow: hidden; }
.deco-host > .container { position: relative; z-index: 1; }
.sec-piece {
  position: absolute;
  z-index: 0;
  aspect-ratio: 698 / 538;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 20px rgba(23, 49, 95, .10));
}
.sec-piece.p-blue   { background-image: url("../img/deco/piece-blue.png"); }
.sec-piece.p-cyan   { background-image: url("../img/deco/piece-cyan.png"); }
.sec-piece.p-red    { background-image: url("../img/deco/piece-red.png"); }
.sec-piece.p-green  { background-image: url("../img/deco/piece-green.png"); }
.sec-piece.p-yellow { background-image: url("../img/deco/piece-yellow.png"); }

@media (max-width: 760px) {
  .sec-piece { transform: scale(.7) !important; opacity: .8 !important; }
  .sec-piece.mobile-hide { display: none; }
}


/* ===== Banner principal — slider vídeo + foto ===== */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* flip horizontal: criança para a direita */
}
.hero-slide-video {
  background-image: linear-gradient(90deg, rgba(18, 48, 108, .86) 0%, rgba(18, 48, 108, .68) 34%, rgba(18, 48, 108, .22) 68%, rgba(18, 48, 108, .04) 100%);
}
@media (max-width: 760px) {
  .hero-slide-video {
    background-image: linear-gradient(180deg, rgba(18, 48, 108, .92) 0%, rgba(18, 48, 108, .72) 48%, rgba(18, 48, 108, .2) 100%);
  }
}
