:root {
  --page-width: min(1500px, calc(100vw - 18px));
  --content-width: min(1320px, calc(100vw - 32px));
  --paper: #f6f1eb;
  --paper-soft: rgba(252, 249, 244, 0.84);
  --paper-strong: rgba(255, 253, 249, 0.94);
  --navy-950: #132946;
  --navy-900: #17365f;
  --navy-800: #244b7b;
  --navy-700: #3e6291;
  --red-900: #7d1f29;
  --red-800: #962735;
  --red-700: #ad3342;
  --red-600: #c84a58;
  --ink: #23334a;
  --ink-soft: #596679;
  --line: rgba(22, 43, 72, 0.1);
  --white: #ffffff;
  --success: #607b50;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --shadow-soft: 0 20px 50px rgba(20, 44, 76, 0.12);
  --shadow-card: 0 14px 28px rgba(20, 44, 76, 0.1);
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.6;
  background: url("img/fundo.jpg") center center / cover fixed no-repeat;
  position: relative;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: transparent;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: transparent;
  content: "";
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy-950);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.container {
  width: min(920px, calc(100vw - 24px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 252, 248, 0.94);
  border-bottom: 1px solid rgba(22, 43, 72, 0.07);
  box-shadow: 0 8px 24px rgba(20, 44, 76, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  min-height: 106px;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: clamp(60px, 5vw, 76px);
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(23, 54, 95, 0.08);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--navy-950);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.15vw, 18px);
  font-size: clamp(0.82rem, 0.72rem + 0.28vw, 0.94rem);
  font-weight: 600;
  color: var(--navy-950);
}

.site-nav a,
.nav-dropdown > a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after,
.nav-dropdown > a::after,
.footer-links a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-700), var(--navy-800));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 270px;
  padding: 14px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 18px;
  background: rgba(255, 250, 246, 0.96);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-submenu a {
  display: block;
  padding: 10px 8px;
  border-radius: 12px;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(23, 54, 95, 0.06);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 clamp(16px, 1.6vw, 22px);
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(0.92rem, 0.84rem + 0.18vw, 1rem);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-900), var(--red-700));
  box-shadow: 0 16px 30px rgba(150, 39, 53, 0.22);
}

.btn-secondary {
  color: var(--navy-950);
  border-color: rgba(22, 43, 72, 0.12);
  background: rgba(255, 252, 249, 0.76);
  box-shadow: 0 12px 20px rgba(20, 44, 76, 0.07);
}

.header-cta {
  white-space: nowrap;
}

a.btn-primary[href*="wa.me"],
.header-cta {
  color: var(--white);
  border-color: #25d366;
  background: #25d366;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.2);
}

a.btn-secondary[href="#servicos"] {
  color: var(--white);
  border-color: var(--red-700);
  background: var(--red-700);
  box-shadow: 0 12px 24px rgba(150, 39, 53, 0.2);
}

a.btn-primary[href*="wa.me"]:hover,
a.btn-primary[href*="wa.me"]:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  background: #1fbe5d;
  border-color: #1fbe5d;
}

a.btn-secondary[href="#servicos"]:hover,
a.btn-secondary[href="#servicos"]:focus-visible,
.cta-stack .btn-secondary:hover,
.cta-stack .btn-secondary:focus-visible {
  background: #a72f3c;
  border-color: #a72f3c;
}

.site-main {
  padding: 28px 0 30px;
}

.section-block {
  padding: 26px 0;
}

.hero-section {
  padding-top: 8px;
}

.hero-layout {
  display: grid;
  gap: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 34px 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  background:
    linear-gradient(90deg, rgba(17, 30, 56, 0.78) 0%, rgba(128, 30, 45, 0.62) 28%, rgba(128, 30, 45, 0.22) 52%, rgba(20, 43, 73, 0.08) 74%, rgba(20, 43, 73, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(17, 31, 53, 0.12)),
    url("assets/slider2.jpg") center center / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(900px, 72%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--red-800);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-700), var(--navy-800));
  content: "";
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: var(--heading-font);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-950);
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
}

h2 {
  font-size: clamp(1.85rem, 3.15vw, 2.85rem);
}

h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.55rem);
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  text-align: left;
  hyphens: none;
}

li {
  text-align: left;
  hyphens: none;
}

.hero-lead {
  max-width: 800px;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.hero-support {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 1rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.cta-row.center {
  justify-content: center;
}

.hero-media {
  display: none;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: var(--white);
}

.hero-copy .eyebrow::before {
  background: rgba(255, 255, 255, 0.7);
}

.hero-copy .eyebrow {
  margin-bottom: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(1.88rem, 2.95vw, 3.05rem);
  line-height: 1.04;
  text-align: left;
  hyphens: none;
  text-shadow: 0 2px 10px rgba(11, 17, 31, 0.28);
}

.hero-copy .hero-lead {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(0.97rem, 1.12vw, 1.04rem);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(11, 17, 31, 0.22);
}

.hero-copy .hero-support {
  max-width: 860px;
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(22, 43, 72, 0.08), transparent 60%);
  box-shadow: var(--shadow-card);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    url("assets/generated/hero-photo.png") center right / cover no-repeat;
}

.hero-photo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(19, 41, 70, 0.08));
  content: "";
}

.hero-badge {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-badge-primary {
  right: 34px;
  bottom: 18px;
  max-width: 280px;
  padding: 16px 18px;
  background: rgba(18, 42, 72, 0.7);
}

.hero-badge-primary strong,
.hero-badge-primary span {
  display: block;
  color: var(--white);
}

.hero-badge-primary strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-badge-primary span {
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 50%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(90deg, rgba(10, 18, 34, 0.08), transparent 18%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero-panel::after {
  position: absolute;
  inset: auto 26px 16px 26px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
  opacity: 0.22;
  content: "";
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 20px;
}

.content-card {
  padding: 28px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.story-card {
  min-height: 100%;
}

.side-cards {
  display: grid;
  gap: 20px;
}

.values-panel {
  margin-top: 2px;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.value-pill {
  height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 22px;
  background: #ffffff;
}

.value-pill h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.value-pill p,
.section-note,
.team-meta,
.detail-summary {
  margin: 0;
  font-size: 0.96rem;
}

.audience-grid,
.reason-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.audience-card,
.reason-card,
.trust-card,
.timeline-card {
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.audience-top {
  display: block;
  margin-bottom: 14px;
}

.audience-visual {
  display: block;
  width: 100%;
  aspect-ratio: 32 / 21;
  object-fit: cover;
  object-position: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 10px 16px rgba(20, 44, 76, 0.14);
  overflow: hidden;
}

.audience-card p {
  margin: 0;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-content {
  padding: 20px 20px 22px;
}

.details-section {
  padding-top: 10px;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-intro {
  position: sticky;
  top: 122px;
  align-self: start;
  padding: 14px 8px 0 10px;
}

.detail-highlight {
  font-size: 1.02rem;
  line-height: 1.7;
}

.detail-body {
  display: grid;
  gap: 16px;
}

.rich-card {
  padding: 22px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 24px;
  background: #ffffff;
}

.process-grid,
.tag-grid,
.dual-card-grid,
.modality-grid,
.timeline {
  display: grid;
  gap: 14px;
}

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

.process-grid article,
.tag-grid article {
  padding: 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(22, 43, 72, 0.08);
}

.process-grid strong,
.tag-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
}

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

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

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

.clean-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.clean-list li + li {
  margin-top: 8px;
}

.clean-list.two-columns {
  columns: 2;
  column-gap: 28px;
}

.clean-list.two-columns li {
  break-inside: avoid;
}

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

.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--red-700));
  color: var(--white);
  font-weight: 800;
}

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

.reason-card,
.trust-card {
  padding: 22px;
}

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

.team-member {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.team-member img {
  width: 100%;
  height: 170px;
  min-height: 170px;
  border-radius: 18px;
  object-fit: cover;
}

.team-member-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 4px 0;
}

.team-role {
  margin-top: -2px;
  margin-bottom: 0;
  color: var(--red-800);
  font-weight: 800;
}

.team-meta {
  margin-bottom: 0;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 800;
}

.team-text {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.58;
}

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

.clinic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.clinic-photo {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
}

.clinic-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
}

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

.partner-card {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.partner-card img {
  display: block;
  max-width: min(220px, 100%);
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card-placeholder {
  background:
    linear-gradient(135deg, rgba(23, 54, 95, 0.05), rgba(150, 39, 53, 0.05)),
    #ffffff;
}

.partner-card-placeholder span {
  color: var(--navy-900);
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
}

.trust-layout {
  display: grid;
  gap: 18px;
}

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

.reviews-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.reviews-score-block {
  display: grid;
  gap: 6px;
}

.google-word {
  display: inline-flex;
  gap: 0.02em;
  align-items: center;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
}

.google-word span:nth-child(1) {
  color: #4285f4;
}

.google-word span:nth-child(2),
.google-word span:nth-child(3) {
  color: #ea4335;
}

.google-word span:nth-child(4) {
  color: #4285f4;
}

.google-word span:nth-child(5) {
  color: #34a853;
}

.google-word span:nth-child(6) {
  color: #fbbc05;
}

.reviews-label {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.reviews-score-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reviews-score-line strong {
  color: var(--navy-950);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}

.btn-review {
  color: #ffffff;
  border-color: #4285f4;
  background: #4285f4;
  box-shadow: 0 12px 24px rgba(66, 133, 244, 0.2);
}

.btn-review:hover,
.btn-review:focus-visible {
  background: #2f73ea;
  border-color: #2f73ea;
}

.reviews-actions {
  display: flex;
  justify-content: flex-end;
}

.reviews-carousel-shell {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.reviews-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reviews-carousel-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.reviews-carousel-controls {
  display: inline-flex;
  gap: 10px;
}

.reviews-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(22, 43, 72, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy-950);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.reviews-nav-btn:hover,
.reviews-nav-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(22, 43, 72, 0.16);
  box-shadow: 0 18px 28px rgba(22, 43, 72, 0.12);
}

.reviews-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 43, 72, 0.26) transparent;
}

.reviews-carousel-track::-webkit-scrollbar {
  height: 10px;
}

.reviews-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(22, 43, 72, 0.22);
  border-radius: 999px;
}

.reviews-carousel-track::-webkit-scrollbar-track {
  background: transparent;
}

.review-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(22, 43, 72, 0.08);
  box-shadow: 0 8px 18px rgba(22, 43, 72, 0.1);
}

.review-slide h3 {
  margin: 0 0 4px;
  font-size: 1.16rem;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-date {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.review-posted {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(66, 133, 244, 0.08);
  color: #2f73ea;
  font-size: 0.88rem;
  font-weight: 700;
}

.review-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.review-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.18), rgba(52, 168, 83, 0.18));
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0 22px;
  border: 1px solid rgba(22, 43, 72, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  padding: 18px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list details p {
  padding: 0 0 18px;
  margin: 0;
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(22, 43, 72, 0.9), rgba(150, 39, 53, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  box-shadow: var(--shadow-soft);
}

.final-cta-card .section-kicker,
.final-cta-card h2,
.final-cta-card p {
  color: var(--white);
}

.final-cta-card .section-kicker::before {
  background: rgba(255, 255, 255, 0.72);
}

.cta-stack {
  display: grid;
  gap: 12px;
}

.cta-stack .btn-secondary {
  color: var(--white);
  border-color: var(--red-700);
  background: var(--red-700);
  box-shadow: 0 12px 24px rgba(150, 39, 53, 0.2);
}

.site-footer {
  padding: 10px 0 20px;
}

.footer-shell {
  padding: 28px 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(22, 43, 72, 0.88), rgba(24, 54, 95, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%);
  box-shadow: var(--shadow-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
  gap: 24px;
  padding-bottom: 18px;
}

.footer-brand img {
  width: 138px;
  max-width: 100%;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) contrast(200%);
}

.footer-brand p,
.footer-column h3,
.footer-list,
.footer-list a,
.footer-bottom-note p {
  color: rgba(255, 255, 255, 0.92);
}

.footer-column h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 10px;
}

.footer-links a {
  position: relative;
}

.footer-bottom-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.94rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100vw - 18px));
  padding: 18px 20px;
  border: 1px solid rgba(22, 43, 72, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(20, 44, 76, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(24px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-950);
  font-size: 1rem;
}

.cookie-banner-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cookie-banner-copy a {
  color: var(--red-800);
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  min-height: 46px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.82s ease,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.values-grid > :nth-child(2),
.audience-grid > :nth-child(2),
.service-grid > :nth-child(2),
.process-grid > :nth-child(2),
.tag-grid > :nth-child(2),
.dual-card-grid > :nth-child(2),
.modality-grid > :nth-child(2),
.timeline > :nth-child(2),
.reason-grid > :nth-child(2),
.trust-grid > :nth-child(2),
.team-grid > :nth-child(2),
.clinic-gallery > :nth-child(2),
.faq-list > :nth-child(2) {
  transition-delay: 0.08s;
}

.values-grid > :nth-child(3),
.audience-grid > :nth-child(3),
.service-grid > :nth-child(3),
.process-grid > :nth-child(3),
.tag-grid > :nth-child(3),
.dual-card-grid > :nth-child(3),
.modality-grid > :nth-child(3),
.timeline > :nth-child(3),
.reason-grid > :nth-child(3),
.trust-grid > :nth-child(3),
.team-grid > :nth-child(3),
.clinic-gallery > :nth-child(3),
.faq-list > :nth-child(3) {
  transition-delay: 0.16s;
}

.values-grid > :nth-child(4),
.audience-grid > :nth-child(4),
.service-grid > :nth-child(4),
.process-grid > :nth-child(4),
.tag-grid > :nth-child(4),
.dual-card-grid > :nth-child(4),
.modality-grid > :nth-child(4),
.timeline > :nth-child(4),
.reason-grid > :nth-child(4),
.trust-grid > :nth-child(4),
.team-grid > :nth-child(4),
.clinic-gallery > :nth-child(4),
.faq-list > :nth-child(4) {
  transition-delay: 0.24s;
}

.values-grid > :nth-child(5),
.service-grid > :nth-child(5),
.team-grid > :nth-child(5),
.clinic-gallery > :nth-child(5),
.faq-list > :nth-child(5) {
  transition-delay: 0.32s;
}

.values-grid > :nth-child(6),
.service-grid > :nth-child(6),
.clinic-gallery > :nth-child(6),
.faq-list > :nth-child(6) {
  transition-delay: 0.4s;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.legal-body {
  min-height: 100vh;
}

.legal-main {
  padding: 42px 0 70px;
}

.legal-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.94), rgba(255, 252, 249, 0.88));
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.legal-card h2 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-card p {
  margin: 0 0 14px;
}

.footer-bottom {
  padding: 16px 20px;
  color: var(--white);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1280px) {
  .intro-grid,
  .detail-panel,
  .final-cta-card {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 96px;
    padding-inline: 14px;
  }

  .header-cta {
    min-height: 46px;
    padding-inline: 16px;
  }

  .detail-intro {
    position: static;
    padding: 0;
  }

  .hero-copy {
    max-width: min(800px, 72%);
  }

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

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(22, 43, 72, 0.08);
    border-radius: 22px;
    background: rgba(255, 250, 246, 0.96);
    box-shadow: var(--shadow-card);
  }

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

  .site-nav a,
  .nav-dropdown > a {
    padding: 12px 6px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .service-grid,
  .timeline,
  .reason-grid,
  .trust-grid,
  .audience-grid,
  .partners-grid,
  .clinic-gallery,
  .process-grid,
  .tag-grid,
  .dual-card-grid,
  .modality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-member {
    grid-template-columns: 120px 1fr;
  }

  .team-member img {
    height: 150px;
    min-height: 150px;
  }

  .team-member-copy {
    padding: 2px 2px 2px 0;
  }

  .footer-bottom-note {
    flex-direction: column;
  }

  .reviews-overview {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .reviews-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .review-slide {
    flex-basis: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --page-width: calc(100vw - 12px);
  }

  .site-main {
    padding-top: 16px;
  }

  .header-inner {
    min-height: 88px;
    padding: 0 14px;
  }

  .brand img {
    height: 62px;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-panel,
  .content-card,
  .detail-panel,
  .final-cta-card,
  .footer-shell {
    padding: 18px;
    border-radius: 28px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px 20px 20px;
    background:
      linear-gradient(180deg, rgba(24, 36, 66, 0.84) 0%, rgba(121, 29, 44, 0.74) 34%, rgba(24, 36, 66, 0.3) 100%),
      url("assets/slider2.jpg") center center / cover no-repeat;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.55rem);
  }

  .hero-copy .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-copy .hero-support {
    font-size: 0.9rem;
  }

  .hero-badge-primary {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

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

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .team-member img {
    height: auto;
    min-height: 0;
    max-height: 320px;
    object-fit: contain;
    object-position: center top;
    background: #f4efe8;
  }

  .team-member-copy {
    padding: 16px;
  }

  .audience-grid,
  .partners-grid,
  .service-grid,
  .timeline,
  .reason-grid,
  .trust-grid,
  .team-grid,
  .process-grid,
  .tag-grid,
  .dual-card-grid,
  .modality-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .clean-list.two-columns {
    columns: 1;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .reviews-carousel-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-slide {
    flex-basis: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: 20px;
  }

  .hero-actions .btn,
  .cta-row .btn,
  .cta-stack .btn,
  .header-cta {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 12px;
  }

  .cookie-banner {
    left: 6px;
    right: 6px;
    bottom: 8px;
    width: auto;
    padding: 16px;
    border-radius: 20px;
    transform: translateY(20px);
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-btn {
    width: 100%;
  }
}
