/* ==========================================================================
   GRÚA PÉREZ TENERIFE — hoja de estilos principal
   Paleta: asfalto nocturno + amarillo de baliza + rojo de emergencia
   ========================================================================== */

:root{
  --bg-0:#0a0a0b;
  --bg-1:#141416;
  --bg-2:#1d1d20;
  --line:#2c2c30;
  --white:#f6f6f4;
  --gray:#a7a7ad;
  --yellow:#ffc72c;
  --yellow-deep:#f2a900;
  --red:#e2231a;
  --red-deep:#a8160f;
  --green-wa:#25d366;
  --green-wa-deep:#1ea952;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;

  --radius: 10px;
  --stripe: repeating-linear-gradient(135deg, var(--yellow) 0 22px, #111 22px 44px);
  --container: 1160px;
  --header-h: 96px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  overflow-x:hidden;
  background:var(--bg-0);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; letter-spacing:.5px; margin:0 0 .5em; line-height:1.05; text-transform:uppercase; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }
.visually-hidden{ position:absolute!important; width:1px;height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

::selection{ background:var(--yellow); color:#111; }

/* focus visibility (accessibility floor) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:3px solid var(--yellow); outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- hazard stripe divider (signature element) ---------- */
.hazard-strip{
  height:14px;
  background:var(--stripe);
  background-size:62px 62px;
}
.hazard-strip.thin{ height:8px; }

/* ---------- top bar ---------- */
.topbar{
  background:var(--bg-1);
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--gray);
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:6px; padding-bottom:6px; gap:10px; flex-wrap:wrap;
}
.topbar .badge-24{
  color:var(--yellow); font-weight:700; letter-spacing:.5px;
}
.topbar .top-phones{ display:flex; gap:16px; flex-wrap:wrap; }
.topbar a:hover{ color:var(--yellow); }

/* ---------- header / nav ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(10,10,11,.97);
  border-bottom:1px solid var(--line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.logo{
  display:flex; align-items:baseline; gap:8px;
  font-family:var(--font-display);
  font-size:26px;
  letter-spacing:.5px;
}
.logo .g1{ color:var(--white); }
.logo .g2{
  color:var(--yellow-deep);
  background:linear-gradient(180deg,var(--yellow) 0%, var(--yellow-deep) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.logo .tag{
  font-family:var(--font-body); font-size:11px; color:var(--red);
  border:1px solid var(--red); border-radius:20px; padding:2px 8px;
  font-weight:700; letter-spacing:.5px; text-transform:uppercase;
  align-self:center;
}

nav.main-nav ul{
  list-style:none; margin:0; padding:0; display:flex; gap:28px; align-items:center;
}
nav.main-nav a{
  font-weight:600; font-size:14.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--white);
}
nav.main-nav a:hover{ color:var(--yellow); }

.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  font-family:var(--font-body); font-weight:700; text-transform:uppercase; letter-spacing:.4px;
  border-radius:8px; padding:12px 20px; border:2px solid transparent; cursor:pointer;
  font-size:15px; transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-call{ background:var(--red); color:#fff; box-shadow:0 6px 0 var(--red-deep); }
.btn-call:hover{ background:#ff2a20; }
.btn-wa{ background:var(--green-wa); color:#06210f; box-shadow:0 6px 0 var(--green-wa-deep); }
.btn-wa:hover{ background:#2be875; }
.btn-outline{ background:transparent; border-color:var(--yellow); color:var(--yellow); }
.btn-outline:hover{ background:var(--yellow); color:#151517; }
.btn-sm{ padding:9px 14px; font-size:13px; }

.nav-cta{ display:flex; gap:10px; align-items:center; }

.burger{
  display:none; background:none; border:0; color:var(--white); font-size:26px; cursor:pointer; padding:4px 8px;
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:64px 0 84px;
  background:
    radial-gradient(1200px 420px at 15% -10%, rgba(255,199,44,.10), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 70%);
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero::after{
  content:"";
  position:absolute; inset:auto 0 0 0; height:6px;
  background:var(--stripe); background-size:48px 48px;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--red); font-weight:800; letter-spacing:1.2px; text-transform:uppercase; font-size:13px;
  margin-bottom:14px;
}
.eyebrow .dot{
  width:9px; height:9px; border-radius:50%; background:var(--red);
  box-shadow:0 0 0 0 rgba(226,35,26,.6);
  animation:pulse 1.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(226,35,26,.55); }
  70%{ box-shadow:0 0 0 10px rgba(226,35,26,0); }
  100%{ box-shadow:0 0 0 0 rgba(226,35,26,0); }
}
.hero h1{
  font-size:clamp(38px, 5.2vw, 64px);
  color:var(--white);
}
.hero h1 span{ color:var(--yellow); }
.hero .lead{
  color:var(--gray); font-size:18px; max-width:46ch; margin-bottom:26px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
.hero-trust{
  display:flex; gap:22px; flex-wrap:wrap; color:var(--gray); font-size:14px;
}
.hero-trust li{ list-style:none; display:flex; align-items:center; gap:8px; }
.hero-trust svg{ width:18px; height:18px; fill:var(--yellow); flex:none; }

.hero-media{
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(160deg,#1c1c1f,#0e0e10);
  padding:26px;
}
.hero-media .clock{
  display:flex; align-items:center; justify-content:center; gap:14px; text-align:center;
}
.hero-media .clock .num{
  font-family:var(--font-display); font-size:56px; color:var(--yellow); line-height:1;
}
.hero-media .clock .lbl{ font-size:13px; color:var(--gray); text-transform:uppercase; letter-spacing:1px; }
.hero-media .divider{ width:1px; height:52px; background:var(--line); }
.hero-media .phones{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.hero-media .phone-line{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:var(--bg-0); border:1px solid var(--line); border-radius:10px; padding:12px 16px;
}
.hero-media .phone-line strong{ font-size:19px; letter-spacing:.5px; }
.hero-media .phone-line small{ display:block; color:var(--gray); font-size:11px; text-transform:uppercase; letter-spacing:.6px; }

/* ---------- section shells ---------- */
section{ padding:76px 0; }
.section-head{ max-width:680px; margin:0 auto 44px; text-align:center; }
.section-head .eyebrow{ justify-content:center; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); }
.section-head p{ color:var(--gray); font-size:16.5px; }
.section-alt{ background:var(--bg-1); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* ---------- services ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.service-card{
  background:var(--bg-1);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 22px;
  transition:transform .15s ease, border-color .15s ease;
}
.service-card:hover{ transform:translateY(-4px); border-color:var(--yellow); }
.service-icon{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; background:var(--bg-2); border:2px solid var(--yellow);
}
.service-icon svg{ width:26px; height:26px; fill:var(--yellow); }
.service-card h3{ font-size:19px; margin-bottom:8px; }
.service-card p{ color:var(--gray); font-size:14.5px; margin:0; }

/* ---------- coverage ---------- */
.coverage-wrap{
  display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center;
}
.coverage-list{ columns:2; gap:24px; list-style:none; margin:0; padding:0; }
.coverage-list li{
  break-inside:avoid; margin-bottom:10px; display:flex; align-items:center; gap:8px; font-size:15px;
}
.coverage-list li::before{
  content:""; width:8px; height:8px; background:var(--yellow); border-radius:2px; flex:none;
}
.coverage-badge{
  background:var(--bg-1); border:1px solid var(--line); border-radius:14px; padding:34px;
  text-align:center;
}
.coverage-badge .big{ font-family:var(--font-display); font-size:30px; color:var(--yellow); }

/* ---------- trust bar ---------- */
.trust-bar{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
  padding:34px 0;
}
.trust-item{ display:flex; align-items:center; gap:12px; }
.trust-item svg{ width:30px; height:30px; fill:var(--yellow); flex:none; }
.trust-item strong{ display:block; font-size:15px; }
.trust-item span{ color:var(--gray); font-size:13px; }

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.testi-card{
  background:var(--bg-1); border:1px solid var(--line); border-radius:var(--radius); padding:24px;
}
.testi-stars{ color:var(--yellow); letter-spacing:2px; margin-bottom:10px; }
.testi-card p{ color:var(--white); font-size:15px; }
.testi-name{ color:var(--gray); font-size:13px; text-transform:uppercase; letter-spacing:.5px; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--red-deep), var(--red));
  border-radius:16px; padding:40px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  flex-wrap:wrap;
}
.cta-band h2{ font-size:clamp(24px,3vw,34px); margin-bottom:6px; }
.cta-band p{ color:#ffe2e0; margin:0; }
.cta-band .btn-call{ background:#111; box-shadow:0 6px 0 #000; }
.cta-band .btn-wa{ }

/* ---------- blog preview ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card{
  background:var(--bg-1); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column;
}
.blog-card .thumb{
  height:150px; background:linear-gradient(135deg,#222,#151517);
  display:flex; align-items:center; justify-content:center;
}
.blog-card .thumb svg{ width:44px; height:44px; fill:var(--yellow); opacity:.8; }
.blog-card .body{ padding:20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card .date{ color:var(--yellow); font-size:12px; text-transform:uppercase; letter-spacing:.6px; font-weight:700; }
.blog-card h3{ font-size:18px; text-transform:none; }
.blog-card p{ color:var(--gray); font-size:14px; margin:0; flex:1; }
.blog-card .readmore{ color:var(--yellow); font-weight:700; font-size:13.5px; text-transform:uppercase; margin-top:6px; }

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom:1px solid var(--line); padding:18px 0;
}
.faq-item summary{
  cursor:pointer; font-weight:700; font-size:16px; list-style:none; display:flex; align-items:center; justify-content:space-between;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; color:var(--yellow); font-size:22px; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ color:var(--gray); margin-top:10px; }

/* ---------- footer ---------- */
footer.site-footer{
  background:var(--bg-1); border-top:1px solid var(--line); padding-top:56px;
}
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:34px; padding-bottom:36px;
}
.footer-col h4{ font-size:14px; color:var(--yellow); text-transform:uppercase; letter-spacing:.6px; margin-bottom:14px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer-col a{ color:var(--gray); font-size:14.5px; }
.footer-col a:hover{ color:var(--yellow); }
.footer-col p{ color:var(--gray); font-size:14.5px; }
.footer-bottom{
  border-top:1px solid var(--line); padding:18px 0; display:flex; align-items:center; justify-content:space-between;
  color:var(--gray); font-size:13px; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:var(--gray); }
.footer-bottom a:hover{ color:var(--yellow); }
.credit{ color:var(--gray); }
.credit a{ color:var(--yellow); font-weight:700; }

/* ---------- floating buttons ---------- */
.float-actions{
  position:fixed; right:18px; bottom:18px; z-index:60; display:flex; flex-direction:column; gap:12px;
}
.float-btn{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,.4); border:none; cursor:pointer;
}
.float-btn.wa{ background:var(--green-wa); }
.float-btn.call{ background:var(--red); }
.float-btn svg{ width:26px; height:26px; fill:#fff; }

.mobile-call-bar{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:59;
  background:var(--bg-1); border-top:1px solid var(--line);
  padding:10px 14px; gap:10px;
}
.mobile-call-bar a{ flex:1; }

/* =========================== responsive =========================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .coverage-wrap{ grid-template-columns:1fr; }
  .trust-bar{ grid-template-columns:repeat(2,1fr); }
  .testi-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 720px){
  .container{ padding:0 22px; }
  .nav-row{ padding-left:4px; }
  .logo{ margin-left:6px; }
  .topbar .container{ justify-content:center; text-align:center; }
  nav.main-nav{
    position:fixed; top:var(--header-h, 96px); left:0; right:0; bottom:0;
    background:var(--bg-0); border-top:1px solid var(--line);
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto; -webkit-overflow-scrolling:touch; padding:24px 0;
  }
  nav.main-nav.open{ transform:translateX(0); }
  nav.main-nav ul{ flex-direction:column; align-items:flex-start; padding:0 24px; gap:0; }
  nav.main-nav li{ width:100%; border-bottom:1px solid var(--line); }
  nav.main-nav a{ display:block; padding:16px 0; }
  .nav-cta{ display:none; }
  .burger{ display:block; }
  body.nav-open{ overflow:hidden; }
  .services-grid, .testi-grid, .blog-grid{ grid-template-columns:1fr; }
  .coverage-list{ columns:1; }
  .footer-grid{ grid-template-columns:1fr; text-align:center; }
  .footer-col{ display:flex; flex-direction:column; align-items:center; }
  .footer-col .logo{ justify-content:center; margin-left:0; }
  .footer-col ul{ align-items:center; }
  .footer-bottom{ flex-direction:column; text-align:center; justify-content:center; }
  .cta-band{ flex-direction:column; text-align:center; }
  .float-actions{ display:none; }
  .mobile-call-bar{ display:flex; }
  body{ padding-bottom:70px; }
  section{ padding:52px 0; }
  .trust-bar{ grid-template-columns:1fr 1fr; }
}
