/* =============================================================
   CONECTA IMMIGRATION — styles.css
   Archetype: Editorial Warm · Coral + Warm Orange + Cream
   ============================================================= */

/* =============================================================
   1. TOKENS — Design System
   ============================================================= */
:root {
  /* Palette — warm coral / cream
     (legacy token names --navy/--gold kept; values remapped to
      charcoal + coral so existing rules need no renaming) */
  --navy:         #303033;            /* charcoal — headings + dark sections */
  --navy-dark:    #232325;            /* deeper charcoal — footer / overlay */
  --navy-mid:     #e46363;            /* (legacy alias) → coral */
  --gold:         #e46363;            /* coral — primary accent / CTA */
  --gold-light:   #f2a95b;            /* warm orange — hover / secondary */
  --gold-dim:     rgba(228,99,99,.12);
  --bg:           #f2eee9;            /* soft warm background */
  --bg-alt:       #fff8f3;            /* light cream — alt sections */
  --bg-cream:     #fffdfb;            /* extra light */
  --paper:        #fbf9f7;            /* cards / panels */
  --ink:          #303033;            /* main text */
  --ink-soft:     #333333;            /* supporting text */
  --ink-mute:     #595959;            /* muted gray — legal / captions */
  --ink-light:    #9b948c;            /* lightest captions */
  --line:         #e7dfd8;            /* soft divider */
  --line-gold:    rgba(228,99,99,0.28);

  /* Light text (on charcoal bg) */
  --on-navy:      #fbf6f0;
  --on-navy-dim:  rgba(251,246,240,0.66);

  /* Typography */
  --serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --gutter:    1.5rem;
  --section-v: clamp(5rem, 10vw, 8rem);

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;

  /* Easing */
  --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);

  /* Nav height */
  --nav-h: 72px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -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.1; letter-spacing: -0.02em; font-family: var(--serif); }
ul { list-style: none; }
code { font-family: monospace; font-size: .875em; color: var(--navy); }
figure { margin: 0; }

::selection { background: var(--navy); color: var(--on-navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -120px; left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--navy); color: var(--on-navy);
  border-radius: var(--r-sm); font-size: .875rem; font-weight: 500;
  z-index: 10000;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: 860px;
}

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

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.section-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-kicker.light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--on-navy); }
.section-title.light em { color: var(--gold-light); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  max-width: 56ch;
  line-height: 1.7;
}

.section-num {
  position: absolute;
  top: -.4em;
  left: -.1em;
  font-family: var(--serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(228,99,99,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-num-sm {
  display: block;
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--ink-light);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-num-sm.light { color: var(--on-navy-dim); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-header-light .section-kicker,
.section-header-light .section-title { color: var(--on-navy); }

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    background .25s var(--ease-out),
    color .25s var(--ease-out),
    transform .2s var(--ease-out),
    box-shadow .25s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px rgba(228,99,99,.32);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(242,169,91,.42);
}

.btn-navy {
  background: var(--navy);
  color: var(--on-navy);
  box-shadow: 0 4px 16px rgba(48,48,51,.22);
}
.btn-navy:hover {
  background: var(--navy-dark);
  box-shadow: 0 8px 28px rgba(48,48,51,.32);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid transparent;
}
.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* Nav WhatsApp CTA */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn-wa:hover { background: var(--gold-light); transform: translateY(-1px); }

/* =============================================================
   6. CUSTOM CURSOR (desktop only)
   ============================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }

.cursor-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .1s var(--ease-out), width .2s var(--ease-out), height .2s var(--ease-out);
}

.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .2s;
  opacity: .5;
}

.cursor-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(16px, -50%);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s var(--ease-out);
  pointer-events: none;
}

.cursor.is-hovering .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--gold);
  opacity: .8;
}
.cursor.is-hovering .cursor-label { opacity: 1; }
.cursor.is-hovering .cursor-dot {
  width: 4px; height: 4px;
  background: var(--gold);
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* =============================================================
   7. SIDE BRAND LABEL
   ============================================================= */
.side-brand {
  position: fixed;
  right: -4.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-light);
  z-index: 50;
  pointer-events: none;
  display: none;
}
@media (min-width: 1280px) { .side-brand { display: block; } }

/* =============================================================
   8. SPLASH LOADER
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* SAFETY NET: CSS hides splash after 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}

@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s var(--ease-in);
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.splash-letters {
  display: flex;
  gap: .04em;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 9vw, 7rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

.sl {
  opacity: 0;
  transform: translateY(20px);
  animation: slIn .5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * .07s + .3s);
}

@keyframes slIn {
  to { opacity: 1; transform: translateY(0); }
}

.splash-sub {
  font-size: clamp(.7rem, 2vw, .9375rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  opacity: 0;
  animation: slIn .5s var(--ease-out) .9s forwards;
}

.splash-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: splashBar 3.5s .4s var(--ease-soft) forwards;
}
@keyframes splashBar { to { width: 100%; } }

/* =============================================================
   9. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(248,243,237,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(48,48,51,.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--nav-h);
}

.nav-logo {
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-links {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -.15em; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: .5rem;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem var(--gutter);
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nav-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
/* hidden attribute support */
.nav-overlay[hidden] { display: flex; opacity: 0; pointer-events: none; }

.nav-overlay-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--on-navy);
  opacity: .7;
  padding: .5rem;
  transition: opacity .2s;
}
.nav-overlay-close:hover { opacity: 1; }

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.nav-overlay-links a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  color: var(--on-navy);
  opacity: .75;
  transition: opacity .2s, color .2s;
  padding-block: .15rem;
}
.nav-overlay-links a:hover { opacity: 1; color: var(--gold-light); }

.nav-overlay-disclaimer {
  font-size: .75rem;
  color: var(--on-navy-dim);
  letter-spacing: .08em;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(35,35,37,.90) 0%,
      rgba(48,48,51,.74) 48%,
      rgba(120,55,52,.52) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
  max-width: 780px;
}

.hero-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 32px rgba(0,0,0,.4);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.hero-disclaimer {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .01em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 10;
  transition: color .2s;
  animation: heroScrollBob 2.5s var(--ease-soft) 2s infinite;
}
.hero-scroll:hover { color: var(--gold-light); }
@keyframes heroScrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================================
   11. MARQUEE STRIP
   ============================================================= */
.marquee-strip {
  background: var(--navy);
  padding-block: 1rem;
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,235,224,.75);
}

.marquee-track .sep {
  color: var(--gold);
  font-size: .5rem;
  flex-shrink: 0;
}

/* =============================================================
   12. SECTION BASE
   ============================================================= */
.section {
  padding-block: var(--section-v);
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); }

/* =============================================================
   13. ABOUT SECTION
   ============================================================= */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.about-photos {
  position: relative;
}

.photo-collage {
  position: relative;
  height: 480px;
}

.photo-main, .photo-s1, .photo-s2 {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(48,48,51,.16);
}

.photo-main {
  width: 72%;
  height: 80%;
  left: 0; top: 0;
  z-index: 2;
}
.photo-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.photo-main:hover img { transform: scale(1.03); }

/* Fallback gradient when photo is missing */
.photo-main::before,
.photo-s1::before,
.photo-s2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.photo-main::before { background: linear-gradient(135deg, rgba(228,99,99,.10) 0%, transparent 60%); }

.photo-s1 {
  width: 50%;
  height: 45%;
  right: 0; bottom: 0;
  z-index: 3;
}
.photo-s1 img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.photo-s1:hover img { transform: scale(1.04); }

.photo-s2 {
  width: 38%;
  height: 35%;
  right: 0; top: 8%;
  z-index: 1;
  box-shadow: none;
  border: 3px solid var(--paper);
}
.photo-s2 img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.photo-s2:hover img { transform: scale(1.04); }

/* Gold accent line on about section */
.about-photos::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 1rem;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about-text {
  position: relative;
  padding-top: 1rem;
}

.about-body {
  margin-bottom: 2rem;
}
.about-body p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: .25rem;
}
.stat-count {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-unit {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold);
  margin-left: .1rem;
}
.stat-label {
  font-size: .8rem;
  color: var(--ink-mute);
  display: block;
  margin-top: .15rem;
}
.stat-label-main {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.stat-icon {
  color: var(--gold);
  flex-shrink: 0;
}

/* =============================================================
   13b. SOBRE MÍ — perfil de la fundadora
   ============================================================= */
.about-me-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3.5rem;
  align-items: center;
}

.about-me-media {
  position: relative;
}
.about-me-photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(48, 48, 51, .12);
}
.about-me-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-me-namecard {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem 1.05rem;
  background: rgba(255, 248, 243, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
}
.about-me-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.about-me-role {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--gold);
}

.about-me-body {
  margin-top: 1.75rem;
}
.about-me-body p {
  font-size: .94rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.about-me-body p:last-child {
  margin-bottom: 0;
}

.about-me-note {
  margin-top: 1.75rem;
  font-size: .85rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-mute);
  padding: 1rem 1.25rem;
  background: var(--bg-cream);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
}

@media (max-width: 860px) {
  .about-me-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .about-me-photo {
    max-width: 400px;
    margin-inline: auto;
  }
}

/* =============================================================
   14. SERVICES SECTION
   ============================================================= */
/* Clean editorial list — no boxed containers */
.services-list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.service-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.65rem .5rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background .25s var(--ease-out);
}
.service-item:last-child { border-bottom: none; }
.service-item:hover { background: rgba(228,99,99,.04); }

.service-item-icon {
  color: var(--gold);
  width: 2.75rem; height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-item-icon svg { width: 30px; height: 30px; }

.service-item-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .35rem;
}

.service-item-title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -.01em;
  transition: color .2s;
}
.service-item-head .service-item-title { margin-bottom: 0; }
.service-item:hover .service-item-title { color: var(--gold); }

.service-item-badge {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line-gold);
  padding: 3px;
  box-shadow: 0 4px 12px rgba(48,48,51,.08);
}

/* Notary service row: icon | text | client logo on the right */
.service-item--notary {
  grid-template-columns: 2.75rem 1fr auto;
}
.service-item-logo {
  align-self: center;
  flex: 0 0 auto;
  width: 88px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  margin-left: .5rem;
}
@media (max-width: 600px) {
  .service-item--notary {
    grid-template-columns: 2.75rem 1fr;
  }
  .service-item-logo {
    grid-column: 1 / -1;
    justify-self: start;
    width: 72px;
    margin: .35rem 0 0;
  }
}

.service-item-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.7;
}

.services-cta-center {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-cream);
  border-radius: var(--r-lg);
}
.services-cta-center p {
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

/* =============================================================
   15. PROCESS SECTION
   ============================================================= */
.process-grid {
  display: grid;
  gap: 0;
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* Vertical connector line */
.process-grid::before {
  content: '';
  position: absolute;
  left: 2.25rem;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  opacity: .35;
}

.process-step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  border-radius: var(--r-sm);
  padding-inline: 1rem;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: rgba(228,99,99,.05); }

.process-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .4;
  line-height: 1;
  transition: opacity .2s;
  padding-top: .25rem;
  text-align: center;
}
.process-step:hover .process-num { opacity: .9; }

.process-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.process-desc {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.process-quote {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-quote p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.process-quote cite {
  font-size: .875rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
}

/* =============================================================
   16. WHY US SECTION
   ============================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(240,235,224,.12);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition:
    background .3s var(--ease-out),
    transform .3s var(--ease-out),
    border-color .3s;
}
.benefit-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(228,99,99,.45);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px; height: 48px;
  background: rgba(228,99,99,.18);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-navy);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.benefit-card p {
  font-size: .875rem;
  color: var(--on-navy-dim);
  line-height: 1.65;
}

.whyus-cta { text-align: center; }

/* =============================================================
   17. CLIENT GALLERY (integrada en testimonios)
   ============================================================= */
.client-gallery {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.client-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-cream);
}

.client-photo-tall {
  grid-row: span 2;
}

.client-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), filter .3s;
  filter: saturate(1.03);
}
.client-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) brightness(1.02);
}

/* =============================================================
   18. TESTIMONIALS SECTION
   ============================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(48,48,51,.10);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .8;
  color: var(--gold);
  opacity: .35;
  margin-bottom: 1rem;
  font-weight: 700;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-text code {
  font-style: normal;
  font-size: .75rem;
  background: var(--bg-alt);
  padding: .1em .4em;
  border-radius: 4px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.testimonial-author strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-author span {
  font-size: .8rem;
  color: var(--ink-mute);
}

/* =============================================================
   18b. GUÍA DE RECURSOS
   ============================================================= */
.resources-disclaimer {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-mute);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
}

.resources-subtitle {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(48,48,51,.10);
  border-color: var(--line-gold);
}

.resource-card-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
}

.resource-card-mark {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.resource-card:hover .resource-card-mark {
  border-color: var(--gold);
}

.resource-card-mono {
  font-family: var(--serif);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold);
  line-height: 1;
  text-align: center;
  padding: 0 2px;
}

/* Optional real logo: when the user drops a licensed file, it covers the
   monogram. If the file is missing, onerror removes it and the mono shows. */
.resource-card-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.resource-card-host {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.resource-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.resource-card-desc {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.resource-card-go {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  transition: transform .3s var(--ease-out);
}
.resource-card:hover .resource-card-go {
  transform: translateX(4px);
}

.resources-tps {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 2.25rem 2rem;
}
.resources-tps p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.resources-tps .resources-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-mute);
}

.resources-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.75rem 2.25rem;
}
.resources-cta-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.resources-cta p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
}
.resources-cta .btn-gold {
  margin: 0 auto;
}
.resources-cta-note {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
  font-size: .82rem !important;
  font-style: italic;
  color: var(--ink-light) !important;
}

/* =============================================================
   18c. PROCESOS EXPLICADOS FÁCIL (educativo)
   ============================================================= */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.edu-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(48,48,51,.10);
  border-color: var(--line-gold);
}

.edu-card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.edu-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: .85rem;
  letter-spacing: -.01em;
}

.edu-card-text {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.edu-card-meta {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.edu-card-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .5rem;
}
.edu-card-meta p {
  font-size: .86rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.edu-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.edu-card-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .86rem;
  color: var(--ink-mute);
  line-height: 1.55;
}
.edu-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.edu-card-note {
  font-size: .8rem;
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.6;
  padding-left: .85rem;
  border-left: 2px solid var(--line-gold);
  margin-bottom: 1.5rem;
}

.edu-card-source {
  font-size: .78rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.edu-card-source a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.edu-card-source a:hover { color: var(--navy); }

.edu-card-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: transform .3s var(--ease-out);
}
.edu-card-cta:hover { transform: translateX(4px); }

.edu-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--ink-mute);
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
}
.edu-disclaimer a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.edu-disclaimer a:hover { color: var(--navy); }

/* =============================================================
   18d. FAQ — ACORDEÓN
   ============================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.is-open {
  border-color: var(--line-gold);
  box-shadow: 0 12px 32px rgba(48,48,51,.07);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
  transition: color .2s;
}
.faq-q:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold-dim);
  transition: background .3s, transform .3s var(--ease-out);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon {
  background: var(--gold);
}
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: var(--on-navy);
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

/* Animación suave de apertura/cierre con grid-template-rows */
.faq-a {
  display: grid;
  grid-template-rows: 1fr; /* abierto por defecto (sin JS = contenido visible) */
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-js .faq-item:not(.is-open) .faq-a {
  grid-template-rows: 0fr;
}
.faq-a-inner {
  overflow: hidden;
}
.faq-a-inner p {
  padding: 0 1.6rem 1.5rem;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--ink-mute);
}

/* =============================================================
   19. DISCLAIMER SECTION
   ============================================================= */
.disclaimer { background: var(--bg-alt); }

.disclaimer-box {
  display: flex;
  gap: 2rem;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 2.5rem 2.25rem;
  align-items: flex-start;
  max-width: 900px;
  margin-inline: auto;
}

.disclaimer-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .2rem;
}

.disclaimer-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}

.disclaimer-content p {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: .875rem;
}
.disclaimer-content p:last-child { margin-bottom: 0; }

.disclaimer-sub {
  font-size: .8125rem !important;
  color: var(--ink-mute) !important;
}

/* =============================================================
   20. CONTACT SECTION
   ============================================================= */
.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.form-num {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
  background: var(--gold-dim);
  padding: .1em .4em;
  border-radius: 3px;
  font-family: var(--sans);
  flex-shrink: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .875rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s var(--ease-out), box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-light); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(228,99,99,.14);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23303033' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  align-self: flex-start;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.form-note {
  font-size: .8125rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.form-wa-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact info sidebar */
.contact-info-inner {
  background: var(--bg-alt);
  border-radius: var(--r-md);
  padding: 2.25rem;
}

.contact-info-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--navy);
}

.detail-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: .2rem;
}

.detail-value {
  font-size: .9375rem;
  color: var(--navy);
  font-weight: 500;
  display: block;
  line-height: 1.5;
  transition: color .2s;
}
a.detail-value:hover { color: var(--gold); }
.detail-wa { color: var(--gold) !important; font-weight: 600 !important; }

.contact-disclaimer {
  background: rgba(228,99,99,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.25rem;
  font-size: .8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =============================================================
   21. FOOTER
   ============================================================= */
.footer {
  background: var(--navy-dark);
  color: var(--on-navy);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-inner { display: flex; flex-direction: column; gap: 3rem; }

.footer-top {
  display: grid;
  gap: 3rem;
}

.footer-brand {}
.footer-brand-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-navy);
}

.footer-tagline {
  font-size: .9rem;
  color: var(--on-navy-dim);
  margin-top: .75rem;
  font-style: italic;
  font-family: var(--serif);
}

.footer-nav-title {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-navy-dim);
  margin-bottom: 1.25rem;
}

.footer-nav ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-nav a, .footer-contact a, .footer-contact li {
  font-size: .9rem;
  color: var(--on-navy-dim);
  transition: color .2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }

.footer-wa-link {
  color: var(--gold-light) !important;
  font-weight: 500;
}

.footer-disclaimer {
  border-top: 1px solid rgba(240,235,224,.10);
  padding-top: 2rem;
  font-size: .8125rem;
  color: var(--on-navy-dim);
  line-height: 1.7;
  max-width: 72ch;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240,235,224,.08);
}

.footer-copy {
  font-size: .8rem;
  color: var(--on-navy-dim);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--on-navy-dim);
  border: 1px solid rgba(240,235,224,.18);
  padding: .4rem .9rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.back-to-top:hover { background: rgba(242,169,91,.18); color: var(--gold-light); }

/* =============================================================
   22. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
  transition-delay: var(--step-delay, 0s);
}

.reveal[data-reveal="fade-right"] { transform: translateX(-28px); }
.reveal[data-reveal="fade-left"]  { transform: translateX(28px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* CRITICAL: prevent JS conflict on split-text elements */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   23. RESPONSIVE — Mobile First
   ============================================================= */

/* ── 540px: large phone ── */
@media (min-width: 540px) {
  .about-stats {
    grid-template-columns: auto 1fr 1fr;
  }
}

/* ── 720px: tablet portrait ── */
@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-photos {
    order: -1;
  }

  .photo-collage {
    height: 520px;
  }

  .contact-layout {
    grid-template-columns: 1fr 380px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .client-gallery {
    grid-auto-rows: 220px;
  }

  .services-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  .disclaimer-box {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ── 960px: tablet landscape ── */
@media (min-width: 960px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .client-gallery {
    grid-auto-rows: 240px;
  }
}

/* ── 1280px: desktop ── */
@media (min-width: 1280px) {
  .contact-layout {
    grid-template-columns: 1fr 400px;
  }

  .client-gallery {
    grid-auto-rows: 260px;
  }
}

/* Mobile specifics */
@media (max-width: 719px) {
  .client-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .client-photo-tall { grid-row: span 2; }

  .photo-collage { height: 340px; }
  .photo-s2 { display: none; }

  .process-grid::before { display: none; }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .disclaimer-box {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============================================================
   24. REDUCED MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash-bar { animation: none; width: 100%; }
  .hero-scroll { animation: none; }
  .marquee-wrapper { animation: none; }
  /* DO NOT disable: reveals, hover tilts, button hovers, count-up */
}
