/* ─── Design tokens ───────────────────────────────────────────────
   Palette: taken from miriamserranopsicologia.es (Elementor globals) —
            burgundy #63242F, dusty rose #E6CECE, off-white #F6F0EB,
            sand #DCCABA and warm brown #7D6043.
   Type:    Lora (headings, warm serif) + Raleway (body).
   Feel:    spacious, quiet, organic shapes, almost no motion.
------------------------------------------------------------------ */
:root {
  --cream: #F6F0EB;
  --sand: #EFE4DC;
  --sand-deep: #DCCABA;
  --paper: #FCF9F6;
  --ink: #2F2427;
  --ink-soft: #66575B;
  --ink-faint: #9A8A8D;
  --wine: #63242F;
  --wine-deep: #4A1A23;
  --wine-tint: #F1E0E0;
  --rose: #E6CECE;
  --rose-light: #F7E9E7;   /* light pink section backgrounds */
  --rose-soft: #F0DCDB;    /* pills, icon backgrounds */
  --taupe: #A08466;
  --taupe-deep: #7D6043;
  --taupe-tint: #EFE5DA;
  --border: #E7DAD1;
  --error: #A3303A;
  --success: #4E6B45;
  --wine-rgb: 99, 36, 47;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px -24px rgba(59, 49, 41, 0.28);
  --shadow-card: 0 10px 30px -18px rgba(59, 49, 41, 0.22);

  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 260ms;
}

/* ─── Fonts (self-hosted, variable) ───────────────────────────── */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Subtle paper grain — gives the cream a tactile, printed feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--wine-deep); }
strong { font-weight: 600; }
em { font-family: var(--font-serif); font-style: italic; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 0.9rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.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;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(var(--wine-rgb), 0.7);
}
.btn--primary:hover { background: var(--wine-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--sand-deep);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--ink-faint); color: var(--ink); }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.2rem; font-size: 0.9375rem; }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ─── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine-deep);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; }
.brand__role { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list li { margin: 0; }
.nav__list a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9875rem;
  padding: 0.5rem 0.1rem;
  position: relative;
}
.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 1.5px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav__list a:not(.btn):hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand-deep);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.nav-toggle__bar {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color var(--t-base) var(--ease);
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease);
}
.nav-toggle__bar::before { transform: translateY(-6px); }
.nav-toggle__bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .js .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--sand);
    font-size: 1.05rem;
  }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta { padding-top: 1rem; }
  .nav__cta .btn { width: 100%; }
  .brand__role { display: none; }
}

/* ─── Sections ────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section--sand { background: var(--rose-light); }
.section--paper { background: var(--paper); }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(3rem, 8vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.1rem; }
.hero__title em { color: var(--wine-deep); font-style: italic; font-weight: 500; }
.hero__lead { max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin-bottom: 1.75rem; }
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  list-style: none;
  padding: 0; margin: 0;
}
.hero__note li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.hero__note svg { width: 1.05rem; height: 1.05rem; color: var(--taupe-deep); flex: none; }

.hero__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.6;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.hero__figure::before {
  content: "";
  position: absolute;
  inset: -8% -6% 6% -12%;
  background: radial-gradient(60% 60% at 30% 30%, var(--wine-tint) 0%, transparent 70%),
              radial-gradient(50% 50% at 75% 80%, var(--taupe-tint) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.hero__figure img,
.hero__figure .blob-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { justify-self: center; max-width: 380px; aspect-ratio: 1 / 1; order: -1; }
}

/* ─── Cards / grids ───────────────────────────────────────────── */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.card h3 { margin-bottom: 0.1rem; }
.card p { color: var(--ink-soft); }
.card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  background: var(--taupe-tint);
  color: var(--taupe-deep);
  margin-bottom: 0.5rem;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card__icon--warm { background: var(--rose-soft); color: var(--wine); }
.card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link svg { width: 1em; height: 1em; transition: transform var(--t-base) var(--ease); }
.card--link { position: relative; cursor: pointer; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--sand-deep); }
.card--link:hover .card__link svg { transform: translateX(3px); }
.card--link .card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:focus-within { outline: 3px solid var(--wine); outline-offset: 3px; }
.card--link .card__link:focus-visible { outline: none; }

/* Empathy statements ("¿Te suena?") */
.feel-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1rem;
}
.feel-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0;
}
.feel-list svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--wine); margin-top: 0.2rem; }

/* Steps ("Cómo funciona") */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.steps li { margin: 0; position: relative; padding-top: 0.5rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--wine);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* Split (image + text) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.split--top > .contact-aside { position: sticky; top: 6rem; }
.split--form { align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split__figure { margin: 0; position: relative; }
.split__figure img, .split__figure .blob-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.split__figure--round img, .split__figure--round .blob-img {
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
}
@media (max-width: 800px) {
  .split, .split--form, .split--top { grid-template-columns: 1fr; }
  .split--top > .contact-aside { position: static; }
  .split--reverse > :first-child { order: 0; }
  .split__figure { max-width: 420px; }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.pill-list li {
  margin: 0;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Quote / values */
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-soft); }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.35rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  border-radius: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.7rem; height: 0.7rem;
  border-right: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(45deg);
  transition: transform var(--t-base) var(--ease);
  margin-right: 0.25rem;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details > div { padding: 0 0.25rem 1.25rem; color: var(--ink-soft); max-width: 62ch; }

/* ─── CTA band ────────────────────────────────────────────────── */
.cta-band {
  background: var(--wine);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 206, 206, 0.28) 0%, transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--cream); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(246, 240, 235, 0.82); margin: 0; }
.cta-band a:not(.btn) { color: var(--rose); }
.cta-band .btn--primary { background: var(--cream); color: var(--wine); box-shadow: none; }
.cta-band .btn--primary:hover { background: #fff; color: var(--wine-deep); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn--ghost { color: var(--cream); border-color: rgba(246, 240, 235, 0.45); }
.cta-band .btn--ghost:hover { background: rgba(246, 240, 235, 0.1); color: #fff; border-color: var(--cream); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* ─── Forms ───────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 1.25rem;
}
.form__row { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field__hint { font-size: 0.875rem; color: var(--ink-soft); margin: 0; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 4px var(--wine-tint);
}
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--error); }
.field__error { font-size: 0.875rem; color: var(--error); margin: 0; display: none; }
.field[data-invalid] .field__error { display: block; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: 0.25rem; accent-color: var(--wine); }
.field--check label { font-weight: 400; font-size: 0.95rem; color: var(--ink-soft); }
.form__honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__status {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}
.form__status[data-state="error"] { display: block; background: var(--wine-tint); color: var(--error); }
.form__status[data-state="success"] { display: block; background: var(--taupe-tint); color: var(--success); }

.contact-aside {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  align-self: start;
}
.contact-aside h3 { margin-bottom: 0.75rem; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.75rem; }
.contact-aside li { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; color: var(--ink-soft); min-width: 0; overflow-wrap: anywhere; }
.contact-aside svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--taupe-deep); margin-top: 0.2rem; }

/* ─── Prose pages (specialty, legal, about) ───────────────────── */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { max-width: 40rem; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .callout {
  background: var(--paper);
  border-left: 4px solid var(--taupe);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
  color: var(--ink-soft);
}
.prose .callout--warm { border-left-color: var(--wine); }

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li { margin: 0; display: inline-flex; gap: 0.4rem; }
.breadcrumb li + li::before { content: "›"; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--wine-deep); }

/* Placeholder illustration (until real photos are dropped into /img) */
.blob-img {
  display: block;
  background:
    radial-gradient(70% 60% at 30% 25%, var(--rose) 0%, transparent 70%),
    radial-gradient(60% 50% at 75% 75%, var(--taupe-tint) 0%, transparent 70%),
    linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 100%);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--rose-light);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
}
.site-footer__name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 0.35rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--wine-deep); text-decoration: underline; }
.site-footer__emergency {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.55;
}
.site-footer__emergency a { color: var(--wine-deep); font-weight: 600; }
.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
}
.site-footer__legal p { margin: 0; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ─── Trust strip (credentials under the hero) ────────────────── */
.trust {
  border-block: 1px solid var(--border);
  background: var(--paper);
  padding-block: 1.1rem;
}
.trust__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.25rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.trust__list li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.trust__list svg { width: 1.1rem; height: 1.1rem; color: var(--wine); flex: none; }

/* ─── Choice chips (radio groups in the contact form) ─────────── */
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; min-width: 0; }
.choice legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 0.4rem; }
.choice__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice__option { position: relative; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__option span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.choice__option input:hover + span { border-color: var(--sand-deep); }
.choice__option input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.choice__option input:focus-visible + span { outline: 3px solid var(--wine); outline-offset: 2px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363242F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.75rem;
}

/* ─── Price / modality cards ──────────────────────────────────── */
.price-card { text-align: left; }
.price-card__amount { font-family: var(--font-serif); font-size: 2.2rem; color: var(--wine); line-height: 1.1; margin: 0.25rem 0 0.1rem; }
.price-card__amount small { font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-soft); }
.price-card ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.45rem; color: var(--ink-soft); }
.price-card li { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0; }
.price-card li svg { width: 1.05rem; height: 1.05rem; color: var(--wine); flex: none; margin-top: 0.3rem; }
.price-card--featured { border-color: var(--rose); box-shadow: var(--shadow-soft); }

/* ─── WhatsApp: floating button (desktop) + sticky bar (mobile) ── */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(var(--wine-rgb), 0.75);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.wa-float:hover { background: var(--wine-deep); color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 1.35rem; height: 1.35rem; flex: none; }

.mobile-cta { display: none; }
@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta--single { grid-template-columns: 1fr; }
  .mobile-cta .btn { min-height: 2.9rem; padding-inline: 0.75rem; }
  body.has-mobile-cta { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ─── Motion (subtle reveal; disabled under reduced motion) ───── */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
