/* ==========================================================================
   Eneko Navarrete — sitio multipágina
   Hoja de estilos compartida por todas las páginas (Inicio, Trabajo,
   Servicios, Tarifas, Contacto). Edita aquí una vez y cambia en todo el sitio.
   ========================================================================== */

:root {
  --bg: #0b1117;
  --bg-soft: #0f1620;
  --bg-card: #121a24;
  --border: #1f2a38;
  --border-soft: #18222e;
  --text: #e6edf6;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3a0;
  --accent-2: #38bdf8;
  --accent-soft: rgba(34, 211, 160, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 50px -24px rgba(0,0,0,.7);
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(34, 211, 160, 0.08), transparent 65%),
    linear-gradient(180deg, #0b1117 0%, #0a1019 100%);
}
.bg-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ===== Navegación ===== */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 17, 23, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav-wrap.scrolled { border-bottom-color: var(--border-soft); background: rgba(11, 17, 23, 0.88); }
.nav { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #061318; font-family: var(--mono); font-weight: 700;
  box-shadow: 0 0 0 1px rgba(34, 211, 160, 0.35), 0 6px 24px rgba(34, 211, 160, 0.25);
}
.brand-name { font-size: 15px; white-space: nowrap; }
.brand-name span { color: var(--text-dim); font-weight: 500; }
.nav-links { display: flex; flex-wrap: nowrap; gap: 18px; margin-left: 10px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; white-space: nowrap; text-align: center; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 4px; font-family: var(--mono); }
.lang button {
  appearance: none; background: transparent; border: 0;
  color: var(--text-dim); font-size: 12px; font-weight: 600;
  padding: 6px 11px; border-radius: 999px; letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang button:hover { color: var(--text); }
.lang button.active {
  background: linear-gradient(135deg, rgba(34, 211, 160, 0.18), rgba(56, 189, 248, 0.18));
  color: var(--text); box-shadow: inset 0 0 0 1px rgba(34, 211, 160, 0.35);
}

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #061318; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; border: 0;
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
  box-shadow: 0 6px 24px rgba(34, 211, 160, 0.25);
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 36px rgba(34, 211, 160, 0.32); }
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

section { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

/* ===== Hero ===== */
.hero { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); padding: 6px 12px;
  background: var(--accent-soft); border: 1px solid rgba(34, 211, 160, 0.22); border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 160, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 160, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(34, 211, 160, 0.05); }
}
h1.hero-title { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 22px 0 18px; max-width: 16ch; }
h1.hero-title em { font-style: normal; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-dim); max-width: 60ch; line-height: 1.55; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; border-top: 1px solid var(--border-soft); padding-top: 28px; }
.stat .num { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat .num small { color: var(--accent); font-size: 0.7em; margin-left: 2px; }
.stat .lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Hero a dos columnas con mockup */
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero-visual { position: relative; }
.hero-visual .dome-viewport { aspect-ratio: 16 / 11; box-shadow: var(--shadow-soft), 0 0 80px rgba(34, 211, 160, 0.10); }
.hero-visual .float-badge {
  position: absolute; left: -14px; bottom: -16px; display: flex; align-items: center; gap: 9px;
  background: var(--bg-card); border: 1px solid rgba(34, 211, 160, 0.3); border-radius: 12px;
  padding: 9px 13px; font-family: var(--mono); font-size: 12px; color: var(--text);
  box-shadow: var(--shadow-soft);
}
.hero-visual .float-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 160, 0.18); animation: pulse 2.4s ease-in-out infinite; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin-top: 4px; }
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 16px; }
.section-head p { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-dim); margin: 0; }

/* ===== Sobre mí ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); }
.about-card h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.01em; }
.about-card p { color: var(--text-dim); margin: 0 0 16px; font-size: 15px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(56, 189, 248, 0.08); color: var(--accent-2); border: 1px solid rgba(56, 189, 248, 0.2); }
.chip.green { background: rgba(34, 211, 160, 0.08); color: var(--accent); border-color: rgba(34, 211, 160, 0.22); }

.portrait-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.portrait { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 17, 23, 0.55) 100%); pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.02); }
.portrait-badge {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--text);
  background: rgba(11, 17, 23, 0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft); border-radius: 10px; padding: 8px 12px; z-index: 1;
}
.portrait-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 160, 0.18); animation: pulse 2.4s ease-in-out infinite; flex-shrink: 0; }
.portrait-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 340px; }
.portrait-meta .item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.portrait-meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.portrait-meta .v { font-size: 14px; color: var(--text); margin-top: 2px; }

/* ===== Galería ===== */
.gallery { background: linear-gradient(180deg, #0b1218 0%, #0c1419 100%); border-bottom: 1px solid var(--border-soft); }
.gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.shot { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.3s ease, border-color 0.3s ease; }
.shot:hover { transform: translateY(-3px); border-color: rgba(34, 211, 160, 0.32); }
.shot.hero-shot { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b1117; }
.shot.hero-shot img { aspect-ratio: 16 / 11; }
.shot:not(.hero-shot) img { aspect-ratio: 16 / 10; }
.shot-caption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(11, 17, 23, 0.72); backdrop-filter: blur(8px); border: 1px solid var(--border-soft); border-radius: 8px; padding: 7px 11px; font-size: 12px; color: var(--text); }
.shot-caption .tag { font-family: var(--mono); font-size: 10.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Caso de estudio ===== */
.case { background: linear-gradient(180deg, #0d1620 0%, #0c1419 100%); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); position: relative; }
.case::before { content: ""; position: absolute; top: 0; left: 50%; width: 600px; height: 600px; transform: translateX(-50%); background: radial-gradient(circle, rgba(34, 211, 160, 0.10) 0%, transparent 60%); pointer-events: none; }
.case-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.case-tag { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); margin-bottom: 18px; }
.case-hero h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.case-hero p { color: var(--text-dim); font-size: 17px; margin: 0 0 14px; }

.dome-viewport { position: relative; background: #0a131c; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft), 0 0 60px rgba(34, 211, 160, 0.06); aspect-ratio: 16 / 10; }
.dome-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.dome-viewport::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 23, 0.45) 0%, transparent 18%, transparent 100%); pointer-events: none; }
.dome-chrome { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 2; }
.dome-dots { display: flex; gap: 6px; }
.dome-dots span { width: 10px; height: 10px; border-radius: 50%; background: #1e2a38; }
.dome-dots span:nth-child(1) { background: #f97171; }
.dome-dots span:nth-child(2) { background: #fbbf24; }
.dome-dots span:nth-child(3) { background: #22d3a0; }
.dome-label { font-family: var(--mono); font-size: 11px; color: var(--text-muted); background: rgba(11, 17, 23, 0.6); backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--border-soft); }

.case-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 64px; }
.feat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color 0.25s ease, transform 0.25s ease; }
.feat:hover { border-color: rgba(34, 211, 160, 0.35); transform: translateY(-2px); }
.feat-icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(34, 211, 160, 0.22); border-radius: 10px; color: var(--accent); margin-bottom: 14px; }
.feat h4 { margin: 0 0 6px; font-size: 15px; }
.feat p { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

.case-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
.pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pillar h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.pillar ul { margin: 0; padding: 0; list-style: none; }
.pillar li { font-size: 14px; color: var(--text-dim); padding: 8px 0; border-bottom: 1px dashed var(--border-soft); display: flex; gap: 10px; align-items: flex-start; }
.pillar li:last-child { border-bottom: 0; }
.pillar li::before { content: "▸"; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.case-tech { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 0; }
.case-tech .chip { font-size: 12.5px; }

/* ===== Servicios ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease; }
.service:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.3); }
.service::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(135deg, transparent 60%, rgba(34, 211, 160, 0.16) 100%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; border-radius: var(--radius-lg); }
.service:hover::after { opacity: 1; }
.service-icon { width: 44px; height: 44px; background: linear-gradient(135deg, rgba(34, 211, 160, 0.18), rgba(56, 189, 248, 0.18)); border: 1px solid rgba(34, 211, 160, 0.25); border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); }
.service h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.service p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ===== Proceso ===== */
.process { background: linear-gradient(180deg, #0c1419 0%, #0b1117 100%); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent); z-index: 0; }
.step { position: relative; z-index: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateY(-3px); border-color: rgba(34, 211, 160, 0.35); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: #061318; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.step-time { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(34, 211, 160, 0.22); padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.step h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.step p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; flex-grow: 1; }
.step-deliv { margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--border-soft); display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.step-deliv::before { content: "↳"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.step-deliv span { color: var(--text-dim); }
.step-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(34, 211, 160, 0.22); border-radius: 11px; margin-top: 2px; }
.process-grid::before { background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent-2) 88%, transparent); opacity: 0.4; }

/* ===== Por qué ===== */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reason { display: flex; gap: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; align-items: flex-start; }
.reason-num { flex-shrink: 0; width: 44px; height: 44px; font-family: var(--mono); font-weight: 700; font-size: 17px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #061318; border-radius: 12px; }
.reason h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.reason p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ===== Contacto ===== */
.contact { text-align: center; position: relative; }
.contact::before { content: ""; position: absolute; inset: auto 10% 10% 10%; height: 400px; background: radial-gradient(ellipse at center, rgba(34, 211, 160, 0.15) 0%, transparent 60%); z-index: -1; filter: blur(40px); }
.contact h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; line-height: 1.1; }
.contact h2 em { font-style: normal; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact p { font-size: 18px; color: var(--text-dim); max-width: 56ch; margin: 0 auto 36px; }
.contact-actions { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-email { margin-top: 28px; font-family: var(--mono); font-size: 14px; color: var(--text-dim); }
.contact-email a { color: var(--text); border-bottom: 1px dashed var(--accent); padding-bottom: 1px; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border-soft); padding: 30px var(--gutter); background: var(--bg-soft); }
.foot { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.foot .brand { font-size: 13px; }
.foot-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-nav a { color: var(--text-muted); transition: color .2s ease; }
.foot-nav a:hover { color: var(--text); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Tarjetas de exploración (Inicio) ===== */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.explore-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.explore-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 160, 0.4); }
.explore-card .ec-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.explore-card h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -0.01em; }
.explore-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; flex: 1; }
.explore-card .ec-link { margin-top: 8px; font-weight: 600; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.explore-card:hover .ec-link { gap: 10px; }

/* ===== Tira CTA ===== */
.cta-strip { text-align: center; }
.cta-strip .inner {
  max-width: var(--max); margin: 0 auto;
  background: linear-gradient(135deg, rgba(34, 211, 160, 0.08), rgba(56, 189, 248, 0.06)), var(--bg-card);
  border: 1px solid rgba(34, 211, 160, 0.22); border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow-soft);
}
.cta-strip h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.cta-strip p { color: var(--text-dim); max-width: 54ch; margin: 0 auto 28px; font-size: 16px; }
.cta-strip .contact-actions { justify-content: center; }

/* ===== Tarifas: cabecera ===== */
.page-lead { font-size: 18px; color: var(--text-dim); max-width: 60ch; }
.section-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--text-muted); margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.section-tag b { color: var(--accent); font-weight: 600; }
.section-tag::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ===== Tarifas: calculadora ===== */
.est { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px clamp(20px,3vw,34px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.est::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.est-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 30px; align-items: start; }
.est-title { font-size: clamp(22px,3.2vw,30px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.est-intro { color: var(--text-dim); font-size: 14.5px; margin-bottom: 24px; max-width: 48ch; }
.est-q { margin-bottom: 20px; }
.est-q:last-child { margin-bottom: 0; }
.qlabel { font-size: 14px; font-weight: 600; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.qlabel .hint { font-family: var(--mono); font-size: 11px; color: var(--text-muted); font-weight: 400; letter-spacing: .04em; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-dim);
  font-family: var(--font); font-size: 13.5px; font-weight: 500; padding: 9px 14px; border-radius: 10px;
  cursor: pointer; transition: .13s; text-align: left; }
.opt:hover { color: var(--text); border-color: var(--text-muted); }
.opt[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text);
  box-shadow: 0 0 0 1px rgba(34,211,160,.3) inset; }
.est-result { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 20px; position: sticky; top: 84px; }
.res-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.res-range { font-size: clamp(24px,4vw,34px); font-weight: 800; letter-spacing: -.02em; color: var(--accent); margin: 8px 0 2px; line-height: 1.08; }
.res-sub { font-size: 12.5px; color: var(--text-muted); }
.res-maint { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-dim); }
.res-maint b { color: var(--text); }
.res-note { margin-top: 14px; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.res-cta { margin-top: 16px; display: inline-flex; background: var(--accent); color: #04261c; text-decoration: none;
  font-weight: 700; font-size: 13.5px; padding: 12px 18px; border-radius: 10px; width: 100%; justify-content: center; transition: .14s; }
.res-cta:hover { filter: brightness(1.08); }

/* ===== Tarifas: planes ===== */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px 26px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.plan.feat { border-color: rgba(34,211,160,.55);
  background: linear-gradient(180deg, rgba(34,211,160,.06), rgba(18,26,36,0) 42%), var(--bg-card);
  box-shadow: 0 0 0 1px rgba(34,211,160,.18), 0 28px 60px -26px rgba(34,211,160,.35); }
.badge { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #04261c;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; }
.pname { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.phours { font-size: 15px; color: var(--text); margin-top: 6px; font-weight: 500; }
.pmain { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 7px; }
.big { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.feat .big { color: var(--accent); }
.per { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.rate { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.save { margin-top: 14px; align-self: flex-start; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(34,211,160,.22); }

.intro-line { font-size: 16px; color: var(--text-dim); margin: 0 0 24px; max-width: 62ch; }
.note { background: var(--bg-soft); border: 1px solid var(--border-soft); border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 13.5px; color: var(--text-dim); margin-top: 24px; }

/* ===== Tarifas: hosting / extras ===== */
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 10px 26px 24px; box-shadow: var(--shadow); }
.panel .intro2 { font-size: 14.5px; color: var(--text-dim); padding: 18px 0 4px; max-width: 72ch; }
.rowline { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--border); }
.rowline .label { font-size: 14.5px; font-weight: 600; }
.rowline .price { font-size: 19px; font-weight: 700; white-space: nowrap; color: var(--accent); }
.rowline .price.muted { color: var(--text-dim); font-weight: 600; }
.rowline .sub { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; max-width: 42ch; }

/* ===== Tarifas: condiciones ===== */
.cond-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.cond { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px; box-shadow: var(--shadow); }
.cond h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.cond h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; }
.cond.key { border-color: rgba(34,211,160,.4); background: linear-gradient(180deg, rgba(34,211,160,.05), transparent 50%), var(--bg-card); }
.cond p { font-size: 13.8px; color: var(--text-dim); }

.gap { height: 60px; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .case-hero { grid-template-columns: 1fr; gap: 36px; }
  .case-feats { grid-template-columns: 1fr; }
  .case-pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .shot.hero-shot { grid-row: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .explore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .plans, .cond-grid, .est-grid { grid-template-columns: 1fr; }
  .plan.feat { order: -1; }
  .est-result { position: static; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nav { gap: 12px; }
  .brand-name span { display: none; }
  .cta, .cta-ghost { padding: 9px 14px; font-size: 13px; }
  .lang button { padding: 5px 8px; font-size: 11px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== Más trabajo ===== */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 6px; }
.work-card {
  --proj: var(--accent);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--proj) 55%, var(--border)); box-shadow: 0 18px 40px rgba(0,0,0,.34); }
.work-thumb {
  position: relative; height: 150px; overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(140px 90px at 82% -20%, color-mix(in srgb, var(--proj) 42%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--proj) 16%, var(--bg-card)), var(--bg-soft));
  display: flex; align-items: flex-end; padding: 12px 14px;
}
.work-thumb::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(color-mix(in srgb, var(--proj) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--proj) 12%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 80%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 80%);
}
.work-monogram { position: absolute; top: 4px; right: 14px; font-family: var(--mono); font-weight: 700; font-size: 58px; line-height: 1; letter-spacing: -.03em; color: color-mix(in srgb, var(--proj) 26%, transparent); user-select: none; }
.work-thumb.has-shot::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,12,18,0) 38%, rgba(7,12,18,.86)); }
.work-thumb.has-shot .work-url { z-index: 2; }
.work-url { position: relative; font-family: var(--mono); font-size: 12.5px; color: color-mix(in srgb, var(--proj) 88%, var(--text)); display: inline-flex; align-items: center; gap: 7px; }
.work-url::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--proj); box-shadow: 0 0 10px var(--proj); }
.work-body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); }
.work-card h3 { margin: 0; font-size: 17px; font-weight: 700; }
.work-card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.work-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.work-tag { font-family: var(--mono); font-size: 10.5px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-dim); }
.work-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; } }

/* ===== Estilo Laugon. — titulares Space Grotesk + más aire ===== */
h1, h2, h3, h4, .hero-title, .est-title, .big, .pname { font-family: var(--font-head); }
section { padding-top: clamp(96px, 11vw, 168px); padding-bottom: clamp(96px, 11vw, 168px); }
.section-head { margin-bottom: 64px; }
.hero-stats { margin-top: 72px; padding-top: 32px; }
