/* =============================================================
   MOBILE HOUSE — styles.css
   Tech comercial futurista: azul eléctrico + negro + blanco,
   glow con moderación, tipografía gruesa/condensada, precio protagonista.
   ============================================================= */

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

:root {
  /* Palette — Manual de Estilo Mobile House: 70% azul / 15% negro / 10% blanco / 5% acentos */
  --bg:        #05070d;
  --bg-2:      #0a0f1c;
  --panel:     #0d1526;
  --panel-2:   #111c33;
  --line:      rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.18);

  --white:     #f5f8ff;
  --ink-mute:  rgba(245,248,255,0.68);
  --ink-dim:   rgba(245,248,255,0.42);

  --blue:      #0062ff;   /* azul eléctrico principal */
  --blue-2:    #2f8dff;
  --blue-deep: #0034a3;
  --cyan:      #22d3ff;   /* acento luminoso */
  --glow:      rgba(0, 98, 255, 0.55);
  --glow-cyan: rgba(34, 211, 255, 0.45);

  --gradient-1: #0062ff;
  --gradient-2: #22d3ff;
  --gradient-3: #0b1c4a;

  --success:   #22c55e;

  --display: "Rajdhani", "Inter", sans-serif;
  --accent-font: "Orbitron", "Rajdhani", 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);

  --container: 1240px;
  --nav-h: 76px;
}

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.01em; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
::selection { background: var(--blue); color: var(--white); }

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

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

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

.section { position: relative; padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-inner { position: relative; z-index: 2; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--accent-font);
  font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-top: .6rem; }
.section-head p { color: var(--ink-mute); margin-top: .9rem; font-size: 1.05rem; max-width: 52ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; } /* defensive: never let split-text hide parent */

/* Diagonal panel divider used between sections */
.diagonal-divider {
  position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; z-index: 1;
  overflow: hidden;
}
.diagonal-divider.top { top: -1px; }
.diagonal-divider.bottom { bottom: -1px; transform: scaleY(-1); }
.diagonal-divider svg { width: 100%; height: 100%; display: block; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--display);
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 10px;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transition-duration: .12s; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 16px 40px -14px var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 22px 50px -12px var(--glow), 0 0 30px var(--glow-cyan); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--white);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 24px var(--glow-cyan); transform: translateY(-3px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: var(--white);
  box-shadow: 0 16px 40px -14px rgba(37,211,102,.55);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -12px rgba(37,211,102,.65); }

.btn-block { width: 100%; }

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

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,7,13,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 34px; width: auto; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; }
.brand-word em { color: var(--blue-2); font-style: normal; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative;
  font-family: var(--display); font-weight: 600; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: .3rem 0;
  transition: color .3s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-actions .btn { padding: .68rem 1.25rem; font-size: .82rem; display: none; }
@media (min-width: 640px) { .nav-actions .btn { display: inline-flex; } }

.hamburger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  border: 1px solid var(--line-strong);
}
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger-lines { position: relative; width: 18px; height: 12px; }
.hamburger-lines span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--white);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-lines span:nth-child(3) { bottom: 0; }
.hamburger.is-open .hamburger-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.is-open .hamburger-lines span:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(5,7,13,0.98);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile-inner { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.nav-mobile a { font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; }
.nav-mobile a:hover { color: var(--cyan); }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
}

.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
}

/* Darkens the left side (where the copy sits) and fades toward the product
   photo on the right; also fades top/bottom into the nav and the next section. */
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,7,13,.55) 0%, transparent 18%, transparent 68%, var(--bg) 100%),
    linear-gradient(100deg, var(--bg) 0%, rgba(5,7,13,.93) 30%, rgba(5,7,13,.66) 50%, rgba(5,7,13,.28) 68%, transparent 88%);
}

/* Subtle interactive glow that tracks the cursor, layered above the photo */
.hero-gradient {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle 520px at var(--mx, 25%) var(--my, 35%), rgba(34,211,255,.28) 0%, transparent 70%);
  mix-blend-mode: screen;
}

.hero-layout {
  display: flex; flex-direction: column;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-layout { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}

.hero-content { position: relative; z-index: 2; max-width: 780px; padding-block: 3rem 2.5rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--accent-font); font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan);
  padding: .5rem .9rem; border: 1px solid rgba(34,211,255,.35); border-radius: 100px;
  background: rgba(34,211,255,.06);
  margin-bottom: 1.6rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.hero-title {
  font-size: clamp(2.9rem, 9vw, 6rem);
  line-height: .96;
}
.hero-title .line { display: block; }
.hero-title .glow-text {
  background: linear-gradient(120deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(34,211,255,.35));
}

.hero-sub { margin-top: 1.6rem; font-size: 1.15rem; color: var(--ink-mute); max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-trust {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  max-width: 780px;
}
@media (min-width: 640px) { .hero-trust { grid-template-columns: repeat(4, 1fr); } }
.hero-trust-item { display: flex; align-items: center; gap: .65rem; }
.hero-trust-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--cyan); }
.hero-trust-item span { font-size: .82rem; color: var(--ink-mute); font-weight: 500; line-height: 1.25; }

.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--ink-dim); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-family: var(--accent-font);
}
@media (min-width: 720px) { .hero-scroll-cue { display: flex; } }
.hero-scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--cyan), transparent); animation: scrollCue 2.2s var(--ease-soft) infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   7. Category quick-nav
   ============================================================= */
.cat-strip { position: relative; padding-block: 2.6rem; border-block: 1px solid var(--line); background: var(--bg-2); }
.cat-strip-track {
  display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem;
}
.cat-strip-track::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.3rem;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--panel);
  font-family: var(--display); font-weight: 600; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-soft), color .3s;
  color: var(--ink-mute);
}
.cat-chip svg { width: 20px; height: 20px; color: var(--blue-2); transition: color .3s; }
.cat-chip:hover, .cat-chip.is-active {
  color: var(--white); border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 22px var(--glow-cyan);
  transform: translateY(-2px);
}
.cat-chip:hover svg, .cat-chip.is-active svg { color: var(--cyan); }

/* =============================================================
   8. Product / placeholder cards
   ============================================================= */
.cat-panel { padding-top: 2.75rem; }
.cat-panel:not(:first-of-type) { border-top: 1px solid var(--line); }
.cat-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.cat-panel-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cat-panel-count { font-family: var(--accent-font); font-size: .75rem; letter-spacing: .12em; color: var(--ink-dim); text-transform: uppercase; }

.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }

.product-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-soft), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.product-card:hover { transition-duration: .15s; border-color: rgba(34,211,255,.4); box-shadow: 0 26px 60px -24px var(--glow), 0 0 0 1px rgba(34,211,255,.2) inset; }
.product-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(34,211,255,.18), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.product-card:hover::before { opacity: 1; }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px);
  border-bottom: 1px dashed var(--line);
  color: var(--ink-dim);
  overflow: hidden;
}
.product-media svg { width: 34%; height: 34%; opacity: .5; }
.product-media img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 9%;
  transition: transform .6s var(--ease-soft);
}
.product-card:hover .product-media img { transform: scale(1.06); }

/* Once a real photo is loaded, swap the dashed placeholder look for a solid card */
.product-media:has(img) { background: var(--bg-2); border-bottom-style: solid; }
.product-card:has(.product-media img) { border-style: solid; border-color: var(--line); }
.product-card:has(.product-media img):hover { border-color: rgba(34,211,255,.45); }

.product-body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-badge {
  align-self: flex-start;
  font-family: var(--accent-font); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); background: rgba(34,211,255,.08); border: 1px solid rgba(34,211,255,.3);
  padding: .3rem .6rem; border-radius: 100px;
}
.product-name { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink-mute); text-transform: none; letter-spacing: 0; }
.product-avail { font-size: .76rem; color: var(--ink-dim); line-height: 1.35; }
.product-price-row { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; }
.product-price-skeleton {
  font-family: var(--accent-font); font-weight: 700; font-size: 1.05rem; color: var(--ink-dim);
  letter-spacing: .04em;
}

/* Real price style — ready for when products are loaded (price as graphic hero, per manual §6) */
.price-tag {
  font-family: var(--accent-font); font-weight: 700; font-size: 1.35rem;
  color: var(--white);
  text-shadow: 0 0 18px var(--glow-cyan), 0 0 2px rgba(255,255,255,.6);
}

/* Product has a photo but no confirmed price yet — send the lead to WhatsApp instead */
.price-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--cyan);
  transition: opacity .3s;
}
.price-cta::after { content: "→"; transition: transform .3s var(--ease-out); }
.price-cta:hover { opacity: .75; }
.price-cta:hover::after { transform: translateX(3px); }

/* =============================================================
   9. Combos
   ============================================================= */
/* Combos reuse .product-card / .product-media / .product-body — same grid, just 3 columns on desktop */
.combo-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 720px) { .combo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .combo-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   10. Location
   ============================================================= */
.location-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: stretch;
}
@media (min-width: 900px) { .location-grid { grid-template-columns: 1.05fr .95fr; } }

.location-card {
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, var(--panel), var(--bg-2));
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.6rem;
  position: relative; overflow: hidden;
}
.location-card::after {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,98,255,.25), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.location-row { display: flex; gap: 1rem; align-items: flex-start; }
.location-row svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--cyan); margin-top: .15rem; }
.location-row h4 { font-family: var(--display); font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .3rem; }
.location-row p { color: var(--ink-mute); font-size: .96rem; }
.location-row .placeholder-note { color: var(--ink-dim); font-style: italic; font-size: .85rem; margin-top: .25rem; }

.map-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background:
    linear-gradient(160deg, var(--bg-2), var(--panel)),
    repeating-linear-gradient(45deg, rgba(0,98,255,.06) 0 2px, transparent 2px 26px);
}
.map-embed {
  width: 100%; height: 100%; min-height: 320px; border: 0; display: block;
  filter: grayscale(.25) invert(.92) contrast(.92) brightness(.95) hue-rotate(180deg);
}

/* =============================================================
   11. Contact
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.contact-card {
  border-radius: 20px; border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden; isolation: isolate;
}
.contact-card svg.contact-icon { width: 34px; height: 34px; color: var(--cyan); }
.contact-card h3 { font-size: 1.25rem; }
.contact-card p { color: var(--ink-mute); font-size: .95rem; }
.contact-card p a { color: var(--cyan); font-weight: 600; transition: opacity .3s; }
.contact-card p a:hover { opacity: .75; }
.contact-card .placeholder-note { color: var(--ink-dim); font-style: italic; font-size: .85rem; }

.contact-card.primary {
  background: linear-gradient(155deg, rgba(37,211,102,.14), var(--panel) 55%);
  border-color: rgba(37,211,102,.3);
}
.contact-card.primary::after {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(37,211,102,.3), transparent 70%);
  filter: blur(36px); pointer-events: none;
}
.contact-card:not(.primary) { background: var(--panel); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer { position: relative; border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 320px; }
.footer-brand .brand img { height: 36px; }
.footer-brand p { color: var(--ink-dim); font-size: .9rem; }
.footer-col h5 { font-family: var(--display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { color: var(--ink-mute); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: .8rem; margin-top: .3rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: border-color .3s, color .3s, transform .3s var(--ease-soft);
  color: var(--ink-mute);
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .8rem; color: var(--ink-dim);
}

/* =============================================================
   13. Cursor glow (desktop only, subtle)
   ============================================================= */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,255,.10), transparent 70%);
  pointer-events: none; z-index: 5; will-change: transform;
  opacity: 0; transition: opacity .4s;
}
.cursor-glow.is-ready { opacity: 1; }
@media (hover: none), (max-width: 959px) { .cursor-glow { display: none; } }

/* =============================================================
   14. Responsive helpers
   ============================================================= */
@media (min-width: 1600px) {
  .container { max-width: 1360px; }
}

/* =============================================================
   15. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .line { animation: none; }
  .cursor-glow { transition: none; }
}
