/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --cream:       #FAF7F2;
  --beige:       #EDE5D8;
  --sand:        #D4B896;
  --gold:        #B5895A;
  --gold-dark:   #8B6538;
  --text:        #1E1208;
  --text-muted:  #7A6350;
  --border:      #E5D9C8;
  --white:       #FFFFFF;
  --dark:        #1A110A;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --nav-h: 70px;
  --max-w: 1100px;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 7rem);
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── UTILITY ─────────────────────────────────────────────── */
.label {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}
.subtext {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark  { background: var(--text);  color: var(--cream); border: 1px solid var(--text); }
.btn-dark:hover  { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-ghost { background: transparent; color: var(--text);  border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn-wa {
  background: #25D366;
  color: var(--white);
  border: 1px solid #25D366;
}
.btn-wa:hover { background: #1eba57; border-color: #1eba57; }

/* ─── NAVIGATION ──────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--text);
  color: var(--cream);
  padding: .55rem 1.3rem;
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  transition: background .2s;
}
.nav-links .nav-cta:hover { background: var(--gold-dark); color: var(--white); }

/* hamburger — hidden on desktop */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
#nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--section-y) var(--pad-x);
  position: relative;
}

/* thin top decorative line */
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--sand));
}

.hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--text);
  max-width: 14ch;
  margin-bottom: .9rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.30rem, 1.8vw, 1.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-footnote {
  margin-top: 2rem;
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* ─── SERVICES PORTAL (landing) ──────────────────────────── */
#servicios { background: var(--white); }

.portal-header {
  text-align: center;
  padding: var(--section-y) var(--pad-x) 3rem;
}
.portal-header .heading { margin-top: .5rem; }

.portal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.spc {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
}
/* Replace background with: background-image: url('imgs/salon-cover.jpg') */
.spc-bg {
  position: absolute;
  inset: 0;
  background-image: url('imgs/salon-cover.jpg');
  background-size: cover;
  background-position: center;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.spc-bg-estetica {
  background-image: url('imgs/estetica-cover.jpg')
}
.spc:hover .spc-bg { transform: scale(1.04); }

.spc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,17,10,.88) 0%, rgba(26,17,10,.25) 55%, transparent 100%);
}
.spc-divider {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: rgba(255,255,255,.1);
  z-index: 2;
}
.spc-content {
  position: relative;
  z-index: 1;
  padding: 2.75rem 3rem;
  width: 100%;
}
.spc-title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin: .5rem 0 .8rem;
}
.spc-sub {
  font-size: .82rem;
  color: rgba(250,247,242,.6);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}
.spc-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid rgba(212,184,150,.35);
  padding-bottom: .2rem;
  transition: color .25s, border-color .25s;
}
.spc:hover .spc-link { color: var(--cream); border-color: var(--cream); }

@media (max-width: 700px) {
  .portal-cards { grid-template-columns: 1fr; }
  .spc { min-height: 55vw; }
  .spc-content { padding: 2rem var(--pad-x); }
  .spc-divider { width: 100%; height: 1px; top: auto; right: 0; bottom: 0; }
}

/* ─── PAGE HERO (salon / estetica pages) ─────────────────── */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem,7vw,5rem) var(--pad-x) clamp(2.5rem,5vw,3.5rem);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  transition: color .2s;
}
.back-link:hover { color: var(--gold-dark); }

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin: .5rem 0 .8rem;
}
.page-hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.30rem, 2vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.8;
}

/* ─── CATEGORY SECTIONS (service pages) ─────────────────── */
.services-page { background: var(--cream); }

.cat-section {
  padding: clamp(3rem,6vw,4.5rem) 0;
  border-bottom: 1px solid var(--border);
}
.cat-section:last-child { border-bottom: none; }

.cat-section-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 1.75rem;
}
.cat-section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  margin: .4rem 0 .55rem;
}
.cat-section-desc {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.75;
}

/* ─── CAROUSEL ───────────────────────────────────────────── */
.carousel-outer { position: relative; }

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: .5rem var(--pad-x) 2rem;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%; transform: translateY(-60%);
  z-index: 2;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background .2s, border-color .2s;
  font-size: .85rem;
}
.carousel-arrow:hover { background: var(--beige); border-color: var(--sand); }
.carousel-arrow.prev { left: calc(var(--pad-x) - 21px); }
.carousel-arrow.next { right: calc(var(--pad-x) - 21px); }
.carousel-arrow.visible { display: flex; }

/* ─── SERVICE CARD ───────────────────────────────────────── */
.svc-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 272px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.svc-card-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.svc-card-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.svc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid var(--beige);
  margin-top: auto;
  gap: .5rem;
}
.svc-card-time {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.svc-card-price {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-dark);
  white-space: nowrap;
}
.svc-card .btn {
  display: flex;
  justify-content: center;
  padding: .65rem 1rem;
  margin-top: .5rem;
  font-size: .74rem;
}

.cross-link-bar {
  background: var(--beige);
  padding: 3rem var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cross-link-bar p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

@media (max-width: 700px) {
  .carousel-arrow { display: none !important; }
  .svc-card { width: 252px; }
}

/* keep old tab/services-inner/svc-grid CSS below — used only in legacy tab panels if any */

/* tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.75rem;
  gap: 0;
}
.tab {
  background: none;
  border: none;
  padding: .8rem 1.75rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color .2s;
}
.tab::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.tab.active { color: var(--text); font-weight: 500; }
.tab.active::after { transform: scaleX(1); }

/* panels */
.panel { display: none; }
.panel.active { display: block; }

/* category */
.cat-title {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: .6rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--beige);
}

.cat { margin-bottom: 2.25rem; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.svc {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--beige);
}
.svc:last-child { border-bottom: none; }

.svc-name {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.svc-price {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 500;
  color: var(--gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── BOOKING ─────────────────────────────────────────────── */
#reservar {
  background: var(--beige);
  padding: var(--section-y) var(--pad-x);
  text-align: center;
}

.booking-inner {
  max-width: 660px;
  margin: 0 auto;
}

.booking-inner .heading { margin: .5rem 0 .75rem; }
.booking-inner .subtext { margin-bottom: 2.25rem; }

.booking-rule {
  width: 48px; height: 1px;
  background: var(--sand);
  margin: 0 auto 2.25rem;
}

.booking-meta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.booking-meta-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.booking-meta-item .bm-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.booking-meta-item .bm-val {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

/* Square widget wrapper */
#square-widget-wrap {
  margin: 2rem auto 3rem;
}

/* Override Square default button/link to match brand */
#square-widget-wrap a,
#square-widget-wrap button,
.sq-widget-btn {
  display: inline-block !important;
  background: var(--text) !important;
  color: var(--cream) !important;
  font-family: var(--sans) !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  padding: .9rem 2.2rem !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  transition: background .2s !important;
}
#square-widget-wrap a:hover,
#square-widget-wrap button:hover { background: var(--gold-dark) !important; }

.booking-note {
  margin-top: 1.75rem;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.booking-note a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── LOCATION ────────────────────────────────────────────── */
#ubicacion {
  padding: var(--section-y) var(--pad-x);
  background: var(--cream);
}

.location-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.map-frame {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(15%) contrast(1.04);
}

.loc-details { display: flex; flex-direction: column; gap: 2rem; }

.loc-address {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.55;
}

.loc-meta { display: flex; flex-direction: column; gap: .7rem; }
.loc-meta-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text-muted);
}
.loc-meta-row svg { flex-shrink: 0; color: var(--gold); }
.loc-meta-row a:hover { color: var(--gold-dark); }

.loc-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* ─── FOOTER ──────────────────────────────────────────────── */
#footer {
  background: var(--dark);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .fl {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-brand .fl span { color: var(--sand); }

.footer-brand .ft {
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: rgba(250,247,242,.45);
  margin-top: .25rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cream);
  font-size: .84rem;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.footer-ig:hover { opacity: .7; }

.footer-copy {
  font-size: .7rem;
  color: rgba(250,247,242,.3);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .location-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 700px) {
  /* backdrop-filter en #nav convierte #nav en containing block para fixed,
     lo que colapsa el menú a altura cero — se desactiva en móvil */
  #nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  /* mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--cream);
    z-index: 199;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2rem var(--pad-x);
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: .88rem;
  }
  .nav-links .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    padding: .9rem;
    border-radius: 2px;
    display: block;
  }

  #nav-toggle { display: flex; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-right { align-items: center; }
}

@media (max-width: 420px) {
  .tab { padding: .75rem .9rem; font-size: .72rem; }
  .booking-meta { gap: 1.5rem; }
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--dark);
  color: rgba(250,247,242,.85);
  padding: 1.25rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  line-height: 1.55;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { max-width: 680px; }
#cookie-banner a { color: var(--sand); text-decoration: underline; }
.cookie-link-btn {
  background: none; border: none; padding: 0;
  color: var(--sand); text-decoration: underline;
  font-size: inherit; font-family: inherit; cursor: pointer;
}
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-btn {
  padding: .55rem 1.2rem;
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
  transition: background .2s, color .2s;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.cookie-btn-accept:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--cream); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(250,247,242,.6);
  border-color: rgba(255,255,255,.2);
}
.cookie-btn-reject:hover { color: var(--cream); border-color: rgba(255,255,255,.5); }

/* ─── LEGAL MODAL ────────────────────────────────────────── */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26,17,10,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 2rem var(--pad-x);
}
.legal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.legal-modal {
  background: var(--cream);
  border-radius: 4px;
  max-width: 720px;
  width: 100%;
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  margin: auto;
}
.legal-modal h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.legal-modal h3 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 1.75rem 0 .5rem;
}
.legal-modal p, .legal-modal li {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-modal ul { padding-left: 1.25rem; margin-top: .35rem; }
.legal-modal li { margin-bottom: .25rem; }
.legal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: .25rem;
  transition: color .2s;
}
.legal-close:hover { color: var(--text); }

/* footer legal links */
.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-legal a {
  font-size: .68rem;
  color: rgba(250,247,242,.3);
  letter-spacing: .06em;
  transition: color .2s;
  text-decoration: none;
}
.footer-legal a:hover { color: rgba(250,247,242,.7); }
@media (max-width: 700px) {
  .footer-legal { justify-content: center; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
