/*
  Bilbao Beauty Center by Vanett
  Visual system taken from the centre's own catalogues: Futura-style geometry (Jost),
  Allura gold script, turquoise/teal petals with gold edges, frosted rounded panels.
*/

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

@font-face {
  font-family: "Allura";
  src: url("/assets/fonts/allura.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15343a;
  --muted: #4d6569;
  --petrol: #0c4450;
  --petrol-deep: #0a3a44;
  --teal: #0f6b73;
  --teal-dark: #0b5058;
  --turquoise: #1f9e97;
  --aqua: #8fe3d6;
  --gold: #b8893a;
  --gold-text: #8a6522;
  --gold-light: #e6c678;
  --white: #ffffff;
  --mist: #eef6f4;
  --mist-strong: #deefeb;
  --cream: #faf6ef;
  --line: #d9e7e4;
  --line-strong: #b9d1cd;
  --on-dark: #d7e9e6;
  --focus: #0f6b73;

  --font-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Snell Roundhand", "Segoe Script", cursive;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 1px 2px rgb(12 68 80 / 0.05), 0 14px 34px -18px rgb(12 68 80 / 0.28);
  --shadow-lift: 0 2px 6px rgb(12 68 80 / 0.06), 0 28px 56px -24px rgb(12 68 80 / 0.4);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1240px;
  --header-h: 64px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1025px) {
  :root { --header-h: 84px; }
}

/* ---------- 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) + 1.25rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 1025px) {
  body { font-size: 1.125rem; }
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--petrol);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

strong { font-weight: 500; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.nowrap { white-space: nowrap; }

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

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .icon-fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: none; }

.preview-ribbon {
  position: fixed;
  left: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--petrol-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgb(10 58 68 / 0.45);
  pointer-events: none;
}

/* ---------- Shared type pieces ---------- */

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

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light { color: var(--gold-light); }

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

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head .eyebrow { margin-bottom: 0; }

.section-head h2,
.index-category h2,
.prices__aside h2 {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  font-weight: 350;
}

.section-head p:not(.eyebrow) {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 3rem;
    max-width: none;
  }
  .section-head--split h2 { margin-top: 1rem; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--muted);
}

.duration .icon { width: 0.95rem; height: 0.95rem; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1.25 var(--font-sans);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.button .icon { width: 1.25rem; height: 1.25rem; }
.button:active { transform: translateY(1px); }

.button--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 26px -14px rgb(15 107 115 / 0.75);
}

.button--primary:hover { background: var(--teal-dark); }

.button--outline {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--petrol);
}

.button--outline:hover { border-color: var(--teal); background: var(--mist); }

.button--light {
  background: var(--white);
  color: var(--petrol);
  box-shadow: 0 14px 28px -16px rgb(0 0 0 / 0.5);
}

.button--light:hover { background: var(--mist); }

.button--text {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--teal);
}

.button--text:hover { text-decoration: underline; }
.button--text .icon { transition: transform 0.2s var(--ease); }
.button--text:hover .icon { transform: translateX(3px); }

.round-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.round-arrow .icon { width: 1.1rem; height: 1.1rem; }

/* ---------- Media frames ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mist);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.media--product {
  background: radial-gradient(120% 90% at 50% 20%, var(--white) 0%, var(--mist) 70%, var(--mist-strong) 100%);
}

.media--product img {
  object-fit: contain;
  padding: 6%;
  mix-blend-mode: multiply;
}

.media--brand {
  background: radial-gradient(90% 90% at 50% 45%, var(--white) 0%, var(--mist) 60%, var(--mist-strong) 100%);
}

.media--brand img {
  mix-blend-mode: multiply;
  transform: scale(1.1);
}

.flower-mark {
  pointer-events: none;
  user-select: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(100% - 2 * var(--gutter), 1320px);
  min-height: var(--header-h);
  margin-inline: auto;
}

.js .site-header__inner { height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  color: var(--petrol);
  text-decoration: none;
}

/* Flower from the logo + business name (the logo's ring is omitted at small sizes). */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--petrol);
}

.wordmark__mark {
  flex: none;
  width: 46px;
  height: auto;
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark__name {
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark__signature {
  margin-top: 0.12rem;
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold-text);
}

.wordmark--light { color: var(--white); }
.wordmark--light .wordmark__signature { color: var(--gold-light); }

.brand .wordmark__text { display: none; }

@media (min-width: 640px) {
  .brand .wordmark__text { display: flex; }
}

.primary-nav a {
  text-decoration: none;
  color: var(--petrol);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-whatsapp .icon { width: 1.2rem; height: 1.2rem; }
.nav-whatsapp__short { display: none; }

.language-selector {
  display: flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-selector a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.language-selector a:hover { background: var(--mist); color: var(--petrol); }

.language-selector img {
  width: 20px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgb(12 68 80 / 0.12);
}

.language-selector a[aria-current="true"] {
  background: var(--petrol);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol);
  font: 500 0.9rem/1 var(--font-sans);
  cursor: pointer;
}

.menu-toggle i {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transition: border-color 0.2s;
}

.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] i { border-color: transparent; }
.menu-toggle[aria-expanded="true"] i::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { transform: rotate(-45deg); }

/* Desktop navigation */
@media (min-width: 1025px) {
  .brand .wordmark__mark { width: 54px; }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-right: 0.5rem;
  }

  .primary-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 450;
    transition: background-color 0.2s, color 0.2s;
  }

  .primary-nav a:hover { background: var(--mist); }

  .primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--gold);
  }

  .primary-nav .nav-whatsapp {
    margin-left: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: var(--teal);
    color: var(--white);
  }

  .primary-nav .nav-whatsapp:hover { background: var(--teal-dark); }
}

/* Mid-size desktops: shorter WhatsApp label and flag-only languages keep one line. */
@media (min-width: 1025px) and (max-width: 1279px) {
  .primary-nav a { padding-inline: 0.75rem; }
  .nav-whatsapp__long { display: none; }
  .nav-whatsapp__short { display: inline; }
  .language-selector a { gap: 0; padding: 0; }
  .language-selector a span { display: none; }
}

/* Compact navigation (matches the 1024px breakpoint in site.js) */
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }

  .js .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + 1px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(60% 40% at 100% 100%, var(--mist) 0%, transparent 100%),
      var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .js .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }

  .js .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    border-bottom: 1px solid var(--line);
    font-size: 1.6rem;
    font-weight: 350;
  }

  .js .primary-nav a[aria-current="page"] { color: var(--teal); }

  .js .primary-nav .nav-whatsapp {
    justify-content: center;
    min-height: 56px;
    margin-top: 1.75rem;
    border: 0;
    border-radius: 999px;
    background: var(--teal);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
  }

  /* Without JavaScript the links stay visible as a simple row. */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .primary-nav {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    width: 100%;
    padding-top: 0.5rem;
  }
  html:not(.js) .primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; }
  html:not(.js) .menu-toggle { display: none; }
}

@media (max-width: 420px) {
  .site-header__inner { gap: 0.4rem; }
  .brand .wordmark__mark { width: 50px; }
  .menu-toggle { padding: 0; width: 46px; justify-content: center; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .language-selector a { gap: 0; min-width: 44px; padding: 0; }
  .language-selector a span { display: none; }
}

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(55% 60% at 88% 18%, rgb(143 227 214 / 0.28) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
}

.hero__copy { max-width: 640px; }

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.hero__script {
  display: block;
  padding: 0.12em 0.2em 0.18em 0;
  margin-bottom: -0.1em;
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 2.3rem + 6vw, 7.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--gold-text);
  background: linear-gradient(100deg, #94702a 0%, #c79d48 40%, #a57b2e 70%, #8a6522 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__line {
  font-size: clamp(2.2rem, 1.4rem + 3.3vw, 4.1rem);
  font-weight: 350;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero__intro {
  max-width: 36ch;
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
}

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

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  margin-top: 0.5rem;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -16px -16px 22%;
  border: 1.5px solid var(--gold);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  opacity: 0.75;
}

.hero__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
  background: var(--mist-strong);
  box-shadow: var(--shadow-lift);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero__flower {
  position: absolute;
  left: -34px;
  bottom: 16%;
  width: 104px;
  filter: drop-shadow(0 10px 18px rgb(12 68 80 / 0.25));
}

.hero__caption {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 1.1rem;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.hero__caption span:first-child {
  padding-right: 0.75rem;
  border-right: 1px solid rgb(184 137 58 / 0.5);
  color: var(--petrol);
}

@media (max-width: 899px) {
  .hero__visual { width: min(100% - 1.5rem, 440px); }
  .hero__arch { aspect-ratio: 5 / 6; }
  .hero__flower { width: 80px; left: -18px; }
}

@media (max-width: 480px) {
  .hero__actions .button { width: 100%; }
  .hero__caption {
    justify-content: center;
    padding-inline: 0.9rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-align: center;
  }
  .hero__caption span:first-child { display: none; }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }
  .hero__visual { justify-self: end; margin-top: 1rem; }
}

/* ---------- Home: categories ---------- */

.category-grid {
  display: grid;
  gap: 0.9rem;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.category-card__media { height: 100%; min-height: 136px; }

.category-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.05rem;
}

.category-card__index {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-text);
}

.category-card__name {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
}

.category-card__text {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

.category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--teal);
}

.category-card__cta .icon { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }

.category-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.category-card:hover .media--photo img { transform: scale(1.05); }
.category-card:hover .category-card__cta .icon { transform: translateX(4px); }

@media (min-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .category-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .category-card__media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .category-card__body { padding: 1.35rem 1.4rem 1.5rem; gap: 0.5rem; }
  .category-card__name { font-size: 1.25rem; }
}

@media (min-width: 1100px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-card__media { aspect-ratio: 4 / 5; }
}

/* ---------- Home: featured ritual ---------- */

.feature {
  --focus: var(--aqua);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 90% 10%, #136772 0%, transparent 70%),
    linear-gradient(160deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  color: var(--on-dark);
}

.feature__flower {
  position: absolute;
  right: -14%;
  bottom: -26%;
  width: min(78vw, 640px);
  opacity: 0.16;
}

.feature__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: var(--section-y);
}

.feature h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  font-weight: 350;
  color: var(--white);
}

.feature__copy > p:not(.eyebrow):not(.feature__price) {
  max-width: 44ch;
  margin-top: 1.25rem;
  font-size: 1.08rem;
}

.feature__price {
  margin: 1.5rem 0 1.75rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-light);
}

.ritual-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ritual-card__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-script);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--gold-light);
}

.ritual-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.ritual-card__name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 1.1rem;
  color: var(--white);
}

.ritual-card .duration { color: var(--on-dark); }

.ritual-card strong {
  font-size: 1.25rem;
  font-weight: 450;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .feature__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
  }
}

/* ---------- Service list (home selection, related) ---------- */

.service-list {
  display: grid;
  gap: 0.75rem;
}

.service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-item__thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
}

.service-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.service-item__text strong {
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--petrol);
}

.service-item__summary {
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--muted);
}

.service-item__price {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--teal);
}

.service-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.service-item:hover .round-arrow,
.treatment-card:hover .round-arrow {
  background: var(--teal);
  color: var(--white);
}

.service-list__all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
}

@media (max-width: 480px) {
  .service-item { gap: 0.8rem; padding-right: 0.8rem; }
  .service-item__thumb { width: 72px; height: 72px; }
  .service-item .round-arrow { width: 36px; height: 36px; }
}

@media (min-width: 900px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
  .service-item__thumb { width: 104px; height: 104px; }
  .service-list--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Home: about ---------- */

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

.about__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about__logo {
  justify-self: center;
  width: min(62%, 340px);
}

.about__logo img { width: 100%; height: auto; }

.about__copy h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  font-weight: 350;
}

.about__copy p:not(.eyebrow) {
  max-width: 50ch;
  margin: 1.25rem 0 2rem;
  font-size: 1.08rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .about__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- Inner page heroes ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(50% 70% at 95% 0%, rgb(143 227 214 / 0.3) 0%, transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.page-hero--services,
.page-hero--simple { padding-top: clamp(2.5rem, 6vw, 5rem); }

.page-hero__flower {
  position: absolute;
  top: -60px;
  right: -80px;
  width: clamp(220px, 30vw, 380px);
  opacity: 0.14;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.4rem);
  font-weight: 350;
  letter-spacing: -0.025em;
}

.page-hero__lead {
  position: relative;
  max-width: 50ch;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--muted);
}

.page-hero .container { position: relative; }

.page-hero__grid {
  display: grid;
  gap: 2rem;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.page-hero__media {
  position: relative;
  order: -1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-hero__media .media { aspect-ratio: 16 / 10; }

.page-hero__number {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-text);
}

@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
  }
  .page-hero__media { order: 0; }
  .page-hero__media .media { aspect-ratio: 5 / 4; }
}

.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--petrol);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover { border-color: var(--teal); background: var(--mist); }

.chip[aria-current="page"] {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--white);
}

.breadcrumbs {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Services index ---------- */

.service-index { padding-bottom: clamp(1rem, 3vw, 2rem); }

.index-category {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.index-category:first-child { border-top: 0; }

.index-category__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.index-category__media .media { aspect-ratio: 16 / 10; }
.index-category__media:hover .media--photo img { transform: scale(1.04); }

.index-category__number {
  padding-right: 0.7rem;
  margin-right: 0.05rem;
  border-right: 1px solid rgb(138 101 34 / 0.4);
}

.index-category .eyebrow { margin-bottom: 0.75rem; }

.index-category h2 a { text-decoration: none; }
.index-category h2 a:hover { color: var(--teal); }

.index-category__description {
  max-width: 50ch;
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.price-lines {
  margin: 1.5rem 0 0.75rem;
  border-top: 1px solid var(--line);
}

.price-lines a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-height: 56px;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.2s, padding 0.25s var(--ease);
}

.price-lines__name {
  font-size: 1.12rem;
  font-weight: 450;
  color: var(--petrol);
}

.price-lines__dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.price-lines__price {
  font-weight: 500;
  color: var(--teal);
  white-space: nowrap;
}

.price-lines .icon {
  width: 1.05rem;
  height: 1.05rem;
  align-self: center;
  color: var(--teal);
  transition: transform 0.25s var(--ease);
}

.price-lines a:hover { background: var(--mist); padding-inline: 0.75rem; }
.price-lines a:hover .icon { transform: translateX(3px); }

.empty-note {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
}

.empty-note .icon { margin-top: 0.15rem; color: var(--teal); }

@media (max-width: 480px) {
  .price-lines a { flex-wrap: wrap; row-gap: 0.1rem; }
  .price-lines__name { flex: 1 1 100%; }
  .price-lines__dots { display: none; }
  .price-lines__price { margin-right: auto; }
}

@media (min-width: 900px) {
  .index-category {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
  .index-category__media .media { aspect-ratio: 4 / 3; }
}

/* ---------- Category page ---------- */

.category-treatments { padding-top: clamp(2.5rem, 5vw, 4rem); }

.treatment-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.treatment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.treatment-card__media { aspect-ratio: 4 / 3; }

.treatment-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem 1.4rem 1.25rem;
}

.treatment-card h3 {
  font-size: 1.45rem;
  font-weight: 450;
}

.treatment-card h3 a { text-decoration: none; }

.treatment-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.treatment-card h3 a:focus-visible { outline: none; }
.treatment-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

.treatment-card p { font-size: 0.98rem; color: var(--muted); }

.treatment-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.treatment-card__price { font-weight: 500; color: var(--teal); }

.treatment-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.treatment-card:hover .media--photo img { transform: scale(1.05); }

.enquiry-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 860px;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--white) 0%, var(--mist) 100%);
}

.enquiry-panel__flower {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 240px;
  opacity: 0.22;
}

.enquiry-panel h2 {
  position: relative;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 350;
}

.enquiry-panel p { position: relative; max-width: 52ch; font-size: 1.08rem; color: var(--muted); }
.enquiry-panel .button { position: relative; margin-top: 0.75rem; }

/* ---------- Treatment page ---------- */

.treatment-hero {
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(50% 70% at 100% 0%, rgb(143 227 214 / 0.26) 0%, transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.treatment-hero__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.treatment-hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.treatment-hero__media .media { aspect-ratio: 16 / 10; }

.treatment-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.5rem);
  font-weight: 350;
  letter-spacing: -0.025em;
}

.treatment-hero__summary {
  max-width: 40ch;
  margin-top: 1rem;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.45;
  color: var(--petrol);
}

.treatment-hero__description {
  max-width: 56ch;
  margin-top: 1rem;
  color: var(--muted);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  border: 1px solid #ecdcbc;
  border-radius: 999px;
  background: var(--cream);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--petrol);
}

.price-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.treatment-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .treatment-hero__actions .button { width: 100%; }
}

@media (min-width: 900px) {
  .treatment-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    margin-top: 1.25rem;
  }
  .treatment-hero__media .media { aspect-ratio: 1 / 1; }
}

.prices__grid {
  display: grid;
  gap: 2rem;
}

.prices__aside .eyebrow { margin-bottom: 0.75rem; }

@media (min-width: 1000px) {
  .prices__grid {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 5.5rem);
  }
  .prices__aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.price-list {
  display: grid;
  gap: 2rem;
}

.price-group__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.65rem;
  border-bottom: 1.5px solid var(--gold);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--petrol);
}

.price-group__title::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
}

.price-items--plain { border-top: 1.5px solid var(--gold); }

.price-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.price-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.price-item__label {
  display: block;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}

.price-item__label::first-letter { text-transform: uppercase; }

.price-item__note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.price-item__amount {
  flex: none;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--petrol);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1200px) {
  .price-list--long {
    display: block;
    columns: 2;
    column-gap: 3rem;
  }
  .price-list--long > * {
    break-inside: avoid;
    margin-bottom: 2rem;
  }
  .price-list--long > .price-items--plain { break-inside: auto; }
}

.service-notes {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
  font-size: 0.98rem;
}

.service-notes .icon { margin-top: 0.2rem; color: var(--teal); }
.service-notes div { display: grid; gap: 0.5rem; }

.no-price { font-size: 1.1rem; color: var(--muted); }

.related { padding-top: 0; }

/* ---------- CTA band ---------- */

.cta-band { padding-block: 0 var(--section-y); }
.cta-band--spaced { padding-top: var(--section-y); }

.cta-band__card {
  --focus: var(--aqua);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, #136772 0%, transparent 70%),
    linear-gradient(160deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  color: var(--on-dark);
}

.cta-band__flower {
  position: absolute;
  right: -50px;
  bottom: -90px;
  width: 300px;
  opacity: 0.16;
}

.cta-band__copy { position: relative; }
.cta-band__copy .eyebrow { margin-bottom: 0.75rem; }

.cta-band h2 {
  max-width: 20ch;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 350;
  color: var(--white);
}

.cta-band__copy p:not(.eyebrow) { max-width: 46ch; margin-top: 0.9rem; }
.cta-band__card .button { position: relative; justify-self: start; }

@media (min-width: 900px) {
  .cta-band__card { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .cta-band__card .button { justify-self: end; }
}

@media (max-width: 480px) {
  .cta-band__card .button { width: 100%; }
}

/* ---------- Cookies & 404 ---------- */

.prose {
  max-width: 760px;
  padding-block: clamp(1.5rem, 4vw, 2.5rem) var(--section-y);
}

.prose section {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.prose section:first-child { border-top: 0; padding-top: 0; }

.prose h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  font-weight: 450;
}

.prose p { color: var(--ink); max-width: 64ch; }
.prose__action { padding-top: 1.5rem; }

.not-found {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  text-align: center;
}

.not-found__inner {
  display: grid;
  justify-items: center;
  max-width: 720px;
}

.not-found__flower { width: 120px; margin-bottom: 0.5rem; }

.not-found__code {
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 3rem + 6vw, 7rem);
  line-height: 1;
  color: var(--gold-text);
}

.not-found h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  font-weight: 350;
}

.not-found h1 + p { margin-top: 1rem; color: var(--muted); }

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  --focus: var(--aqua);
  padding-top: clamp(3rem, 6vw, 5rem);
  background: var(--petrol-deep);
  color: var(--on-dark);
}

.footer-main {
  display: grid;
  gap: 2.75rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-brand .wordmark__mark { width: 58px; }
.footer-brand .wordmark__name { font-size: 0.82rem; }
.footer-brand .wordmark__signature { font-size: 1.75rem; }

.footer-brand p + p {
  max-width: 30ch;
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.footer-links h2,
.footer-links h3 {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-links p { line-height: 1.6; }
.footer-links h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }

.footer-links .footer-map {
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: var(--gold-light);
}

.footer-links .footer-map .icon { width: 1.1rem; height: 1.1rem; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.86rem;
  color: #b7d0cc;
}

.footer-base a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
}

@media (min-width: 900px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 4rem; }
}

@media (max-width: 1024px) {
  .footer-base { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Floating WhatsApp (phones & tablets) ---------- */

.mobile-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.3rem 0 1.05rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 16px 30px -10px rgb(10 58 68 / 0.6), 0 0 0 4px rgb(255 255 255 / 0.9);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.mobile-whatsapp:hover { background: var(--teal-dark); }
.mobile-whatsapp .icon { width: 1.45rem; height: 1.45rem; }

body.menu-open .mobile-whatsapp { display: none; }

@media (min-width: 1025px) {
  .mobile-whatsapp { display: none; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
