/* ===== SPH Auto Parts — shared styles (About / Contact) ===== */
@font-face { font-family:'Space Grotesk'; src:url('fonts/SpaceGrotesk-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Estedad Latin'; src:url('fonts/EstedadLat-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Estedad Latin'; src:url('fonts/EstedadLat-600.woff2') format('woff2'); font-weight:600; font-display:swap; }

:root{
  --red:#D8232A; --red-hot:#EF3B41; --red-deep:#8F1216;
  --ink:#0E0F12; --ink-2:#141519; --panel:#191B20; --panel-2:#1F2127;
  --line:#2A2D35; --paper:#F5F3EF; --muted:#A6AAB4; --dim:#6E727C;
  --green:#1FAF54; --green-deep:#128C40; --gold:#F5B301;
  --radius:14px;
  --display:'Space Grotesk','Estedad Latin',system-ui,sans-serif;
  --body:'Estedad Latin',system-ui,sans-serif;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ background:var(--ink); color:var(--paper); font-family:var(--body); font-size:16.5px; line-height:1.7; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1120px; margin-inline:auto; padding-inline:20px; }
.checker{ height:8px; background:repeating-conic-gradient(rgba(245,243,239,.85) 0% 25%, transparent 0% 50%); background-size:16px 16px; opacity:.14; }
.speed{ display:inline-flex; gap:5px; align-items:center; }
.speed i{ width:22px; height:5px; background:var(--red); transform:skewX(-30deg); border-radius:1px; }
.speed i:nth-child(2){ width:14px; opacity:.75; } .speed i:nth-child(3){ width:8px; opacity:.5; }

/* header */
header{ position:sticky; top:0; z-index:50; background:rgba(14,15,18,.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; gap:14px; padding-block:10px; }
.logo-chip{ line-height:0; flex:none; display:inline-flex; }
.logo-chip:hover{ opacity:.85; }
.logo-chip img{ height:44px; width:auto; }
.nav .tagline{ font-size:.75rem; color:var(--muted); line-height:1.5; text-transform:uppercase; letter-spacing:.09em; }
.nav .grow{ flex:1; }
.nav-links{ display:none; gap:22px; font-size:.88rem; color:var(--muted); }
.nav-links a:hover{ color:var(--paper); } .nav-links a.on{ color:var(--paper); }
@media(min-width:920px){ .nav-links{ display:flex; } }
.nav-call{ display:none; align-items:center; gap:9px; background:linear-gradient(160deg, var(--red-hot), var(--red) 55%, var(--red-deep)); color:#fff; font-weight:600; border-radius:10px; padding:9px 18px; font-size:.95rem; box-shadow:0 4px 18px rgba(216,35,42,.35); }
.nav-call:hover{ filter:brightness(1.08); }
.nav-call .num{ font-family:var(--display); letter-spacing:.01em; } .num{ white-space:nowrap; }
@media(min-width:760px){ .nav-call{ display:inline-flex; } }
.nav-toggle{ display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid var(--line); border-radius:10px; color:var(--paper); background:transparent; flex:none; cursor:pointer; }
.nav-toggle svg{ display:block; }
@media(min-width:920px){ .nav-toggle{ display:none; } }
.mobile-menu{ display:none; border-top:1px solid var(--line); background:rgba(14,15,18,.98); }
.mobile-menu.open{ display:block; }
@media(min-width:920px){ .mobile-menu, .mobile-menu.open{ display:none; } }
.mobile-menu a{ display:block; padding:14px 20px; color:var(--paper); font-size:1rem; border-top:1px solid var(--line); }
.mobile-menu a:first-child{ border-top:0; }
.mobile-menu a:hover{ background:var(--ink-2); }

/* page hero */
.phero{ position:relative; border-bottom:1px solid var(--line); padding-block:54px 46px;
  background:linear-gradient(rgba(14,15,18,.55),rgba(14,15,18,.86)), radial-gradient(1100px 520px at 12% -60px, rgba(216,35,42,.18), transparent 60%); }
.phero .eyebrow{ display:inline-flex; align-items:center; gap:10px; color:var(--red-hot); font-weight:600; font-size:.8rem; text-transform:uppercase; letter-spacing:.14em; }
.phero h1{ font-family:var(--display); font-weight:700; font-size:clamp(1.9rem,5vw,3rem); line-height:1.12; margin-top:14px; letter-spacing:-.015em; text-wrap:balance; }
.phero h1 em{ font-style:italic; color:var(--red-hot); }
.phero .lead{ color:#C9CCD3; margin-top:14px; max-width:44em; font-size:1.05rem; }

/* sections */
section{ padding-block:52px; }
.sec-head{ margin-bottom:26px; }
.sec-head h2{ font-family:var(--display); font-weight:700; font-size:clamp(1.45rem,4vw,2.05rem); line-height:1.2; letter-spacing:-.01em; }
.sec-head .speed{ margin-bottom:10px; }
.sec-head p{ color:var(--muted); margin-top:10px; max-width:42em; }
.prose p{ color:var(--muted); margin-top:14px; text-align:justify; hyphens:auto; -webkit-hyphens:auto; }
.prose p b{ color:var(--paper); font-weight:600; }
.band{ background:var(--ink-2); border-block:1px solid var(--line); }

/* buttons */
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; align-items:stretch; }
.btn-call{ display:flex; align-items:center; justify-content:center; gap:12px; background:linear-gradient(165deg, var(--red-hot), var(--red) 50%, var(--red-deep)); border-radius:var(--radius); color:#fff; padding:15px 26px; min-height:58px; font-weight:600; font-size:1.05rem; box-shadow:0 10px 30px rgba(216,35,42,.4), inset 0 1px 0 rgba(255,255,255,.22); transition:transform .15s ease, filter .15s ease; }
.btn-call:hover{ transform:translateY(-2px); filter:brightness(1.07); }
.btn-call .num{ font-family:var(--display); font-size:1.22rem; letter-spacing:.01em; }
@media(max-width:479px){ .btn-call .call-label{ display:none; } }
.btn-wa{ display:flex; align-items:center; justify-content:center; gap:10px; background:var(--panel); border:1px solid #2b5a3c; color:#7CD9A0; border-radius:var(--radius); padding:15px 22px; min-height:58px; font-weight:600; font-size:.98rem; transition:border-color .15s ease, background .15s ease; }
.btn-wa:hover{ border-color:var(--green); background:#1a241d; }
.btn-ghost{ display:flex; align-items:center; justify-content:center; gap:10px; background:rgba(14,15,18,.55); border:1px solid rgba(245,243,239,.28); color:var(--paper); border-radius:var(--radius); padding:15px 24px; min-height:58px; font-weight:600; font-size:.98rem; transition:border-color .15s ease, background .15s ease; }
.btn-ghost:hover{ border-color:var(--paper); }
.btn-dir{ display:inline-flex; align-items:center; gap:9px; margin-top:16px; border:1px solid var(--line); border-radius:10px; padding:10px 18px; color:var(--paper); font-weight:600; font-size:.9rem; transition:border-color .15s ease; }
.btn-dir:hover{ border-color:var(--dim); }

/* trust / stars */
.trust{ display:flex; align-items:center; gap:10px; margin-top:20px; color:var(--muted); font-size:.9rem; flex-wrap:wrap; }
.trust b{ color:var(--paper); font-weight:600; }
.stars{ color:var(--gold); letter-spacing:2px; font-size:1rem; }
.stars-45{ position:relative; display:inline-block; color:rgba(245,243,239,.28); letter-spacing:2px; font-size:1rem; }
.stars-45 .fill{ position:absolute; top:0; left:0; bottom:0; width:92%; overflow:hidden; white-space:nowrap; color:var(--gold); }

/* cards / grids */
.card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card h3{ font-family:var(--display); font-weight:700; font-size:1.12rem; margin-bottom:14px; display:flex; align-items:center; gap:10px; }
.card h3 svg{ color:var(--red-hot); }
.hours{ width:100%; border-collapse:collapse; font-size:.95rem; }
.hours td{ padding-block:8px; border-bottom:1px dashed var(--line); }
.hours tr:last-child td{ border-bottom:0; }
.hours td:last-child{ text-align:right; color:var(--muted); font-family:var(--display); font-size:.9rem; }
.hours .closed td:last-child{ color:var(--red-hot); }
.addr{ font-size:1.02rem; line-height:1.75; }
.addr .street{ font-family:var(--display); color:var(--paper); }
.addr .hint{ color:var(--muted); font-size:.88rem; margin-top:6px; display:block; }
.map-embed{ margin-top:16px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.map-embed iframe{ width:100%; height:340px; border:0; display:block; }
.brands{ display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.brands li{ list-style:none; font-size:.8rem; font-weight:600; letter-spacing:.05em; color:var(--muted); background:var(--ink-2); border:1px solid var(--line); padding:6px 13px; border-radius:999px; font-family:var(--display); }

/* stats */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.stat{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:20px 14px; text-align:center; }
.stat b{ display:block; font-family:var(--display); font-weight:700; font-size:1.9rem; color:var(--paper); line-height:1.1; }
.stat span{ color:var(--muted); font-size:.82rem; }

/* two-col */
.two{ display:grid; gap:22px; align-items:center; }
@media(min-width:920px){ .two{ grid-template-columns:1fr 1fr; gap:44px; } }
.two.narrow{ align-items:center; }
@media(min-width:920px){ .two.narrow{ grid-template-columns:minmax(0,2fr) minmax(0,3fr); } }
.two img{ border-radius:var(--radius); border:1px solid var(--line); box-shadow:0 18px 50px rgba(0,0,0,.5); }
.visit{ display:grid; gap:14px; }
@media(min-width:760px){ .visit{ grid-template-columns:1fr 1fr; gap:16px; } }

/* footer */
footer{ padding:34px 0 120px; color:var(--muted); font-size:.82rem; }
@media(min-width:760px){ footer{ padding-bottom:44px; } }
.foot{ display:flex; flex-wrap:wrap; gap:18px; align-items:center; justify-content:space-between; }
.foot a:hover{ color:var(--paper); }
.foot-social{ display:inline-flex; gap:10px; }
.foot-social a{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--line); border-radius:10px; color:var(--muted); transition:color .15s ease, border-color .15s ease; }
.foot-social a:hover{ color:var(--paper); border-color:var(--dim); }

/* floating whatsapp + sticky call bar */
.fab{ position:fixed; z-index:60; right:16px; bottom:88px; display:flex; align-items:center; gap:10px; background:linear-gradient(160deg,#29C15E,var(--green) 60%,var(--green-deep)); color:#fff; font-weight:600; font-size:.9rem; border-radius:999px; padding:13px 19px; box-shadow:0 10px 28px rgba(18,140,64,.45); transition:transform .15s ease; }
.fab:hover{ transform:translateY(-2px); }
.fab svg{ flex:none; }
@media(min-width:760px){ .fab{ bottom:24px; } }
@media(max-width:759px){ .fab{ padding:15px; gap:0; } .fab .fab-label{ display:none; } }
.callbar{ position:fixed; z-index:60; inset-inline:0; bottom:0; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:rgba(14,15,18,.92); backdrop-filter:blur(10px); border-top:1px solid var(--line); }
.callbar a{ display:flex; align-items:center; justify-content:center; gap:11px; background:linear-gradient(165deg,var(--red-hot),var(--red) 50%,var(--red-deep)); border-radius:12px; color:#fff; min-height:54px; font-weight:600; font-size:1rem; box-shadow:0 6px 22px rgba(216,35,42,.4); }
.callbar .num{ font-family:var(--display); font-size:1.12rem; }
@media(min-width:760px){ .callbar{ display:none; } }

@media (prefers-reduced-motion: reduce){ *{ transition:none !important; } html{ scroll-behavior:auto; } }
