:root {
  --ink: #111111;
  --teal: #00515a;
  --teal-deep: #00454d;
  --coral: #ff6245;
  --line: #d8d8d8;
  --white: #ffffff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shell: min(calc(100vw - 94px), 1442px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: #fff;
  background: var(--teal);
  text-decoration: none;
}

.skip-link:focus { transform: none; }
.page-shell { width: var(--shell); margin-inline: auto; }

/* Header states mirror the three supplied desktop references. */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 128px;
  background: #ffffff;
  transition: height .2s ease, transform .2s ease, border-color .2s ease;
}

.site-header[data-mode="care"] { border-bottom: 1px solid #d4d4d4; }
.site-header[data-mode="profile"] { height: 102px; border-bottom: 1px solid #d4d4d4; }
.site-header[data-mode="appointment"] { height: 0; transform: translateY(-100%); pointer-events: none; }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: none;
  align-items: center;
  color: var(--teal);
  text-decoration: none;
}

.brand img { object-fit: contain; flex: 0 0 auto; }
.brand strong { display: block; }
.brand small { display: block; color: var(--teal); font-size: 12px; letter-spacing: .035em; }

.site-header[data-mode="home"] .brand-home { display: flex; gap: 20px; }
.site-header[data-mode="home"] .brand-home { transform: translateY(7px); }
.brand-home img { width: 82px; height: 82px; }
.brand-home img { transform: translateY(9px); }
.brand-home strong { font-size: 29px; letter-spacing: -.035em; }

.site-header[data-mode="care"] .brand-care { display: flex; gap: 13px; }
.brand-care img { width: 75px; height: 82px; filter: grayscale(1) brightness(0); }
.brand-care strong { color: #111; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: .9; }
.brand-care small { margin-top: 8px; font-size: 11px; }

.site-header[data-mode="profile"] .brand-profile { display: flex; gap: 18px; }
.brand-profile img { width: 70px; height: 78px; filter: grayscale(1) brightness(0); }
.brand-profile strong { font-size: 24px; letter-spacing: -.035em; }
.brand-profile small { margin-top: 2px; color: #111; font-size: 11px; letter-spacing: .22em; }

.primary-nav {
  display: none;
  align-items: center;
  margin-left: auto;
}

.site-header[data-mode="home"] .nav-home,
.site-header[data-mode="care"] .nav-care,
.site-header[data-mode="profile"] .nav-profile { display: flex; }

.primary-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
}

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

.nav-home {
  position: absolute;
  right: 32px;
  left: 432px;
  grid-template-columns: 133px 159px 121px 1fr 204px;
  gap: 0;
}
.site-header[data-mode="home"] .nav-home { display: grid; }
.nav-home .nav-cta { margin-left: 0; }
.nav-home > a:not(.nav-cta) { justify-self: start; }
.nav-care { gap: 47px; }
.nav-care .nav-cta { margin-left: 0; }
.nav-profile { gap: 47px; }

.nav-cta {
  min-width: 204px;
  min-height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid var(--teal);
  border-radius: 5px;
}

.nav-cta-solid { min-width: 137px; min-height: 45px; color: #fff; background: var(--teal); border-radius: 3px; }
.menu-toggle { display: none; }

/* 01 — Hero */
.hero { height: 720px; overflow: hidden; }
.hero-grid { position: relative; height: 100%; }

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 86px;
  left: 55px;
}

.hero h1,
.care h2,
.profile h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 { font-size: 102px; line-height: .985; }
.hero h1 em, .care h2 em, .profile h2 em, .appointment h2 em { color: var(--teal); font-style: normal; }
.hero h1 em { font-size: 88px; }
.coral-rule { width: 65px; height: 3px; display: block; margin: 34px 0 24px 5px; background: var(--coral); }
.hero-copy > p { margin: 0 0 0 5px; font-size: 25px; line-height: 1.5; letter-spacing: -.025em; }

.hero-actions { display: flex; align-items: center; gap: 49px; margin: 41px 0 0 5px; }
.button {
  min-width: 249px;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-size: 22px;
  text-decoration: none;
  border-radius: 5px;
}
.button-primary { color: #fff; background: var(--teal); }
.phone-link { display: inline-flex; align-items: center; gap: 18px; color: #0b5260; font-size: 24px; text-decoration: none; }
.phone-link svg { width: 35px; height: 35px; fill: none; stroke: var(--coral); stroke-width: 1.8; }
.phone-link span { border-bottom: 2px solid #0b5260; }
.hero-art { position: absolute; top: 2px; right: -47px; width: 706px; height: 695px; }
.portrait-stage {
  overflow: hidden;
  background: linear-gradient(145deg, #f2f4ef 0%, #dfe8e3 100%);
  border: 34px solid var(--teal);
  border-radius: 0 164px 0 0;
  box-shadow: 0 30px 70px rgba(0, 56, 63, .14);
}
.portrait-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -100px;
  bottom: -170px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(0, 81, 90, .18);
  border-radius: 50%;
}
.portrait-halo {
  position: absolute;
  z-index: 0;
  top: 62px;
  left: 95px;
  width: 470px;
  height: 470px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(0, 81, 90, .12);
  border-radius: 50%;
}
.portrait-halo::before,
.portrait-halo::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(0, 81, 90, .14);
  border-radius: inherit;
}
.portrait-halo::after { inset: 46px; border-style: dashed; }
.official-portrait {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 520px;
  height: auto;
  filter: drop-shadow(0 22px 22px rgba(0, 32, 37, .18));
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: portraitFloat 7s ease-in-out infinite;
}
.stage-mark {
  position: absolute;
  z-index: 1;
  right: -44px;
  bottom: -65px;
  width: 300px;
  height: 300px;
  object-fit: contain;
  opacity: .1;
}
.portrait-caption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 15px;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.manifesto { height: 176px; background: linear-gradient(90deg, #fafafa, #fff); }
.manifesto-inner { height: 100%; display: grid; grid-template-columns: 56% 44%; align-items: center; }
.manifesto p { margin: -1px 0 0 54px; font-family: var(--serif); font-size: 53px; line-height: 1.05; letter-spacing: -.025em; }
.manifesto p em { color: var(--teal); font-style: normal; }
.manifesto-place { height: 106px; display: flex; align-items: center; gap: 27px; padding-left: 49px; border-left: 1px solid #cfcfcf; font-size: 20px; }
.manifesto-place svg { width: 31px; height: 31px; fill: none; stroke: var(--teal); stroke-width: 1.7; }

/* 02 — Atención */
.care { height: 896px; overflow: hidden; scroll-margin-top: -9px; }
.care-shell { position: relative; height: 100%; }
.care-intro { position: absolute; z-index: 2; top: 54px; left: 37px; }
.care h2 { font-size: 85px; line-height: .97; }
.care h2 em span, .profile h2 span:not(.profile-last), .appointment h2 span, .final-cta h2 span { color: var(--coral); }
.care-intro p { margin: 26px 0 0 1px; color: #393939; font-size: 19px; line-height: 1.55; }
.care-brand-art {
  position: absolute;
  top: 0;
  right: -47px;
  width: 636px;
  height: 440px;
  overflow: hidden;
}
.care-brand-art img {
  position: absolute;
  z-index: 2;
  top: 98px;
  left: 216px;
  width: 210px;
  height: 210px;
  object-fit: contain;
  opacity: .72;
}
.brand-orbit {
  position: absolute;
  border: 1px solid rgba(0, 81, 90, .35);
  border-radius: 50%;
  animation: orbitRotate 18s linear infinite;
}
.brand-orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }
.brand-orbit-one { top: 35px; left: 112px; width: 390px; height: 390px; }
.brand-orbit-two { top: 75px; left: 152px; width: 310px; height: 310px; border-style: dashed; animation-direction: reverse; animation-duration: 24s; }
.brand-art-label { position: absolute; right: 28px; bottom: 35px; color: var(--teal); font-size: 11px; letter-spacing: .22em; writing-mode: vertical-rl; }

.care-areas {
  position: absolute;
  top: 440px;
  left: 0;
  width: 100%;
  height: 258px;
  display: grid;
  grid-template-columns: 455px 516px 471px;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
}

.area-card { min-width: 0; display: grid; grid-template-columns: 176px 1fr; align-items: center; padding: 17px 31px 17px 14px; }
.area-card + .area-card { border-left: 1px solid #d7d7d7; }
.area-card > img { width: 170px; height: 200px; object-fit: cover; }
.area-card > img { animation: anatomyFloat 7s ease-in-out infinite; }
.area-card:first-child > img { width: 158px; }
.area-card:nth-child(3) > img { width: 176px; }
.area-card:nth-child(2) > img { animation-delay: -2.2s; }
.area-card:nth-child(3) > img { animation-delay: -4.4s; }
.mini-rule { width: 31px; height: 2px; display: block; margin-bottom: 26px; background: var(--coral); }
.area-card h3 { margin: 0; color: var(--teal); font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.03; }
.area-card p { margin: 22px 0 0; color: #4a4a4a; font-size: 15px; line-height: 1.5; }

.care-process {
  position: absolute;
  top: 698px;
  left: 0;
  width: 100%;
  height: 198px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-process li { position: relative; display: grid; grid-template-columns: 113px 1fr; align-content: center; padding: 0 27px; }
.care-process strong { color: var(--teal); font-family: var(--serif); font-size: 82px; font-weight: 400; line-height: 1; }
.care-process strong { transform: translateY(-28px); }
.care-process li > div { transform: translateY(-10px); }
.care-process h3 { margin: 3px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
.care-process p { margin: 0; color: #494949; font-size: 13px; line-height: 1.55; }
.care-process li > span { position: absolute; top: 66px; right: -9px; width: 225px; height: 1px; background: var(--teal); }
.care-process li > span::after { content: ""; position: absolute; top: -4px; right: 0; width: 9px; height: 9px; background: var(--coral); border-radius: 50%; }

/* 03 — Perfil */
.profile { height: 930px; overflow: hidden; scroll-margin-top: -18px; }
.profile-shell { position: relative; height: 100%; }
.profile-copy { position: absolute; z-index: 2; top: 59px; left: 54px; }
.profile h2 { font-size: 90px; line-height: .96; }
.profile h2 em { font-size: 94px; }
.profile-last { display: inline-block; font-size: 86px; }
.profile-rule { width: 419px; height: 1px; margin-top: 29px; background: var(--coral); }
.profile-copy > h3 { margin: 17px 0 0; color: var(--teal); font-size: 26px; letter-spacing: -.025em; }
.profile-specialty { margin: 1px 0 0; color: #333; font-size: 19px; }
.credentials { position: relative; margin: 24px 0 0 11px; padding: 0 0 0 51px; list-style: none; }
.credentials::before { content: ""; position: absolute; top: 4px; bottom: 16px; left: 0; width: 2px; background: var(--teal); }
.credentials li { position: relative; min-height: 61px; padding: 0 0 12px; font-size: 17px; line-height: 1.35; }
.credentials li::before { content: ""; position: absolute; top: 11px; left: -60px; width: 20px; height: 20px; background: #fff; border: 1.5px solid var(--teal); border-radius: 50%; }
.credentials li::after { content: ""; position: absolute; top: 17px; left: -54px; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }
.trajectory-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 29px; padding-bottom: 8px; color: var(--teal); font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--coral); }
.trajectory-link span { color: var(--coral); font-size: 28px; font-weight: 400; line-height: .7; }
.profile-art { position: absolute; top: 41px; right: -47px; width: 681px; height: 735px; }
.profile-portrait { overflow: hidden; }
.profile-portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 26px;
  left: 46px;
  width: 526px;
  height: 646px;
  background: linear-gradient(148deg, #f2f0ea 0%, #e5ece8 62%, #d5e4e1 100%);
  border: 1px solid rgba(0, 81, 90, .14);
  border-radius: 6px 92px 6px 6px;
  box-shadow: 0 32px 80px rgba(0, 61, 69, .12);
}
.profile-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 26px;
  left: 46px;
  width: 13px;
  height: 646px;
  background: var(--teal);
}
.profile-watermark {
  position: absolute;
  z-index: 1;
  top: 94px;
  right: 38px;
  width: 268px;
  height: 268px;
  object-fit: contain;
  opacity: .08;
}
.profile-suit {
  position: absolute;
  z-index: 3;
  bottom: 63px;
  left: 45%;
  width: 548px;
  height: auto;
  filter: drop-shadow(0 22px 24px rgba(0, 48, 54, .16));
  animation: portraitFloat 7.5s ease-in-out infinite;
}
.profile-ring { position: absolute; z-index: 1; border: 1px solid rgba(0, 81, 90, .2); border-radius: 50%; animation: orbitRotate 22s linear infinite; }
.profile-ring::after { content: ""; position: absolute; right: 12%; bottom: 5%; width: 9px; height: 9px; background: var(--coral); border-radius: 50%; }
.profile-ring-one { top: 67px; right: 12px; width: 342px; height: 342px; }
.profile-ring-two { top: 98px; right: 43px; width: 280px; height: 280px; border-style: dashed; animation-direction: reverse; }
.profile-portrait-copy { position: absolute; z-index: 4; right: 66px; bottom: 20px; width: 298px; padding: 17px 21px; color: #fff; background: var(--teal); box-shadow: 0 14px 34px rgba(0, 61, 69, .18); }
.profile-portrait-copy strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.08; }
.profile-portrait-copy span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

/* 04 — Citas */
.appointment { height: 660px; overflow: hidden; scroll-margin-top: -275px; }
.appointment-shell { position: relative; height: 100%; }
.appointment-copy { position: absolute; z-index: 2; top: 110px; left: 58px; }
.appointment h2 { margin: 0; font-family: var(--sans); font-size: 74px; font-weight: 400; letter-spacing: -.045em; line-height: 1.01; }
.appointment h2 em { display: block; margin-top: 5px; font-family: var(--serif); font-size: 121px; line-height: .8; letter-spacing: -.035em; }
.hospital-name { display: flex; align-items: center; gap: 24px; margin-top: 36px; font-size: 27px; }
.hospital-name svg { width: 43px; height: 53px; fill: none; stroke: var(--teal); stroke-width: 1.5; }
.hospital-button { width: 466px; height: 80px; display: flex; align-items: center; gap: 25px; margin-top: 23px; padding: 0 36px; color: #fff; background: var(--teal); border-radius: 8px; font-size: 21px; font-weight: 600; text-decoration: none; }
.hospital-button svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.appointment-phone { display: inline-flex; align-items: center; gap: 20px; margin-top: 19px; color: #0b5260; font-size: 20px; text-decoration: none; }
.appointment-phone svg { width: 32px; height: 32px; fill: none; stroke: var(--coral); stroke-width: 1.8; }
.appointment-phone span { border-bottom: 1px solid #0b5260; }
.appointment-art { position: absolute; top: 0; right: -47px; width: 736px; height: 660px; }
.appointment-emblem { overflow: hidden; }
.appointment-emblem > span { position: absolute; border: 1px solid rgba(0, 81, 90, .3); border-radius: 50%; animation: orbitRotate 22s linear infinite; }
.appointment-emblem > span:first-child { top: 67px; right: 20px; width: 440px; height: 440px; }
.appointment-emblem > span:last-child { top: 92px; right: 45px; width: 390px; height: 390px; border-style: dashed; animation-direction: reverse; animation-duration: 28s; }
.appointment-emblem > img { position: absolute; z-index: 2; top: 137px; right: 95px; width: 300px; height: 300px; object-fit: contain; opacity: .6; }
.appointment-emblem > small { position: absolute; z-index: 2; right: 69px; bottom: 89px; color: var(--teal); font-size: 11px; letter-spacing: .18em; }

/* Motion system */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.js [data-reveal][data-delay="1"] { transition-delay: .12s; }
.js [data-reveal][data-delay="2"] { transition-delay: .24s; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes portraitFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-7px) scale(1.008); }
}

@keyframes orbitRotate { to { transform: rotate(360deg); } }
@keyframes anatomyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.final-cta { height: 202px; overflow: hidden; color: #fff; background: var(--teal); }
.final-cta-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 257px 0 58px; }
.final-cta h2 { position: relative; z-index: 2; font-size: 55px; line-height: 1.08; }
.final-cta h2 { transform: translateY(-8px); }
.final-signature { position: relative; z-index: 2; min-width: 410px; padding: 14px 0 14px 35px; border-left: 1px solid rgba(255, 255, 255, .42); }
.final-signature span { display: block; color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.final-signature strong { display: block; margin-top: 11px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.01em; }
.final-cta-inner > img { position: absolute; right: -43px; bottom: -119px; width: 223px; height: 223px; opacity: .45; filter: brightness(0) invert(1); }

.site-footer { height: 162px; background: #fff; }
.footer-grid { height: 100%; display: grid; grid-template-columns: 32% 27% 23% 18%; align-items: center; padding: 0 58px; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand > img { width: 91px; height: 91px; filter: grayscale(1) brightness(0); }
.footer-brand span { padding-left: 24px; border-left: 1px solid #aaa; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { font-size: 22px; }
.footer-brand small { margin-top: 4px; font-size: 14px; }
.footer-cell { min-height: 68px; display: flex; align-items: center; gap: 26px; padding-left: 38px; font-size: 16px; text-decoration: none; border-left: 1px solid #aaa; }
.footer-cell svg { width: 32px; height: 32px; flex: 0 0 auto; fill: none; stroke: #111; stroke-width: 1.5; }
.footer-copy { white-space: nowrap; }

@media (hover: hover) {
  .button, .nav-cta, .hospital-button { transition: transform .2s ease, background .2s ease, color .2s ease; }
  .button:hover, .nav-cta:hover, .hospital-button:hover { transform: translateY(-2px); }
  .nav-cta-outline:hover { color: #fff; background: var(--teal); }
}

@media (max-width: 1450px) and (min-width: 1101px) {
  .nav-home { left: 30vw; grid-template-columns: 9vw 10.5vw 8vw 1fr 14vw; }
  .nav-care, .nav-profile { gap: 3vw; }
  .primary-nav a { font-size: 14px; }
  .hero h1 { font-size: 6.65vw; }
  .hero-art { width: 46vw; height: auto; aspect-ratio: 706 / 695; }
  .care h2 { font-size: 5.25vw; }
  .profile h2 { font-size: 5.35vw; }
}

@media (max-width: 1100px) {
  :root { --shell: min(calc(100vw - 48px), 960px); }
  html { scroll-padding-top: 82px; }
  .site-header,
  .site-header[data-mode="profile"] { height: 82px; border-bottom: 1px solid #ddd; transform: none; pointer-events: auto; }
  .site-header[data-mode] .brand-home { display: flex; gap: 12px; }
  .site-header[data-mode] .brand-care,
  .site-header[data-mode] .brand-profile { display: none; }
  .brand-home img { width: 58px; height: 58px; }
  .brand-home strong { font-size: 22px; }
  .menu-toggle { position: relative; z-index: 3; width: 48px; height: 48px; display: block; margin-left: auto; padding: 0; background: transparent; border: 0; }
  .menu-toggle span { position: absolute; left: 9px; width: 30px; height: 2px; background: var(--teal); transition: transform .2s ease, top .2s ease; }
  .menu-toggle span:first-child { top: 18px; }
  .menu-toggle span:last-child { top: 29px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
  .site-header[data-mode] .primary-nav { display: none; }
  .site-header[data-mode] .nav-home.is-open { position: fixed; top: 82px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 26px 24px 40px; background: #fff; }
  .nav-home.is-open a { padding: 17px 6px; font-size: 20px; border-bottom: 1px solid #ddd; }
  .nav-home.is-open .nav-cta { min-height: 58px; margin: 28px 0 0; color: #fff; background: var(--teal); border: 0; }
  .nav-home.is-open a::after { display: none; }

  .hero { height: auto; min-height: 0; padding: 52px 0 0; }
  .hero-grid { height: auto; display: flex; flex-direction: column; }
  .hero-copy { position: relative; top: auto; left: auto; width: 100%; }
  .hero h1 { font-size: clamp(52px, 9vw, 78px); line-height: .98; }
  .hero-copy > p { margin-left: 0; font-size: 20px; }
  .coral-rule { margin-left: 0; }
  .hero-actions { margin-left: 0; flex-wrap: wrap; }
  .hero-art { position: relative; top: auto; right: auto; width: min(706px, 100%); height: auto; aspect-ratio: 706 / 695; margin: 55px auto 0; }
  .manifesto { height: auto; padding: 44px 0; }
  .manifesto-inner { display: grid; grid-template-columns: 1fr; gap: 35px; }
  .manifesto p { margin: 0; font-size: clamp(38px, 6vw, 53px); }
  .manifesto-place { height: auto; padding: 30px 0 0; border-top: 1px solid #ccc; border-left: 0; }

  .care, .profile, .appointment { height: auto; overflow: visible; scroll-margin-top: 0; }
  .care-shell, .profile-shell, .appointment-shell { height: auto; }
  .care-intro, .profile-copy, .appointment-copy { position: relative; top: auto; left: auto; }
  .care { padding: 70px 0 0; }
  .care h2 { font-size: clamp(54px, 8.5vw, 80px); }
  .care-brand-art { position: relative; top: auto; right: auto; width: min(636px, 100%); height: auto; aspect-ratio: 636 / 440; margin: 30px auto 0; }
  .care-areas { position: relative; top: auto; height: auto; grid-template-columns: 1fr; margin-top: 0; }
  .area-card { min-height: 230px; grid-template-columns: 190px 1fr; padding: 20px; }
  .area-card + .area-card { border-top: 1px solid #ddd; border-left: 0; }
  .care-process { position: relative; top: auto; height: auto; grid-template-columns: 1fr; padding: 18px 0 48px; }
  .care-process li { min-height: 150px; padding: 24px 14px; }
  .care-process li > span { display: none; }

  .profile { padding: 70px 0; }
  .profile-shell { display: flex; flex-direction: column; }
  .profile h2 { font-size: clamp(52px, 8vw, 80px); }
  .profile-art { position: relative; top: auto; right: auto; order: -1; width: min(681px, 100%); height: auto; aspect-ratio: 681 / 735; margin: 0 auto 52px; }

  .appointment { padding-top: 65px; }
  .appointment-shell { display: flex; flex-direction: column; }
  .appointment h2 { font-size: clamp(49px, 8vw, 69px); }
  .appointment h2 em { font-size: clamp(82px, 13vw, 112px); }
  .appointment-art { position: relative; top: auto; right: auto; order: -1; width: min(736px, 100%); height: auto; aspect-ratio: 736 / 660; margin: 0 auto 48px; }
  .appointment-copy { padding-bottom: 65px; }
  .final-cta { height: auto; padding: 56px 0; }
  .final-cta-inner { display: grid; gap: 35px; padding: 0; }
  .final-cta h2 { font-size: clamp(42px, 7vw, 55px); }
  .final-signature { min-width: 0; width: min(470px, 100%); }
  .site-footer { height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 30px 0; }
  .footer-brand, .footer-cell { min-height: 105px; padding: 18px 24px; border-left: 0; }
  .footer-cell:nth-child(even) { border-left: 1px solid #ccc; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .hero { padding-top: 37px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-actions { align-items: stretch; gap: 23px; }
  .button { width: 100%; }
  .phone-link { justify-content: center; font-size: 21px; }
  .hero-art { width: calc(100% + 18px); margin-left: -9px; }
  .portrait-stage { border-width: 18px; border-radius: 0 92px 0 0; }
  .official-portrait { width: 74%; }
  .portrait-halo { top: 10%; left: 14%; width: 72%; height: auto; aspect-ratio: 1; }
  .stage-mark { width: 44%; height: auto; aspect-ratio: 1; }
  .manifesto p { font-size: 39px; }
  .manifesto-place { gap: 17px; font-size: 16px; }
  .care { padding-top: 54px; }
  .care h2, .profile h2 { font-size: clamp(49px, 14.5vw, 69px); }
  .care-intro p { font-size: 17px; }
  .area-card { grid-template-columns: 112px 1fr; gap: 6px; padding: 22px 0; }
  .area-card > img, .area-card:first-child > img, .area-card:nth-child(3) > img { width: 110px; height: 150px; object-fit: cover; }
  .mini-rule { margin-bottom: 15px; }
  .area-card h3 { font-size: 27px; }
  .area-card p { margin-top: 12px; font-size: 14px; }
  .care-process li { grid-template-columns: 92px 1fr; padding-inline: 0; }
  .care-process strong { font-size: 69px; }
  .profile-art { margin-bottom: 38px; }
  .profile-portrait::before { top: 3%; left: 5%; width: 85%; height: 88%; border-radius: 5px 66px 5px 5px; }
  .profile-portrait::after { top: 3%; left: 5%; width: 9px; height: 88%; }
  .profile-watermark { top: 11%; right: 2%; width: 47%; height: auto; aspect-ratio: 1; }
  .profile-suit { bottom: 8%; left: 50%; width: 91%; }
  .profile-ring-one { top: 8%; right: -1%; left: auto; width: 58%; height: auto; aspect-ratio: 1; }
  .profile-ring-two { top: 13%; right: 4%; left: auto; width: 48%; height: auto; aspect-ratio: 1; }
  .profile-portrait-copy { right: 2%; bottom: 1%; width: 62%; padding: 13px 15px; }
  .profile-portrait-copy strong { font-size: 18px; }
  .profile h2 em { font-size: inherit; }
  .profile-last { display: inline; font-size: inherit; }
  .profile-rule { width: 100%; }
  .profile-copy > h3 { font-size: 22px; }
  .credentials { margin-left: 10px; padding-left: 37px; }
  .credentials li { font-size: 15px; }
  .appointment { padding-top: 0; }
  .appointment-art { width: calc(100% + 32px); margin: 0 -16px 34px; }
  .appointment-emblem > span:first-child { top: 10%; right: 2%; width: 66%; height: auto; aspect-ratio: 1; }
  .appointment-emblem > span:last-child { top: 14%; right: 6%; width: 58%; height: auto; aspect-ratio: 1; }
  .appointment-emblem > img { top: 21%; right: 14%; width: 45%; height: auto; aspect-ratio: 1; }
  .appointment-emblem > small { right: 8%; bottom: 12%; font-size: 9px; }
  .appointment h2 { font-size: 48px; }
  .appointment h2 em { font-size: 70px; }
  .hospital-name { gap: 15px; font-size: 21px; }
  .hospital-name svg { width: 37px; height: 45px; }
  .hospital-button { width: 100%; height: 72px; gap: 15px; padding: 0 18px; font-size: 16px; }
  .appointment-phone { font-size: 17px; }
  .final-signature { padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .42); border-left: 0; }
  .final-signature strong { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-cell { min-height: 90px; padding: 15px 0; border-top: 1px solid #ddd; border-left: 0 !important; }
  .footer-brand { border-top: 0; }
  .footer-brand span { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
