/* =============================================================
   AeroObra RD — styles.css
   Archetype: Editorial Dark Warm (adapted to the brand's navy + gold)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  /* Palette — brand navy + gold, never pure black / pure white */
  --bg:        #0a1c30;   /* deep navy, warm-lit at the edges via mesh */
  --bg-2:      #123d67;   /* brand navy — cards, panels */
  --bg-3:      #184a7a;   /* lighter navy — hover surfaces */
  --bg-soft:   #0e2540;   /* between bg and bg-2, used for alt sections */
  --cream:     #f5efe0;   /* text on dark — never pure white */
  --cream-2:   #d9d0ba;   /* secondary text on dark */
  --cream-3:   #93a2b8;   /* metadata / mute, cool undertone matches navy */
  --ink:       #101a26;   /* text on light surfaces */
  --ink-mute:  #4b5b6e;
  --paper:     #f7f3ea;   /* warm paper for light sections */
  --accent:    #d9a12a;   /* brand gold */
  --accent-2:  #b87f1e;   /* deeper gold, gradients / hover */
  --accent-soft: rgba(217, 161, 42, 0.16);
  --line:      rgba(245, 239, 224, 0.14);
  --line-soft: rgba(245, 239, 224, 0.08);
  --shadow-1:  0 30px 70px -30px rgba(4, 10, 20, 0.65);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", "SFMono-Regular", Menlo, 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: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

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

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--accent); color: var(--ink);
  border-radius: 8px; font-weight: 700; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.section-light .eyebrow { color: var(--accent-2); }

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-light { background: var(--paper); color: var(--ink-mute); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.7rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border-radius: 999px;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(155deg, var(--accent), var(--accent-2));
  color: #1a1204;
  box-shadow: 0 18px 40px -14px rgba(217, 161, 42, 0.55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 26px 55px -14px rgba(217, 161, 42, 0.7); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(245, 239, 224, 0.03);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(217, 161, 42, 0.08); transform: translateY(-3px); }
.btn-ghost-dark { border: 1px solid rgba(16,26,38,0.22); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--accent-2); background: rgba(184,127,30,0.08); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Magnetic wrapper */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* =============================================================
   4. Typography
   ============================================================= */
.h-kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--cream-3); text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); line-height: 1.65; }
.section-light .lede { color: var(--ink-mute); }

/* Split-text words */
[data-split] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.55em);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
[data-split].is-split-visible .split-word { opacity: 1; transform: none; }
/* Defensive: a split element must never sit invisible if JS never ran */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. Components
   ============================================================= */

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* Card base */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}

/* Tilt */
[data-tilt] {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .4s, box-shadow .4s;
}
[data-tilt]:hover {
  transition-duration: .15s;
  border-color: rgba(217,161,42,.4);
  box-shadow: var(--shadow-1);
}

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease-out), clip-path .9s var(--ease-soft);
  animation: splashSafety .01s 2.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.splash-mark img { width: clamp(120px, 18vw, 180px); animation: splashPulse 1.6s var(--ease-soft) infinite; }
.splash-mark span {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-3);
}
@keyframes splashPulse { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  padding-block: 1.1rem;
  transition: background-color .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 28, 48, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(245,239,224,.08);
  padding-block: .8rem;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand img { height: 30px; width: auto; flex-shrink: 0; }
.nav-brand-word, .footer-brand-word { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; color: var(--cream); white-space: nowrap; }
.brand-gold { color: var(--accent); }
.nav-brand-text { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--cream-3); text-transform: uppercase; display: none; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
  position: relative; padding-block: .3rem;
  font-size: .92rem; font-weight: 600; color: var(--cream-2);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem;
  z-index: 620;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 600;
  background: var(--bg-2);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile-inner { display: flex; flex-direction: column; align-items: center; gap: 1.7rem; }
.nav-mobile a { font-family: var(--serif); font-size: 2rem; color: var(--cream); }
.nav-mobile .btn { margin-top: 1rem; }

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

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroAmbient 26s ease-in-out infinite;
}
@keyframes heroAmbient {
  0%, 100% { transform: scale(1.06) translate3d(0,0,0); }
  50% { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,20,34,.94) 0%, rgba(10,20,34,.72) 32%, rgba(10,20,34,.28) 62%, rgba(10,20,34,.12) 100%),
    linear-gradient(0deg, rgba(6,14,24,.96) 0%, rgba(6,14,24,.35) 42%, rgba(6,14,24,.1) 70%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(46% 40% at var(--mesh-x) var(--mesh-y), rgba(217,161,42,.28), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(217,161,42,.12), rgba(18,61,103,.1), rgba(217,161,42,.1));
  filter: blur(90px) saturate(130%);
  mix-blend-mode: screen;
  transition: opacity 1.4s var(--ease-out);
}
.hero-mesh.is-active { opacity: .75; animation: meshShift 24s linear infinite; }
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 22%; --mesh-y: 30%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 66%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 22%; --mesh-y: 30%; }
}

.hero-inner { position: relative; z-index: 1; padding-block: 8.5rem 3.5rem; width: 100%; }
.hero-content { max-width: 620px; }
.hero-meta {
  display: inline-flex; align-items: flex-start; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-3); margin-bottom: 1.4rem;
}
.hero-dot { width: 6px; height: 6px; margin-top: .45em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex-shrink: 0; }
.hero-title { margin-bottom: 1.3rem; max-width: 16ch; }
.hero-sub { max-width: 46ch; margin-bottom: 2.2rem; color: var(--cream-2); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: .82rem; color: var(--cream-3); }
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 1;
  display: none; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--cream-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cueMove 2.2s var(--ease-soft) infinite; }
@keyframes cueMove { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 40% { opacity: 1; transform: scaleY(1); transform-origin: top; } 60% { transform-origin: bottom; } 100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 720px) { .scroll-cue { display: flex; } }

/* =============================================================
   9. Manifiesto (origin story)
   ============================================================= */
.manifesto { background: var(--bg); }
.manifesto-grid { display: grid; gap: 2.5rem; }
.manifesto-num { font-family: var(--mono); font-size: .78rem; color: var(--cream-3); letter-spacing: .12em; }
.manifesto-body { max-width: 62ch; }
.manifesto-body h2 { margin-block: 1rem 1.6rem; }
.manifesto-body p + p { margin-top: 1.2rem; }
.manifesto-signature { margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem; }
.manifesto-signature img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.manifesto-signature .name { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); font-style: italic; }
.manifesto-signature .role { font-size: .82rem; color: var(--cream-3); }

@media (min-width: 960px) {
  .manifesto-grid { grid-template-columns: 220px 1fr; }
}

/* =============================================================
   10. Before / after — signature effect
   ============================================================= */
.progress { background: var(--bg-soft); }
.progress-head { max-width: 60ch; margin-bottom: 2.6rem; }
.progress-head h2 { margin-block: .9rem .9rem; }

.ba {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  touch-action: pan-y;
  --ba-pct: 50%;
}
@media (min-width: 720px) { .ba { aspect-ratio: 16 / 9; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.ba-before { position: relative; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-label {
  position: absolute; top: 1rem; z-index: 2;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); background: rgba(10,20,34,.6); padding: .4rem .7rem; border-radius: 999px;
  border: 1px solid var(--line);
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-pct); z-index: 3;
  width: 2px; background: var(--cream); transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  background-image:
    linear-gradient(90deg, transparent 44%, #1a1204 44%, #1a1204 47%, transparent 47%),
    linear-gradient(90deg, transparent 53%, #1a1204 53%, #1a1204 56%, transparent 56%);
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 4;
  -webkit-appearance: none; appearance: none;
}
.ba-caption { margin-top: 1.6rem; max-width: 58ch; color: var(--cream-2); font-size: .95rem; }
.ba-caption strong { color: var(--cream); }

/* =============================================================
   11. Servicios
   ============================================================= */
.services { background: var(--bg); }
.services-head { max-width: 60ch; margin-bottom: 3rem; }
.services-head h2 { margin-block: .9rem 0; }

.service-flagship {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  margin-bottom: 1.25rem;
  isolation: isolate;
  border: 1px solid var(--line-soft);
}
.service-flagship img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service-flagship::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,16,28,.94) 8%, rgba(8,16,28,.55) 55%, rgba(8,16,28,.15) 100%);
}
.service-flagship-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: rgba(10,20,34,.55); border: 1px solid var(--line);
  padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
.service-flagship h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22ch; margin-bottom: .8rem; }
.service-flagship p { max-width: 52ch; color: var(--cream-2); }

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

.service-card { display: flex; flex-direction: column; gap: 1rem; }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { font-size: .93rem; color: var(--cream-2); }

/* =============================================================
   12. En el terreno — supporting photo strip
   ============================================================= */
.field-strip { background: var(--bg-soft); }
.field-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .field-grid { grid-template-columns: repeat(3, 1fr); } }
.field-item { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.field-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft); }
.field-item:hover img { transform: scale(1.08); }
.field-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,14,24,.86) 0%, rgba(6,14,24,.1) 55%);
}
.field-caption {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 1;
  font-size: .86rem; color: var(--cream); font-weight: 600;
}
.field-caption span { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; font-weight: 500; }

/* =============================================================
   13. Cómo trabajamos
   ============================================================= */
.process { background: var(--paper); color: var(--ink-mute); }
.process h1, .process h2, .process h3, .process h4 { color: var(--ink); }
.process-head { max-width: 58ch; margin-bottom: 3rem; }
.process-head h2 { margin-block: .9rem 0; }
.process-list { display: grid; gap: 0; border-top: 1px solid rgba(16,26,38,.14); }
.process-item {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding-block: 1.9rem; padding-left: 1.1rem;
  border-bottom: 1px solid rgba(16,26,38,.14);
  align-items: center;
  transition: background-color .3s var(--ease-out);
}
.process-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.process-item:hover { background: rgba(217, 161, 42, 0.06); }
.process-item:hover::before { transform: scaleY(1); }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.1rem; height: 3.1rem; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft);
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.35rem; color: var(--accent-2);
}
.process-item h3 { color: var(--ink); margin-bottom: .4rem; font-size: 1.2rem; }
.process-item p { font-size: .95rem; max-width: 60ch; }

@media (min-width: 960px) {
  .process-item { grid-template-columns: 96px 1fr; }
}

/* =============================================================
   14. Nosotros
   ============================================================= */
.about { background: var(--bg); }
.about-grid { display: grid; gap: 2.75rem; align-items: center; }
.about-figure { position: relative; border-radius: 22px; overflow: hidden; }
.about-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-figure-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); background: rgba(10,20,34,.6); border: 1px solid var(--line); padding: .4rem .7rem; border-radius: 999px;
}
.about-body h2 { margin-block: .9rem 1.3rem; }
.about-body p + p { margin-top: 1.05rem; }
.about-facts { margin-top: 1.9rem; display: flex; flex-direction: column; gap: .75rem; }
.about-facts li { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; color: var(--cream-2); }
.about-facts svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* =============================================================
   15. Contacto
   ============================================================= */
.contact { background: var(--bg-2); position: relative; overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; inset: -30% -10% -10% -10%; z-index: -1;
  background: radial-gradient(50% 45% at 78% 20%, rgba(217,161,42,.24), transparent 70%);
  filter: blur(80px);
}
.contact-inner { max-width: 720px; }
.contact-inner h2 { margin-block: .9rem 1.2rem; max-width: 16ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; margin-bottom: 2.4rem; }
.contact-details { display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; font-size: .92rem; color: var(--cream-2); }
.contact-details li { display: flex; align-items: center; gap: .6rem; }
.contact-details svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.contact-details a:hover { color: var(--cream); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--bg); padding-block: 3.2rem 2.2rem; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer-brand img { height: 30px; }
.footer-tagline { font-size: .88rem; color: var(--cream-3); max-width: 34ch; }
.footer-cols { display: grid; gap: 1.8rem; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .9rem; font-weight: 500; }
.footer-col a, .footer-col span { display: block; font-size: .9rem; color: var(--cream-2); padding-block: .3rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between;
  font-size: .78rem; color: var(--cream-3);
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 2fr; }
}

/* =============================================================
   17. Responsive — mobile-first breakpoints (fixed set)
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions { gap: 1.2rem; }
}

@media (min-width: 720px) {
  .manifesto-signature img { width: 58px; height: 58px; }
}

@media (min-width: 960px) {
  h1 { max-width: 20ch; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-flagship { min-height: 400px; }
}

@media (min-width: 1280px) {
  .container { padding-inline: var(--gutter); }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { grid-column: span 1; }
  .services-grid > .service-card:nth-child(1) { grid-column: span 2; }
}

/* =============================================================
   18. Flying drone — decorative, follows scroll progress
   ============================================================= */
.scroll-drone {
  position: fixed;
  top: 0; right: clamp(14px, 4vw, 44px);
  width: 46px; height: 28px;
  color: var(--accent);
  filter: drop-shadow(0 6px 14px rgba(217, 161, 42, 0.4));
  pointer-events: none;
  z-index: 480;
  opacity: 0;
  transform: translate3d(0, 12vh, 0);
  transition: opacity .5s var(--ease-out);
  will-change: transform;
}
.scroll-drone.is-active { opacity: .92; }
.drone-prop { animation: droneSpin .14s linear infinite; transform-box: fill-box; }
@keyframes droneSpin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .scroll-drone { width: 32px; height: 19px; right: 10px; }
}

/* =============================================================
   19. Reduced motion — ONLY the truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-dot { animation: none; }
  .scroll-cue-line { animation: none; }
  .splash-mark img { animation: none; }
  .scroll-drone { display: none; }
  /* Do NOT disable: tilt, hover, reveals, split-text, mesh drift, magnetic */
}
