/* Site-wide styles (moved from the inline <style> of pages/home). */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg:        #071828;
  --bg2:       #0a1f38;
  --bg3:       #0d2648;
  --blue-card: #0c2240;
  --cyan:      #00c8ff;
  --cyan2:     #00e5ff;
  /* Darker than --cyan on purpose: white button labels need 4.5:1 contrast
     across the whole gradient, and #00c8ff only clears 1.96:1 with white. */
  --cyan-btn:  #007fa3;
  --gold:      #e8a020;
  --gold2:     #ffc840;
  --yellow:    #ffe033;
  --pink:      #ff4da6;
  --white:     #ddeeff;
  --muted:     #6fa0c8;
  --border:    rgba(0,200,255,0.16);
  --border2:   rgba(0,200,255,0.32);
}
html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--white); overflow-x:hidden; }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:#1a4a80; border-radius:3px; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:68px; padding:0 2.5rem;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(7,24,40,0.94); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}
.nav-logo-wrap { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-text { font-family:'Press Start 2P',monospace; font-size:9px; line-height:1.8; color:var(--cyan); }
.nav-logo-text em { color:var(--gold2); font-style:normal; display:block; }
.nav-links { display:flex; gap:2rem; }
.nav-links a { color:var(--muted); font-size:13px; font-weight:500; text-decoration:none; transition:color .2s; }
.nav-links a:hover { color:var(--cyan); }
.nav-links a.nav-new { color:var(--gold2); font-weight:700; }
/* 7 links + language + Instagram do not fit below ~1200px: tighten and drop the IG button (it is in the footer too). */
@media(max-width:1200px){ .nav-links { gap:1.1rem; } .nav-ig { display:none; } }
.nav-ig { display:flex; align-items:center; gap:7px; font-size:12px; font-weight:700; color:var(--gold2); border:1.5px solid var(--gold2); padding:8px 15px; border-radius:6px; text-decoration:none; transition:all .2s; }
.nav-ig:hover { background:var(--gold2); color:var(--bg); }

.nav-lang { display:flex; align-items:center; gap:4px; border:1px solid var(--border2); border-radius:6px; padding:3px; }
.nav-lang-link { font-family:'Press Start 2P',monospace; font-size:8px; color:var(--muted); text-decoration:none; padding:9px 9px; min-width:24px; min-height:24px; display:inline-flex; align-items:center; justify-content:center; border-radius:4px; transition:all .2s; }
.nav-lang-link:hover { color:var(--cyan); }
.nav-lang-link.on { background:var(--cyan); color:var(--bg); }
.mobile-lang { display:flex; gap:8px; margin-top:.5rem; }
.mobile-lang .nav-lang-link { border:1px solid var(--border2); }

/* ── HERO ── */
.hero {
  padding:112px 0 90px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  text-align:center; position:relative; overflow:hidden;
  background:radial-gradient(ellipse 120% 80% at 50% 40%, #0d3060 0%, #071828 60%);
}
.hero-dots { position:absolute; inset:0; pointer-events:none; background-image:radial-gradient(rgba(0,200,255,.1) 1px,transparent 1px); background-size:26px 26px; }
.hero-circuit {
  position:absolute; inset:0; pointer-events:none; opacity:.04;
  background-image:
    linear-gradient(rgba(0,200,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,1) 1px, transparent 1px);
  background-size:80px 80px;
}
.hero-gl { position:absolute; width:700px; height:700px; border-radius:50%; pointer-events:none; background:radial-gradient(circle,rgba(0,200,255,.07) 0%,transparent 65%); top:-10%; left:-15%; }
.hero-gr { position:absolute; width:500px; height:500px; border-radius:50%; pointer-events:none; background:radial-gradient(circle,rgba(232,160,32,.07) 0%,transparent 65%); bottom:0%; right:-5%; }

.hero-content {
  position:relative; z-index:2; max-width:1280px; width:100%; padding:2rem;
  display:grid; grid-template-columns:1.05fr 1fr; gap:2rem; align-items:center; text-align:left;
}
.hero-text { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }

/* Keeps the logo horizontally centered over the INSERT COIN tag, whichever is wider */
.hero-brand { display:flex; flex-direction:column; align-items:center; }

/* LOGO SVG */
.hero-logo { width:180px; height:auto; margin-bottom:2rem; filter:drop-shadow(0 0 30px rgba(0,200,255,.4)); animation:logoPulse 3s ease-in-out infinite; }
@keyframes logoPulse { 0%,100%{filter:drop-shadow(0 0 25px rgba(0,200,255,.35));} 50%{filter:drop-shadow(0 0 45px rgba(0,200,255,.6));} }

.hero-tag { font-family:'Press Start 2P',monospace; font-size:7px; color:var(--cyan); border:1px solid var(--border2); padding:8px 16px; border-radius:20px; letter-spacing:.18em; margin-bottom:1.5rem; background:rgba(0,200,255,.06); }
.hero-title { font-family:'Press Start 2P',monospace; font-size:clamp(16px,3vw,30px); line-height:1.6; margin-bottom:1.2rem; }
.hero-title .c { color:var(--cyan); }
.hero-title .y { color:var(--gold2); }
.hero-kicker { display:block; font-family:'Inter',sans-serif; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--cyan2); line-height:1.5; margin-bottom:.9rem; }
.hero-sub { font-size:16px; color:var(--muted); line-height:1.8; max-width:580px; margin:0 0 2.5rem; }
.hero-ctas { display:flex; gap:1rem; justify-content:flex-start; flex-wrap:wrap; }
.btn-main { font-family:'Press Start 2P',monospace; font-size:8px; padding:15px 26px; background:linear-gradient(135deg,var(--cyan-btn),#0070bb); color:#fff; border:none; border-radius:8px; cursor:pointer; text-decoration:none; transition:all .2s; letter-spacing:.04em; box-shadow:0 0 24px rgba(0,200,255,.3); }
.btn-main:hover { transform:translateY(-2px); box-shadow:0 0 40px rgba(0,200,255,.5); }
.btn-sec { font-size:14px; font-weight:600; padding:15px 26px; border:1.5px solid rgba(255,255,255,.2); color:var(--white); border-radius:8px; cursor:pointer; text-decoration:none; transition:all .2s; }
.btn-sec:hover { border-color:var(--cyan); color:var(--cyan); }
.hero-stats { display:flex; gap:2.4rem; justify-content:flex-start; margin-top:3.5rem; flex-wrap:wrap; }

/* HERO VISUAL — the "wow" arcade machine */
.hero-visual { position:relative; display:flex; align-items:center; justify-content:center; min-height:420px; }
.hero-visual-glow {
  position:absolute; inset:-15%; pointer-events:none; z-index:0;
  background:
    radial-gradient(circle at 38% 32%, rgba(255,45,170,.38) 0%, transparent 42%),
    radial-gradient(circle at 66% 62%, rgba(0,200,255,.4) 0%, transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(140,60,255,.28) 0%, transparent 45%);
  filter:blur(38px);
  animation: heroGlowPulse 4.5s ease-in-out infinite;
}
@keyframes heroGlowPulse { 0%,100%{opacity:.75; transform:scale(1);} 50%{opacity:1; transform:scale(1.05);} }
.hero-visual-ring {
  position:absolute; width:88%; padding-bottom:88%; border-radius:50%; pointer-events:none; z-index:0;
  border:1px dashed rgba(0,200,255,.25);
  animation: heroRingSpin 40s linear infinite;
}
@keyframes heroRingSpin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
.hero-machine {
  position:relative; z-index:1; width:100%; max-width:400px; height:auto;
  filter:drop-shadow(0 25px 50px rgba(0,0,0,.55)) drop-shadow(0 0 45px rgba(0,200,255,.28));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(-1.2deg);} 50%{transform:translateY(-18px) rotate(1.2deg);} }

/* Twinkling sparkles scattered across the whole hero */
.hero-spark { position:absolute; z-index:3; width:var(--sz,20px); height:var(--sz,20px); color:var(--sc,#00c8ff); pointer-events:none; opacity:0; animation:sparkTwinkle var(--sd,2.6s) ease-in-out infinite; animation-delay:var(--sdel,0s); }
.hero-spark::before,.hero-spark::after { content:''; position:absolute; top:50%; left:50%; background:linear-gradient(90deg,transparent,currentColor,transparent); border-radius:2px; }
.hero-spark::before { width:100%; height:3px; transform:translate(-50%,-50%); }
.hero-spark::after { width:3px; height:100%; transform:translate(-50%,-50%); }
.hero-spark i { position:absolute; inset:0; margin:auto; width:7px; height:7px; border-radius:50%; background:#fff; box-shadow:0 0 16px 4px currentColor; }
@keyframes sparkTwinkle { 0%,100%{opacity:0; transform:scale(.15) rotate(0deg);} 50%{opacity:1; transform:scale(1.15) rotate(20deg);} }
.stat-n { font-family:'Press Start 2P',monospace; font-size:17px; color:var(--cyan); }
.stat-l { font-size:11px; color:var(--muted); margin-top:5px; letter-spacing:.05em; }

/* ── SHARED ── */
.sec { padding:90px 2rem; }
.sec-max { max-width:1140px; margin:0 auto; }
.sec-head { text-align:center; margin-bottom:3.5rem; }
.sec-eye { font-family:'Press Start 2P',monospace; font-size:7.5px; color:var(--cyan); letter-spacing:.18em; margin-bottom:.8rem; }
.sec-h { font-family:'Rajdhani',sans-serif; font-size:clamp(26px,3.5vw,42px); font-weight:700; margin-bottom:.8rem; }
.sec-sub { color:var(--muted); font-size:15px; line-height:1.75; max-width:560px; margin:0 auto; }
.wave { height:1px; background:linear-gradient(90deg,transparent,var(--cyan),transparent); opacity:.2; }


/* ── MACHINES ── */
.machines-bg { background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.machines-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(255px,1fr)); gap:1.5rem; }
.mc { background:var(--blue-card); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:all .25s; position:relative; cursor:pointer; }
.mc:hover { border-color:var(--cyan2); transform:translateY(-5px); box-shadow:0 14px 44px rgba(0,200,255,.12); }
.mc-shine { position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--cyan),transparent); opacity:0; transition:.25s; }
.mc:hover .mc-shine { opacity:1; }
.mc-img { height:200px; display:flex; align-items:center; justify-content:center; background:rgba(0,200,255,.03); font-size:58px; position:relative; }
.mc-img-photo { max-width:74%; max-height:86%; object-fit:contain; filter:drop-shadow(0 10px 22px rgba(0,0,0,.5)); transition:transform .3s; }
.mc:hover .mc-img-photo { transform:scale(1.05); }
.mc-badge { position:absolute; top:12px; right:12px; font-family:'Press Start 2P',monospace; font-size:7px; padding:5px 10px; border-radius:20px; }
.bb { background:rgba(255,200,64,.12); color:var(--gold2); border:1px solid rgba(255,200,64,.35); }
.bn { background:rgba(255,77,166,.12); color:var(--pink); border:1px solid rgba(255,77,166,.35); }
.bp { background:rgba(0,200,255,.1); color:var(--cyan); border:1px solid var(--border2); }
.mc-body { padding:1.4rem; }
.mc-name { font-family:'Rajdhani',sans-serif; font-weight:700; font-size:20px; margin-bottom:6px; }
.mc-desc { color:var(--muted); font-size:13px; line-height:1.65; margin-bottom:1rem; }
.mc-specs { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:1rem; }
.stag { font-size:11px; color:var(--cyan); background:rgba(0,200,255,.08); border:1px solid var(--border); padding:3px 9px; border-radius:12px; }
.mc-price { font-family:'Press Start 2P',monospace; font-size:11px; color:var(--gold2); margin-bottom:1rem; }
.mc-btn { display:block; width:100%; text-align:center; padding:10px; border-radius:7px; border:1.5px solid var(--cyan); background:none; color:var(--cyan); font-size:13px; font-family:inherit; font-weight:600; cursor:pointer; text-decoration:none; transition:all .2s; }
.mc-btn:hover { background:var(--cyan); color:var(--bg); }
.mc-link { display:block; text-align:center; margin-top:.7rem; font-size:13px; color:var(--muted); text-decoration:none; }
.mc-link:hover { color:var(--cyan); }

/* ── MACHINE MODAL ── */
.machine-modal {
  position:fixed; inset:0; z-index:500; display:flex; align-items:center; justify-content:center; padding:2rem;
  background:rgba(4,10,20,.32); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:opacity .2s ease;
}
.machine-modal.open { opacity:1; visibility:visible; }
.machine-modal-inner {
  position:relative; display:inline-flex; flex-direction:column; align-items:center;
  max-width:min(480px,90vw); max-height:86vh;
  background:var(--blue-card); border:1px solid var(--border2); border-radius:20px;
  padding:1.6rem 1.6rem 1.3rem; box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:scale(.94); transition:transform .2s ease;
}
.machine-modal.open .machine-modal-inner { transform:scale(1); }
.machine-modal-inner img { max-width:100%; max-height:64vh; width:auto; object-fit:contain; border-radius:12px; display:block; }
.machine-modal-name { margin-top:1rem; font-family:'Press Start 2P',monospace; font-size:11px; color:var(--cyan); letter-spacing:.05em; text-align:center; }
.machine-modal-close {
  position:absolute; top:-18px; right:-18px; width:38px; height:38px; border-radius:50%;
  background:var(--bg2); border:1.5px solid var(--border2); color:var(--white);
  font-size:18px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.machine-modal-close:hover { background:var(--cyan); color:var(--bg); border-color:var(--cyan); }
.machine-modal-nav {
  position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%;
  background:var(--bg2); border:1.5px solid var(--border2); color:var(--white);
  font-size:22px; line-height:1; cursor:pointer; display:none; align-items:center; justify-content:center;
  transition:all .2s; z-index:2;
}
.machine-modal-nav:hover { background:var(--cyan); color:var(--bg); border-color:var(--cyan); }
.machine-modal-prev { left:-14px; }
.machine-modal-next { right:-14px; }
.machine-modal-inner.has-gallery .machine-modal-nav { display:flex; }
@media(max-width:600px){
  .machine-modal-close{top:-14px;right:0;}
  .machine-modal-prev{left:-8px;}
  .machine-modal-next{right:-8px;}
}

/* ── WHATSAPP FAB + MODAL ── */
.wa-fab {
  position:fixed; right:22px; bottom:22px; z-index:400;
  width:60px; height:60px; border-radius:50%;
  background:#25d366; color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 24px rgba(0,0,0,.35);
  animation:wa-pulse 2.4s ease-out infinite;
  transition:transform .2s;
}
.wa-fab:hover { transform:scale(1.08); }
.wa-fab svg { width:30px; height:30px; }
@keyframes wa-pulse {
  0%   { box-shadow:0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow:0 6px 24px rgba(0,0,0,.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow:0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-modal {
  position:fixed; inset:0; z-index:500; display:flex; align-items:center; justify-content:center; padding:2rem;
  background:rgba(4,10,20,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transition:opacity .2s ease;
}
.wa-modal.open { opacity:1; visibility:visible; }
.wa-modal-inner {
  position:relative; width:100%; max-width:380px; text-align:left;
  background:var(--blue-card); border:1px solid var(--border2); border-radius:20px;
  transform:scale(.94); transition:transform .2s ease;
  padding:1.8rem 1.6rem 1.6rem; box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.wa-modal.open .wa-modal-inner { transform:scale(1); }
.wa-modal-close {
  position:absolute; top:-18px; right:-18px; width:38px; height:38px; border-radius:50%;
  background:var(--bg2); border:1.5px solid var(--border2); color:var(--white);
  font-size:18px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.wa-modal-close:hover { background:var(--cyan); color:var(--bg); border-color:var(--cyan); }
.wa-modal-head { display:flex; align-items:center; gap:10px; margin-bottom:1.2rem; }
.wa-modal-head-icon { width:34px; height:34px; border-radius:50%; background:#25d366; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-modal-head-icon svg { width:20px; height:20px; }
.wa-modal-title { font-family:'Press Start 2P',monospace; font-size:10px; color:var(--cyan); line-height:1.5; }
.wa-modal-sub { font-size:12.5px; color:var(--muted); margin-bottom:1.2rem; line-height:1.5; }
.wa-modal-error { font-size:12px; color:var(--pink); margin:-6px 0 10px; display:none; }
.wa-modal-error.show { display:block; }
@media(max-width:600px){
  .wa-modal-close{top:-14px;right:0;}
}

/* ── THEMES ── */
.themes-bg { background:var(--bg3); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.themes-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1rem; }
.tc { background:var(--blue-card); border:1px solid var(--border); border-radius:12px; padding:1.5rem 1rem; text-align:center; cursor:pointer; transition:all .2s; }
.tc:hover { border-color:var(--cyan2); transform:translateY(-3px); }
.tc-static { cursor:default; }
.tc-static:hover { border-color:var(--border); transform:none; }
.tc-icon { font-size:32px; margin-bottom:.8rem; }
.tc-name { font-family:'Press Start 2P',monospace; font-size:7px; color:var(--cyan); line-height:1.6; }
.tc-desc { font-size:12px; color:var(--muted); margin-top:6px; line-height:1.5; }
.tc-btn { display:block; width:100%; margin-top:1rem; padding:8px; border-radius:7px; border:1.5px solid var(--cyan); background:none; color:var(--cyan); font-size:12px; font-family:inherit; font-weight:600; cursor:pointer; transition:all .2s; }
.tc-btn:hover { background:var(--cyan); color:var(--bg); }

/* ── GALLERY ── */
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.gi { border-radius:12px; overflow:hidden; background:var(--blue-card); border:1px solid var(--border); aspect-ratio:4/5; display:flex; align-items:center; justify-content:center; font-size:48px; cursor:pointer; transition:all .22s; position:relative; } .gi img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gi:hover { border-color:var(--cyan2); transform:scale(1.02); box-shadow:0 8px 30px rgba(0,200,255,.1); }
.gi-label { position:absolute; bottom:0; left:0; right:0; padding:10px 14px; background:linear-gradient(0deg,rgba(5,15,30,.92) 0%,transparent 100%); font-family:'Press Start 2P',monospace; font-size:7px; color:var(--cyan); letter-spacing:.07em; }
.gi-sub { position:absolute; top:10px; left:10px; font-size:11px; color:var(--muted); background:rgba(5,15,30,.75); padding:3px 9px; border-radius:10px; font-weight:500; }

/* ── WHY ── */
.why-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.4rem; }
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.4rem; }
.rv-card { background:var(--blue-card); border:1px solid var(--border); border-radius:14px; padding:1.8rem; transition:border-color .2s; }
.rv-card:hover { border-color:var(--cyan2); }
.rv-stars { color:var(--gold2); font-size:15px; letter-spacing:2px; margin-bottom:1rem; }
.rv-text { font-size:14px; line-height:1.7; color:var(--white); margin-bottom:1.2rem; }
.rv-original { font-size:11px; color:var(--muted); font-style:italic; margin:-0.8rem 0 1rem; }
.rv-author { font-family:'Rajdhani',sans-serif; font-weight:700; font-size:14px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rv-badge { font-family:'Inter',sans-serif; font-weight:500; font-size:10.5px; color:var(--muted); border:1px solid var(--border2); border-radius:5px; padding:2px 7px; }
.rv-cta { color:var(--cyan); font-size:13px; font-weight:600; text-decoration:none; }
.rv-cta:hover { text-decoration:underline; }
.repair-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.4rem; margin-top:2.6rem; }
.rs-item { text-align:center; padding:0 .5rem; }
.rs-n { width:36px; height:36px; margin:0 auto .9rem; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(0,200,255,0.12); border:1px solid var(--border2); color:var(--cyan); font-family:'Rajdhani',sans-serif; font-weight:700; font-size:16px; }
.rs-t { font-family:'Rajdhani',sans-serif; font-weight:700; font-size:16px; margin-bottom:5px; }
/* ── FAQ ── */
.faq-list { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:.8rem; }
.faq-item { background:var(--blue-card); border:1px solid var(--border); border-radius:14px; transition:border-color .2s; }
.faq-item:hover, .faq-item[open] { border-color:var(--cyan2); }
.faq-item summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.4rem; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:17px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; flex-shrink:0; color:var(--cyan); font-size:22px; line-height:1; transition:transform .2s; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item p { padding:0 1.4rem 1.2rem; color:var(--muted); font-size:14px; line-height:1.7; }
.rs-d { color:var(--muted); font-size:13px; line-height:1.6; }
.wc { background:var(--blue-card); border:1px solid var(--border); border-radius:14px; padding:1.8rem; transition:border-color .2s; }
.wc:hover { border-color:var(--cyan2); }
.wc-icon { font-size:28px; margin-bottom:1rem; }
.wc-t { font-family:'Rajdhani',sans-serif; font-weight:700; font-size:18px; margin-bottom:5px; }
.wc-d { color:var(--muted); font-size:13px; line-height:1.65; }

/* ── CONTACT ── */
.contact-wrap { max-width:720px; margin:0 auto; }
.ig-btn { display:inline-flex; align-items:center; gap:10px; background:rgba(232,160,32,.1); border:1.5px solid rgba(232,160,32,.4); color:var(--gold2); padding:14px 26px; border-radius:9px; font-size:15px; font-weight:700; text-decoration:none; margin:2rem 0; transition:all .2s; }
.ig-btn:hover { background:var(--gold2); color:var(--bg); }
.form-box { background:rgba(0,0,0,.28); border:1px solid var(--border); border-radius:18px; padding:2.2rem; text-align:left; }
.frow { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1rem; }
.fg { display:flex; flex-direction:column; gap:6px; margin-bottom:1rem; }
.fg label { font-size:11px; font-weight:600; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
.fg input,.fg textarea,.fg select { background:rgba(255,255,255,.04); border:1px solid var(--border); border-radius:8px; padding:12px 14px; color:var(--white); font-size:14px; font-family:'Inter',sans-serif; outline:none; transition:border-color .2s; }
.fg input:focus,.fg textarea:focus,.fg select:focus { border-color:var(--cyan); }
.fg select option { background:var(--bg); }
.fg textarea { resize:vertical; min-height:110px; }
.form-submit { width:100%; padding:14px; background:linear-gradient(135deg,var(--cyan-btn),#0070bb); color:#fff; border:none; border-radius:8px; cursor:pointer; font-family:'Press Start 2P',monospace; font-size:8px; transition:all .2s; box-shadow:0 0 18px rgba(0,200,255,.22); }
.form-submit:hover { transform:translateY(-1px); box-shadow:0 0 32px rgba(0,200,255,.45); }

/* ── FOOTER ── */
footer { padding:2.5rem 2rem; text-align:center; border-top:1px solid var(--border); }
.foot-logo-wrap { display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:1rem; }
.foot-sub { color:var(--muted); font-size:12px; }
.foot-sub a { color:var(--cyan); text-decoration:none; }
.foot-links { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem 1.4rem; margin:0 auto 1.2rem; max-width:760px; font-size:13px; }
.foot-links a { color:var(--white); text-decoration:none; opacity:.8; }
.foot-links a:hover { color:var(--cyan); opacity:1; }

@media(max-width:900px){
  .nav-links{display:none;}
  .frow{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .hero-content{grid-template-columns:1fr; text-align:center; gap:1rem;}
  .hero-text{align-items:center; position:relative; z-index:1;}
  .hero-logo{display:none;}
  .hero-sub{margin:0 auto 2.5rem;}
  .hero-ctas{justify-content:center;}
  .hero-stats{gap:1.5rem; justify-content:center;}
  /* Machine becomes a translucent backdrop behind the text instead of its own block */
  .hero-visual{ position:absolute; inset:0; z-index:0; min-height:0; margin:0; opacity:.22; pointer-events:none; }
  .hero-machine{max-width:300px; margin:0 auto;}
  .machines-grid{grid-template-columns:repeat(2,1fr);}
  .themes-grid{grid-template-columns:repeat(3,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:600px){
  /* NAV */
  nav{padding:0 1rem;}
  .nav-ig{font-size:10px;padding:6px 10px;}

  /* HERO */
  .hero-content{padding:1rem;}
  .hero-logo{width:120px;height:auto;}
  .hero-tag{font-size:6px;padding:6px 12px;letter-spacing:.1em;}
  .hero-title{font-size:14px;line-height:1.6;}
  .hero-sub{font-size:14px;}
  .hero-ctas{flex-direction:column;align-items:center;}
  .btn-main{font-size:7px;padding:13px 20px;width:100%;text-align:center;}
  .btn-sec{width:100%;text-align:center;padding:13px 20px;}
  .hero-stats{gap:1rem;justify-content:space-around;}
  .stat-n{font-size:14px;}
  .stat-l{font-size:10px;}

  /* SECTIONS */
  .sec{padding:60px 1rem;}
  .sec-h{font-size:24px;}
  .sec-eye{font-size:6px;}
  .sec-sub{font-size:14px;}

  /* MACHINES */
  .machines-grid{grid-template-columns:1fr;}
  .mc-img{height:160px;}

  /* THEMES */
  .themes-grid{grid-template-columns:repeat(2,1fr);}
  .tc{padding:1.1rem .8rem;}
  .tc-icon{font-size:26px;}
  .tc-name{font-size:6px;}

  /* GALLERY */
  .gallery-grid{grid-template-columns:1fr;}
  .gi{aspect-ratio:4/3;}

  /* WHY */
  .why-grid{grid-template-columns:1fr;}

  /* CONTACT */
  .contact-wrap{padding:0;}
  .form-box{padding:1.2rem;}
  .ig-btn{font-size:13px;padding:12px 16px;text-align:center;}

  /* FOOTER */
  .foot-logo-wrap{flex-direction:column;gap:8px;}
}

@media(max-width:380px){
  .hero-title{font-size:12px;}
  .nav-ig{display:none;}
  .themes-grid{grid-template-columns:1fr;}
  .hero-stats{flex-wrap:wrap;gap:.8rem;}
  .hero-logo{width:140px;height:auto;}
}

  /* ── MOBILE NAV ── */
  .nav-burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
  .nav-burger span{display:block;width:22px;height:2px;background:var(--cyan);border-radius:2px;transition:all .25s;}
  .nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-burger.open span:nth-child(2){opacity:0;}
  .nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .mobile-menu{
    display:none;position:fixed;top:68px;left:0;right:0;z-index:199;
    background:rgba(7,24,40,0.98);backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    flex-direction:column;padding:1.5rem 2rem;gap:1.2rem;
  }
  .mobile-menu.open{display:flex;}
  .mobile-menu a{color:var(--white);text-decoration:none;font-size:16px;font-weight:500;padding:.5rem 0;border-bottom:1px solid var(--border);}
  .mobile-menu a:last-child{border-bottom:none;color:var(--gold2);}

  @media(max-width:600px){
    .nav-burger{display:flex;}
    .nav-ig{display:none;}
  }

  /* Blanket reduced-motion rule: collapses every infinite/decorative
     animation (hero float, glow pulses, sparks, configurator glow,
     modal transitions, etc.) to a single static frame, site-wide, for users
     who've asked for reduced motion. */
  @media (prefers-reduced-motion:reduce){
    *, *::before, *::after {
      animation-duration:.001ms !important;
      animation-iteration-count:1 !important;
      transition-duration:.001ms !important;
      scroll-behavior:auto !important;
    }
  }

  /* One visible focus ring for every keyboard-reachable element on the page,
     declared last so it wins over the `outline:none` on form inputs above.
     :focus-visible only fires for keyboard focus, so mouse clicks stay clean. */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
  select:focus-visible, [tabindex]:focus-visible {
    outline:2px solid var(--cyan2);
    outline-offset:2px;
    border-radius:4px;
  }

/* ── SERVICE PAGES (alquiler, reparación) ── */
.page-hero { padding:140px 2rem 80px; text-align:center; background:radial-gradient(ellipse 120% 80% at 50% 0%, #0d3060 0%, var(--bg) 65%); }
.crumbs { list-style:none; display:flex; justify-content:center; flex-wrap:wrap; gap:.5rem; margin-bottom:1.6rem; font-size:13px; color:var(--muted); }
.crumbs li + li::before { content:"›"; margin-right:.5rem; }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { color:var(--cyan); }
.page-h1 { font-family:'Press Start 2P',monospace; font-size:clamp(18px,3.4vw,32px); line-height:1.6; margin:0 auto 1.2rem; max-width:900px; }
.page-intro { color:var(--muted); font-size:16px; line-height:1.8; max-width:680px; margin:0 auto 2.2rem; }
.page-ctas { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.page-photos { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.page-photos figure { border-radius:12px; overflow:hidden; background:#000; border:1px solid var(--border); position:relative; aspect-ratio:4/5; }
.page-photos img { width:100%; height:100%; object-fit:cover; opacity:.92; }
.page-photos figcaption { position:absolute; left:0; right:0; bottom:0; padding:2.2rem 1rem .9rem; font-size:12px; font-weight:600; background:linear-gradient(transparent,rgba(0,0,0,.85)); }
.page-cta { text-align:center; }
.page-cta .sec-sub { margin-bottom:2rem; }
@media(max-width:700px){ .page-photos{ grid-template-columns:1fr; } .page-hero{ padding:110px 1.2rem 60px; } }

/* ── MODEL PAGES (maquinas/:slug) ── */
.model-hero { text-align:left; }
.model-hero .crumbs { justify-content:flex-start; }
.model-hero .page-h1, .model-hero .page-intro { margin-left:0; }
.model-hero .page-ctas { justify-content:flex-start; }
.model-hero-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:3rem; align-items:center; }
.model-hero-photo { display:flex; justify-content:center; }
.model-hero-photo img { max-width:100%; max-height:560px; object-fit:contain; filter:drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.model-price { font-family:'Press Start 2P',monospace; font-size:14px; color:var(--gold2); margin-bottom:.5rem; }
.model-price-note { color:var(--muted); font-size:12px; margin-bottom:2rem; }
.model-info { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.model-info .sec-h { margin-bottom:1.4rem; }
.model-specs { width:100%; border-collapse:collapse; font-size:14px; }
.model-specs th, .model-specs td { text-align:left; padding:.8rem .6rem; border-bottom:1px solid var(--border); vertical-align:top; }
.model-specs th { color:var(--muted); font-weight:500; width:38%; }
.model-included { list-style:none; display:flex; flex-direction:column; gap:.9rem; }
.model-included li { position:relative; padding-left:1.8rem; color:var(--white); font-size:14px; line-height:1.6; }
.model-included li::before { content:"✓"; position:absolute; left:0; color:var(--cyan); font-weight:700; }
.model-photos { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem; }
.model-photos figure { background:var(--blue-card); border:1px solid var(--border); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; }
.model-photos img { width:100%; aspect-ratio:3/4; object-fit:contain; padding:1rem; }
.model-photos figcaption { font-size:12px; color:var(--muted); padding:0 1rem 1rem; }
@media(max-width:900px){ .model-hero-grid, .model-info { grid-template-columns:1fr; } .model-hero-photo img { max-height:420px; } }

/* ── GUIDES (guias/) ── */
.guide-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.4rem; }
.guide-card { display:flex; flex-direction:column; background:var(--blue-card); border:1px solid var(--border); border-radius:14px; overflow:hidden; text-decoration:none; color:var(--white); transition:border-color .2s, transform .2s; }
.guide-card:hover { border-color:var(--cyan2); transform:translateY(-3px); }
.guide-card img { width:100%; aspect-ratio:16/10; object-fit:cover; background:#000; }
.guide-card-body { padding:1.2rem 1.3rem 1.4rem; }
.guide-card h3 { font-family:'Rajdhani',sans-serif; font-size:19px; line-height:1.3; margin-bottom:.5rem; }
.guide-card p { color:var(--muted); font-size:13px; line-height:1.6; }
.guide-hero { padding-bottom:40px; }
.guide-meta { color:var(--muted); font-size:13px; }
.guide-wrap { max-width:760px; margin:0 auto; padding:0 1.4rem 80px; }
.guide-figure { border-radius:14px; overflow:hidden; border:1px solid var(--border); background:#000; margin-bottom:2.4rem; }
.guide-figure img { width:100%; max-height:460px; object-fit:cover; display:block; }
.guide-body { font-size:16px; line-height:1.85; color:var(--white); }
.guide-body > * + * { margin-top:1.1rem; }
.guide-body h2 { font-family:'Rajdhani',sans-serif; font-size:27px; line-height:1.25; margin-top:2.4rem; color:#fff; }
.guide-body h3 { font-family:'Rajdhani',sans-serif; font-size:21px; margin-top:1.8rem; }
.guide-body p, .guide-body li { color:#c4d9ee; }
.guide-body ul, .guide-body ol { padding-left:1.3rem; }
.guide-body li + li { margin-top:.4rem; }
.guide-body strong { color:#fff; }
.guide-body a { color:var(--cyan); }
.guide-body table { width:100%; border-collapse:collapse; font-size:14px; }
.guide-body th, .guide-body td { text-align:left; padding:.7rem .6rem; border-bottom:1px solid var(--border); vertical-align:top; }
.guide-body th { color:var(--muted); font-weight:600; }
.guide-body .guide-answer { background:var(--blue-card); border-left:3px solid var(--cyan); border-radius:0 10px 10px 0; padding:1rem 1.2rem; }
.guide-cta { margin-top:3rem; background:var(--blue-card); border:1px solid var(--border2); border-radius:14px; padding:2rem; text-align:center; }
.guide-cta h2 { font-family:'Rajdhani',sans-serif; font-size:24px; margin-bottom:.4rem; }
.guide-cta p { color:var(--muted); margin-bottom:1.4rem; }
@media(max-width:700px){ .guide-body .guide-answer { padding:.9rem 1rem; } .guide-body table { font-size:13px; } }

/* ── ABOUT (quienes-somos) ── */
.about-people { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.5rem; }
.about-person { padding:2.2rem; }
.about-name { font-family:'Rajdhani',sans-serif; font-size:26px; margin-bottom:.2rem; }
.about-role { color:var(--gold2); font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; margin-bottom:1rem; }
.about-person .wc-d { font-size:15px; line-height:1.8; }
.about-story { display:grid; grid-template-columns:1fr 1.3fr; gap:3rem; align-items:center; }
.about-photo { border-radius:14px; overflow:hidden; border:1px solid var(--border); background:#000; aspect-ratio:4/5; }
.about-photo img { width:100%; height:100%; object-fit:cover; }
.about-p { color:#c4d9ee; font-size:16px; line-height:1.85; margin-bottom:1.2rem; }
.about-closing { font-family:'Rajdhani',sans-serif; font-size:24px; font-weight:700; line-height:1.35; color:#fff; border-left:3px solid var(--cyan); padding-left:1.2rem; margin:2rem 0 1rem; }
.about-welcome { color:var(--gold2); font-weight:600; margin-bottom:2rem; }
.home-about { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; background:var(--blue-card); border:1px solid var(--border2); border-radius:14px; padding:2rem 2.2rem; }
.home-about h2 { font-family:'Rajdhani',sans-serif; font-size:26px; margin-bottom:.4rem; }
.home-about p { color:var(--muted); font-size:15px; line-height:1.7; max-width:620px; }
@media(max-width:900px){ .about-story { grid-template-columns:1fr; } .about-photo { max-width:420px; } }
