/* ================================================================
   SKINTHETICS — by Dra. Amaranta
   Clinical Editorial Play · Aesthetic Medicine & Anti Aging
   ================================================================ */

/* =============================================================
   0. Reset & variables
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colours */
  --ivory:       #F6F4EF;
  --porcelain:   #E7E2D9;
  --taupe:       #AB9E93;
  --espresso:    #302923;
  --espresso-lt: #4A3D34;
  --gold:        #C8AA73;
  --gold-lt:     #D9BF8E;
  --sage:        #A9B3AA;
  --white:       #FFFFFF;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Layout */
  --gutter:   clamp(20px, 5vw, 80px);
  --max-w:    1200px;
  --r:        4px;

  /* Transitions */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur:  .35s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--espresso);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Focus-visible ring — gold outline, reset for mouse */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* =============================================================
   1. Layout helpers
   ============================================================= */
.sk-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =============================================================
   2. Typography
   ============================================================= */
.sk-eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.sk-eyebrow--light { color: rgba(246,244,239,.55); }

.sk-section-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--espresso);
}
.sk-section-title em { font-style: italic; color: var(--gold); }

.sk-section-sub {
  font-size: .95rem;
  color: var(--taupe);
  line-height: 1.7;
  max-width: 52ch;
  margin: 18px auto 0;
  text-align: center;
}

/* =============================================================
   3. Buttons
   ============================================================= */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: var(--r);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .22s ease-out, color .22s ease-out, border-color .22s ease-out, transform 160ms ease-out;
  white-space: nowrap;
}
.sk-btn:active { transform: scale(0.97); }

.sk-btn--gold {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}
.sk-btn--gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.sk-btn--outline {
  background: transparent;
  color: var(--espresso);
  border-color: rgba(48,41,35,.5);
}
.sk-btn--outline:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.sk-btn--outline-light {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  padding: 18px 40px;
  font-size: .95rem;
}
.sk-btn--outline-light:hover { background: var(--gold); color: var(--espresso); }

.sk-btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.sk-btn--ghost:hover { color: var(--gold); }

/* =============================================================
   4. Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. Header
   ============================================================= */
.sk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,170,115,.2);
  transition: box-shadow .25s ease-out;
}
.sk-header.is-scrolled { box-shadow: 0 2px 20px rgba(48,41,35,.08); }

.sk-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.sk-header__brand { flex-shrink: 0; }
.sk-header__logo { height: 54px; width: auto; }

.sk-nav__ga-item {
  padding-right: 12px;
  margin-right: 4px;
  border-right: 1px solid rgba(200,170,115,.3);
}
.sk-nav__ga {
  font-size: .72rem !important;
  font-weight: 400 !important;
  letter-spacing: .05em;
  color: var(--taupe) !important;
  white-space: nowrap;
  transition: color .2s ease-out;
}
.sk-nav__ga:hover { color: var(--espresso) !important; }

.sk-header__nav ul {
  display: flex;
  gap: 20px;
}
.sk-header__nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--espresso);
  transition: color .2s ease-out;
  white-space: nowrap;
}
.sk-header__nav a:hover { color: var(--gold); }

.sk-header__cta { font-size: .8rem; padding: 10px 20px; }

/* Active nav link */
.sk-header__nav-active {
  position: relative;
  color: var(--espresso) !important;
}
.sk-header__nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.sk-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.sk-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform .3s ease-out, opacity .3s ease-out;
}
.sk-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sk-burger.is-open span:nth-child(2) { opacity: 0; }
.sk-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.sk-mobile-menu {
  display: block;
  position: fixed;
  inset: 72px 0 0 0;
  overflow-x: hidden;
  background: var(--ivory);
  z-index: 99;
  padding: 40px var(--gutter);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.sk-mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s var(--ease), visibility 0s;
}
.sk-mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }
.sk-mobile-menu a {
  font-size: 1.3rem;
  font-family: var(--serif);
  color: var(--espresso);
  display: block;
}
.sk-mobile-menu .sk-mobile-menu__cta { font-size: 1rem; font-family: var(--sans); }

.sk-mobile-menu__sep {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(200,170,115,.25);
}
.sk-mobile-menu__back {
  font-size: .82rem !important;
  font-family: var(--sans) !important;
  color: var(--taupe) !important;
  letter-spacing: .05em;
  text-decoration: none;
  display: block;
}
.sk-mobile-menu__back:hover { color: var(--espresso) !important; }

/* =============================================================
   6. Hero
   ============================================================= */
.sk-hero {
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-columns: 44fr 56fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
}

.sk-hero__content {
  padding: clamp(36px,5vw,60px) clamp(20px,4vw,60px) clamp(36px,5vw,60px) var(--gutter);
  max-width: 640px;
}

.sk-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--espresso);
  margin-bottom: .35em;
}
.sk-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.sk-hero__lead {
  font-size: 1rem;
  color: var(--espresso-lt);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 20px;
}

.sk-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sk-hero__actions .sk-btn--gold { min-width: 270px; }

.sk-hero__support {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 16px var(--gutter) 24px;
  background: var(--porcelain);
  border-top: 1px solid rgba(200,170,115,.45);
}
.sk-hero__support span {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
}
.sk-hero__dot { color: var(--gold); }

/* Hero image */
.sk-hero__visual {
  position: relative;
  grid-row: 1 / 3;
  grid-column: 2;
  overflow: hidden;
  align-self: stretch;
}
.sk-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%);
  mask-image: linear-gradient(to right, transparent 0%, black 16%);
}

/* =============================================================
   7. Nosotros
   ============================================================= */
.sk-nosotros {
  background: var(--ivory);
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 7vw, 80px);
}

.sk-nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-bottom: clamp(56px, 8vw, 96px);
}

/* Image is second in HTML but should display LEFT — bleed to viewport edge */
.sk-nosotros__visual {
  order: -1;
  margin-left: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--max-w)) / 2)));
  width: calc(100% + var(--gutter) + max(0px, (100vw - var(--max-w)) / 2));
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sk-nosotros__visual picture {
  display: block;
  height: 100%;
}

.sk-nosotros__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 0;
  display: block;
}

.sk-nosotros__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--espresso);
  margin-bottom: 28px;
}
.sk-nosotros__title em {
  font-style: italic;
  color: var(--gold);
  font-size: 1em;
}

.sk-nosotros__text {
  font-size: .95rem;
  color: var(--espresso-lt);
  line-height: 1.8;
  margin-bottom: 18px;
}

.sk-nosotros__cierre-sep {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 32px;
  margin-bottom: 24px;
}

.sk-nosotros__cierre {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.35;
}

/* Pillars — horizontal bar on ivory, vertical dividers */
.sk-nosotros__pillars {
  border-top: 1px solid var(--porcelain);
}
.sk-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.sk-pillar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 48px 36px 40px;
  border-right: 1px solid var(--porcelain);
}
.sk-pillar:last-child { border-right: none; }
.sk-pillars__grid .sk-pillar.reveal:nth-child(2) { transition-delay: 80ms; }
.sk-pillars__grid .sk-pillar.reveal:nth-child(3) { transition-delay: 160ms; }

.sk-pillar__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}
.sk-pillar__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.3;
}
.sk-pillar__text {
  font-size: .85rem;
  color: var(--taupe);
  line-height: 1.7;
}

/* =============================================================
   8. Services / Tratamientos
   ============================================================= */
.sk-services {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--ivory);
}

.sk-section-head {
  margin-bottom: 56px;
  text-align: center;
}

/* Flex 3+2 layout: first 3 cards equal thirds, last 2 are half-width each */
.sk-services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.sk-service-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow .25s ease-out, transform .25s ease-out;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .sk-service-card:hover {
    box-shadow: 0 16px 40px rgba(48,41,35,.1);
    transform: translateY(-4px);
  }
}


.sk-service-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--porcelain);
}
.sk-service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .32s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .sk-service-card:hover .sk-service-card__img-wrap img { transform: scale(1.04); }
}

.sk-service-card__body {
  padding: 24px 24px 28px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sk-service-card__num { display: none; }
.sk-service-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 10px;
  line-height: 1.2;
}
.sk-service-card__text {
  font-size: .85rem;
  color: var(--taupe);
  line-height: 1.65;
  flex: 1;
}
.sk-service-card__link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--taupe);
  transition: color .2s ease-out;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  width: 100%;
}
.sk-service-card__link:hover { color: var(--espresso); }
.sk-service-card__link[aria-expanded="true"] .sk-card-plus {
  background: var(--gold);
  color: var(--white, #fff);
  border-color: var(--gold);
}

.sk-service-card__treatments {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(0.23, 1, 0.32, 1);
}
.sk-service-card__treatments.is-open {
  max-height: 640px;
}
.sk-service-card__treatments ul {
  list-style: none;
  margin: 0 24px 20px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(200, 170, 115, .25);
}
.sk-service-card__treatments li {
  font-size: .8rem;
  color: var(--taupe);
  padding: 5px 0;
  border-bottom: 1px solid rgba(171, 158, 147, .12);
  line-height: 1.4;
}
.sk-service-card__treatments li:last-child { border-bottom: none; }

.sk-card-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: .75rem;
  line-height: 1;
  flex-shrink: 0;
}

.sk-service-card__text--sub {
  font-size: .78rem;
  color: var(--taupe);
  font-style: italic;
  margin-bottom: 8px;
  margin-top: -4px;
}

.sk-services__cta {
  margin-top: 64px;
  text-align: center;
  border-top: 1px solid var(--porcelain);
  padding-top: 56px;
}
.sk-services__cta-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 12px;
  line-height: 1.2;
}
.sk-services__cta-sub {
  font-size: .95rem;
  color: var(--taupe);
  margin-bottom: 28px;
}
.sk-services__cta .sk-btn--gold {
  min-width: 280px;
  justify-content: center;
}
.sk-services__cta-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--espresso);
  margin-bottom: 20px;
}

/* =============================================================
   9. Doctor — Dra. Amaranta
   ============================================================= */
.sk-doctor {
  background: var(--porcelain);
  padding: clamp(72px, 10vw, 128px) 0;
}

.sk-doctor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.sk-doctor__visual {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--porcelain);
  margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--max-w)) / 2)));
  width: calc(100% + var(--gutter) + max(0px, (100vw - var(--max-w)) / 2));
}
.sk-doctor__visual img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.sk-doctor__content { }

.sk-doctor__title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--espresso);
}
.sk-doctor__title-pre {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 4px;
  font-style: normal;
}
.sk-doctor__title em {
  font-style: italic;
  color: var(--gold);
  display: block;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  white-space: nowrap;
}

.sk-doctor__subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--espresso);
  font-style: normal;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 32px;
}

.sk-doctor__stat-row {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(200,170,115,.3);
}
.sk-stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.sk-stat-label {
  font-size: .78rem;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.sk-doctor__bio {
  font-size: .95rem;
  color: var(--espresso-lt);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sk-doctor__sep {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 28px 0 32px;
}

.sk-btn--full {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* =============================================================
   11. Resultados
   ============================================================= */
.sk-resultados {
  background: var(--ivory);
  padding: clamp(72px, 10vw, 128px) 0;
}

.sk-resultados__cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.sk-res-cat {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  will-change: transform;
  letter-spacing: .05em;
  padding: 10px 24px;
  border: 1.5px solid rgba(48,41,35,.22);
  border-radius: 40px;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out, transform 130ms ease-out;
}
.sk-res-cat:active { transform: scale(0.97); }
.sk-res-cat:hover {
  border-color: var(--espresso);
  color: var(--espresso);
}
.sk-res-cat--active {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

/* 2 B&A pairs per row */
.sk-resultados__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sk-ba-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
}

.sk-ba-card__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sk-ba-card__before,
.sk-ba-card__after {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sk-ba-card__before { border-right: 1px solid var(--porcelain); }

.sk-ba-label {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  padding: 10px 12px;
  border-bottom: 1px solid var(--porcelain);
  background: var(--white);
}
.sk-ba-label--after { color: var(--gold); }

.sk-ba-card--full { grid-column: 1 / -1; }

.sk-ba-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sk-ba-placeholder {
  aspect-ratio: 3 / 4;
  max-height: 460px;
  background: var(--porcelain);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--taupe);
  font-size: .72rem;
  letter-spacing: .06em;
}

.sk-ba-card__caption {
  padding: 14px 16px;
  font-size: .8rem;
  color: var(--taupe);
  text-align: center;
  border-top: 1px solid var(--porcelain);
  background: var(--white);
  font-style: italic;
}
.sk-ba-card__caption-sub {
  font-size: .72rem;
  color: var(--porcelain);
  display: block;
  margin-top: 2px;
}

.sk-resultados__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.sk-res-nav-btn {
  background: none;
  border: 1px solid rgba(171,158,147,.5);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--taupe);
  font-size: 1.1rem;
  line-height: 1;
  will-change: transform;
  transition: border-color .2s ease-out, color .2s ease-out, transform 130ms ease-out;
}
.sk-res-nav-btn:active { transform: scale(0.97); }
.sk-res-nav-btn:hover { border-color: var(--espresso); color: var(--espresso); }
.sk-res-nav-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.sk-resultados__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sk-resultados__dot {
  width: 24px;
  height: 2px;
  background: var(--porcelain);
  border-radius: 2px;
  cursor: pointer;
  opacity: .4;
  transition: background .2s ease-out, transform 180ms ease, opacity 180ms ease;
}
.sk-resultados__dot--active {
  background: var(--espresso);
  opacity: 1;
  transform: scale(1.3);
}
@media (hover: hover) and (pointer: fine) {
  .sk-resultados__dot:hover { background: var(--taupe); }
  .sk-ba-img {
    transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .sk-ba-img:hover {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-ba-img { transition: none !important; transform: none !important; }
  .sk-res-cat { transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out !important; }
  .sk-res-cat:active { transform: none !important; }
  .sk-res-nav-btn { transition: border-color .2s ease-out, color .2s ease-out !important; }
  .sk-res-nav-btn:active { transform: none !important; }
  .sk-resultados__dot { transition: background .2s ease-out, opacity 150ms ease !important; }
  .sk-resultados__dot--active { transform: none !important; }
}

.sk-resultados__aviso {
  margin-top: 40px;
  font-size: .78rem;
  color: var(--taupe);
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* =============================================================
   12. Ubicación
   ============================================================= */
.sk-ubicacion {
  background: var(--ivory);
  padding: clamp(72px, 10vw, 128px) 0;
  border-top: 1px solid var(--porcelain);
}

.sk-ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.sk-ubicacion__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--espresso);
  margin-bottom: 40px;
}
.sk-ubicacion__title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.sk-ubi-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.sk-ubi-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sk-ubi-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .65;
  object-fit: contain;
}

.sk-ubi-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  object-fit: contain;
}

.sk-ubi-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.sk-ubi-item p {
  font-size: .88rem;
  color: var(--taupe);
  line-height: 1.6;
}

.sk-ubi-link {
  color: var(--gold);
  transition: color .2s ease-out;
}
.sk-ubi-link:hover { color: var(--espresso); }

.sk-ubi-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--espresso);
  border: none;
  padding: 13px 32px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--r);
  transition: background .2s ease-out, transform 160ms ease-out;
}
.sk-ubi-cta:active { transform: scale(0.97); }
.sk-ubi-cta:hover { background: var(--gold-lt); }

.sk-ubicacion__map {
  height: 460px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--porcelain);
  position: relative;
}
.sk-ubicacion__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.sk-ubicacion__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 12px;
  color: var(--taupe);
}
.sk-ubicacion__map-placeholder svg { color: var(--gold); opacity: .7; }
.sk-ubicacion__map-placeholder strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--espresso);
}
.sk-ubicacion__map-placeholder span { font-size: .82rem; }

/* =============================================================
   13. Contacto — dark section, centered
   ============================================================= */
.sk-contact {
  background: var(--espresso);
  padding: clamp(80px, 10vw, 128px) 0 clamp(80px, 10vw, 128px);
  text-align: center;
}

.sk-contact__center {
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sk-contact__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 24px;
  white-space: nowrap;
}
.sk-contact__title em {
  font-style: italic;
  color: var(--gold);
}

.sk-contact__lead {
  font-size: .95rem;
  color: rgba(246,244,239,.65);
  line-height: 1.8;
  max-width: 52ch;
  margin: 0 auto 40px;
}

/* WhatsApp main button — gold FILLED, wide */
.sk-contact__wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 32px;
  background: var(--gold);
  color: var(--espresso);
  border: none;
  padding: 20px 40px;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .22s ease-out, transform 160ms ease-out;
}
.sk-contact__wa-btn:active { transform: scale(0.97); }
.sk-contact__wa-btn:hover { background: var(--gold-lt); }
.sk-contact__wa-btn svg { flex-shrink: 0; }

/* Gold horizontal separator in contact */
.sk-contact__gold-sep {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

/* Social links row */
.sk-contact__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 64px;
}
.sk-contact__socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(246,244,239,.55);
  transition: color .2s ease-out;
}
.sk-contact__socials a:hover { color: var(--ivory); }
.sk-contact__social-divider {
  color: rgba(246,244,239,.2);
  font-size: 1rem;
}

/* Closing quote */
.sk-contact__cierre {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sk-contact__cierre-line1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 4px;
}
.sk-contact__cierre-line2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.3;
}

/* Legacy channel styles (hidden in dark section but keep for fallback) */
.sk-channels { display: none; }
.sk-contact__grid { display: block; }

/* =============================================================
   14. Footer
   ============================================================= */
.sk-footer {
  background: var(--espresso-lt);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(200,170,115,.4);
}

.sk-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.sk-footer__brand-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
  line-height: 1;
}
.sk-footer__brand-name sup {
  font-size: .5em;
  vertical-align: super;
}
.sk-footer__brand-sub {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--taupe);
  display: block;
  margin-bottom: 20px;
}

.sk-footer__logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 6px;
  opacity: .85;
}

.sk-footer__tagline {
  font-size: .85rem;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sk-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
.sk-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(246,244,239,.4);
  border-radius: 50%;
  color: var(--ivory);
  flex-shrink: 0;
  transition: color .2s ease-out, border-color .2s ease-out;
}
.sk-footer__social a:hover {
  color: var(--ivory);
  border-color: rgba(246,244,239,.85);
}
.sk-footer__social-sep {
  color: rgba(246,244,239,.35);
  font-size: .9rem;
  line-height: 1;
  user-select: none;
}

.sk-footer__col-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.sk-footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.sk-footer__links a {
  font-size: .84rem;
  color: var(--taupe);
  transition: color .2s ease-out;
}
.sk-footer__links a:hover { color: var(--ivory); }

.sk-footer__links li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-footer__links li svg { flex-shrink: 0; }

/* Legal column */
.sk-footer__legal { }
.sk-footer__legal p {
  font-size: .83rem;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 10px;
}
.sk-footer__legal a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease-out;
}
.sk-footer__legal a:hover { color: var(--ivory); }
.sk-footer__cofepris {
  font-size: .78rem;
  color: rgba(171,158,147,.65);
  margin-top: 4px;
  line-height: 1.4;
}

.sk-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  text-align: center;
}
.sk-footer__bottom p {
  font-size: .76rem;
  color: rgba(171,158,147,.55);
  letter-spacing: .04em;
}

/* =============================================================
   15. Responsive
   ============================================================= */

/* ── Tablet wide ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sk-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .sk-service-card { flex: 0 0 calc((100% - 24px) / 2); }
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero */
  .sk-hero { grid-template-columns: 1fr; min-height: auto; }
  .sk-hero__visual {
    grid-row: auto;
    grid-column: auto;
    height: 62vw;
    min-height: 300px;
    max-height: 520px;
    order: -1;
  }
  .sk-hero__visual img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }
  .sk-hero__content {
    max-width: 100%;
    padding: 40px var(--gutter) 56px;
  }
  .sk-hero__actions { flex-direction: column; align-items: flex-start; }
  .sk-hero__actions .sk-btn { width: 100%; justify-content: center; }

  /* Nosotros */
  .sk-nosotros__grid { grid-template-columns: 1fr; }
  .sk-nosotros__visual { order: -1; margin-left: 0; aspect-ratio: unset; width: 100%; }
  .sk-nosotros__visual picture { height: auto; }
  .sk-nosotros__visual img { height: auto; max-height: 420px; width: 100%; object-position: center 25%; }

  /* Pillars */
  .sk-pillars__grid { grid-template-columns: 1fr; }
  .sk-pillar {
    border-right: none;
    border-bottom: 1px solid var(--porcelain);
    padding: 24px 28px;
    gap: 16px;
  }
  .sk-pillar:last-child { border-bottom: none; }

  /* Doctor */
  .sk-doctor__grid { grid-template-columns: 1fr; }
  .sk-doctor__visual { order: -1; margin-right: 0; width: 100%; }
  .sk-doctor__visual img { max-height: 440px; object-position: center top; }
  .sk-btn--full { max-width: 100%; }

  /* Ubicación */
  .sk-ubicacion__grid { grid-template-columns: 1fr; }
  .sk-ubicacion__map { height: 320px; order: -1; }

}

/* ── Hamburger breakpoint (header only) ──────────────────────── */
@media (max-width: 1100px) {
  .sk-header__nav, .sk-header__cta { display: none; }
  .sk-burger { display: flex; }
  .sk-mobile-menu__cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
    padding: 16px;
    font-size: 1rem;
  }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Layout globals */
  :root { --gutter: 20px; }

  /* Header */
  .sk-header__logo { height: 40px; }

  /* Hero */
  .sk-hero__visual { height: 72vw; max-height: 400px; }
  .sk-hero__title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .sk-hero__lead { font-size: .95rem; }
  .sk-hero__support { display: none; }

  /* Nosotros */
  .sk-nosotros { padding-top: 56px; }
  .sk-nosotros__title { font-size: clamp(2.2rem, 7vw, 3rem); }
  .sk-nosotros__cierre { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }

  /* Services */
  .sk-services__grid { gap: 14px; }
  .sk-service-card { flex: 0 0 100%; }
  .sk-service-card__img-wrap { aspect-ratio: 3 / 2; }
  .sk-services__cta .sk-btn--gold { width: 100%; min-width: 0; justify-content: center; }

  /* Resultados */
  .sk-resultados__grid { grid-template-columns: 1fr; }
  .sk-resultados__cats { justify-content: flex-start; gap: 8px; }
  .sk-res-cat { padding: 8px 16px; font-size: .75rem; }
  .sk-ba-img { height: 240px; }
  .sk-ba-placeholder { max-height: 240px; }

  /* Doctor */
  .sk-doctor__subtitle { font-size: .95rem; }
  .sk-doctor__bio { font-size: .9rem; }

  /* Ubicación */
  .sk-ubicacion { padding-top: 56px; }
  .sk-ubi-items { gap: 20px; }

  /* Contact */
  .sk-contact__socials { flex-direction: row; gap: 16px; justify-content: center; }
  .sk-contact__social-divider { display: block; }
  .sk-contact__cierre-line1,
  .sk-contact__cierre-line2 { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }

  /* Footer */
  .sk-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sk-footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile small ────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Fonts */
  .sk-hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .sk-nosotros__title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .sk-section-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .sk-contact__title { font-size: clamp(2.2rem, 9vw, 3rem); white-space: normal; }
  .sk-ubicacion__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .sk-doctor__title-pre { font-size: 1.1rem; }
  .sk-doctor__title em { font-size: clamp(2.4rem, 9vw, 3rem); }
  /* Services card images less tall on phone */
  .sk-service-card__img-wrap { aspect-ratio: 4 / 3; }
  .sk-ba-img { height: 190px; }
  .sk-ba-placeholder { max-height: 190px; }

  /* Footer single col */
  .sk-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .sk-footer__brand { grid-column: auto; }

  /* WA button */
  .sk-contact__wa-btn { font-size: .9rem; padding: 18px 24px; }

  /* Pillar compact */
  .sk-pillar { padding: 20px 20px; gap: 14px; }
  .sk-pillar__icon { width: 36px; height: 36px; }
  .sk-pillar__title { font-size: 1rem; }

  /* Resultados tabs scroll horizontal */
  .sk-resultados__cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; padding-right: 20px; -webkit-overflow-scrolling: touch; }
  .sk-resultados__cats::-webkit-scrollbar { display: none; }
  .sk-res-cat { flex-shrink: 0; }
}
