/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4f1ea;
  --bg-2:      #eae5d8;
  --paper:     #fbfaf6;
  --ink:       #14151a;
  --ink-soft:  #2b2d36;
  --ink-mute:  #6b6d76;
  --accent:    #1c2b4a;
  --accent-2:  #2f4470;
  --accent-dim: rgba(28,43,74,0.08);
  --line:      rgba(20,21,26,0.15);
  --line-soft: rgba(20,21,26,0.08);
  --cream:     #f4f1ea;

  --display: "Spectral", "Iowan Old Style", "Georgia", serif;
  --body:    "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-family: var(--display); font-weight: 500; color: var(--ink); }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--cream);
  font-family: var(--body); font-weight: 600; font-size: .9rem;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.6rem, 7vw, 7.5rem); position: relative; }
@media (max-width: 640px) { .section { padding-block: 2.6rem; } }
.section-tight { padding-block: clamp(2.2rem, 4vw, 3.6rem); }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--accent); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }

.statement-break { background: var(--accent); padding-block: clamp(3.4rem, 7vw, 5.2rem); }
.statement-break-text {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 3.6vw, 2.5rem); line-height: 1.32;
  max-width: min(94vw, 620px); margin-inline: auto; text-align: center;
  color: var(--cream);
}
.statement-break-text em { font-style: normal; font-weight: 600; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 1rem;
}
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-mute); max-width: 58ch; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-line { display: block; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.reveal-line.is-visible { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-line { transition-duration: .01s; } }

/* =============================================================
   4. Typography components
   ============================================================= */
.h-xl { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.05; max-width: 20ch; }
.h-xl em, h1 em, h2 em { font-style: italic; color: inherit; }
.h2 { font-size: clamp(1.8rem, 2.9vw, 2.4rem); margin-bottom: 1rem; }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.rule { border: 0; border-top: 1px solid var(--line); height: 1px; background: var(--line); }

/* =============================================================
   5. Buttons & links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.7rem; font-family: var(--body); font-weight: 600; font-size: .94rem;
  border-radius: 2px; transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--cream); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: var(--cream); color: var(--accent); }
.btn-on-dark:hover { background: var(--ink); color: var(--cream); }
.btn-line {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .93rem;
  color: var(--ink); position: relative; padding-bottom: 2px; border-bottom: 1px solid currentColor;
  transition: color .25s var(--ease-out);
}
.btn-line:hover { color: var(--accent); }

/* =============================================================
   6. Header / nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center; background: var(--cream);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.is-solid { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0,0,0,0.3); }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { font-family: var(--display); font-size: 1.15rem; color: var(--ink); letter-spacing: .01em; white-space: nowrap; flex-shrink: 0; }
.nav-brand strong { font-weight: 600; }
.nav-brand em { font-style: italic; color: var(--accent); font-weight: 400; }
.nav-links { display: none; align-items: center; gap: 1.15rem; flex-wrap: nowrap; }
.nav-links a { font-size: .82rem; font-weight: 600; color: var(--ink-soft); position: relative; padding-block: .3rem; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; position: relative; z-index: 620; margin-right: calc(var(--gutter) * -1 + 44px); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle span::before { position: absolute; transform: translateY(-6px); }
.nav-toggle span::after { position: absolute; transform: translateY(6px); }
.is-menu-open .nav-toggle span { background: transparent; }
.is-menu-open .nav-toggle span::before { transform: rotate(45deg); }
.is-menu-open .nav-toggle span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--accent); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.is-menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-menu nav a { font-family: var(--display); font-size: clamp(1.6rem, 6vw, 2.2rem); }
.mobile-menu-foot { margin-top: 2.4rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: rgba(244,241,234,0.7); }
.mobile-menu-foot a { color: var(--cream); }

@media (min-width: 1240px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   7. Hero — asymmetric editorial bleed
   ============================================================= */
.hero { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; }
.hero-copy {
  order: 2; padding-inline: var(--gutter); padding-block: clamp(2.2rem, 6vw, 3.2rem) clamp(2.8rem, 6vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-title { font-size: clamp(2.3rem, 5.4vw, 3.6rem); max-width: 20ch; margin-top: clamp(1.4rem, 4vw, 2.4rem); }
.hero-title .line-2 { display: block; font-style: italic; color: var(--accent); font-weight: 400; }
.hero-sub { margin-top: 1.8rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-mute); max-width: 44ch; }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.hero-figure {
  order: 1; position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; will-change: transform; }
.hero-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem var(--gutter) 1rem 1.4rem;
  font-size: .74rem; letter-spacing: .04em; color: rgba(244,241,234,0.92);
  background: linear-gradient(180deg, rgba(20,21,26,0) 0%, rgba(20,21,26,0.6) 100%);
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: stretch; max-width: 1680px; margin-inline: auto; }
  .hero-copy { order: 1; padding-right: clamp(2rem, 4vw, 4rem); }
  .hero-figure { order: 2; aspect-ratio: auto; }
  .hero-figure figcaption { padding-right: 1.4rem; }
}

/* =============================================================
   8. El despacho — identity manifesto + credentials
   ============================================================= */
.identity-heading { display: flex; align-items: center; gap: .9rem; }
.identity-statement {
  font-style: italic; font-weight: 500; max-width: 15ch;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
.despacho-mark {
  flex-shrink: 0;
  width: 52px; height: auto;
  pointer-events: none;
}
.identity-rule { height: 1px; background: var(--line); margin-block: clamp(1.8rem, 4vw, 2.6rem); }
.identity-body { max-width: 620px; }
@media (min-width: 760px) {
  .despacho-mark { width: 62px; }
}
.identity-lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.identity-note { margin-top: 1.4rem; color: var(--ink-mute); }
@media (min-width: 760px) { .identity-body { margin-left: 30%; } }

.credentials-wrap { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
@media (max-width: 640px) { .credentials-wrap { margin-top: 2.2rem; } }
.credentials-grid { display: grid; gap: 0 2.4rem; margin-top: 1.6rem; }
.credentials-item { border-left: 2px solid var(--line); padding: .1rem 0 .1rem 1.2rem; margin-bottom: 1.3rem; font-size: .96rem; color: var(--ink-mute); }
@media (max-width: 719px) { .credentials-item { margin-bottom: .85rem; font-size: .92rem; } }
.credentials-item strong { color: var(--ink); font-weight: 700; }
@media (min-width: 720px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   9. Áreas de práctica — índice maestro / panel de detalle
   ============================================================= */
.areas-shell { margin-top: 2.4rem; }
@media (min-width: 900px) {
  .areas-shell { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}

.areas-index { border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .areas-index { position: sticky; top: calc(var(--nav-h) + 1.6rem); } }
.areas-index-item {
  display: flex; align-items: baseline; gap: 1rem; width: 100%; text-align: left;
  padding: .9rem 0 .9rem .95rem; margin-left: -.95rem; border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent; transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.areas-index-item .num { font-family: var(--display); font-style: italic; color: var(--ink-mute); font-size: 1rem; flex-shrink: 0; width: 1.9rem; }
.area-icon { width: 17px; height: 17px; flex-shrink: 0; display: inline-flex; }
.area-icon svg { width: 100%; height: 100%; stroke: var(--ink-mute); transition: stroke .25s var(--ease-out); }
.areas-index-item:hover .area-icon svg, .areas-index-item.is-active .area-icon svg { stroke: var(--accent); }
.areas-index-item .name { font-weight: 600; font-size: 1rem; flex: 1; transition: color .25s var(--ease-out); }
.areas-index-desc { display: none; font-size: .78rem; color: var(--ink-mute); text-align: right; max-width: 12ch; }
.areas-index-item:hover .name { color: var(--accent); }
.areas-index-item.is-active { border-left-color: var(--accent); background: var(--accent-dim); }
.areas-index-item.is-active .name { color: var(--accent); }
@media (min-width: 640px) and (max-width: 899px) { .areas-index-desc { display: block; } }

.areas-panels { margin-top: 2.4rem; }
@media (min-width: 900px) { .areas-panels { margin-top: 0; } }
.areas-panel { display: none; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.areas-panel.is-active { display: block; }
.areas-panel .panel-num { display: block; font-family: var(--display); font-style: italic; font-weight: 500; color: var(--accent); opacity: .32; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; }
.areas-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: .1rem; margin-bottom: 1rem; }
.area-cols { columns: 1; column-gap: 2.4rem; margin-top: 1.4rem; }
.area-cols li { font-size: .93rem; color: var(--ink-mute); break-inside: avoid; padding-block: .5rem; border-top: 1px solid var(--line-soft); }
.area-cols li:first-child { border-top: none; }
@media (min-width: 560px) { .area-cols { columns: 2; } }

/* =============================================================
   10. Trayectoria — espina cronológica
   ============================================================= */
.spine { position: relative; margin-left: .3rem; padding-left: 2rem; }
.spine::before, .spine::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; }
.spine::before { background: var(--line); }
.spine::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.spine-item { position: relative; padding-bottom: clamp(1.8rem, 3.4vw, 2.4rem); display: grid; grid-template-columns: 1fr; gap: .3rem; }
@media (max-width: 699px) { .spine-item { padding-bottom: 1.25rem; } }
.spine-item:last-child { padding-bottom: 0; }
.spine-dot {
  position: absolute; left: calc(-2rem - 5px); top: .4rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ink-mute);
}
.spine-item.is-milestone .spine-dot { background: var(--accent); border-color: var(--accent); width: 11px; height: 11px; left: calc(-2rem - 6px); }
.spine-period { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); opacity: .32; transition: opacity .5s var(--ease-out); }
.spine-item.is-lit .spine-period { opacity: 1; }
.spine-item.is-milestone .spine-period { color: var(--accent); font-style: italic; }
.spine-item h4 { font-family: var(--body); font-weight: 600; font-size: .96rem; color: var(--ink-mute); margin-top: .15rem; opacity: .55; transition: opacity .5s var(--ease-out); }
.spine-item.is-lit h4 { opacity: 1; }
@media (min-width: 700px) {
  .spine-item { grid-template-columns: 14rem 1fr; align-items: baseline; gap: 1.6rem; }
}

/* =============================================================
   11. Forma de trabajar — retícula de cuatro bloques
   ============================================================= */
.principles-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 1.5rem; }
.principle { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55rem; }
.principle-num { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--ink-mute); opacity: .5; }
.principle h3 { font-style: italic; font-size: 1.05rem; margin: 0; }
.principle p { flex-basis: 100%; margin-top: .3rem; font-size: .92rem; color: var(--ink-mute); max-width: 34ch; }
@media (min-width: 720px) {
  .principles-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; }
  .principle { display: block; padding: clamp(1.9rem, 4vw, 2.8rem); }
  .principle-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); opacity: .4; margin-bottom: .7rem; }
  .principle h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-bottom: .6rem; }
  .principle p { margin-top: 0; font-size: 1rem; }
}

/* =============================================================
   11.5. En Instagram — miniaturas reales, mismo tratamiento que la foto del hero
   ============================================================= */
.reels-scroll {
  display: flex; gap: 1.1rem; margin-top: 2rem;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-right: var(--gutter); margin-right: calc(var(--gutter) * -1);
}
.reels-scroll::-webkit-scrollbar { display: none; }
.reel-thumb {
  flex: 0 0 auto; width: clamp(155px, 26vw, 210px); scroll-snap-align: start;
  position: relative; display: block; aspect-ratio: 4/5; overflow: hidden;
  background: var(--bg-2);
}
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.reel-thumb:hover img { transform: scale(1.05); }
.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(244,241,234,0.92);
  display: grid; place-items: center; color: var(--accent);
  transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.reel-play svg { width: 15px; height: 15px; margin-left: 2px; }
.reel-thumb:hover .reel-play { background: var(--accent); color: var(--cream); transform: translate(-50%, -50%) scale(1.08); }
.reel-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .8rem;
  display: flex; flex-direction: column; gap: .2rem;
  background: linear-gradient(180deg, rgba(20,21,26,0) 0%, rgba(20,21,26,0.72) 100%);
}
.reel-caption-title { font-weight: 600; font-size: .88rem; line-height: 1.25; color: var(--cream); }
.reel-caption-meta { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,241,234,0.75); }
.reels-foot { margin-top: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 620px; }
.reels-arrows { display: none; gap: .6rem; }
.reels-nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-mute);
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out), background .25s var(--ease-out);
}
.reels-nav svg { width: 14px; height: 14px; }
.reels-nav:hover { border-color: var(--accent); color: var(--cream); background: var(--accent); }
@media (min-width: 640px) { .reels-arrows { display: flex; } }

/* =============================================================
   12. FAQ — accordion minimalista
   ============================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-head {
  display: flex; align-items: baseline; gap: 1rem; width: 100%; text-align: left;
  padding-block: clamp(1.1rem, 2.2vw, 1.4rem); cursor: pointer; background: none; border: none; font: inherit; color: inherit;
}
.faq-head h4 { flex: 1; font-family: var(--body); font-weight: 700; font-size: 1rem; transition: color .3s var(--ease-out); }
.faq-item.is-open .faq-head h4 { color: var(--accent); }
.faq-head:hover h4 { color: var(--accent); }
.faq-arrow {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.faq-arrow svg { width: 11px; height: 11px; stroke: var(--ink); }
.faq-item.is-open .faq-arrow { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .faq-arrow svg { stroke: var(--cream); }
.faq-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out); }
.faq-item.is-open .faq-panel { max-height: 300px; opacity: 1; padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.faq-panel p { color: var(--ink-mute); max-width: 62ch; }

/* =============================================================
   13. Contacto / formulario / mapa
   ============================================================= */
.cta-final-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-final-contact { margin-top: 2.6rem; display: grid; gap: 1.4rem; padding-top: 2rem; border-top: 1px solid rgba(244,241,234,0.18); }
.cta-final-contact div { display: flex; flex-direction: column; gap: .2rem; }
.cta-final-contact span:first-child { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,234,0.55); }
.cta-final-contact a { font-weight: 600; }
@media (min-width: 640px) { .cta-final-contact { grid-template-columns: repeat(3, 1fr); } }

.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.1fr .9fr; } }

.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.3rem; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row-2 { display: grid; gap: 1rem; }
@media (min-width: 520px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkline { display: flex; align-items: flex-start; gap: .7rem; font-size: .86rem; color: var(--ink-mute); cursor: pointer; }
.checkline input { margin-top: .2rem; accent-color: var(--accent); }
.checkline a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 1rem; font-size: .9rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: #9b3a2c; }

.contact-info-block { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-info-item h4 { font-family: var(--body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .3rem; }
.contact-info-item p, .contact-info-item a { font-size: 1rem; }
.contact-info-item a:hover { color: var(--accent); }
.map-frame { aspect-ratio: 16/10; border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(244,241,234,0.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.4rem; }
.footer-brand { font-family: var(--display); font-size: 1.2rem; color: var(--cream); margin-bottom: .5rem; }
.footer h4 { font-family: var(--body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,234,0.5); margin-bottom: .9rem; }
.footer-col ul { display: grid; gap: .5rem; font-size: .92rem; }
.footer-social { display: flex; gap: .9rem; }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(244,241,234,0.14); font-size: .8rem; }
.footer-bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.img-credits { margin-top: 1rem; font-size: .7rem; color: rgba(244,241,234,0.4); }
.img-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   15. Mobile action bar / cookie banner
   ============================================================= */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; padding: .95rem; font-weight: 700; font-size: .92rem; background: var(--ink); color: var(--cream); }
.mobile-bar a.is-cta { background: var(--accent); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { .footer { padding-bottom: 4.5rem; } }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 700; max-width: 460px;
  background: var(--ink); color: rgba(244,241,234,0.85); padding: 1.3rem; font-size: .86rem;
  transform: translateY(140%); transition: transform .5s var(--ease-out);
  border: 1px solid rgba(244,241,234,0.1);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { margin-top: 1rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .6rem 1.1rem; font-size: .84rem; }
@media (max-width: 899px) { .cookie-banner { bottom: calc(1rem + 62px); } }

/* legal pages */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.6rem, 3vw, 2.4rem); }
.legal-content { max-width: 72ch; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: .8rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: .9rem; }
.legal-content ul { padding-left: 1.2rem; list-style: disc; }
.legal-note { padding: 1rem 1.2rem; background: var(--bg-2); border-left: 2px solid var(--accent); font-size: .9rem; color: var(--ink-mute); margin-bottom: 2rem; }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }

/* 404 */
.error-hero { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.error-code { font-family: var(--display); font-size: clamp(4rem, 14vw, 9rem); font-style: italic; color: var(--accent); line-height: 1; }
