@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f8f4ea;
  --cream: #efe7d8;
  --cream-deep: #e8ddcb;
  --olive: #6e6453;
  --olive-deep: #4a4438;
  --olive-soft: #8a8170;
  --ink: #2f2b24;
  --ink-soft: #6e675c;
  --line: rgba(74, 68, 56, 0.16);
  --line-strong: rgba(74, 68, 56, 0.32);
  --white: #fcf9f2;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--olive);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.18em;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.9rem 1.25rem;
  background: var(--olive-deep);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 234, 0.88);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(14px);
  }
}

.site-header.is-scrolled {
  background: rgba(248, 244, 234, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(47, 43, 36, 0.5);
}

.site-header.menu-open {
  background: var(--ivory);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
  min-height: 2.75rem;
}

/* Monograma transparente (extraído del logo original): se integra con el fondo. */
.brand-logo {
  width: 2.35rem;
  height: 2.6rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--line-strong);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-descriptor {
  color: var(--olive-deep);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.65rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-aside {
  display: none;
}

.site-nav .nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
}

.btn-primary {
  background: var(--olive-deep);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--olive);
  background: rgba(110, 100, 83, 0.08);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--ivory);
  color: var(--olive-deep);
}

.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(248, 244, 234, 0.42);
  color: var(--ivory);
}

.btn-outline-light:hover {
  border-color: rgba(248, 244, 234, 0.8);
  background: rgba(248, 244, 234, 0.08);
  transform: translateY(-2px);
}

.header-cta {
  min-height: 2.9rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.66rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--olive-deep);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  border-color: var(--olive);
  color: var(--olive);
}

.link-arrow:hover .icon {
  transform: translate(2px, -2px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--light {
  color: rgba(248, 244, 234, 0.68);
}

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.03;
}

@supports (text-wrap: balance) {
  .h2,
  .hero-title,
  .cta-title {
    text-wrap: balance;
  }

  .hero-lead,
  .section-head-text,
  .about-copy p,
  .location-lead,
  .faq-item p,
  .cta-text {
    text-wrap: pretty;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6.5rem);
}

.hero-orbit {
  position: absolute;
  top: -8rem;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  padding-block: 1rem;
}

.hero-title {
  max-width: 11ch;
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(3.05rem, 6.2vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.hero-title em {
  color: var(--olive);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--olive-deep);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--olive);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 33rem);
  padding: 0.75rem 0.9rem 0 0;
}

.hero-frame {
  position: absolute;
  inset: 1.75rem -0.05rem 0.55rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 16rem 16rem 2px 2px;
  pointer-events: none;
}

.hero-figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cream-deep);
  border-radius: 16rem 16rem 2px 2px;
  box-shadow: 0 40px 80px -60px rgba(47, 43, 36, 0.55);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 244, 234, 0) 62%, rgba(74, 68, 56, 0.1));
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: -1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 12rem;
  padding: 1rem 1.25rem;
  background: rgba(252, 249, 242, 0.97);
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px -34px rgba(47, 43, 36, 0.6);
}

.hero-badge-mark {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--olive);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 100, 83, 0.12);
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-badge-text strong {
  color: var(--olive-deep);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-badge-text span {
  color: var(--olive);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.2;
}

.hero-side {
  position: absolute;
  top: 50%;
  right: -2.15rem;
  color: var(--olive-soft);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

/* Section heads */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-head .h2 {
  margin-top: 1.2rem;
}

.section-head-text {
  max-width: 35rem;
  justify-self: end;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* Treatments */

.services {
  background: var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.6rem, 2.5vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card--facial {
  grid-row: span 2;
  background: var(--olive-deep);
  border-color: transparent;
  color: var(--ivory);
}

.service-card--facial::after {
  content: "";
  position: absolute;
  top: -7rem;
  right: -7rem;
  width: 17rem;
  height: 17rem;
  border: 1px solid rgba(248, 244, 234, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.service-card--capilar {
  background: #f1eadd;
}

.service-card--corporal {
  background: var(--cream-deep);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px -48px rgba(47, 43, 36, 0.65);
  }
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0.7;
}

.service-name {
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.95;
}

.service-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service-card--facial .service-list {
  border-color: rgba(248, 244, 234, 0.18);
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-card--facial .service-list li {
  border-color: rgba(248, 244, 234, 0.16);
  color: rgba(248, 244, 234, 0.9);
}

.service-card--corporal .service-list li,
.service-card--corporal .service-foot {
  color: #5e574b;
}

.service-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  margin-top: 0.58rem;
  background: var(--olive);
  border-radius: 50%;
  opacity: 0.7;
}

.service-card--facial .service-list li::before {
  background: var(--cream);
  opacity: 0.8;
}

.service-foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--olive);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card--facial .service-foot {
  color: rgba(248, 244, 234, 0.62);
}

.service-foot .icon {
  width: 14px;
  height: 14px;
  flex: none;
}

a.service-foot {
  align-self: flex-start;
  min-height: 2.75rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

a.service-foot:hover,
a.service-foot:focus-visible {
  border-bottom-color: currentColor;
  color: var(--olive-deep);
}

.service-card--facial a.service-foot:hover,
.service-card--facial a.service-foot:focus-visible {
  color: var(--ivory);
}

.hero-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.hero-meta a:hover {
  border-bottom-color: var(--olive);
}

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

.services-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.services-note p {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.services-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: var(--olive);
}

/* About */

.about {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 38rem;
  padding-bottom: 2.75rem;
}

.about-orbit {
  position: absolute;
  top: 8%;
  right: -2rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
}

.about-main {
  position: relative;
  z-index: 2;
  width: 68%;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 12rem 12rem 2px 2px;
  background: var(--cream-deep);
  box-shadow: 0 35px 70px -60px rgba(47, 43, 36, 0.55);
}

.about-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-secondary {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 8% 9%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ivory);
  box-shadow: 0 28px 55px -40px rgba(47, 43, 36, 0.45);
}

/* Logotipo oliva con fondo transparente sobre tarjeta marfil. */
.about-secondary img {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  height: auto;
  object-fit: contain;
}

.about-copy .h2 {
  margin-top: 1.2rem;
}

.about-copy p {
  max-width: 35rem;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.about-quote {
  max-width: 32rem;
  margin-top: 2rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--line-strong);
  color: var(--olive-deep);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-style: italic;
  line-height: 1.2;
}

.about-sign {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.75rem;
}

.about-sign strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.about-sign span {
  color: var(--olive);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-cta {
  margin-top: 2rem;
}

/* Location */

.location {
  background: var(--ivory);
}

.location-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.location-copy .h2 {
  margin-top: 1.2rem;
}

.location-copy .h2 small {
  display: block;
  margin-top: 0.6rem;
  color: var(--olive);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.location-lead {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.location-info {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.location-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.location-row .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--olive);
}

.location-label {
  color: var(--olive);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-value {
  margin-top: 0.18rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.location-value a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
}

.location-value a:hover {
  text-decoration-color: currentColor;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.map-frame {
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -55px rgba(47, 43, 36, 0.5);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(20rem, 36vw, 31rem);
  border: 0;
  filter: grayscale(0.35) sepia(0.08) contrast(0.98);
  transition: filter 0.4s var(--ease);
}

@media (hover: hover) {
  .map-frame:hover iframe {
    filter: grayscale(0.12) sepia(0.03);
  }
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 0.25rem 0.15rem;
  color: var(--olive);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-caption a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: var(--olive-deep);
  border-bottom: 1px solid var(--line-strong);
}

.map-caption a:hover {
  color: var(--olive);
}

.map-caption .icon {
  width: 12px;
  height: 12px;
}

/* FAQ */

.faq {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.faq-copy .h2 {
  margin-top: 1.2rem;
}

.faq-copy p {
  max-width: 27rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.faq-copy .link-arrow {
  margin-top: 1.75rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 1.3rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
}

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

.faq-item summary:hover {
  color: var(--olive);
}

.faq-item[open] summary {
  color: var(--olive-deep);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--olive);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--olive);
  border-color: var(--olive);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--ivory);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-item p {
  max-width: 44rem;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq-item p a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.22em;
}

.faq-item p a:hover {
  text-decoration-color: currentColor;
}

/* Closing CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: radial-gradient(120% 130% at 50% 0%, #5a5344 0%, #4a4438 55%, #3f392e 100%);
  color: var(--ivory);
  text-align: center;
}

.cta-orbit {
  position: absolute;
  border: 1px solid rgba(248, 244, 234, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta-orbit--one {
  top: -13rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
}

.cta-orbit--two {
  right: -7rem;
  bottom: -12rem;
  width: 23rem;
  height: 23rem;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.cta .eyebrow {
  justify-content: center;
  color: rgba(248, 244, 234, 0.66);
}

.cta-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.cta-title em {
  color: #e8e2cd;
  font-style: italic;
  font-weight: 500;
}

.cta-text {
  max-width: 33rem;
  margin: 1.5rem auto 0;
  color: rgba(248, 244, 234, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.cta-note {
  margin-top: 1.75rem;
  color: rgba(248, 244, 234, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Footer */

.site-footer {
  padding-block: 4rem 2rem;
  background: var(--ivory);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.footer-brand .brand {
  align-items: center;
}

.footer-brand .brand-logo {
  width: 2.35rem;
  height: 2.6rem;
}

.footer-tagline {
  max-width: 23rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--olive);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.88rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color 0.25s var(--ease);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  color: var(--olive);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease);
}

.footer-contact a:hover {
  color: var(--olive-deep);
  text-decoration-color: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--olive);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  color: var(--olive-deep);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-top .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.back-top:hover .icon {
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 1180px) {
  .hero-side {
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero-title {
    font-size: clamp(2.9rem, 6vw, 4.8rem);
  }

  .header-actions {
    gap: 1.25rem;
  }

  .site-nav {
    gap: 1.25rem;
  }

  .nav-list {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .brand-logo {
    width: 2.15rem;
    height: 2.4rem;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .brand-descriptor {
    font-size: 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    height: calc(100vh - 4.75rem);
    height: calc(100dvh - 4.75rem);
    padding: 1.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 45px -38px rgba(47, 43, 36, 0.65);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 3.25rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-aside {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: auto;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .nav-aside a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin-top: 0.35rem;
    color: var(--olive-deep);
    font-size: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 1.25rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-copy {
    padding-block: 0;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(3rem, 9vw, 4.6rem);
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 30rem);
    padding-right: 0.75rem;
  }

  .hero-badge {
    left: -0.5rem;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-head-text {
    justify-self: start;
    width: 100%;
    max-width: 40rem;
    padding-top: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-card--facial {
    grid-row: auto;
  }

  .service-foot {
    margin-top: 1.75rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-media {
    max-width: 34rem;
    margin-inline: auto;
  }

  .about-copy {
    max-width: 42rem;
  }

  .location-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .location-copy {
    max-width: 42rem;
  }

  .map-frame iframe {
    height: 24rem;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-copy {
    max-width: 40rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
    --section-y: 4rem;
  }

  .header-inner {
    min-height: 4.25rem;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-logo {
    width: 1.95rem;
    height: 2.2rem;
  }

  .brand-text {
    padding-left: 0.6rem;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-descriptor {
    font-size: 0.46rem;
    letter-spacing: 0.16em;
  }

  .site-nav {
    height: calc(100vh - 4.25rem);
    height: calc(100dvh - 4.25rem);
    padding-bottom: 2rem;
  }

  .eyebrow {
    gap: 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .eyebrow::before {
    width: 1.25rem;
  }

  .hero {
    padding-top: 1.75rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    max-width: 11ch;
    margin-top: 1.1rem;
    font-size: clamp(2.75rem, 12.5vw, 3.75rem);
  }

  .hero-lead {
    margin-top: 1.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    margin-top: 1.75rem;
    font-size: 0.68rem;
  }

  .hero-visual {
    max-width: 26rem;
    padding-right: 0.5rem;
  }

  .hero-frame {
    inset: 1.5rem -0.05rem 0.45rem 0.7rem;
    border-radius: 12rem 12rem 2px 2px;
  }

  .hero-figure {
    border-radius: 12rem 12rem 2px 2px;
  }

  .hero-badge {
    bottom: 1rem;
    left: 0.5rem;
    min-width: 0;
    padding: 0.8rem 1rem;
  }

  .hero-badge-text span {
    font-size: 0.92rem;
  }

  .hero-orbit {
    top: -6rem;
    right: -10rem;
    width: 24rem;
    height: 24rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .services-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-list li {
    font-size: 0.9rem;
  }

  .about-media {
    max-width: 26rem;
    padding-bottom: 2rem;
  }

  .about-main {
    width: 72%;
    border-radius: 9rem 9rem 2px 2px;
  }

  .about-secondary {
    width: 56%;
  }

  .about-orbit {
    right: -1rem;
    width: 10rem;
    height: 10rem;
  }

  .location-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-actions .btn {
    width: 100%;
  }

  .map-frame iframe {
    height: 20rem;
  }

  .map-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .faq-item p {
    padding-right: 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

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

@media (max-width: 360px) {
  .brand-descriptor {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .btn {
    padding-inline: 1.1rem;
  }
}

/* Barra de reserva fija (solo móvil) */

.mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-bar {
    position: fixed;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    z-index: 80;
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 244, 234, 0.94);
    box-shadow: 0 12px 32px rgba(47, 43, 36, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 1.5rem));
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  }

  .mobile-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s;
  }

  body.menu-open .mobile-bar {
    opacity: 0;
    visibility: hidden;
  }

  .mobile-bar__primary,
  .mobile-bar__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: 999px;
  }

  .mobile-bar__primary {
    flex: 1;
    gap: 0.55rem;
    background: var(--olive-deep);
    color: var(--ivory);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-bar__wa {
    width: 3rem;
    flex: none;
    border: 1px solid var(--line-strong);
    color: var(--olive-deep);
  }

  .mobile-bar .icon {
    width: 16px;
    height: 16px;
  }

  .mobile-bar__wa .icon {
    width: 20px;
    height: 20px;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }
}

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

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

/* ==========================================================================
   Cambios 12/11/2026: la foto aparece primero en el inicio
   ========================================================================== */

.hero-inner {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.hero-visual {
  order: -1;
  justify-self: start;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 24rem);
  }
}

@media (max-width: 640px) {
  .hero-visual {
    max-width: 20rem;
  }
}

/* ==========================================================================
   Cambios 13/11/2026: tarjeta de consultas ginecológicas
   ========================================================================== */

.services-grid {
  grid-template-rows: repeat(3, auto);
}

.service-card--facial {
  grid-row: span 3;
}

.service-card--gineco {
  background: var(--white);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-rows: auto;
  }

  .service-card--facial {
    grid-row: auto;
  }
}
