:root {
  --ink: #26384a;
  --ink-deep: #101b25;
  --ink-soft: #66737e;
  --ivory: #fbfbfa;
  --cream: #f1f2f1;
  --sage: #c7cbca;
  --sage-light: #e6e8e8;
  --sage-deep: #7f8b92;
  --clay: #c76d50;
  --clay-light: #f1ddd5;
  --ring-yellow: #f4b600;
  --ring-orange: #ff6a00;
  --ring-coral: #ff3156;
  --ring-magenta: #d900c4;
  --brand-ring: conic-gradient(from 218deg, var(--ring-yellow), var(--ring-orange) 27%, var(--ring-coral) 54%, var(--ring-magenta) 76%, #f0008f 88%, var(--ring-yellow));
  --line: rgba(38, 56, 74, .16);
  --white-line: rgba(255, 255, 255, .18);
  --content-width: 1240px;
  --shadow: 0 28px 80px rgba(18, 49, 43, .12);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.iip-home {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.iip-home *, .iip-home *::before, .iip-home *::after { box-sizing: border-box; }
.iip-home a { color: inherit; text-decoration: none; }
.iip-home button { color: inherit; font: inherit; }
.iip-home h1, .iip-home h2, .iip-home h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
.iip-home p { overflow-wrap: break-word; }
.iip-home :focus-visible { outline: 3px solid rgba(212,160,137,.58); outline-offset: 4px; }
.site-container { width: min(calc(100% - 48px), var(--content-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 11px 15px; color: #fff !important; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.material-symbols-outlined { line-height: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow > span { width: 30px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--ring-yellow), var(--ring-coral), var(--ring-magenta)); }
.site-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff !important;
  background: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.site-button:hover { color: var(--ink) !important; background: transparent; transform: translateY(-2px); }
.site-button .material-symbols-outlined { font-size: 18px; }
.site-button--compact { min-height: 44px; padding: 10px 18px; gap: 12px; }
.site-button--light { color: var(--ink) !important; border-color: #fff; background: #fff; }
.site-button--light:hover { color: #fff !important; background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0 5px; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; }
.text-link .material-symbols-outlined { font-size: 16px; }

/* Encabezado */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, .92);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(251,251,250,.97); box-shadow: 0 10px 35px rgba(38,56,74,.06); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 88px; }
.site-brand { display: inline-flex; width: max-content; align-items: center; gap: 13px; }
.logo-lockup {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brand-ring);
}
.logo-lockup img {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage);
}
.logo-lockup--nav {
  width: 55px;
  height: 55px;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(38,56,74,.07);
}
.site-brand__copy { display: grid; font-size: .65rem; line-height: 1.2; letter-spacing: .075em; text-transform: uppercase; }
.site-brand__copy strong { font-size: .74rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; padding: 10px 0; font-size: .78rem; font-weight: 800; }
.site-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--ink); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.mobile-menu { display: grid; gap: 2px; padding-bottom: 22px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.site-button) { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-menu .site-button { margin-top: 12px; }

/* Portada */
.hero { overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; min-height: min(calc(100vh - 88px), 740px); }
.hero__copy { align-self: center; padding: clamp(36px, 5vh, 68px) 5vw clamp(36px, 5vh, 68px) 0; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
}
.hero h1 em { display: block; color: var(--sage-deep); font-weight: 400; }
.hero__lead { max-width: 580px; margin: 20px 0 26px; color: var(--ink-soft); font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__visual {
  position: relative;
  min-height: clamp(480px, 64vh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 18%, rgba(199, 109, 80, .14) 0%, transparent 45%),
    radial-gradient(circle at 18% 82%, rgba(199, 203, 202, .32) 0%, transparent 50%),
    linear-gradient(145deg, #eef0f0, #f6f7f6 55%, #faede8);
  box-shadow: inset 0 0 0 1px rgba(38, 56, 74, .06);
}
.hero__visual.hero__visual--wellbeing {
  min-height: 0;
  padding: 0;
  align-self: center;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  background: #e6e2d9;
}
.hero__wellbeing-image {
  display: block;
  width: 100%;
  height: auto;
}
.hero__showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: clamp(380px, 52vh, 460px);
}
.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px rgba(38, 56, 74, .14);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease;
}
.hero-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 24px 50px rgba(38, 56, 74, .2);
  z-index: 5;
}
.hero-card--legs {
  top: 4%;
  left: 4%;
  width: 50%;
  height: 68%;
  z-index: 1;
}
.hero-card--skin {
  bottom: 4%;
  right: 4%;
  width: 50%;
  height: 68%;
  z-index: 2;
}
.hero-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-card--legs .hero-card__img {
  object-position: center 30%;
}
.hero-card--skin .hero-card__img {
  object-position: center top;
}
.hero-card__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251, 251, 250, .94);
  backdrop-filter: blur(8px);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hero-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 10px 8px;
  background: linear-gradient(180deg, transparent 0%, rgba(38, 56, 74, .82) 100%);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
}
.hero-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(251, 251, 250, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 45px rgba(18, 49, 43, .16);
  text-align: center;
  width: min(75%, 260px);
}
.hero-center-badge .logo-lockup {
  width: 52px;
  height: 52px;
  padding: 3px;
  box-shadow: 0 6px 16px rgba(38, 56, 74, .1);
}
.hero-center-badge strong {
  display: block;
  margin-top: 8px;
  font-size: .7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}
.hero-center-badge small {
  display: block;
  margin-top: 2px;
  font-size: .59rem;
  color: var(--ink-soft);
}
.hero-insta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f2f2;
  color: var(--ink) !important;
  font-size: .59rem;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.hero-insta-pill:hover {
  background: var(--ink);
  color: #fff !important;
  transform: scale(1.03);
}
.hero-insta-pill .material-symbols-outlined {
  font-size: 13px;
}
.hero__tag { position: absolute; z-index: 4; padding: 8px 13px; border-radius: 999px; background: rgba(251,251,250,.95); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0,0,0,.08); font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero__tag--top { top: 14px; right: 16px; }
.hero__tag--bottom { bottom: 14px; left: 16px; }

/* Franja de confianza */
.trust-strip { color: #fff; background: var(--ink); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-strip__grid > div { display: flex; min-height: 94px; align-items: center; gap: 15px; padding: 20px 6%; border-right: 1px solid var(--white-line); }
.trust-strip__grid > div:first-child { padding-left: 0; }
.trust-strip__grid > div:last-child { border-right: 0; }
.trust-strip .material-symbols-outlined { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--sage); font-size: 19px; }
.trust-strip p { display: grid; margin: 0; }
.trust-strip strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; font-weight: 400; }
.trust-strip small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .68rem; }

/* Áreas */
.areas-section { padding: clamp(48px, 6.5vh, 76px) 0 clamp(40px, 5.5vh, 65px); }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; align-items: start; gap: 26px; margin-bottom: 36px; }
.section-heading h2 { max-width: 820px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem, 3.6vw, 3.6rem); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.areas-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.area-card { position: relative; display: grid; min-height: 260px; padding: 28px; border-radius: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.area-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(38,56,74,.1); }
.area-card--sage { background: var(--sage-light); }
.area-card--clay { background: var(--clay-light); }
.area-card__number { font-family: Georgia, 'Times New Roman', serif; font-size: .88rem; }
.area-card__arrow { position: absolute; top: 28px; right: 28px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: transform .2s ease; }
.area-card:hover .area-card__arrow { transform: translateX(4px); }
.area-card > div { align-self: end; max-width: 500px; padding-left: 5%; }
.area-card p { margin: 0; font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.area-card h3 { margin: 8px 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.9rem, 2.7vw, 2.9rem); font-weight: 400; letter-spacing: -.045em; line-height: .96; }
.area-card div > span { display: block; max-width: 410px; color: var(--ink-soft); font-size: .88rem; }

/* Presentación */
.intro-section { padding: clamp(48px, 6.5vh, 76px) 0; background: var(--cream); }
.intro-section__grid { display: grid; grid-template-columns: .45fr 1.55fr; gap: 45px; }
.intro-section__copy > h2 { max-width: 880px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.8vw, 4.2rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.intro-section__copy > div { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; max-width: 800px; margin: 32px 0 0 auto; }
.intro-section__copy p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Especialidades */
.specialty { padding: clamp(48px, 6.5vh, 76px) 0; }
.specialty--skin { background: #fbf3ef; }
.specialty__grid { display: grid; grid-template-columns: minmax(360px,.88fr) minmax(0,1.12fr); gap: clamp(45px,6vw,90px); align-items: center; }
.specialty__grid--reverse { grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); }
.specialty-art {
  position: relative;
  min-height: clamp(380px, 48vh, 480px);
  overflow: hidden;
  border-radius: 24px 24px 6px 6px;
  box-shadow: 0 20px 50px rgba(38,56,74,.12);
}
.specialty-art__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.specialty-art:hover .specialty-art__img {
  transform: scale(1.04);
}
.specialty-art__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(38,56,74,.05) 0%, rgba(38,56,74,.15) 50%, rgba(38,56,74,.65) 100%);
  pointer-events: none;
}
.specialty-art__number {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251,251,250,.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .92rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.specialty-art p {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  left: 24px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.45);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.specialty__content h2 { max-width: 660px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.8vw, 4.2rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.specialty__lead { max-width: 630px; margin: 18px 0 24px; color: var(--ink-soft); font-size: .98rem; }
.service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 22px; margin-bottom: 20px; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 32px 1fr; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.service-item > .material-symbols-outlined { color: var(--sage-deep); font-size: 22px; }
.specialty--skin .service-item > .material-symbols-outlined { color: #a96f58; }
.service-item h3 { margin: 0 0 4px; font-size: .9rem; }
.service-item p { margin: 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; }
.medical-note { display: flex; max-width: 640px; align-items: flex-start; gap: 8px; margin: 0 0 22px; color: var(--ink-soft); font-size: .72rem; }
.medical-note .material-symbols-outlined { margin-top: 1px; font-size: 16px; }

/* Profesionales */
.team-section { padding: clamp(48px, 6.5vh, 76px) 0; }
.team-heading { display: grid; grid-template-columns: .55fr 1.05fr .7fr; gap: 24px; align-items: end; margin-bottom: 34px; }
.team-heading .eyebrow { align-self: start; margin-bottom: 0; }
.team-heading h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.6vw, 3.8rem); font-weight: 400; letter-spacing: -.05em; line-height: .94; }
.team-heading > p:last-child { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.doctor-card { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 350px; overflow: hidden; border-radius: 6px; }
.doctor-card--sage { background: var(--sage-light); }
.doctor-card--clay { background: var(--clay-light); }
.doctor-card__portrait { position: relative; display: grid; place-items: center; overflow: hidden; background: #e2e8f0; }
.doctor-card--sage .doctor-card__portrait { background: linear-gradient(150deg,#cbd0d1,#87949b); }
.doctor-card--clay .doctor-card__portrait { background: linear-gradient(150deg,#e5b5a4,#bd6d52); }
.doctor-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 3;
  transition: transform .35s ease;
}
.doctor-card:hover .doctor-card__img {
  transform: scale(1.04);
}
.doctor-card__img--yaluk {
  object-position: 55% 45%;
  transform: scale(1.65);
  transform-origin: 55% 65%;
}
.doctor-card:hover .doctor-card__img--yaluk {
  transform: scale(1.7);
}
.doctor-card__portrait::before { position: absolute; bottom: -24%; left: 50%; width: 82%; aspect-ratio: .75; border-radius: 50% 50% 8px 8px; background: rgba(251,251,250,.47); content: ''; transform: translateX(-50%); }
.doctor-card__portrait i { position: absolute; top: 17%; left: 50%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(251,251,250,.65); transform: translateX(-50%); }
.doctor-card__portrait span { position: relative; z-index: 2; font-family: Georgia, 'Times New Roman', serif; font-size: 2.8rem; font-style: italic; }
.doctor-card__info { align-self: end; padding: 28px 24px; }
.doctor-card__info p { margin: 0; font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.doctor-card__info h3 { margin: 10px 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.7rem, 2.3vw, 2.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .96; }
.doctor-card__info > span { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.45; }
.team-note { margin: 16px 0 0; color: var(--ink-soft); font-size: .7rem; text-align: right; }

/* Cosmiatría */
.cosmiatry-section { padding: clamp(48px, 6.5vh, 76px) 0; background: #f6f3f0; }
.cosmiatry-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: 30px; }
.cosmiatry-heading h2 { max-width: 760px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.8vw, 4rem); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.cosmiatry-heading__details { display: grid; gap: 20px; padding: 4px 0 4px 24px; border-left: 2px solid var(--clay); }
.cosmiatry-heading__details p { display: grid; gap: 3px; margin: 0; }
.cosmiatry-heading__details strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.cosmiatry-heading__details p span { color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cosmiatry-heading__details .text-link { width: max-content; max-width: 100%; }
.cosmiatry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cosmiatry-card { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.cosmiatry-card--body { background: #e9eceb; }
.cosmiatry-card__heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.cosmiatry-card__heading span { color: var(--clay); font-family: Georgia, 'Times New Roman', serif; font-size: .9rem; }
.cosmiatry-card__heading h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 2.8vw, 3rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.cosmiatry-card ul { margin: 0; padding: 0; list-style: none; }
.cosmiatry-card li { padding: 15px 0 16px; border-top: 1px solid var(--line); }
.cosmiatry-card li:last-child { padding-bottom: 0; }
.cosmiatry-card h4 { margin: 0 0 4px; font-size: .93rem; line-height: 1.3; }
.cosmiatry-card li p { margin: 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }

/* Enfoque */
.care-section { padding: clamp(48px, 6.5vh, 76px) 0; color: #fff; background: var(--ink); }
.care-section__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px,7vw,100px); align-items: center; }
.care-statement { position: relative; }
.care-statement__mark { position: absolute; top: -50px; left: -10px; color: rgba(199,203,202,.22); font-family: Georgia, 'Times New Roman', serif; font-size: 9rem; line-height: 1; }
.care-statement h2 { position: relative; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 4vw, 4.4rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.care-statement p { max-width: 530px; margin: 20px 0 0; color: rgba(255,255,255,.65); font-size: .95rem; }
.care-steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--white-line); }
.care-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--white-line); }
.care-steps li > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--sage); font-family: Georgia, 'Times New Roman', serif; font-size: .88rem; }
.care-steps strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 400; }
.care-steps p { margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: .8rem; }

/* Educación */
.education-section { padding: clamp(45px, 5.5vh, 68px) 0; background: var(--sage-light); }
.education-section__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 45px; align-items: center; }
.education-section h2 { max-width: 730px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.6vw, 3.8rem); font-weight: 400; letter-spacing: -.05em; line-height: .94; }
.education-card { padding: 32px; border: 1px solid rgba(38,56,74,.14); border-radius: 5px; background: rgba(251,251,250,.72); }
.education-card > .material-symbols-outlined { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-size: 20px; }
.education-card p { margin: 18px 0 20px; color: var(--ink-soft); font-size: .92rem; }

/* Tira Instagram */
.insta-strip {
  margin-top: clamp(28px, 4vh, 42px);
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(38, 56, 74, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(38, 56, 74, .06);
}
.insta-strip__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.insta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e1306c;
  margin-bottom: 4px;
}
.insta-badge .material-symbols-outlined {
  font-size: 14px;
}
.insta-strip__header h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 400;
  color: var(--ink);
}
.insta-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insta-post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(38, 56, 74, .08);
  background: #fdfdfc;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.insta-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(38, 56, 74, .12);
  border-color: rgba(225, 48, 108, .35);
}
.insta-post__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef0f0;
}
.insta-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
  display: block;
}
.insta-post:hover .insta-post__media img {
  transform: scale(1.05);
}
.insta-post__icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(38, 56, 74, .75);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s ease;
}
.insta-post__icon .material-symbols-outlined {
  font-size: 14px;
}
.insta-post:hover .insta-post__icon {
  opacity: 1;
}
.insta-post__caption {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insta-post__caption time {
  color: #a96f58;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insta-post__caption strong {
  font-size: .8rem;
  color: var(--ink);
  line-height: 1.25;
}
.insta-post__caption p {
  margin: 0;
  font-size: .72rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Preguntas */
.faq-section { padding: clamp(48px, 6.5vh, 76px) 0; }
.faq-section__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px,6vw,90px); align-items: start; }
.faq-section h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.6vw, 3.8rem); font-weight: 400; letter-spacing: -.05em; line-height: .94; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-family: Georgia, 'Times New Roman', serif; font-size: .82rem; }
.faq-list summary strong { font-size: .92rem; }
.faq-list summary i { font-style: normal; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { max-width: 620px; margin: -4px 0 18px 50px; color: var(--ink-soft); font-size: .86rem; }

/* Contacto */
.contact-section { padding: 0 0 clamp(45px, 6vh, 70px); }
.contact-panel { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: 7px; color: #fff; background: var(--ink); }
.contact-panel__main { position: relative; padding: clamp(34px, 4.2vw, 55px); background: radial-gradient(circle at 95% 10%, rgba(199,203,202,.22), transparent 31%); }
.contact-panel__main .eyebrow { color: var(--sage); }
.contact-panel__main h2 { max-width: 650px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.8vw, 4rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.contact-panel__main > p:not(.eyebrow) { max-width: 570px; margin: 18px 0 24px; color: rgba(255,255,255,.66); font-size: .92rem; }
.contact-panel__details { display: grid; align-content: center; gap: 0; padding: clamp(28px, 3.5vw, 48px); background: rgba(255,255,255,.06); }
.contact-panel__details > div { display: grid; gap: 6px; padding: 15px 0; border-bottom: 1px solid var(--white-line); }
.contact-panel__details > div > span { color: rgba(255,255,255,.48); font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel__details strong, .contact-panel__details > div > a { font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; font-weight: 400; }
.map-link { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-bottom: 6px; border-bottom: 1px solid #fff; font-size: .76rem; font-weight: 800; }
.map-link .material-symbols-outlined { font-size: 17px; }

/* Pie */
.site-footer { padding: 50px 0 22px; color: #fff; background: var(--ink-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr; gap: 40px; padding-bottom: 35px; }
.site-brand--footer .logo-lockup { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.site-footer__grid > div:first-child > p { max-width: 470px; margin: 18px 0 0; color: rgba(255,255,255,.52); font-size: .82rem; }
.site-footer h3 { margin: 0 0 14px; color: var(--sage); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.site-footer nav { display: grid; gap: 8px; color: rgba(255,255,255,.62); font-size: .8rem; }
.site-footer nav a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--white-line); color: rgba(255,255,255,.4); font-size: .66rem; }
.site-footer__bottom p { margin: 0; }
.floating-turn { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: flex; min-height: 46px; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff !important; background: var(--ink); box-shadow: 0 12px 35px rgba(15,41,37,.22); font-size: .74rem; }
.floating-turn .material-symbols-outlined { font-size: 18px; }

/* Anuncio de portada */
.announcement-dialog {
  position: fixed;
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(8, 23, 38, .38);
}
.announcement-dialog::backdrop { background: rgba(10, 24, 38, .72); }
.announcement-dialog__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.announcement-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 108px);
  max-height: calc(100dvh - 108px);
  object-fit: contain;
}
.announcement-dialog__close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff !important;
  background: rgba(10, 30, 49, .9);
  cursor: pointer;
}
.announcement-dialog__footer { padding: 10px 14px 14px; }
.announcement-dialog__footer a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: .84rem;
  font-weight: 800;
}
.announcement-dialog__footer a:hover { background: #36536d; }
.announcement-dialog__footer .material-symbols-outlined { font-size: 18px; }

/* Aparición progresiva */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Optimización para pantallas de notebook (1366x768, 1440x900, 1920x1080 escaladas) */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero__grid { min-height: min(calc(100vh - 88px), 620px); }
  .hero__copy { padding: 24px 4vw 24px 0; }
  .hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
  .hero__lead { margin: 14px 0 20px; font-size: 1rem; }
  .hero__visual { min-height: 460px; padding: 20px 16px; }
  .hero__showcase { height: 380px; }
  .hero-center-badge { padding: 12px 14px; width: 230px; }
  .hero-center-badge .logo-lockup { width: 44px; height: 44px; }
  .specialty { padding: 40px 0; }
  .specialty-art { min-height: 380px; }
  .areas-section, .intro-section, .team-section, .cosmiatry-section, .care-section, .faq-section { padding: 42px 0; }
  .doctor-card { min-height: 320px; }
}

/* Equilibrio entre el texto y la fotografía vertical del hero en escritorio. */
@media (min-width: 1061px) {
  .hero__copy {
    padding: 36px clamp(32px, 4vw, 56px) 36px 0;
  }
  .hero__copy .eyebrow { margin-bottom: 30px; }
  .hero h1 {
    font-size: clamp(3.8rem, 6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -.045em;
  }
  .hero__lead {
    max-width: 460px;
    margin: 28px 0 32px;
    font-size: clamp(1.05rem, 1.35vw, 1.15rem);
    line-height: 1.7;
  }
  .hero__actions { gap: 18px 24px; }
}

@media (max-width: 1060px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 60px 4vw; }
  .hero__visual { min-height: 500px; }
  .section-heading, .intro-section__grid, .team-heading, .faq-section__grid { grid-template-columns: 1fr; }
  .section-heading .eyebrow, .intro-section__grid > .eyebrow { margin-bottom: 0; }
  .specialty__grid, .specialty__grid--reverse { grid-template-columns: 1fr; }
  .specialty__grid--reverse .specialty__content { order: 2; }
  .specialty__grid--reverse .specialty-art { order: 1; }
  .specialty-art { min-height: 460px; }
  .team-heading > p:last-child { max-width: 620px; }
  .doctor-card { grid-template-columns: 1fr; }
  .doctor-card__portrait { min-height: 280px; }
}

@media (max-width: 780px) {
  .site-container { width: min(calc(100% - 34px), var(--content-width)); }
  .site-header__inner { min-height: 74px; }
  .logo-lockup--nav { width: 47px; height: 47px; padding: 2px; }
  .logo-lockup--nav img { border-width: 2px; }
  .site-brand__copy { display: none; }
  .site-button--compact { display: none; }
  .hero__grid { width: 100%; }
  .hero__copy { width: min(calc(100% - 34px), var(--content-width)); margin-inline: auto; padding: 60px 0 40px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4.2rem); line-height: .94; }
  .hero__visual { min-height: 440px; padding: 24px 14px; }
  .hero__showcase { height: 380px; }
  .hero-card--legs { width: 52%; height: 65%; top: 2%; left: 2%; }
  .hero-card--skin { width: 52%; height: 65%; bottom: 2%; right: 2%; }
  .hero-center-badge { padding: 12px 14px; width: 220px; }
  .hero-center-badge .logo-lockup { width: 46px; height: 46px; }
  .hero__tag--bottom { max-width: 220px; border-radius: 10px; line-height: 1.5; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid > div { min-height: 96px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .areas-section, .intro-section, .specialty, .team-section, .cosmiatry-section, .care-section, .education-section, .faq-section { padding: 60px 0; }
  .cosmiatry-heading, .cosmiatry-grid { grid-template-columns: 1fr; }
  .areas-grid, .team-grid, .education-section__grid, .care-section__grid, .contact-panel { grid-template-columns: 1fr; }
  .insta-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .area-card { min-height: 280px; padding: 26px; }
  .intro-section__copy > div, .service-list { grid-template-columns: 1fr; }
  .intro-section__copy > div { gap: 24px; margin-top: 30px; }
  .specialty-art { min-height: 420px; }
  .specialty__content h2 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .doctor-card { min-height: auto; }
  .doctor-card__info { padding: 32px 24px; }
  .care-statement { margin-bottom: 22px; }
  .education-section__grid { gap: 35px; }
  .education-card { padding: 28px; }
  .contact-section { padding-bottom: 60px; }
  .contact-panel__details { padding-top: 25px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 35px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero__visual { min-height: 380px; padding: 18px 10px; }
  .hero__showcase { height: 340px; }
  .hero-card__badge { font-size: .5rem; padding: 3px 8px; }
  .hero-card__caption { font-size: .54rem; padding: 10px 6px 6px; }
  .hero-center-badge { padding: 10px 12px; width: 195px; }
  .hero-center-badge strong { font-size: .62rem; }
  .hero-center-badge small { display: none; }
  .hero-insta-pill { font-size: .52rem; padding: 4px 8px; }
  .hero__tag--top { top: 8px; right: 8px; }
  .hero__tag--bottom { bottom: 8px; left: 8px; }
  .area-card > div { padding-left: 0; }
  .specialty-art { min-height: 360px; }
  .insta-strip { padding: 16px 14px; }
  .insta-strip__grid { grid-template-columns: 1fr; }
  .doctor-card__portrait { min-height: 240px; }
  .cosmiatry-card { padding: 26px 22px; }
  .contact-panel__main, .contact-panel__details { padding: 36px 20px; }
  .contact-panel__details strong, .contact-panel__details > div > a { font-size: 1.05rem; }
  .faq-list summary { grid-template-columns: 30px 1fr auto; gap: 10px; }
  .faq-list details > p { margin-left: 40px; }
  .floating-turn { right: 15px; bottom: 15px; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 2.62rem; }
  .hero__copy { width: min(calc(100% - 28px), var(--content-width)); }
}

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