/* =========================================================
   RentCarBilbao — design system
   Modeled on the Drovez template: bright white/light-gray canvas,
   black text, one indigo-blue accent, pill buttons, thin-bordered
   cards, circular arrow buttons, spec-sheet stat rows.
   ========================================================= */

:root{
  --ink:#0d0d10;
  --ink-soft:#53565f;
  --white:#ffffff;
  --bg-alt:#f6f7f9;
  --line:rgba(13,13,16,.10);
  --line-strong:rgba(13,13,16,.16);
  --accent:#415ff2;
  --accent-dark:#2c42d6;
  --accent-tint:#eef0fe;
  --gold:#f5b400;
  --footer-bg:#0a0a0c;
  --footer-text:rgba(255,255,255,.56);
  --footer-link:#cbb992;
  --shadow:0 16px 40px -18px rgba(13,13,16,.18);
  --shadow-lg:0 30px 70px -24px rgba(13,13,16,.28);
  --radius:14px;
  --maxw:1240px;
  --ease:cubic-bezier(.22,.8,.28,1);
  --font:'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono:'IBM Plex Mono', monospace;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font);margin:0;line-height:1.08;font-weight:800;letter-spacing:-.02em;}
p{margin:0;}
button{font-family:inherit;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
section{position:relative;}

::selection{background:var(--accent);color:var(--white);}

/* ---------- utility ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
  display:inline-block;
  font-weight:500;
}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal.is-visible{opacity:1;transform:translateY(0);}
.reveal-stagger > *{opacity:0;transform:translateY(20px);transition:opacity .6s var(--ease),transform .6s var(--ease);}
.reveal-stagger.is-visible > *{opacity:1;transform:translateY(0);}
.reveal-stagger.is-visible > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.is-visible > *:nth-child(2){transition-delay:.13s;}
.reveal-stagger.is-visible > *:nth-child(3){transition-delay:.21s;}
.reveal-stagger.is-visible > *:nth-child(4){transition-delay:.29s;}
.reveal-stagger.is-visible > *:nth-child(5){transition-delay:.37s;}
.reveal-stagger.is-visible > *:nth-child(6){transition-delay:.45s;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 24px;
  border-radius:100px;
  font-family:var(--font);
  font-size:.92rem;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .3s var(--ease),color .3s var(--ease);
  white-space:nowrap;
}
.btn svg{width:15px;height:15px;flex:none;}
.btn-primary{background:var(--accent);color:var(--white);box-shadow:0 12px 26px -10px rgba(65,95,242,.55);}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-2px);}
.btn-white{background:var(--white);color:var(--ink);}
.btn-white:hover{transform:translateY(-2px);box-shadow:var(--shadow);}
.btn-outline{background:transparent;color:var(--white);border-color:rgba(255,255,255,.55);}
.btn-outline:hover{background:rgba(255,255,255,.14);}
.btn-dark-outline{background:transparent;color:var(--ink);border-color:var(--line-strong);}
.btn-dark-outline:hover{border-color:var(--ink);}
.btn-block{width:100%;}

.arrow-btn{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line-strong);
  transition:background .3s var(--ease),transform .3s var(--ease),border-color .3s var(--ease);
}
.arrow-btn svg{width:15px;height:15px;}
a:hover .arrow-btn, button:hover .arrow-btn{background:var(--accent);border-color:var(--accent);transform:rotate(45deg);}
a:hover .arrow-btn svg, button:hover .arrow-btn svg{color:var(--white);}

/* ---------- header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:18px 0;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.site-header.is-scrolled{border-color:var(--line);box-shadow:0 6px 24px -18px rgba(13,13,16,.3);}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.brand{display:flex;align-items:center;gap:10px;}
.brand img{height:34px;width:auto;border-radius:6px;}
.brand-name{font-weight:800;font-size:1.12rem;color:var(--ink);letter-spacing:-.01em;}
.brand-name b{color:var(--accent);}

.main-nav{display:flex;align-items:center;gap:30px;}
.main-nav a{font-size:.92rem;font-weight:500;color:var(--ink);opacity:.78;transition:opacity .2s;}
.main-nav a:hover{opacity:1;}

.header-actions{display:flex;align-items:center;gap:14px;}
.lang-switch{position:relative;}
.lang-switch summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;
  font-size:.84rem;font-weight:600;color:var(--ink);
  border:1px solid var(--line-strong);padding:9px 14px;border-radius:100px;
}
.lang-switch summary::-webkit-details-marker{display:none;}
.lang-switch[open] summary{border-color:var(--accent);color:var(--accent);}
.lang-menu{
  position:absolute;top:calc(100% + 10px);right:0;background:var(--white);
  border-radius:12px;box-shadow:var(--shadow-lg);overflow:hidden;min-width:170px;border:1px solid var(--line);
}
.lang-menu a{
  display:flex;justify-content:space-between;gap:10px;padding:11px 16px;color:var(--ink);font-size:.86rem;font-weight:500;
  border-bottom:1px solid var(--line);
}
.lang-menu a:last-child{border-bottom:none;}
.lang-menu a:hover{background:var(--bg-alt);color:var(--accent);}
.lang-menu span{font-family:var(--font-mono);font-size:.7rem;color:#9a9ba3;}

.nav-toggle{display:none;background:none;border:none;color:var(--ink);cursor:pointer;padding:6px;}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:92vh;
  display:flex;align-items:center;
  padding-top:120px;padding-bottom:130px;
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:var(--hero-img);
  background-size:cover;background-position:center 38%;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(10,10,14,.12) 0%, rgba(10,10,14,.32) 55%, rgba(10,10,14,.72) 100%);
}
.hero .container{position:relative;z-index:2;}
.hero-copy{max-width:760px;margin:0 auto;text-align:center;}
.hero-copy .eyebrow{color:var(--white);opacity:.9;}
.hero-copy h1{
  color:var(--white);font-size:clamp(2.4rem,5.4vw,4rem);margin-top:16px;
}
.hero-copy p.lede{
  color:rgba(255,255,255,.9);font-size:1.1rem;max-width:560px;margin:20px auto 0;line-height:1.6;
}
.hero-actions{display:flex;gap:14px;justify-content:center;margin-top:30px;flex-wrap:wrap;}

/* widget card overlapping hero bottom */
.widget-wrap{position:relative;z-index:3;margin-top:-96px;}
.widget-card{
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:10px;max-width:920px;margin:0 auto;
}
.widget-inner{min-height:180px;}

/* ---------- trust strip ---------- */
.trust-strip{background:var(--white);padding:130px 0 50px;text-align:center;}
.trust-strip .eyebrow{display:block;margin-bottom:18px;}
.marquee{display:flex;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
.marquee-track{display:flex;gap:56px;align-items:center;animation:scroll-x 32s linear infinite;padding-right:56px;}
.marquee:hover .marquee-track{animation-play-state:paused;}
.marquee-track span{font-size:1.15rem;font-weight:800;color:#c7c9d1;white-space:nowrap;}
@keyframes scroll-x{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ---------- section headers ---------- */
.section-head{max-width:640px;margin-bottom:50px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(1.9rem,3.2vw,2.6rem);margin-top:14px;}
.section-head p{margin-top:14px;font-size:1.02rem;color:var(--ink-soft);line-height:1.6;}
.section-pad{padding:100px 0;}
.bg-alt{background:var(--bg-alt);}

/* ---------- stat / about block ---------- */
.about-block{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center;}
.about-figure{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;}
.about-figure img{width:100%;height:100%;object-fit:cover;}
.about-copy h2{font-size:clamp(1.8rem,2.8vw,2.3rem);}
.about-copy p{margin-top:16px;color:var(--ink-soft);line-height:1.7;font-size:1.02rem;}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 32px;margin-top:30px;}
.stat-grid dt{font-size:.88rem;font-weight:700;color:var(--ink);padding-bottom:10px;border-bottom:1px solid var(--line-strong);}
.stat-grid dd{margin:10px 0 0;color:var(--ink-soft);font-size:.94rem;}

/* ---------- numbered list + image (how it works) ---------- */
.list-feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:start;}
.list-feature-figure{border-radius:var(--radius);overflow:hidden;aspect-ratio:5/4;margin-bottom:8px;}
.list-feature-figure img{width:100%;height:100%;object-fit:cover;}
.num-row{display:flex;align-items:center;gap:22px;padding:22px 4px;border-bottom:1px solid var(--line);}
.num-row:first-child{border-top:1px solid var(--line);}
.num-row .n{font-family:var(--font-mono);font-size:.85rem;color:var(--accent);width:24px;flex:none;}
.num-row .t{flex:1;}
.num-row .t strong{display:block;font-size:1.05rem;font-weight:700;}
.num-row .t span{display:block;margin-top:5px;font-size:.9rem;color:var(--ink-soft);line-height:1.5;}
.list-feature-side{position:sticky;top:110px;}
.list-feature-side .btn{margin-top:22px;}

/* ---------- fleet grid (browse by car type) ---------- */
.fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.fleet-card{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1.05;box-shadow:var(--shadow);}
.fleet-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);}
.fleet-card:hover img{transform:scale(1.07);}
.fleet-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,8,10,.78) 0%,rgba(8,8,10,.06) 50%,transparent 72%);}
.fleet-body{position:absolute;left:18px;right:18px;bottom:18px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;}
.fleet-body h3{color:var(--white);font-size:1.15rem;}
.fleet-body .tag{display:block;font-family:var(--font-mono);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-bottom:6px;}
.fleet-arrow{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);flex:none;transition:background .3s,transform .3s;}
.fleet-card:hover .fleet-arrow{background:var(--accent);transform:rotate(45deg);border-color:var(--accent);}
.fleet-arrow svg{width:15px;height:15px;color:var(--white);}

/* ---------- amenities / benefits icon rows ---------- */
.amenities{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center;}
.amenity-rows{display:flex;flex-direction:column;gap:12px;}
.amenity-row{
  display:flex;align-items:center;gap:14px;padding:16px 18px;background:var(--bg-alt);border-radius:10px;
}
.amenity-row .ic{width:38px;height:38px;border-radius:9px;background:var(--white);display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 4px 10px -4px rgba(13,13,16,.15);}
.amenity-row .ic svg{width:18px;height:18px;color:var(--accent);}
.amenity-row strong{flex:1;font-size:.98rem;font-weight:700;}
.amenity-row svg.check{width:16px;height:16px;color:var(--accent);flex:none;}
.amenity-figures{display:grid;grid-template-columns:1fr 1fr;gap:16px;height:100%;}
.amenity-figures img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);}

/* ---------- editorial (airport / driving / day trips) ---------- */
.editorial{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center;}
.editorial.reverse{grid-template-columns:1.1fr .9fr;}
.editorial.reverse .editorial-figure{order:2;}
.editorial-figure{border-radius:var(--radius);overflow:hidden;aspect-ratio:5/4;}
.editorial-figure img{width:100%;height:100%;object-fit:cover;}
.editorial-copy h2{font-size:clamp(1.7rem,2.6vw,2.2rem);}
.editorial-copy p{margin-top:16px;color:var(--ink-soft);line-height:1.7;}
.tip-list{margin-top:24px;display:flex;flex-direction:column;gap:14px;}
.tip{display:flex;gap:12px;padding:16px 18px;background:var(--bg-alt);border-radius:10px;}
.tip svg{width:19px;height:19px;color:var(--accent);flex:none;margin-top:2px;}
.tip strong{display:block;font-size:.93rem;font-weight:700;margin-bottom:3px;}
.tip span{font-size:.87rem;color:var(--ink-soft);line-height:1.5;}

.route-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.route-chip{
  font-size:.82rem;font-weight:600;padding:10px 16px;border-radius:100px;
  border:1px solid var(--line-strong);background:var(--white);display:flex;align-items:center;gap:8px;
}
.route-chip b{color:var(--accent);}

/* ---------- testimonials ---------- */
.testi-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch;}
.testi-card{background:var(--white);border:1px solid var(--line-strong);border-radius:var(--radius);padding:36px;display:flex;flex-direction:column;justify-content:space-between;}
.testi-quote{font-size:2.6rem;color:var(--accent);line-height:1;margin-bottom:14px;font-weight:800;}
.testi-card p{color:var(--ink);line-height:1.7;font-size:1.08rem;font-weight:500;}
.testi-foot{display:flex;align-items:center;justify-content:space-between;margin-top:26px;}
.testi-person{display:flex;align-items:center;gap:12px;}
.testi-avatar{width:42px;height:42px;border-radius:50%;background:var(--accent-tint);color:var(--accent-dark);display:flex;align-items:center;justify-content:center;font-weight:800;}
.testi-person strong{display:block;font-size:.92rem;}
.testi-person span{font-size:.78rem;color:var(--ink-soft);}
.testi-stars{display:flex;gap:3px;}
.testi-stars svg{width:14px;height:14px;color:var(--gold);}
.testi-figure{border-radius:var(--radius);overflow:hidden;}
.testi-figure img{width:100%;height:100%;object-fit:cover;}

/* ---------- FAQ ---------- */
.faq-list{max-width:820px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:24px 4px;cursor:pointer;font-size:1.02rem;font-weight:700;
}
.faq-icon{width:26px;height:26px;border-radius:50%;border:1px solid var(--line-strong);flex:none;position:relative;}
.faq-icon::before,.faq-icon::after{content:"";position:absolute;background:var(--ink);transition:transform .3s var(--ease);}
.faq-icon::before{left:7px;right:7px;top:50%;height:1px;transform:translateY(-50%);}
.faq-icon::after{top:7px;bottom:7px;left:50%;width:1px;transform:translateX(-50%);}
.faq-item.is-open .faq-icon::after{transform:translateX(-50%) rotate(90deg);opacity:0;}
.faq-item.is-open .faq-icon{background:var(--accent);border-color:var(--accent);}
.faq-item.is-open .faq-icon::before,.faq-item.is-open .faq-icon::after{background:var(--white);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);}
.faq-a-inner{padding:0 4px 24px;color:var(--ink-soft);line-height:1.7;max-width:680px;}

/* ---------- final CTA (light, indigo tint) ---------- */
.final-cta{padding:110px 0;background:var(--accent-tint);text-align:center;}
.final-cta h2{font-size:clamp(2rem,3.8vw,2.9rem);max-width:720px;margin:16px auto 0;}
.final-cta p{color:var(--ink-soft);max-width:520px;margin:18px auto 0;font-size:1.02rem;}
.final-cta .cta-actions{display:flex;gap:14px;justify-content:center;margin-top:30px;flex-wrap:wrap;}

/* ---------- footer ---------- */
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:70px 0 28px;}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap;margin-bottom:50px;}
.footer-wordmark{font-size:2.2rem;font-weight:800;color:var(--white);letter-spacing:-.02em;display:flex;align-items:center;gap:12px;}
.footer-wordmark img{height:36px;width:auto;border-radius:6px;}
.footer-wordmark b{color:var(--accent);}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-col h4{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:20px;font-weight:700;}
.footer-col ul{display:flex;flex-direction:column;gap:12px;}
.footer-col a{font-size:.92rem;color:var(--footer-link);transition:opacity .25s;}
.footer-col a:hover{opacity:.7;}
.footer-disclosure{font-size:.78rem;color:rgba(255,255,255,.38);max-width:900px;margin-top:26px;line-height:1.6;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;flex-wrap:wrap;gap:14px;}
.footer-bottom p{font-size:.8rem;color:rgba(255,255,255,.4);}
.footer-langs{display:flex;gap:8px;flex-wrap:wrap;}
.footer-langs a{font-family:var(--font-mono);font-size:.74rem;border:1px solid rgba(255,255,255,.18);padding:6px 11px;border-radius:100px;color:rgba(255,255,255,.7);}
.footer-langs a.is-current{background:var(--accent);border-color:var(--accent);color:var(--white);}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .main-nav,.header-actions .lang-switch{display:none;}
  .nav-toggle{display:block;}
  .about-block,.list-feature,.amenities,.editorial,.editorial.reverse{grid-template-columns:1fr;gap:34px;}
  .editorial.reverse .editorial-figure{order:0;}
  .list-feature-side{position:static;}
  .fleet-grid{grid-template-columns:repeat(2,1fr);}
  .testi-split{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .footer-top{flex-direction:column;gap:20px;}
  .widget-wrap{margin-top:-70px;}
}
@media (max-width:640px){
  .container{padding:0 20px;}
  .section-pad{padding:70px 0;}
  .fleet-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  .amenity-figures{grid-template-columns:1fr;}
  .hero{min-height:auto;padding-bottom:100px;}
}

/* mobile nav drawer */
.mobile-nav{
  position:fixed;inset:0;background:var(--white);z-index:200;
  display:flex;flex-direction:column;padding:100px 32px 40px;
  transform:translateX(100%);transition:transform .45s var(--ease);
}
.mobile-nav.is-open{transform:translateX(0);}
.mobile-nav a{color:var(--ink);font-weight:700;font-size:1.5rem;padding:14px 0;border-bottom:1px solid var(--line);}
.mobile-nav .btn{margin-top:26px;}
.mobile-nav-close{position:absolute;top:26px;right:28px;background:none;border:none;color:var(--ink);cursor:pointer;}
.mobile-langs{display:flex;gap:10px;margin-top:26px;flex-wrap:wrap;}
.mobile-langs a{font-family:var(--font-mono);font-size:.8rem;border:1px solid var(--line-strong);border-radius:100px;padding:8px 14px;}

/* skip link */
.skip-link{position:absolute;left:-999px;top:0;background:var(--accent);color:var(--white);padding:12px 18px;z-index:999;}
.skip-link:focus{left:12px;top:12px;}
