/* =============================================================
   DICHO Y HECHO — Agencia de Marketing
   1. Tokens
   ============================================================= */
:root {
  --bg:         #0a0806;
  --bg-2:       #120e0a;
  --bg-3:       #1a140f;
  --surface:    #1c1712;
  --white:      #ffffff;
  --ink:        #f6f3ee;
  --mute:       #b8b0a4;
  --mute-2:     #8a8074;
  --accent:     #ff5a1f;
  --accent-2:   #ff8a4d;
  --accent-deep:#c73f10;
  --accent-glow:rgba(255,90,31,.55);
  --line:       rgba(246,243,238,.12);
  --line-strong:rgba(246,243,238,.22);

  --display: "Anton", "Arial Narrow Bold", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --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-h: 76px;
  --container: 1240px;

  --stars-tile:
    radial-gradient(1.6px 1.6px at 8% 15%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 22% 48%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.8px 1.8px at 40% 12%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 55% 70%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.6px 1.6px at 68% 30%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.1px 1.1px at 78% 85%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.9px 1.9px at 88% 55%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 15% 78%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 33% 92%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 95% 20%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.7px 1.7px at 48% 40%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 5% 55%, rgba(255,255,255,.4), transparent 60%);

  /* second, offset star set — twinkles out of phase with the first for a natural sky feel */
  --stars-tile-2:
    radial-gradient(1.3px 1.3px at 14% 35%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.7px 1.7px at 30% 8%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 47% 62%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 88%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 74% 42%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.8px 1.8px at 84% 18%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 92% 72%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 4% 90%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 58% 25%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 38% 80%, rgba(255,255,255,.45), transparent 60%);
}

@keyframes twinkleA {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
@keyframes twinkleB {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
ul { list-style: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

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

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { position: relative; z-index: 1; 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; } }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  text-shadow: 0 0 10px rgba(255,90,31,.8), 0 0 24px rgba(255,90,31,.5), 0 0 44px rgba(255,90,31,.28);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent);
  box-shadow: 0 0 10px 1px var(--accent-glow), 0 0 22px 2px rgba(255,90,31,.35);
}

.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--bg-2); }
.section::before, .section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: repeat;
  background-size: 260px 260px;
}
.section::before { background-image: var(--stars-tile); animation: twinkleA 4.5s ease-in-out infinite; }
.section::after { background-image: var(--stars-tile-2); background-position: 60px 40px; animation: twinkleB 6s ease-in-out infinite 1.1s; }

.section-head { max-width: 640px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { margin-top: .9rem; }
.section-head .lead { margin-top: 1rem; color: var(--mute); font-size: 1.05rem; }

/* Neon divider — signature separator between blocks */
.divider-neon {
  position: relative;
  height: 2px;
  margin-block: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  box-shadow: 0 0 18px 1px var(--accent-glow), 0 0 40px 4px rgba(255,90,31,.18);
  opacity: .85;
}
.divider-neon.short { max-width: 220px; margin-inline: 0; }

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 {
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .002em;
  font-size: clamp(2.6rem, 8vw, 6.2rem); line-height: .96;
}
h2, .h2 {
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02;
  max-width: 16ch;
}
h3, .h3 {
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.05;
}
.accent { color: var(--accent); }
.stroke-accent { -webkit-text-stroke: 1px var(--accent); }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn-primary {
  background: var(--accent); color: #140a05;
  box-shadow:
    0 0 22px 3px rgba(255,90,31,.65),
    0 0 46px 8px rgba(255,90,31,.4),
    0 10px 30px -8px var(--accent-glow),
    0 0 0 1px rgba(255,90,31,.4) inset;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 30px 5px rgba(255,90,31,.8),
    0 0 60px 12px rgba(255,90,31,.5),
    0 16px 34px -6px var(--accent-glow),
    0 0 0 1px rgba(255,90,31,.6) inset;
}
.btn-primary:hover svg { transform: translate(3px,-3px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-ghost:hover svg { transform: translate(3px,-3px); }
.btn-block { width: 100%; justify-content: center; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,8,6,.86);
  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: 1rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .9rem; }
.brand-mark { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; }
.brand-wordmark { height: 44px; width: auto; flex: none; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative; font-size: .92rem; font-weight: 600; color: var(--mute);
  padding-block: .3rem;
  transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: .7rem 1.4rem; font-size: .8rem; }
}

.nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 490;
  background: rgba(8,6,5,.98);
  display: flex; flex-direction: column;
  padding: 2rem 1.5rem 2.5rem;
  gap: .3rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.6rem; padding-block: .7rem; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu a.accent { color: var(--accent); }
.mobile-menu .btn { margin-top: 1.5rem; }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.9rem;
}

/* Icon badge — reused across pillars & process steps */
.icon-badge {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #211a13, #140f0a);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.6);
  flex: none;
}
.icon-badge svg { width: 30px; height: 30px; color: var(--accent); filter: drop-shadow(0 0 6px rgba(255,90,31,.55)); }

/* Reveal-on-scroll (functional, never gated by reduced-motion) */
.reveal { opacity: 0; transform: translateY(34px); 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; } /* defensive: never leave split-text invisible */

/* Form */
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--mute); }
.form-field input,
.form-field textarea {
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  color: var(--ink);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,90,31,.18);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .86rem; color: var(--mute); line-height: 1.5;
}
.form-check input {
  width: 19px; height: 19px; margin-top: 2px; flex: none;
  accent-color: var(--accent);
}
.form-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-msg {
  border-radius: 12px; padding: .9rem 1.1rem; font-size: .9rem; font-weight: 600;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg.ok { background: rgba(64,196,120,.12); color: #63d68a; border: 1px solid rgba(64,196,120,.3); }
.form-msg.err { background: rgba(255,90,31,.12); color: var(--accent-2); border: 1px solid rgba(255,90,31,.3); }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: clip;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, #1a1108 0%, transparent 60%), var(--bg);
}
@media (min-width: 720px) {
  .hero { min-height: 100svh; min-height: 100vh; }
}
.hero-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--stars-tile);
  background-repeat: repeat;
  background-size: 260px 260px;
  animation: twinkleA 4.5s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--stars-tile-2);
  background-repeat: repeat;
  background-size: 260px 260px;
  background-position: 60px 40px;
  animation: twinkleB 6s ease-in-out infinite 1.1s;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: .9rem;
  padding-block: 1.25rem;
  width: 100%;
  text-align: center;
}

.hero-media { width: 100vw; margin-inline: calc(50% - 50vw); }
.hero-media img { width: 100%; height: auto; display: block; }

.hero-copy { max-width: 46ch; }
.hero-sub { font-size: 1.02rem; color: var(--mute); }
.hero-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.scroll-cue {
  display: none;
  margin-top: 2.4rem;
  flex-direction: column; align-items: center; gap: .5rem;
  color: var(--mute-2); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue .stick { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cueMove 2.2s ease-in-out infinite; }
@keyframes cueMove { 0% { opacity: 0; transform: scaleY(.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* ---- Agencia ---- */
.agencia-grid { display: grid; gap: 3rem; align-items: center; }
.agencia-figure { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.agencia-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .8s var(--ease-out); }
.agencia-figure:hover img { transform: scale(1.05); }
.agencia-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,8,6,.75) 100%);
  pointer-events: none;
}
.agencia-figure::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(160deg, var(--accent), transparent 40%);
  opacity: .5; filter: blur(24px);
}
.agencia-text p.lead-p { font-size: 1.12rem; color: var(--mute); margin-top: 1.1rem; max-width: 54ch; }
.pillars { margin-top: 2.6rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.pillar { display: flex; gap: 1.1rem; }
.pillar h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.pillar p { color: var(--mute); font-size: .95rem; }

/* ---- Proceso (stepper) ---- */
.proceso-nav {
  display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: 2.2rem;
}
.proceso-step-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.proceso-step-btn .num {
  font-family: var(--display); font-size: 1.1rem; color: var(--mute-2);
  width: 34px; flex: none;
  transition: color .3s var(--ease-out);
}
.proceso-step-btn .step-icon {
  width: 22px; height: 22px; flex: none; color: var(--mute-2);
  transition: color .3s var(--ease-out);
}
.proceso-step-btn .step-icon svg { width: 100%; height: 100%; }
.proceso-step-btn.is-active .step-icon { color: var(--accent); filter: drop-shadow(0 0 6px rgba(255,90,31,.5)); }
.proceso-step-btn .label {
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; color: var(--mute);
  transition: color .3s var(--ease-out);
  flex: 1;
}
.proceso-step-btn .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none;
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.proceso-step-btn:hover { border-color: var(--line-strong); }
.proceso-step-btn.is-active {
  background: linear-gradient(90deg, rgba(255,90,31,.12), transparent);
  border-color: rgba(255,90,31,.5);
}
.proceso-step-btn.is-active .num,
.proceso-step-btn.is-active .label { color: var(--accent); }
.proceso-step-btn.is-active .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.proceso-panels { position: relative; }
.proceso-panel { display: none; max-width: 640px; }
.proceso-panel.is-active { display: block; animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.proceso-panel-num { font-family: var(--display); color: var(--accent); font-size: 1.1rem; margin-bottom: .6rem; }
.proceso-panel h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.proceso-panel h3 .accent-block { display: block; color: var(--accent); }
.proceso-panel p { margin-top: 1rem; color: var(--mute); font-size: 1.02rem; max-width: 44ch; }
.proceso-panel .btn { margin-top: 1.6rem; }

/* ---- Banner (RELLENO) ---- */
.banner {
  position: relative;
  min-height: 42vh;
  display: flex; align-items: center; justify-content: center;
  overflow: clip;
}
.banner img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(180deg, rgba(10,8,6,.55), rgba(10,8,6,.88) 60%, var(--bg) 100%);
}
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: var(--stars-tile);
  background-repeat: repeat;
  background-size: 260px 260px;
  animation: twinkleA 4.5s ease-in-out infinite;
}
.banner-content { position: relative; z-index: 3; text-align: center; padding-inline: 1.5rem; }

/* ---- Redes / ITG ---- */
.redes-grid { display: grid; gap: 3rem; align-items: center; }
.redes-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.redes-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--ink); }
.redes-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.redes-figure { position: relative; display: flex; justify-content: center; }
.redes-figure img {
  max-width: 320px; width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
  animation: phoneFloat 5.5s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.redes-figure::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.35), transparent 70%);
  filter: blur(40px); z-index: -1;
}

/* ---- Contacto ---- */
.contacto-grid { display: grid; gap: 2.6rem; }
.contacto-info .lead-p { color: var(--mute); margin-top: 1rem; max-width: 46ch; }
.contact-detail {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.6rem;
  font-weight: 600; color: var(--ink);
}
.contact-detail svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.contact-detail a { transition: color .3s var(--ease-out); }
.contact-detail a:hover { color: var(--accent); }

.ig-callout {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255,90,31,.35);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,90,31,.1), transparent);
  margin-bottom: 1.8rem;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.ig-callout:hover { border-color: var(--accent); transform: translateY(-2px); }
.ig-callout .icon-badge { width: 46px; height: 46px; border-radius: 12px; }
.ig-callout .icon-badge svg { width: 24px; height: 24px; }
.ig-callout .txt { display: flex; flex-direction: column; }
.ig-callout .txt .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ig-callout .txt .handle { font-weight: 700; color: var(--accent); font-size: 1.02rem; }

.contact-form { display: grid; gap: 1.2rem; }
.form-row-2 { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }

/* =============================================================
   7. Footer
   ============================================================= */
.footer { position: relative; overflow: clip; border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; background: var(--bg-2); }
.footer::before, .footer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: repeat;
  background-size: 260px 260px;
}
.footer::before { background-image: var(--stars-tile); animation: twinkleA 4.5s ease-in-out infinite; }
.footer::after { background-image: var(--stars-tile-2); background-position: 60px 40px; animation: twinkleB 6s ease-in-out infinite 1.1s; }
.footer-top { display: grid; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--mute); max-width: 34ch; font-size: .92rem; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--mute); font-size: .92rem; transition: color .3s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .8rem;
  font-size: .82rem; color: var(--mute-2);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

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

  .hero-inner { gap: 1.6rem; padding-block: clamp(2rem, 6vw, 3rem); }
  .hero-sub { font-size: 1.08rem; }
  .hero-actions { margin-top: 1.6rem; gap: 1rem; }
  .hero-media { width: 100%; max-width: 640px; margin-inline: auto; }
  .hero-media img { border-radius: 20px; }
  .scroll-cue { display: flex; }
}

@media (min-width: 960px) {
  .hero-media { max-width: 760px; }
  .agencia-grid { grid-template-columns: .9fr 1.1fr; }
  .agencia-grid.reverse { grid-template-columns: 1.1fr .9fr; }
  .agencia-grid.reverse .agencia-figure { order: 2; }
  .redes-grid { grid-template-columns: 1fr .8fr; }
  .contacto-grid { grid-template-columns: .85fr 1.15fr; }
  .footer-top { grid-template-columns: 1.2fr 2fr; }
}

@media (min-width: 1280px) {
  .proceso-nav { flex-direction: row; }
  .proceso-step-btn { flex: 1; flex-direction: column; align-items: flex-start; gap: .8rem; }
  .proceso-step-btn .num { width: auto; }
}

/* =============================================================
   9. Reduced motion — only genuinely intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .redes-figure img { animation: none; }
  .scroll-cue .stick { animation: none; opacity: .6; }
}
