/* =========================================================
   Casanova Car Care LLC — estilos
   Paleta rojo / negro / cromado, tomada del logo
   ========================================================= */
:root {
  --red: #e10600;
  --red-hi: #ff2a2a;
  --red-deep: #7a0000;
  --red-glow: rgba(225, 6, 0, .45);
  --bg: #07080a;
  --bg-2: #0d0e11;
  --surface: #131418;
  --surface-2: #1a1b20;
  --border: #23252b;
  --text: #ececee;
  --muted: #9a9ca3;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4e6ea 40%, #9298a2 52%, #d7dade 70%, #ffffff 100%);
  --red-grad: linear-gradient(135deg, var(--red-hi), var(--red) 50%, #a30000);
  --radius: 16px;
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Textura de grano sutil sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-loading { overflow: hidden; }
::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.02; letter-spacing: .5px; text-transform: uppercase; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.accent { color: var(--red-hi); text-shadow: 0 0 30px rgba(255, 42, 42, .35); }
.chrome {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #e4e6ea;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(circle, #160304, var(--bg) 60%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader > * { grid-area: 1 / 1; }
.loader-logo { width: 110px; height: auto; animation: breathe 1.6s ease-in-out infinite; }
.loader-ring {
  width: 170px; height: 170px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .06); border-top-color: var(--red-hi);
  box-shadow: 0 0 40px -10px var(--red-glow);
  animation: spin 1s linear infinite;
}

/* ---------- Barra de progreso ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--red-deep), var(--red-hi));
  box-shadow: 0 0 12px var(--red-hi);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 .95rem var(--font-body);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--red-grad); color: #fff; box-shadow: 0 10px 30px -10px var(--red-hi), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .4), transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px var(--red-hi), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(255, 255, 255, .2); color: #fff; background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--red-hi); background: rgba(225, 6, 0, .12); }
.btn-dark { background: var(--bg); color: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--red); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem var(--font-body); letter-spacing: 3px; text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red-grad); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: box-shadow .4s, transform .5s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
/* El fondo con desenfoque va en una capa aparte: si estuviera en el header,
   el menú móvil (position: fixed) quedaría confinado a la altura del header */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(7, 8, 10, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: auto; height: 50px; filter: drop-shadow(0 4px 12px rgba(225, 6, 0, .35)); transition: transform .6s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.08) rotate(-4deg); }
.brand-text { font: 800 1.55rem/1 var(--font-head); text-transform: uppercase; letter-spacing: 1.5px; }
.brand-text small { display: block; font: 600 .6rem var(--font-body); letter-spacing: 3.5px; color: var(--red-hi); margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 30px; }
.menu > a:not(.btn) { position: relative; font-weight: 500; font-size: .95rem; color: #c9cbd0; transition: color .3s; }
.menu > a:not(.btn):not(.menu-phone)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--red-grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.menu > a:not(.btn):hover, .menu > a.is-active { color: #fff; }
.menu > a:hover::after, .menu > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-phone { display: flex; align-items: center; gap: 8px; font-weight: 600 !important; color: #fff !important; }
.menu-phone svg { width: 18px; height: 18px; color: var(--red-hi); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 16px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, #1a0405 0%, transparent 60%), var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(255, 42, 42, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 42, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  animation: grid-move 3s linear infinite;
  mask-image: linear-gradient(to top, #000 10%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%);
}
.hero-glow {
  position: absolute; width: 760px; height: 760px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(225, 6, 0, .32), transparent 62%);
  filter: blur(30px);
  animation: glow 7s ease-in-out infinite;
}
.hero-streaks i {
  position: absolute; left: 0; height: 1px; width: 35%;
  background: linear-gradient(90deg, transparent, var(--red-hi), transparent);
  opacity: 0; animation: streak 4.5s linear infinite;
}
.hero-streaks i:nth-child(1) { top: 22%; animation-delay: 0s; }
.hero-streaks i:nth-child(2) { top: 41%; animation-delay: 1.6s; width: 22%; }
.hero-streaks i:nth-child(3) { top: 63%; animation-delay: 2.7s; }
.hero-streaks i:nth-child(4) { top: 78%; animation-delay: .9s; width: 18%; }
.hero-streaks i:nth-child(5) { top: 12%; animation-delay: 3.4s; width: 25%; }

.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3rem, 6.2vw, 5.6rem); font-weight: 800; margin-bottom: 24px; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .06em 0; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 540px; font-size: 1.12rem; color: var(--muted); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.trust li {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03);
  font-size: .85rem; color: #cfd1d6;
}
.trust svg { width: 16px; height: 16px; color: var(--red-hi); }

/* Logo protagonista */
.hero-visual { display: grid; place-items: center; }
.logo-stage { position: relative; width: min(520px, 100%); aspect-ratio: 1; display: grid; place-items: center; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.logo-stage > * { grid-area: 1 / 1; }
.logo-ring {
  position: absolute; inset: 2%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 42, 42, .9) 88%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 8px var(--red-hi));
  animation: spin 5s linear infinite;
}
.logo-ring-2 {
  inset: 9%; background: none; filter: none;
  border: 1px dashed rgba(255, 255, 255, .14);
  -webkit-mask: none; mask: none;
  animation: spin-rev 40s linear infinite;
}
.logo-halo { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(225, 6, 0, .5), transparent 65%); filter: blur(30px); animation: breathe 4s ease-in-out infinite; }
.logo-wrap { position: relative; width: 80%; animation: float 6s ease-in-out infinite; }
.hero-logo { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 30px rgba(225, 6, 0, .25)); }
/* Destello de luz que recorre el logo (recortado a la forma del escudo) */
.logo-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  background-size: 300% 100%;
  -webkit-mask: url("../assets/logo.webp") center / contain no-repeat;
  mask: url("../assets/logo.webp") center / contain no-repeat;
  mix-blend-mode: overlay;
  animation: shine 5s ease-in-out infinite 1.5s;
}

/* Animación de entrada del hero */
.hero-anim { opacity: 0; transform: translateY(40px); }
.hero-title .hero-anim { transform: translateY(110%); opacity: 1; }
.hero-visual.hero-anim { transform: scale(.85); }
body.is-ready .hero-anim {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 20px; z-index: 2;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red-hi); animation: scroll-dot 1.8s infinite; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  padding: 18px 0; margin: -12px 0;
  background: var(--red-grad);
  box-shadow: 0 20px 50px -20px var(--red-glow);
  transform: rotate(-1.6deg) scale(1.03);
}
.marquee-track { display: flex; width: max-content; gap: 30px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font: italic 800 1.65rem var(--font-head); text-transform: uppercase; white-space: nowrap; letter-spacing: 1px; color: #fff; }
.marquee svg { width: 22px; height: 22px; color: rgba(0, 0, 0, .45); animation: spin 6s linear infinite; }

/* ---------- Secciones ---------- */
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 42, .5), transparent);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 68px; }
.section h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 36px 28px 30px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(225, 6, 0, .2), transparent 42%);
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service-card:hover { border-color: rgba(255, 42, 42, .45); box-shadow: 0 30px 60px -30px var(--red-glow); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card > * { position: relative; }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(225, 6, 0, .12); color: var(--red-hi); margin-bottom: 26px;
  border: 1px solid rgba(255, 42, 42, .2);
  transition: background .4s, color .4s, transform .6s var(--ease), box-shadow .4s;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--red-grad); color: #fff; transform: rotate(-8deg) scale(1.08); box-shadow: 0 10px 25px -8px var(--red-hi); }
.service-card h3 { font-size: 1.85rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.service-card ul { margin-bottom: 26px; }
.service-card li { display: flex; align-items: center; gap: 10px; font-size: .92rem; padding: 7px 0; color: #cfd1d6; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.service-card li:last-child { border-bottom: 0; }
.service-card li svg { width: 16px; height: 16px; color: var(--red-hi); flex: none; }
.service-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font: 700 1rem var(--font-head); letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-hi);
}
.service-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.service-link:hover svg { transform: translateX(5px); }
.service-num { position: absolute !important; top: 18px; right: 24px; font: 800 3.6rem/1 var(--font-head); color: rgba(255, 255, 255, .04); transition: color .4s; }
.service-card:hover .service-num { color: rgba(255, 42, 42, .16); }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-text > p { color: var(--muted); margin: 22px 0 36px; }

/* Tacómetro */
.gauge {
  position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1c1d22, #0b0c0e 70%);
  box-shadow: 0 0 0 10px #101115, 0 0 0 12px #2a2c33, 0 40px 80px -30px var(--red-glow), inset 0 0 60px rgba(0, 0, 0, .8);
}
.gauge svg { width: 100%; height: 100%; }
.gauge-track, .gauge-fill { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 377 503; transform: rotate(135deg); transform-origin: 100px 100px; }
.gauge-track { stroke: #202228; }
.gauge-fill { stroke: url(#g-red); stroke-dashoffset: 377; filter: drop-shadow(0 0 4px #ff2a2a); transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.gauge-ticks line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-linecap: round; }
.gauge-ticks line.major { stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.gauge-ticks line.hot { stroke: #ff2a2a; }
.gauge-needle { transform-origin: 100px 100px; rotate: -135deg; transition: rotate 2.4s cubic-bezier(.34, 1.36, .5, 1) .3s; }
.gauge-needle path { fill: #ff2a2a; filter: drop-shadow(0 0 4px #ff2a2a); }
.gauge-hub { fill: #2a2c33; stroke: #50535c; stroke-width: 1.5; }
.gauge-label { position: absolute; left: 0; right: 0; bottom: 21%; text-align: center; }
.gauge-label strong { display: block; font: 800 clamp(1.4rem, 3vw, 2rem)/1 var(--font-head); letter-spacing: 2px; text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gauge-label span { font: 600 .7rem var(--font-body); letter-spacing: 4px; text-transform: uppercase; color: var(--red-hi); }
.is-visible .gauge-fill { stroke-dashoffset: 34; }
.is-visible .gauge-needle { rotate: 110deg; }
.is-visible .gauge-needle path { animation: needle-idle 2.6s ease-in-out 2.8s infinite; transform-origin: 100px 100px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.feature { display: flex; gap: 16px; }
.feature-icon {
  width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: rgba(225, 6, 0, .12); color: var(--red-hi); border: 1px solid rgba(255, 42, 42, .2);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature:hover .feature-icon { background: var(--red-grad); color: #fff; transform: rotate(-8deg); }
.feature h3 { font-size: 1.3rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Proceso ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps-line { position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); }
.steps-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red-hi)); box-shadow: 0 0 10px var(--red-hi); transition: width 2s var(--ease) .2s; }
.steps.is-visible .steps-line i { width: 100%; }
.step { text-align: center; position: relative; }
.step-num {
  display: grid; place-items: center; margin: 0 auto 26px;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--red);
  font: 800 1.9rem var(--font-head); color: var(--red-hi);
  box-shadow: 0 0 0 8px var(--bg), 0 0 30px -8px var(--red-glow);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.step:hover .step-num { background: var(--red-grad); color: #fff; transform: scale(1.1); }
.step h3 { font-size: 1.65rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 240px; margin: 0 auto; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 130px; }
.cta-inner {
  position: relative; overflow: hidden;
  padding: 80px 48px; border-radius: 28px; text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .07) 0 14px, transparent 14px 28px),
    var(--red-grad);
  box-shadow: 0 40px 80px -30px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
  color: #fff;
}
.cta-inner h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 820px; margin: 0 auto 14px; position: relative; text-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.cta-inner p { font-weight: 500; font-size: 1.1rem; margin-bottom: 34px; position: relative; opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.cta-gear { position: absolute; width: 360px; height: 360px; right: -90px; top: -120px; color: rgba(0, 0, 0, .14); animation: spin 26s linear infinite; }
.cta-gear-2 { width: 200px; height: 200px; left: -60px; right: auto; top: auto; bottom: -70px; color: rgba(255, 255, 255, .1); animation: spin-rev 18s linear infinite; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 26px; margin-top: 38px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.ci { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(225, 6, 0, .12); color: var(--red-hi); border: 1px solid rgba(255, 42, 42, .2); transition: transform .4s var(--ease), background .4s, color .4s; }
.ci svg { width: 24px; height: 24px; }
.contact-list li:hover .ci { background: var(--red-grad); color: #fff; transform: rotate(-8deg); }
.contact-list strong { display: block; font: 700 1.15rem var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.contact-list a, .contact-list span { color: var(--muted); }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--red-hi); }

.contact-form {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 22px; padding: 40px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.contact-form::before {
  content: ""; position: absolute; left: 40px; right: 40px; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-hi), transparent);
}
.contact-form h3 { font-size: 2.1rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 8px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  font: 400 1rem var(--font-body);
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(225, 6, 0, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 6px; font-size: .72rem; color: var(--red-hi); letter-spacing: .5px; }
.field.has-error input, .field.has-error select { border-color: #ff4d4f; animation: shake .4s; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--muted); min-height: 1.4em; text-align: center; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 56px 0 40px; background: #050607; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 42, 42, .6), transparent); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--red-hi); }
.footer-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-phone svg { width: 18px; height: 18px; color: var(--red-hi); }
.footer p { color: #8a8d95; font-size: .85rem; width: 100%; text-align: center; padding-top: 26px; border-top: 1px solid var(--border); }
.footer .credits { padding-top: 0; border-top: 0; margin-top: -12px; font-size: .8rem; }
.credits a { position: relative; color: #a9acb3; font-weight: 600; transition: color .3s; }
.credits a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--red-hi); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.credits a:hover { color: #fff; }
.credits a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Botones flotantes ---------- */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ring 2.4s infinite; z-index: -1; }
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp:hover { transform: scale(1.1) rotate(-6deg); }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: #fff;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background .3s;
}
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); border-color: var(--red); }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
/* La tarjeta con efecto tilt controla su propio transform tras aparecer */
.service-card.reveal.is-visible { transition: opacity 1s var(--ease) var(--d, 0s), transform .4s var(--ease), border-color .4s, box-shadow .4s; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes glow { 0%, 100% { opacity: .8; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(-30px, 20px); } }
@keyframes shine { 0% { background-position: 150% 0; } 45%, 100% { background-position: -50% 0; } }
@keyframes streak { 0% { transform: translateX(-100%); opacity: 0; } 10% { opacity: .45; } 60% { opacity: .25; } 100% { transform: translateX(380%); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grid-move { to { background-position: 0 64px; } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes needle-idle { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-2.5deg); } 60% { transform: rotate(1.5deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-phone { display: none; }
}

@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero-visual { order: -1; }
  .logo-stage { width: min(340px, 82vw); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust { justify-content: center; }
  .scroll-hint { display: none; }
  .about, .contact { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .steps-line { display: none; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px;
    background: radial-gradient(circle at 50% 30%, #1d0405, rgba(7, 8, 10, .98) 70%);
    backdrop-filter: blur(10px);
    clip-path: circle(0% at calc(100% - 42px) 39px);
    transition: clip-path .7s var(--ease);
  }
  .menu.is-open { clip-path: circle(150% at calc(100% - 42px) 39px); }
  .menu > a:not(.btn) { font: 800 2.3rem var(--font-head); text-transform: uppercase; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
  .menu .menu-phone { display: flex; font: 600 1.1rem var(--font-body) !important; text-transform: none; }
  .menu .menu-cta { padding: 15px 34px; font-size: 1rem; margin-top: 8px; }
  .menu.is-open > a { opacity: 1; transform: none; }
  .menu.is-open > a:nth-child(1) { transition-delay: .15s; }
  .menu.is-open > a:nth-child(2) { transition-delay: .2s; }
  .menu.is-open > a:nth-child(3) { transition-delay: .25s; }
  .menu.is-open > a:nth-child(4) { transition-delay: .3s; }
  .menu.is-open > a:nth-child(5) { transition-delay: .35s; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 90px 0; }
  .brand-logo { height: 42px; }
  .brand-text { font-size: 1.35rem; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-actions .btn { width: 100%; }
  .trust { margin-top: 32px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 20px; }
  .cta { padding-bottom: 90px; }
  .cta-inner { padding: 60px 22px; }
  .cta-actions .btn { width: 100%; }
  .footer { padding-bottom: 160px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Respeta a usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
}
