/* Duquesa Peluqueros — site styles (v2, multi-page)
   Palette from the logo: copper monogram (#794c31) and espresso lettering (#3c2b1e),
   on clean white and warm cream. Newsreader (display cut) for headings, Hanken Grotesk for text.

   Contents
     Fonts and tokens · Base · Layout helpers · Type · Buttons and links · Header · Mobile menu
     Footer and action bar · Shared blocks · Home · Services & Pricing · Gallery · Contact · 404 */

/* ========== Fonts and tokens ========== */

@font-face {
  font-family: "Newsreader Display";
  src: url("../fonts/newsreader-display-normal.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader Display";
  src: url("../fonts/newsreader-display-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #fbf8f3;
  --cream: #f4ede3;
  --cream-deep: #ebe1d3;
  --ink: #2a201a;
  --ink-soft: #5c4b3f;
  --ink-mute: #73624f; /* darkest muted tone that keeps 4.5:1 on every background */
  --copper: #794c31;
  --copper-light: #c39a7c;
  --line: #e2d7c9;
  --line-strong: #cdbba7;
  --wa-deep: #0e6e3a;

  --serif: "Newsreader Display", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 84px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
}

/* ========== Base ========== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html:has(body.page-services) { scroll-padding-top: calc(var(--header-h) + 76px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Scroll lock for the mobile menu and the lightbox. It is set on <html> as well as <body>, because iOS Safari
   only honours overflow: hidden on the root element. */
html.menu-open, html.menu-open body, html.lightbox-open, html.lightbox-open body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
/* On dark backgrounds the copper ring is too faint (2.2:1), so use the light copper (6.2:1). */
.topbar :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--copper-light); }

/* Without JavaScript: hide controls that need it (the footer and action bar still give full navigation,
   and the contact map keeps its "Open in Google Maps" link). */
.no-js .menu-toggle, .no-js .map__load, .no-js .map__note { display: none; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--white);
  font-size: 0.85rem; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.icon { width: 18px; height: 18px; flex: none; }

/* object-position utilities (set from the build; inline styles are blocked by the CSP) */
.op-50-35 { object-position: 50% 35%; }
.op-50-40 { object-position: 50% 40%; }
.op-45-50 { object-position: 45% 50%; }
.op-40-50 { object-position: 40% 50%; }
.op-50-60 { object-position: 50% 60%; }
.op-55-50 { object-position: 55% 50%; }
.op-60-50 { object-position: 60% 50%; }

/* ========== Layout helpers ========== */

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px) var(--section); }
.section--cream { background: var(--cream); }

.frame { position: relative; overflow: hidden; background: var(--cream-deep); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 4.5vw, 56px); text-align: center; }
.section-head__intro { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }
.section-head .h2 { margin-top: 12px; }
.section-head::after {
  content: ""; display: block; width: 48px; height: 1px; margin: 22px auto 0; background: var(--copper);
}
.section-head:has(.section-head__intro)::after { display: none; }

.section-foot { margin-top: clamp(36px, 4vw, 52px); display: flex; justify-content: center; }
.section-foot--pair { gap: 12px; flex-wrap: wrap; }

.rule { width: 48px; height: 1px; margin: 22px 0 24px; background: var(--copper); }

/* ========== Type ========== */

.label {
  margin: 0;
  color: var(--copper);
  font: 600 0.72rem/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.2;
}
.h2 em, .h3 em, .hero__title em { font-style: italic; color: var(--copper); }

.caption {
  margin-top: 14px;
  color: var(--ink-soft);
  font: 500 0.74rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========== Buttons and links ========== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font: 600 0.74rem/1.2 var(--sans);
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .icon { width: 17px; height: 17px; }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--copper); border-color: var(--copper); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--wa { background: var(--wa-deep); border-color: var(--wa-deep); color: var(--white); }
.btn--wa:hover { background: #0a5a2f; border-color: #0a5a2f; }
.btn--small { min-height: 44px; padding: 0 18px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--copper);
  font: 600 0.74rem/1.3 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { color: var(--ink); gap: 12px; }
.text-link--light { color: var(--copper-light); }
.text-link--light:hover { color: var(--white); }

/* ========== Header ========== */

.topbar {
  background: var(--ink);
  color: rgba(244, 237, 227, 0.82);
  font-size: 0.8rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--topbar-h); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; letter-spacing: 0.02em; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--copper-light); }
.topbar__social { display: inline-flex; padding: 4px; }
.topbar__social .icon { width: 16px; height: 16px; }
.topbar a:hover { color: var(--white); }
.topbar .spoken { font: inherit; letter-spacing: 0.02em; text-transform: none; color: inherit; }
.topbar .spoken .icon { width: 15px; height: 15px; color: var(--copper-light); }
.topbar .spoken__list { color: var(--white); }
@media (max-width: 1240px) { .topbar .spoken__intro { display: none; } }
@media (max-width: 1080px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(42, 32, 26, 0.18); }
.site-header__inner {
  height: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mono { width: auto; height: 50px; }
.brand__word { width: auto; height: 30px; }

.nav { justify-self: center; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav__list a {
  display: block; padding: 10px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font: 500 0.76rem/1.2 var(--sans);
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__list a:hover { color: var(--copper); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--copper); color: var(--copper); }
.nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-cta { min-height: 44px; padding: 0 20px; }

.lang { display: inline-flex; align-items: center; }
.lang a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 9px;
  color: var(--ink-mute);
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-decoration: none;
  transition: color 0.2s var(--ease);
}
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a img { width: 20px; height: 14px; box-shadow: 0 0 0 1px rgba(42, 32, 26, 0.12); opacity: 0.7; transition: opacity 0.2s; }
.lang a[aria-current="true"] { color: var(--ink); }
.lang a[aria-current="true"] img, .lang a:hover img { opacity: 1; }
.lang a:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); background: var(--white);
  cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; margin: 0 auto;
  background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) and (min-width: 1081px) {
  .brand__word { display: none; }
}

/* ========== Mobile menu ========== */

@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .brand__mono { height: 40px; }
  .brand__word { height: 24px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header__actions { gap: 10px; }

  .nav {
    position: fixed; z-index: 49;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    justify-self: stretch; /* the desktop "center" would shrink the fixed panel to its content */
    display: flex; flex-direction: column;
    padding: 12px var(--gutter) 32px;
    background: var(--white);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font: 300 1.75rem/1.2 var(--serif);
    letter-spacing: 0; text-transform: none;
  }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--line); }
  /* Closing before a navigation: no fade, so Safari's back/forward snapshot never shows the menu open. */
  .nav.is-instant { transition: none; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
}
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand__mono { height: 36px; }
  .brand__word { height: 19px; }
  .lang a { padding: 8px 6px; gap: 5px; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 340px) {
  .brand__word { display: none; }
}

/* ========== Footer and action bar ========== */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 0;
  background: var(--ink);
  color: rgba(244, 237, 227, 0.74);
  font-size: 0.92rem;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 40px; }
.footer__brand a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer__mono { height: 54px; width: auto; }
.footer__word { height: 30px; width: auto; }
.footer__brand p { max-width: 300px; margin-top: 20px; }
.footer__title {
  margin-bottom: 18px;
  color: var(--copper-light);
  font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
}
.footer__list li + li { margin-top: 8px; }
.footer__list a, .footer__social a { text-decoration: none; transition: color 0.2s; }
.footer__list a:hover, .footer__social a:hover { color: var(--white); }
.footer__list small { margin-left: 6px; color: rgba(244, 237, 227, 0.62); font-size: 0.78rem; }
.footer__address { margin-bottom: 16px; }
.footer__social { display: flex; gap: 18px; margin-top: 20px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; }
.footer__social .icon { width: 17px; height: 17px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); padding: 22px 0;
  border-top: 1px solid rgba(244, 237, 227, 0.14);
  font-size: 0.8rem; color: rgba(244, 237, 227, 0.55);
}
.footer__bottom p { margin: 0; }
.lang--footer a { color: rgba(244, 237, 227, 0.55); }
.lang--footer a + a { border-left-color: rgba(244, 237, 227, 0.2); }
.lang--footer a[aria-current="true"], .lang--footer a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 60px; }
  .action-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; height: 60px;
    background: var(--white); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font: 600 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  }
  .action-bar__wa { background: var(--wa-deep); color: var(--white); }
  html.menu-open .action-bar { z-index: 60; }
}

/* ========== Shared blocks ========== */

/* Inner page title band */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(40px, 5.5vw, 76px); text-align: center; }
.crumbs ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 2.5vw, 30px); }
.crumbs li { color: var(--ink-mute); font: 500 0.72rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--copper); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.75rem); line-height: 1.06; letter-spacing: -0.01em;
}
.page-hero__lead { max-width: 640px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.06rem; }

/* Appointment band */
.booking { background: var(--cream-deep); }
.booking__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
.booking__text .h2 { margin: 12px 0 16px; }
.booking__text p:last-child { max-width: 480px; color: var(--ink-soft); }
.booking__actions { display: grid; gap: 12px; }
.booking__actions > .btn { min-height: 60px; gap: 12px; font-size: 0.86rem; }
.booking__actions > .btn .icon { width: 20px; height: 20px; }
/* Call button: the outline twin of "Book on WhatsApp" — icon, label and number on one centred line. */
.booking__call { background: var(--paper); }
/* Larger than the label, so one step lighter: at 600 its strokes would look heavier than "Call". */
.booking__num { margin-left: 2px; font-size: 1.05rem; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; }
@media (max-width: 860px) {
  .booking__inner { grid-template-columns: 1fr; }
}

/* Languages spoken in the salon ("Te atendemos en Español · English · Deutsch"). Plain text, no flags or links,
   so it is not mistaken for the ES/EN website language switch. */
.spoken {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0;
  color: var(--ink-mute); font: 600 0.7rem/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.spoken .icon { width: 18px; height: 18px; color: var(--copper); }
.spoken__list { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; color: var(--ink); }
.spoken__dot { color: var(--copper-light); }
.spoken--light { color: rgba(244, 237, 227, 0.74); }
.spoken--light .icon { color: var(--copper-light); }
.spoken--light .spoken__list { color: var(--white); }

/* ========== Home ========== */

.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(540px, calc(100svh - var(--header-h) - var(--topbar-h)), 780px);
  background: var(--cream);
}
.hero__panel { display: flex; align-items: center; justify-content: flex-end; }
.hero__content {
  width: 100%; max-width: calc(var(--max) / 2 + var(--gutter));
  padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 80px) clamp(48px, 6vw, 88px) var(--gutter);
}
.hero__title {
  margin: 18px 0 22px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 4.8vw, 4.1rem); line-height: 1.04; letter-spacing: -0.015em;
}
.hero__intro { max-width: 470px; color: var(--ink-soft); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__call { margin-top: 22px; color: var(--ink-soft); font-size: 0.92rem; }
.hero__call a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.hero__call a:hover { border-bottom-color: var(--copper); }
.hero__spoken { max-width: 470px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
/* The photo is shown whole (contain) over a blurred copy of itself that fills the panel, with a soft ivory fade
   from the text side, so the updo is never cropped and there is no hard edge between text and image. */
.hero__media {
  --pad-x: clamp(24px, 3.5vw, 64px);
  --pad-y: clamp(28px, 5vh, 64px);
  position: relative; min-height: 100%; overflow: hidden; isolation: isolate;
  background: var(--cream);
}
.hero__media .hero__bg {
  position: absolute; top: -60px; left: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
  object-fit: cover; object-position: 50% 45%;
  transform: scale(1.35); /* keeps the dark salon background at the photo's edges out of the blur */
  filter: blur(40px) brightness(1.08) saturate(0.8); opacity: 0.9;
}
/* a light ivory veil keeps the blurred copy quiet behind the photograph */
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(244, 237, 227, 0.28); pointer-events: none; }
.hero__media .hero__photo {
  position: absolute; z-index: 2; top: var(--pad-y); left: var(--pad-x);
  width: calc(100% - 2 * var(--pad-x)); height: calc(100% - 2 * var(--pad-y));
  object-fit: contain; object-position: 50% 50%;
  filter: drop-shadow(0 22px 44px rgba(42, 32, 26, 0.2));
}
.hero__media::before {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(244, 237, 227, 0.72) 38%, rgba(244, 237, 227, 0) 100%);
}

/* Phones and tablets: the photograph leads. It sits first, at a height tied to the screen, so the first view
   is the updo plus the headline, and the text and booking buttons follow. The Call and WhatsApp bar stays
   at the bottom of the screen throughout. */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__media {
    order: -1; min-height: 0;
    height: clamp(340px, 60vh, 640px);
    height: clamp(340px, 60svh, 640px);
    --pad-x: 20px; --pad-y: 20px;
  }
  /* Stacked: the fade runs from the photo down into the text panel instead of from the side. */
  .hero__media::before {
    top: auto; right: 0; width: auto; height: 26%;
    background: linear-gradient(0deg, var(--cream) 0%, rgba(244, 237, 227, 0) 100%);
  }
  .hero__panel { justify-content: flex-start; }
  .hero__content { max-width: none; padding: 34px var(--gutter) 44px; }
  .hero__title { margin: 14px 0 18px; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
}

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__media { aspect-ratio: 4 / 5; } /* the salon interior is a tall photo */
.about__text .h2 { margin-top: 12px; max-width: 520px; }
.about__text p { max-width: 520px; color: var(--ink-soft); }
.about__text .text-link { margin-top: 12px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 1 / 1; }
}

/* Products preview: the mirror of the About block, linking to the products section of the Services page */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.promo__media { order: 2; aspect-ratio: 3 / 2; }
.promo__text .h2 { margin-top: 12px; max-width: 520px; }
.promo__text p { max-width: 520px; color: var(--ink-soft); }
.promo__text p + p { margin-top: 10px; }
.promo__text .btn { margin-top: 28px; }
@media (max-width: 900px) {
  .promo { grid-template-columns: 1fr; }
  .promo__media { order: 0; }
}
@media (max-width: 520px) {
  .promo__text .btn { width: 100%; }
}

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile__link { display: flex; flex-direction: column; height: 100%; background: var(--white); text-decoration: none; }
.tile__media { aspect-ratio: 4 / 5; }
.tile__media img { transition: transform 0.6s var(--ease); }
.tile__link:hover .tile__media img { transform: scale(1.03); }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 28px; }
.tile__title { margin-bottom: 10px; font: 400 1.45rem/1.2 var(--serif); }
.tile__body p { color: var(--ink-soft); font-size: 0.93rem; }
.tile__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px;
  color: var(--copper); font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.tile__more .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.tile__link:hover .tile__more .icon { transform: translateX(4px); }
@media (max-width: 1100px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile__link { display: grid; grid-template-columns: 38% 1fr; }
  .tile__media { aspect-ratio: auto; min-height: 100%; }
  .tile__body { padding: 18px 18px 20px; }
  .tile__title { font-size: 1.25rem; margin-bottom: 6px; }
  .tile__body p { font-size: 0.88rem; }
  .tile__more { padding-top: 12px; }
}

/* Photo row (gallery preview) */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) {
  .photo-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .photo-row::-webkit-scrollbar { display: none; }
  .photo-row li { scroll-snap-align: start; }
}

/* ========== Services & Pricing ========== */

.subnav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav__list {
  display: flex; align-items: center; gap: clamp(8px, 2vw, 28px);
  overflow-x: auto; scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { flex: none; }
.subnav__list a {
  display: block; padding: 18px 4px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.subnav__list a:hover { color: var(--ink); }
.subnav__list a.is-current { color: var(--copper); border-bottom-color: var(--copper); }
.subnav__wa {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--wa-deep); font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.subnav__wa:hover { color: var(--ink); }
.subnav__wa .icon { width: 16px; height: 16px; }
@media (max-width: 760px) { .subnav__wa { display: none; } .subnav__list { width: 100%; justify-content: space-between; } }

/* Price note under the page title ("Precios en euros · IVA incluido") */
.page-hero__note {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 26px 0 0;
  color: var(--copper); font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.page-hero__note::before, .page-hero__note::after { content: ""; width: 32px; height: 1px; background: var(--copper-light); }

/* The service menu: one numbered row per category, bilingual heading left, services and prices right */
.menu { background: var(--paper); }
.menu-cat { padding-block: clamp(48px, 6vw, 88px); }
.menu-cat + .menu-cat { border-top: 1px solid var(--line); }
.menu-cat__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu-cat__head { position: sticky; top: calc(var(--header-h) + 84px); }
.menu-cat__num {
  margin: 0 0 14px;
  color: var(--copper); font: 600 0.74rem/1 var(--sans); letter-spacing: 0.2em;
  display: flex; align-items: center; gap: 12px;
}
.menu-cat__num::after { content: ""; width: 40px; height: 1px; background: var(--copper-light); }
.menu-cat__title { font: 300 clamp(1.9rem, 2.8vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.005em; }
.menu-cat__intro { max-width: 400px; margin: 22px 0 0; color: var(--ink-soft); }
.menu-cat__media { margin-top: clamp(28px, 3vw, 40px); aspect-ratio: 4 / 5; max-width: 360px; }

/* Hairdressing leads the page: larger heading on a cream band */
.menu-cat--featured { background: var(--cream); }
.menu-cat--featured .menu-cat__title { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.menu-cat--featured + .menu-cat { border-top: 0; }

.menu-list { border-top: 1px solid var(--ink); }
.menu-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.menu-item__name { font: 400 1.16rem/1.3 var(--serif); color: var(--ink); }
.menu-item__prices { display: flex; justify-content: flex-end; text-align: right; }
.menu-price { font: 400 1.16rem/1.3 var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--ink); }
.menu-price small {
  margin-right: 2px;
  color: var(--ink-mute); font: 500 0.66rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
/* Lists that include two-price services keep two aligned price columns; a single price sits at the right edge */
.menu-list--two { --price-col: 4.4rem; }
.menu-list--two .menu-item__prices { display: grid; grid-template-columns: repeat(2, var(--price-col)); column-gap: 1.1rem; }
.menu-list--two .menu-price { text-align: right; }
.menu-list--two .menu-item__prices--single .menu-price { grid-column: 1 / -1; }
.menu-enquire {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wa-deep); font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
}
.menu-enquire:hover { color: var(--ink); }
.menu-enquire .icon { width: 15px; height: 15px; }
.menu-cat__note { margin: 18px 0 0; color: var(--ink-mute); font: italic 300 1rem/1.4 var(--serif); }
.menu-cat__from { margin: 0 0 14px; color: var(--ink-mute); font: italic 300 1rem/1.4 var(--serif); }
.menu-item__note { display: block; margin-top: 4px; color: var(--ink-mute); font: italic 300 0.95rem/1.35 var(--serif); }


@media (max-width: 900px) {
  .menu-cat__grid { grid-template-columns: 1fr; gap: 28px; }
  .menu-cat__head { position: static; }
  .menu-cat__intro { max-width: 560px; }
  .menu-cat__media { max-width: none; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .menu-item { gap: 14px; padding: 14px 0; }
  .menu-item__name, .menu-price { font-size: 1.06rem; }
  .menu-list--two { --price-col: 3.6rem; }
  .menu-list--two .menu-item__prices { column-gap: 0.6rem; }
}

.services-note {
  margin: var(--section) auto 0; padding-bottom: var(--section);
  max-width: 560px; text-align: center;
  color: var(--ink-soft); font: italic 300 1.35rem/1.4 var(--serif);
}

/* ========== Gallery ========== */

.filters { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.js .filters { display: flex; }
.filter {
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink-soft);
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.gallery__item[hidden] { display: none; }
/* The whole photo is the link to the lightbox. Devices with a mouse get a small expand mark on hover or
   keyboard focus; touch screens show the photo alone (a tap anywhere on it opens the lightbox). */
.gallery__link { display: block; cursor: zoom-in; }
.gallery__link img { transition: transform 0.6s var(--ease); }
.gallery__link:hover img { transform: scale(1.03); }
.gallery__expand {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid rgba(244, 237, 227, 0.45); border-radius: 50%;
  background: rgba(42, 32, 26, 0.38); color: var(--cream);
  opacity: 0; transform: scale(0.9); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.gallery__expand .icon { width: 14px; height: 14px; }
.gallery__link:hover .gallery__expand, .gallery__link:focus-visible .gallery__expand { opacity: 1; transform: none; }
@media (hover: none) { .gallery__expand { display: none; } }
@media (max-width: 1000px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}
@media (max-width: 480px) {
  .gallery { gap: 22px 12px; }
  .gallery .caption { margin-top: 10px; font-size: 0.66rem; letter-spacing: 0.1em; }
}

.ig-band { border-top: 1px solid var(--line); }
.ig-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-block: clamp(40px, 5vw, 64px);
}
.ig-band .h3 { margin: 10px 0 8px; }
.ig-band p:last-child { color: var(--ink-soft); }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(24, 18, 14, 0.96); color: var(--cream);
}
.lightbox::backdrop { background: rgba(24, 18, 14, 0.7); }
.lightbox__inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 88px; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { width: auto; height: auto; max-width: min(100%, 1100px); max-height: calc(100dvh - 160px); object-fit: contain; }
.lightbox__caption { display: flex; gap: 18px; font: 500 0.74rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox__count { color: rgba(244, 237, 227, 0.55); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid rgba(244, 237, 227, 0.28); background: transparent; color: var(--cream);
  cursor: pointer; transition: background-color 0.2s, border-color 0.2s;
}
.lightbox__btn:hover { background: rgba(244, 237, 227, 0.1); border-color: var(--cream); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 20px; top: 20px; }
@media (max-width: 700px) {
  .lightbox__inner { padding: 72px 12px 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__close { right: 12px; top: 12px; }
}

/* ========== Contact ========== */

.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.contact__card { border: 1px solid var(--line); background: var(--white); }
.contact__block { padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 38px); }
.contact__block + .contact__block { border-top: 1px solid var(--line); }
.contact__title {
  margin-bottom: 14px;
  color: var(--copper); font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
}
.contact__address { margin-bottom: 20px; font: 400 1.35rem/1.35 var(--serif); }
.contact__address span { display: block; margin-top: 6px; color: var(--ink-soft); font: 400 0.92rem/1.4 var(--sans); }
.contact__wa { background: var(--paper); }
.contact__wa p { color: var(--ink-soft); font-size: 0.95rem; }
.contact__wa .contact__number { margin-bottom: 8px; color: var(--ink); font: 400 1.75rem/1.2 var(--serif); }
.contact__number a { text-decoration: none; white-space: nowrap; }
.contact__number a:hover { color: var(--copper); }
.contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.contact__actions .btn { min-height: 52px; padding-inline: 16px; }
@media (max-width: 340px) { .contact__actions { grid-template-columns: 1fr; } }
.contact__social { display: grid; gap: 10px; }
.contact__social a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.contact__social a:hover { color: var(--copper); }
.contact__social .icon { width: 20px; height: 20px; color: var(--copper); }
.contact__social small { margin-left: 6px; color: var(--ink-mute); font-size: 0.85rem; }

.map { position: relative; min-height: 520px; background: var(--cream); border: 1px solid var(--line); }
.map__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 32px; text-align: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--cream);
}
.map__pin { width: 40px; height: 40px; color: var(--copper); margin-bottom: 8px; }
.map__name { margin: 0; font: 400 1.6rem/1.2 var(--serif); }
.map__addr { margin: 0 0 18px; color: var(--ink-soft); }
.map__note { margin: 14px 0 12px; color: var(--ink-mute); font-size: 0.82rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__placeholder { display: none; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .map { min-height: 400px; }
}

.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how__item { padding: 26px 26px 28px; background: var(--white); border-top: 2px solid var(--copper); }
.how__title { margin-bottom: 10px; font: 400 1.35rem/1.2 var(--serif); }
.how__item p { color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; gap: 12px; } }

/* ========== 404 ========== */

.notfound { padding-block: var(--section); background: var(--cream); }
.notfound__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 820px; }
.notfound__cols > div { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.notfound .h3 { margin-bottom: 8px; }
.notfound p { color: var(--ink-soft); }
.notfound__links { display: grid; gap: 6px; margin-top: 18px; }
.notfound__links a { color: var(--copper); }
@media (max-width: 600px) { .notfound__cols { grid-template-columns: 1fr; gap: 28px; } }
