/* TAXI BIRGI - Un servizio Liotta Taxi
   Palette dal biglietto da visita: rosso, giallo taxi, grigio */
:root{
  --red:#C8102E;
  --red-dark:#9B0C24;
  --yellow:#FFC20E;
  --ink:#24272B;
  --grey:#5B6068;
  --grey-light:#ECEDEF;
  --white:#fff;
  --radius:6px;
  --font-head:"Archivo Black","Arial Black",Impact,sans-serif;
  --font-body:"Barlow","Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);font-size:18px;line-height:1.55;color:var(--ink);background:var(--white);-webkit-text-size-adjust:100%}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.wrap{width:min(1120px,100% - 40px);margin-inline:auto}

h1,h2,h3{font-family:var(--font-head);font-weight:400;line-height:1.08;letter-spacing:-.01em}
h1{font-size:clamp(2.2rem,6vw,4.1rem)}
h2{font-size:clamp(1.7rem,4vw,2.6rem);margin-bottom:.6em}
h3{font-size:1.3rem;margin-bottom:.35em}
p{max-width:62ch}

/* striscia a scacchi: elemento distintivo dei taxi */
.checker{height:14px;background:repeating-conic-gradient(#15171a 0 25%,var(--yellow) 0 50%) 0 0/28px 28px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:var(--red);color:var(--white)}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.logo{text-decoration:none;line-height:1}
.logo-mark{font-family:var(--font-head);font-size:1.7rem;letter-spacing:.01em}
.logo-mark span{color:var(--yellow)}
.logo small{display:block;font-size:.8rem;font-weight:600;opacity:.92;margin-top:3px}
.main-nav{display:flex;align-items:center;gap:6px}
.main-nav a{text-decoration:none;font-weight:600;padding:8px 12px;border-radius:var(--radius)}
.main-nav a:hover,.main-nav a[aria-current="page"]{background:rgba(0,0,0,.2)}
.btn{display:inline-block;text-decoration:none;font-weight:700;font-size:1rem;padding:13px 22px;border-radius:var(--radius);border:2px solid transparent;cursor:pointer;font-family:var(--font-body);transition:background .15s,color .15s}
.btn-call{background:var(--yellow);color:var(--ink)}
.btn-call:hover{background:#ffd34d}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-dark)}
.btn-wa{background:#1FAF5A;color:var(--white)}
.btn-wa:hover{background:#178c47}
.btn-line{border-color:var(--white);color:var(--white)}
.btn-line:hover{background:var(--white);color:var(--ink)}
.header-call{padding:10px 16px}
.burger{display:none;background:none;border:2px solid var(--white);color:var(--white);font-size:1.4rem;line-height:1;width:44px;height:44px;border-radius:var(--radius);cursor:pointer}

/* hero */
.hero{position:relative;color:var(--white);background:
  linear-gradient(100deg,rgba(24,26,29,.88) 0%,rgba(24,26,29,.55) 45%,rgba(24,26,29,.08) 100%),
  url("images/taxi-tramonto.jpg") center/cover no-repeat,
  linear-gradient(135deg,#3b3f45,#1b1d20);}
.hero-in{padding:clamp(64px,12vw,140px) 0 clamp(56px,10vw,110px)}
.hero h1{max-width:15ch}
.hero p{font-size:1.2rem;margin-top:20px;max-width:46ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

/* fascia vantaggi */
.trust{background:var(--ink);color:var(--white)}
.trust ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr)}
.trust li{padding:20px 18px;border-left:4px solid var(--red);font-weight:600;line-height:1.3}
.trust li strong{display:block;font-family:var(--font-head);font-weight:400;font-size:1.1rem;color:var(--yellow);margin-bottom:2px}

section{padding:clamp(56px,8vw,96px) 0}
.alt{background:var(--grey-light)}
.lead{font-size:1.15rem;color:var(--grey);margin-bottom:32px}

/* elenco servizi a righe */
.rows{list-style:none;border-top:2px solid var(--ink)}
.rows li{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:12px 32px;padding:22px 0;border-bottom:1px solid #c6c8cc}
.rows h3{margin:0;font-size:1.35rem}
.rows p{color:var(--grey)}

/* due colonne con foto */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.photo{aspect-ratio:4/3;border-radius:var(--radius);background:
  url("images/taxi-porto.jpg") center/cover no-repeat,
  linear-gradient(135deg,var(--red),var(--red-dark));
  border-bottom:14px solid var(--yellow)}
.split p+p{margin-top:14px}

/* percorso: destinazioni */
.route{list-style:none;position:relative;margin-left:14px;padding-left:34px;border-left:6px solid var(--red)}
.route li{position:relative;padding:0 0 26px}
.route li::before{content:"";position:absolute;left:-47px;top:6px;width:20px;height:20px;border-radius:50%;background:var(--yellow);border:5px solid var(--red)}
.route li:first-child::before{background:var(--ink);border-color:var(--ink)}
.route h3{margin:0}
.route .t{font-weight:700;color:var(--red)}
.route p{color:var(--grey)}
.route li:last-child{padding-bottom:0}

/* motivi */
.reasons{list-style:none}
.reasons li{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:8px 32px;padding:26px 0;border-bottom:1px solid #c6c8cc}
.reasons li:first-child{border-top:2px solid var(--ink)}
.reasons h3{font-size:clamp(1.4rem,3vw,1.9rem);margin:0}
.reasons p{color:var(--grey)}

/* page head pagine interne */
.page-head{background:var(--ink);color:var(--white)}
.page-head .wrap{padding:clamp(40px,7vw,72px) 0}
.page-head p{margin-top:14px;font-size:1.15rem;color:#d4d6d9}

/* banda finale */
.cta-band{background:var(--yellow);color:var(--ink);text-align:left}
.cta-band .wrap{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
.cta-band h2{margin:0}
.cta-band .actions{display:flex;flex-wrap:wrap;gap:12px}
.cta-band .btn-red{border-color:var(--red)}

/* contatti */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(28px,5vw,64px);align-items:start}
.contact-list{list-style:none;margin:20px 0 28px}
.contact-list li{padding:14px 0;border-bottom:1px solid #c6c8cc}
.contact-list b{display:block;color:var(--grey);font-weight:600;font-size:.95rem}
.contact-list a{font-weight:700;font-size:1.25rem;text-decoration:none}
.contact-list a:hover{color:var(--red)}
form{background:var(--grey-light);padding:clamp(20px,4vw,34px);border-radius:var(--radius);border-top:8px solid var(--red)}
form h2{font-size:1.6rem}
label{display:block;font-weight:600;margin:14px 0 5px}
input,select,textarea{width:100%;font:inherit;padding:12px 14px;border:2px solid #b9bcc1;border-radius:var(--radius);background:var(--white);color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(200,16,46,.2)}
textarea{min-height:96px;resize:vertical}
.two{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
form .btn{margin-top:22px;width:100%}
.form-note{font-size:.92rem;color:var(--grey);margin-top:10px}
.map{margin-top:48px;border-radius:var(--radius);overflow:hidden;border-bottom:14px solid var(--yellow)}
.map iframe{width:100%;height:380px;border:0;display:block}
.card-photo{margin-top:28px}
.card-photo img{border-radius:var(--radius);box-shadow:0 6px 24px rgba(0,0,0,.18)}

/* footer */
.site-footer{background:var(--ink);color:#d4d6d9;font-size:.98rem}
.footer-in{display:flex;flex-wrap:wrap;gap:24px 48px;justify-content:space-between;padding:40px 0}
.site-footer strong{color:var(--white);font-family:var(--font-head);font-weight:400}
.site-footer a{color:var(--yellow)}
.legal{border-top:1px solid #3b3f45;padding:16px 0;font-size:.88rem;color:#9ea2a8}

/* whatsapp fisso */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:60;width:60px;height:60px;border-radius:50%;background:#1FAF5A;display:grid;place-items:center;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.wa-float svg{width:32px;height:32px;fill:#fff}
.wa-float:hover{background:#178c47}

/* mobile */
@media (max-width:860px){
  .burger{display:block}
  .main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--red-dark);flex-direction:column;align-items:stretch;padding:10px 20px 18px;gap:2px}
  .main-nav.open{display:flex}
  .main-nav a{padding:13px 12px}
  .header-call{display:none}
  .header-in{position:relative}
  .trust ul{grid-template-columns:1fr 1fr}
  .rows li,.reasons li{grid-template-columns:1fr}
  .split,.contact-grid{grid-template-columns:1fr}
}
@media (max-width:520px){
  body{font-size:17px}
  .trust ul{grid-template-columns:1fr}
  .two{grid-template-columns:1fr}
  .hero-actions .btn{flex:1 1 100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.panorama{width:100%;height:auto;margin-top:28px;border-radius:var(--radius);border-bottom:14px solid var(--yellow)}
