/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0e0b09;
  --bg-2:      #15110e;
  --bg-3:      #1e1813;
  --cream:     #f4ece0;
  --cream-2:   #ddd2bc;
  --cream-3:   #8b7e68;
  --accent:    #e2734f;   /* coral / terracota — tono de las fotos */
  --accent-2:  #c4552f;
  --gold:      #c49a5b;
  --line:      rgba(244, 236, 224, 0.12);
  --line-2:    rgba(244, 236, 224, 0.06);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", Consolas, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

/* =============================================================
   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: 90px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 500; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.grain {
  position: fixed; inset: 0; z-index: 3;
  opacity: 0.045; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* =============================================================
   3. Typography helpers
   ============================================================= */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(226,115,79,.18);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  max-width: 22ch;
  margin-bottom: 1.1rem;
}
.section-lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--cream-2);
  max-width: 56ch;
  font-weight: 300;
}

em { font-style: italic; color: var(--accent); font-weight: 500; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  box-shadow: 0 10px 30px -8px rgba(226, 115, 79, .55);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(226, 115, 79, .7); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-large { padding: 1.15rem 2.2rem; font-size: 1.02rem; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: rgba(14, 11, 9, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(14, 11, 9, .82);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
}
.nav-brand-dot { color: var(--accent); }
.nav-links {
  display: none;
  gap: 2rem;
  font-size: .92rem;
  color: var(--cream-2);
}
.nav-links a { position: relative; padding-block: .3rem; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }
.nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
}
.nav-burger span {
  display: block; width: 100%; height: 1.5px; background: var(--cream);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  transition: grid-template-rows .4s var(--ease-out);
}
.nav-mobile.is-open { grid-template-rows: 1fr; }
.nav-mobile-inner { overflow: hidden; }
.nav-mobile a {
  display: block;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line-2);
  color: var(--cream-2);
  font-size: 1rem;
}
.nav-mobile .btn { margin: 1rem 1.25rem 1.25rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  overflow: clip;
}

@property --mesh-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hero-mesh {
  position: absolute; inset: -10%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 22% 28%, rgba(226,115,79,.35), transparent 70%),
    radial-gradient(32% 38% at 82% 18%, rgba(196,154,91,.22), transparent 70%),
    radial-gradient(46% 50% at 65% 82%, rgba(196,85,47,.28), transparent 70%),
    var(--bg);
  filter: blur(70px) saturate(130%);
  animation: meshBreathe 22s var(--ease-soft) infinite alternate;
}
@keyframes meshBreathe {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.15) rotate(6deg); }
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-size: clamp(2.3rem, 6.4vw, 4.1rem);
  max-width: 17ch;
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--cream-2);
  font-weight: 300;
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.6rem;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.2rem;
  font-size: .85rem; color: var(--cream-3);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero-trust .stat-num {
  font-family: var(--mono); color: var(--cream); font-size: 1.05rem; font-weight: 500;
}

.hero-figure { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--accent), var(--gold) 55%, var(--accent-2));
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.65), 0 0 0 1px var(--line);
}
.hero-photo-frame img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-photo-frame img.is-broken { display: none; }
.hero-photo-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 5rem; color: rgba(14,11,9,.35);
}
.hero-scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid var(--line);
  border-radius: 999px; display: none;
}
.hero-scroll-cue span {
  display: block; width: 4px; height: 8px; border-radius: 999px;
  background: var(--accent); margin: 6px auto 0;
  animation: cueDrop 1.8s var(--ease-soft) infinite;
}
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { opacity: 0; } 100% { transform: translateY(14px); opacity: 0; } }
@media (min-width: 720px) { .hero-scroll-cue { display: block; } }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .hero-figure { justify-self: end; max-width: 420px; }
}

/* =============================================================
   7. Sections generic
   ============================================================= */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section-lede { margin-bottom: 3rem; }

/* =============================================================
   8. Pain points
   ============================================================= */
.section-pain { background: var(--bg-2); }
.pain-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.pain-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-color .4s;
  --mx: 50%; --my: 50%;
}
.pain-card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(226,115,79,.18), transparent 70%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.pain-card:hover { border-color: rgba(226,115,79,.4); }
.pain-card:hover::before { opacity: 1; }
.pain-n {
  display: block;
  font-family: var(--mono);
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.pain-card h3 { font-size: 1.28rem; margin-bottom: .7rem; }
.pain-card p { color: var(--cream-3); font-size: .95rem; font-weight: 300; }

@media (min-width: 720px)  { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   9. SEO explainer + alternating section background
   ============================================================= */
.section-alt { background: var(--bg-2); }

.explain-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.explain-head .section-title { max-width: 20ch; margin-bottom: 0; }
.explain-body p { color: var(--cream-2); font-weight: 300; font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 56ch; }
.explain-body p + p { margin-top: 1.4rem; }
.explain-body .explain-highlight {
  color: var(--cream);
  padding-left: 1.2rem;
  border-left: 2px solid var(--accent);
}

@media (min-width: 960px) {
  .explain-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}

/* =============================================================
   10. Services
   ============================================================= */
.services-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.service-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.3rem 2rem;
  transition: transform .5s var(--ease-out), border-color .4s;
  --mx: 50%; --my: 50%;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(196,154,91,.18), transparent 70%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.service-card:hover { border-color: rgba(196,154,91,.45); }
.service-card:hover::before { opacity: 1; }
.service-kicker {
  display: block; font-family: var(--mono); font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.service-card p { color: var(--cream-3); font-weight: 300; font-size: .96rem; }

@media (min-width: 720px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.rubro-note {
  margin-top: 2.2rem;
  color: var(--cream-2);
  font-weight: 300;
  max-width: 60ch;
}
.text-link {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.text-link:hover { border-color: var(--accent); }

/* 3-up trust cards (reuse .service-card) */
.trust-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.trust-grid .service-card h3 { font-size: 1.3rem; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   11. Process (vertical timeline)
   ============================================================= */
.process-cta { margin-top: 2.4rem; }
.process-list {
  position: relative;
  max-width: 760px;
  margin-top: 1rem;
}
.process-list::before {
  content: "";
  position: absolute; left: 22px; top: 10px; bottom: 10px;
  width: 1px; background: var(--line);
}
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding-block: 1.4rem;
}
.process-n {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .8rem; color: var(--accent);
  z-index: 1;
}
.process-item h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 36ch; }

/* =============================================================
   12. About
   ============================================================= */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--accent-2), var(--bg-3));
}
.about-photo-frame img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-photo-frame img.is-broken { display: none; }
.about-copy p { color: var(--cream-2); font-weight: 300; margin-bottom: 1.2rem; max-width: 58ch; }
.about-points {
  display: grid;
  gap: .9rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.about-points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--cream-2);
  font-weight: 300;
  font-size: .96rem;
  max-width: 58ch;
}
.about-points li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(226,115,79,.16);
}
.about-points strong { color: var(--cream); font-weight: 600; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: .8fr 1.2fr; }
}

/* =============================================================
   14. Location / Google Map (SEO Local)
   ============================================================= */
.section-map { background: var(--bg-2); border-block: 1px solid var(--line); }
.map-grid {
  display: grid;
  gap: 2.4rem;
  align-items: stretch;
}
.map-info { display: flex; flex-direction: column; }
.map-nap {
  display: grid;
  gap: 1rem;
  margin: 1.7rem 0 2rem;
}
.map-nap li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--cream-2);
  font-size: .95rem;
}
.map-embed {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: invert(92%) hue-rotate(180deg) brightness(0.95) contrast(0.92);
}

@media (min-width: 960px) {
  .map-grid { grid-template-columns: .9fr 1.1fr; }
  .map-embed { min-height: 420px; }
}

/* =============================================================
   15. Final CTA / Contact
   ============================================================= */
.section-cta { position: relative; overflow: clip; text-align: center; }
.hero-mesh-cta { opacity: .8; }
.cta-inner { max-width: 640px; margin-inline: auto; }
.cta-inner .kicker { justify-content: center; }
.cta-inner .section-title,
.cta-inner .section-lede { margin-inline: auto; }

.contact-form-wrap {
  margin-top: 2.6rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.contact-panel {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}

.contact-panel-form h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.contact-panel-form > p { color: var(--cream-3); font-weight: 300; font-size: .93rem; margin-bottom: 1.6rem; }

.contact-form { display: grid; gap: 1.1rem; }
.contact-form[hidden] { display: none; }
.form-field-row { display: grid; gap: 1.1rem; }
.form-field { display: grid; gap: .5rem; }
.form-field label {
  font-size: .82rem; color: var(--cream-2); font-weight: 500;
}
.form-field label span { color: var(--accent); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .3s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--cream-3); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }

.contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: .3rem;
}
.contact-submit:disabled { opacity: .65; cursor: not-allowed; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { font-size: .85rem; color: var(--accent); }
.form-error a { text-decoration: underline; }

.contact-success {
  text-align: center;
  padding: 2.4rem 1rem;
}
.contact-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(111,207,151,.14);
  color: #6fcf97;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.contact-success h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.contact-success p { color: var(--cream-3); font-weight: 300; max-width: 42ch; margin-inline: auto; }

@media (min-width: 640px) {
  .form-field-row { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   15b. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #29d366, #1fa855);
  color: #052e13;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .55);
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.wa-float:hover,
.wa-float:focus-visible {
  box-shadow: 0 18px 42px -8px rgba(37, 211, 102, .7);
  transform: translateY(-2px);
}
.wa-float-icon {
  flex: 0 0 58px;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
}
.wa-float-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: .95rem;
  transition: max-width .45s var(--ease-out), opacity .3s var(--ease-out), padding .45s var(--ease-out);
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  max-width: 200px;
  opacity: 1;
  padding-left: 1.2rem;
}

@media (min-width: 720px) {
  .wa-float { right: 2rem; bottom: 2rem; }
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: var(--bg-2); }
.footer-inner {
  display: grid; gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-name { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.footer-role { color: var(--cream-3); font-size: .88rem; margin-top: .3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: var(--cream-2); }
.footer-links a:hover { color: var(--accent); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  font-size: .88rem;
  color: var(--cream-2);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  max-width: 26ch;
  transition: color .3s;
}
.footer-contact-item:hover { color: var(--accent); }
.icon-badge {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--line-2);
  padding-block: 1.5rem;
  font-size: .8rem; color: var(--cream-3);
}

@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: start; }
}

/* =============================================================
   17. Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.split-word.is-visible { opacity: 1; transform: none; }

/* =============================================================
   18. Responsive breakpoints (fine-tuning)
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions { flex-wrap: nowrap; }
}

/* =============================================================
   19. Reduced motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-scroll-cue span { animation: none; }
}
