/* ============================================================
   Sawariya Automobile — Landing Page
   ============================================================ */

:root{
  --red:#e01a20;
  --red-dark:#9c0e15;
  --red-light:#ff2b32;
  --red-vivid:#ff6e74;
  --black:#0a0a0a;
  --ink:#121212;
  --ink-2:#1a1a1a;
  --ink-3:#222222;
  --grey:#999999;
  --grey-2:#c4c4c4;
  --line:#333333;
  --bg-soft:#f2f2f2;
  --white:#fff;
  --radius:12px;
  --maxw:1200px;
}

*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  background:var(--black);
  color:var(--white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p{margin:0;}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit;}
svg{display:block;}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.txt-red{color:var(--red-vivid);}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:60;
  padding:14px 0 0;
}
.header-inner{
  display:flex;
  align-items:flex-start;
  gap:28px;
}

.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.brand-mark{width:40px;height:40px;flex-shrink:0;}
.brand-mark svg{width:100%;height:100%;}
.brand-text{display:flex;flex-direction:column;line-height:1.15;}
.brand-text strong{font-size:19px;font-weight:700;letter-spacing:.2px;}
.brand-text small{font-size:12.5px;color:#d4d4d4;font-weight:400;}

.main-nav{
  display:flex;
  align-items:center;
  gap:26px;
  margin:8px 0 0 auto;
}
.main-nav a{
  font-size:13.5px;
  font-weight:500;
  color:#e8e8e8;
  padding-bottom:6px;
  position:relative;
  transition:color .2s;
}
.main-nav a:hover{color:var(--white);}
.main-nav a.active{color:var(--white);}
.main-nav a.active::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:0;
  height:2.5px;
  background:var(--red);
  border-radius:2px;
}

.header-cta{margin-left:auto;text-align:center;flex-shrink:0;}
.btn-phone{
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:var(--red);
  color:var(--white);
  font-size:15px;
  font-weight:700;
  padding:11px 20px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(224,26,32,.35);
  transition:background .2s, transform .2s;
}
.btn-phone:hover{background:var(--red-light);transform:translateY(-1px);}
.phone-ico{width:26px;height:26px;background:var(--white);border-radius:50%;display:grid;place-items:center;flex-shrink:0;}
.phone-ico svg{width:15px;height:15px;color:var(--red);}
.open-24{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:9px;
  font-size:12.5px;
  color:#d2d2d2;
}
.open-24 svg{width:14px;height:14px;}

.nav-toggle{display:none;flex-direction:column;gap:5px;padding:8px;margin-left:auto;}
.nav-toggle span{display:block;width:24px;height:2.5px;background:#fff;border-radius:2px;transition:.25s;}
.nav-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  min-height:640px;
  padding:112px 0 34px;
  background:
    radial-gradient(120% 90% at 62% 45%, #3a2022 0%, #180d0e 45%, #060606 100%),
    #060606;
  overflow:hidden;
}
/* Photo sits right-of-centre so the technician clears the headline,
   matching the reference composition. */
.hero-bg{position:absolute;top:0;bottom:0;right:0;left:20%;}
.hero-bg img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 42%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 100%);
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 22%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.2) 62%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 62%, rgba(0,0,0,.85) 100%);
}
.hero-inner{
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:48px;
  align-items:start;
}

.eyebrow{
  color:var(--red-vivid);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:1.4px;
  margin-bottom:10px;
}
.hero h1{
  font-size:60px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.5px;
  margin-bottom:16px;
  text-shadow:0 4px 24px rgba(0,0,0,.6);
}
.hero-sub{
  font-size:14px;
  color:#dcdcdc;
  line-height:1.55;
  margin-bottom:20px;
  max-width:320px;
}

.trust-pills{
  display:inline-flex;
  align-items:stretch;
  background:rgba(20,20,20,.72);
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  backdrop-filter:blur(6px);
  overflow:hidden;
  margin-bottom:22px;
}
.trust-pills li{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 16px;
  font-size:11.5px;
  font-weight:600;
  line-height:1.25;
  color:#f0f0f0;
}
.trust-pills li + li{border-left:1px solid rgba(255,255,255,.13);}
.trust-pills svg{width:19px;height:19px;color:var(--red);flex-shrink:0;}

.hero-actions{display:flex;align-items:stretch;gap:16px;flex-wrap:wrap;}
.btn-call{
  display:inline-flex;
  align-items:center;
  gap:11px;
  background:var(--red);
  padding:11px 22px;
  border-radius:9px;
  box-shadow:0 8px 24px rgba(224,26,32,.4);
  transition:background .2s, transform .2s;
}
.btn-call:hover{background:var(--red-light);transform:translateY(-2px);}
.call-ico{width:30px;height:30px;background:var(--white);border-radius:50%;display:grid;place-items:center;flex-shrink:0;}
.call-ico svg{width:16px;height:16px;color:var(--red);}
.call-txt{display:flex;flex-direction:column;line-height:1.2;}
.call-txt small{font-size:11.5px;opacity:.92;}
.call-txt strong{font-size:16px;font-weight:800;}

.hero-badges{
  display:flex;
  align-items:center;
  background:rgba(20,20,20,.72);
  border:1px solid rgba(255,255,255,.13);
  border-radius:9px;
  backdrop-filter:blur(6px);
  overflow:hidden;
}
.hero-badges li{
  display:flex;
  align-items:center;
  gap:9px;
  padding:14px 18px;
  font-size:12.5px;
  font-weight:500;
  color:#ededed;
  white-space:nowrap;
}
.hero-badges li + li{border-left:1px solid rgba(255,255,255,.13);}
.hero-badges svg{width:20px;height:20px;color:var(--red);flex-shrink:0;}

/* Booking card */
.booking-card{
  position:relative;
  background:#ffffff;
  border:1px solid #e2e2e2;
  border-radius:16px;
  padding:44px 22px 22px;
  margin-top:12px;
  text-align:center;
  box-shadow:0 22px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(224,26,32,.12);
}
.booking-badge{
  position:absolute;
  top:-24px;left:50%;
  transform:translateX(-50%);
  width:48px;height:48px;
  border-radius:50%;
  background:var(--red);
  display:grid;place-items:center;
  box-shadow:0 0 0 6px rgba(224,26,32,.2), 0 8px 20px rgba(224,26,32,.45);
}
.booking-badge svg{width:23px;height:23px;color:#fff;}
.booking-card h2{font-size:19.5px;font-weight:800;letter-spacing:.3px;margin-bottom:5px;color:#141414;}
.booking-sub{font-size:13.5px;color:#4a4a4a;margin-bottom:16px;}

.booking-form{display:flex;flex-direction:column;gap:12px;}
.field{position:relative;}
.field-ico{
  position:absolute;
  left:13px;top:50%;
  transform:translateY(-50%);
  width:17px;height:17px;
  color:#3a3a3a;
  pointer-events:none;
}
.field-ico svg{width:100%;height:100%;}
.field-caret{
  position:absolute;
  right:12px;top:50%;
  transform:translateY(-50%);
  width:17px;height:17px;
  color:#3a3a3a;
  pointer-events:none;
}
.field-caret svg{width:100%;height:100%;}
.field input,
.field select{
  width:100%;
  background:#f3f3f3;
  border:1.5px solid #b9b9b9;
  border-radius:7px;
  padding:13px 14px 13px 40px;
  font-size:15px;
  font-weight:500;
  color:#111111;
  font-family:inherit;
  outline:none;
  transition:border-color .2s, background .2s;
  appearance:none;
  -webkit-appearance:none;
}
.field select{padding-right:34px;cursor:pointer;}
.field select option{background:#fff;color:#111111;}
.field input::placeholder{color:#5c5c5c;}
.field select:invalid{color:#5c5c5c;}
.field input:focus,
.field select:focus{
  border-color:var(--red);
  background:#ffffff;
  box-shadow:0 0 0 3px rgba(224,26,32,.15);
}
.field input.error,
.field select.error{border-color:var(--red);box-shadow:0 0 0 2px rgba(224,26,32,.18);}

.btn-book{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  background:linear-gradient(180deg,var(--red) 0%,#c8161c 100%);
  color:#fff;
  font-size:14.5px;
  font-weight:700;
  padding:13px 16px;
  border-radius:8px;
  margin-top:4px;
  box-shadow:0 8px 22px rgba(224,26,32,.4);
  transition:filter .2s, transform .2s;
}
.btn-book:hover{filter:brightness(1.1);transform:translateY(-1px);}
.btn-book svg{width:17px;height:17px;}

.form-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:12.5px;
  font-weight:500;
  color:#4a4a4a;
  margin-top:10px;
}
.form-note svg{width:13px;height:13px;color:#4a4a4a;}
.form-note.success{color:#1a9c4c;}
.form-note.success svg{color:#1a9c4c;}

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip{background:var(--black);padding:20px 0;border-top:1px solid #1c1c1c;}
.strip-inner{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
}
.strip-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  font-size:13px;
  font-weight:500;
  color:#e6e6e6;
  padding:4px 8px;
  position:relative;
}
.strip-item + .strip-item::before{
  content:'';
  position:absolute;
  left:0;top:50%;
  transform:translateY(-50%);
  width:1px;height:26px;
  background:#2e2e2e;
}
.strip-item svg{width:22px;height:22px;color:#d8d8d8;flex-shrink:0;}
.strip-item:last-child svg{color:var(--red);}

/* ============================================================
   SERVICES
   ============================================================ */
.services{background:var(--bg-soft);padding:44px 0 52px;color:var(--ink);}
.section-eyebrow{
  text-align:center;
  color:var(--red-dark);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:1.4px;
  margin-bottom:8px;
}
.section-title{
  text-align:center;
  font-size:29px;
  font-weight:800;
  color:var(--ink);
  letter-spacing:-.3px;
  margin-bottom:26px;
}
/* Sections with a dark canvas need the brighter red variant — the base
   --red reads at ~3.6-4:1 on near-black, which fails text contrast. */
.cars .section-eyebrow,
.how-works .section-eyebrow{color:var(--red-vivid);}

.services-phone{
  text-align:center;
  color:var(--ink);
  font-weight:600;
  font-size:13.5px;
  margin-bottom:24px;
}
.services-phone a{color:var(--red-dark);font-weight:700;text-decoration:none;}
.services-phone a:hover{text-decoration:underline;}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.service-card{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:var(--radius);
  padding:18px 18px 40px;
  min-height:132px;
  transition:transform .22s, box-shadow .22s, border-color .22s;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  border-color:rgba(224,26,32,.35);
}
.svc-ico{width:56px;height:56px;flex-shrink:0;border-radius:12px;overflow:hidden;background:#0a0a0a;}
.svc-ico svg{width:100%;height:100%;}
.svc-ico img{width:100%;height:100%;object-fit:cover;display:block;}
.svc-body h3{
  font-size:14.5px;
  font-weight:700;
  color:var(--ink);
  line-height:1.25;
  margin-bottom:6px;
}
.svc-body p{font-size:12px;color:#6b6b6b;line-height:1.45;}
.svc-arrow{
  position:absolute;
  right:16px;bottom:14px;
  width:18px;height:18px;
  color:var(--red);
  transition:transform .22s;
}
.svc-arrow svg{width:100%;height:100%;}
.service-card:hover .svc-arrow{transform:translateX(4px);}

/* ============================================================
   WHY TRUST
   ============================================================ */
.why-trust{
  position:relative;
  background:var(--ink);
  padding:36px 0;
  overflow:hidden;
}
.streaks{
  position:absolute;
  top:0;bottom:0;
  width:230px;
  pointer-events:none;
  opacity:.7;
}
.streaks-right{
  right:0;
  background:repeating-linear-gradient(-22deg, rgba(224,26,32,.55) 0 2px, transparent 2px 16px);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 75%);
  mask-image:linear-gradient(90deg,transparent,#000 75%);
}
.streaks-left{
  left:0;
  background:repeating-linear-gradient(22deg, rgba(224,26,32,.55) 0 2px, transparent 2px 16px);
  -webkit-mask-image:linear-gradient(270deg,transparent,#000 75%);
  mask-image:linear-gradient(270deg,transparent,#000 75%);
}

.trust-inner{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:26px;
  align-items:center;
}
.trust-shield{position:relative;width:190px;justify-self:center;}
.shield-svg{width:100%;height:auto;filter:drop-shadow(0 12px 30px rgba(0,0,0,.7));}
.shield-text{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.4px;
  text-align:center;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(255,255,255,.02);
  border-radius:10px;
}
.trust-item{
  position:relative;
  text-align:center;
  padding:22px 14px;
}
.trust-item + .trust-item::before{
  content:'';
  position:absolute;
  left:0;top:14%;
  width:1px;height:72%;
  background:#2a2a2a;
}
.trust-item svg{
  width:34px;height:34px;
  margin:0 auto 12px;
  color:#e2e2e2;
}
.trust-item h3{
  font-size:13px;
  font-weight:700;
  line-height:1.3;
  margin-bottom:9px;
  color:#fff;
}
.trust-item p{font-size:11.5px;color:#9c9c9c;line-height:1.45;}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-works{
  position:relative;
  background:var(--ink);
  padding:26px 0 34px;
  border-top:1px solid #1f1f1f;
  overflow:hidden;
}
.how-works .section-eyebrow{margin-bottom:16px;}
.steps{
  position:relative;
  z-index:3;
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:6px;
}
.step{
  flex:1 1 0;
  max-width:160px;
  position:relative;
  background:linear-gradient(180deg,#161616 0%,#0c0c0c 100%);
  border:1px solid #2b2b2b;
  border-radius:11px;
  padding:30px 12px 18px;
  text-align:center;
  margin-top:16px;
  transition:border-color .22s, transform .22s;
}
.step:hover{border-color:rgba(224,26,32,.6);transform:translateY(-3px);}
.step-num{
  position:absolute;
  top:-16px;left:50%;
  transform:translateX(-50%);
  width:34px;height:34px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:13px;
  font-weight:800;
  display:grid;place-items:center;
  box-shadow:0 0 0 4px #050505, 0 6px 16px rgba(224,26,32,.5);
}
.step-ico{
  display:block;
  width:30px;height:30px;
  margin:0 auto 10px;
  color:#e6e6e6;
}
.step-ico svg{width:100%;height:100%;}
.step h3{font-size:13px;font-weight:700;margin-bottom:6px;color:#fff;}
.step p{font-size:11px;color:#9a9a9a;line-height:1.4;}

.step-arrow{
  align-self:center;
  width:24px;height:24px;
  color:var(--red);
  flex-shrink:0;
  margin-top:16px;
}
.step-arrow svg{width:100%;height:100%;}

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why-choose{
  display:grid;
  grid-template-columns:minmax(0,34%) minmax(0,1fr);
  background:var(--ink);
  align-items:stretch;
}
.choose-media{
  position:relative;
  min-height:190px;
  background:
    linear-gradient(120deg,#1a1113 0%,#0c0c0c 60%,#161010 100%);
  overflow:hidden;
}
.choose-media img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:38% center;
}
.choose-media::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,0) 55%,rgba(8,8,8,.92) 100%);
}

.choose-content{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,300px);
  gap:34px;
  align-items:center;
  padding:26px 34px 26px 30px;
  max-width:860px;
}
.choose-list-wrap h2{
  font-size:16px;
  font-weight:800;
  letter-spacing:.3px;
  color:#fff;
  margin-bottom:14px;
}
.check-list li{
  display:flex;
  align-items:center;
  gap:11px;
  font-size:13px;
  color:#e2e2e2;
  padding:5px 0;
}
.check-list svg{width:19px;height:19px;color:var(--red);flex-shrink:0;}

.offer-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:linear-gradient(180deg,#151515 0%,#0d0d0d 100%);
  border:1px solid #2b2b2b;
  border-radius:12px;
  padding:18px 20px;
}
.offer-ico{width:52px;height:52px;color:var(--red);flex-shrink:0;}
.offer-ico svg{width:100%;height:100%;}
.offer-eyebrow{
  color:var(--red-vivid);
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:2px;
}
.offer-text h3{font-size:25px;font-weight:800;line-height:1.1;color:#fff;}
.offer-sub{font-size:13px;color:#e0e0e0;margin-top:2px;}
.offer-tc{font-size:10.5px;color:#8a8a8a;margin-top:6px;}

/* ============================================================
   WORKSHOP GALLERY
   ============================================================ */
.workshop{background:#f7f7f7;padding:22px 0 26px;}
.workshop .section-eyebrow{margin-bottom:14px;}

.gallery{position:relative;}
.gal-viewport{overflow:hidden;}
.gal-track{
  display:flex;
  gap:14px;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.gal-item{
  flex:0 0 calc((100% - 14px * 4) / 5);
  margin:0;
  height:120px;
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(145deg,#232323 0%,#0d0d0d 55%,#1e1416 100%);
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}
.gal-item img{width:100%;height:100%;object-fit:cover;}

.gal-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:32px;height:32px;
  border-radius:50%;
  background:#fff;
  color:#1a1a1a;
  display:grid;place-items:center;
  box-shadow:0 3px 12px rgba(0,0,0,.25);
  transition:background .2s, color .2s;
}
.gal-btn:hover{background:var(--red);color:#fff;}
.gal-btn svg{width:16px;height:16px;}
.gal-prev{left:-6px;}
.gal-next{right:-6px;}

/* ============================================================
   CARS WE SERVICE
   ============================================================ */
.cars{
  position:relative;
  background:var(--ink);
  padding:40px 0 44px;
  border-top:1px solid #1f1f1f;
  overflow:hidden;
}
.cars .section-title{color:var(--white);margin-bottom:8px;}
.cars-sub{
  text-align:center;
  color:var(--grey-2);
  font-size:13.5px;
  margin-bottom:24px;
}

/* ---- Search bar ---- */
.car-search{
  position:relative;
  max-width:460px;
  margin:0 auto 28px;
}
.car-search-icon{
  position:absolute;
  left:16px;top:50%;
  transform:translateY(-50%);
  width:17px;height:17px;
  color:var(--grey);
  pointer-events:none;
}
.car-search input{
  width:100%;
  background:var(--ink-2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 42px;
  font-size:13.5px;
  color:var(--white);
  transition:border-color .2s, background .2s;
}
.car-search input::placeholder{color:var(--grey);}
.car-search input:focus{border-color:var(--red);background:#111;}
.car-search-clear{
  position:absolute;
  right:8px;top:50%;
  transform:translateY(-50%);
  width:24px;height:24px;
  border-radius:50%;
  display:grid;place-items:center;
  color:var(--grey);
  font-size:18px;
  line-height:1;
  transition:background .2s, color .2s;
}
.car-search-clear:hover{background:var(--red);color:#fff;}

/* ---- Fuel filter ---- */
.car-fuel-filter{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.fuel-filter-btn{
  padding:8px 20px;
  border-radius:999px;
  background:var(--ink-2);
  border:1px solid var(--line);
  color:var(--grey-2);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.2px;
  transition:border-color .2s, background .2s, color .2s;
}
.fuel-filter-btn:hover{border-color:var(--red);color:var(--white);}
.fuel-filter-btn.active{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}

/* ---- Brand grid ---- */
.car-brand-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(155px, 1fr));
  gap:16px;
}
.brand-card{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:var(--ink-2);
  border:1px solid var(--line);
  text-align:left;
  transition:border-color .22s, transform .22s, box-shadow .22s;
}
.brand-card:hover{
  border-color:var(--red);
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.45);
}
.brand-card-media{
  display:block;
  aspect-ratio:640 / 376;
  background:#f2f2f3;
  overflow:hidden;
}
.brand-card-media img{width:100%;height:100%;object-fit:cover;}
.brand-card-body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:11px 13px 13px;
}
.brand-card-name{font-size:14.5px;font-weight:700;color:var(--white);letter-spacing:-.2px;}
.brand-card-count{
  font-size:10.5px;
  font-weight:600;
  color:var(--red-vivid);
  white-space:nowrap;
}

/* ---- Brand detail / search results ---- */
.car-back-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--grey-2);
  font-size:13px;
  font-weight:600;
  margin-bottom:16px;
  transition:color .2s;
}
.car-back-btn svg{width:15px;height:15px;}
.car-back-btn:hover{color:var(--white);}
.car-detail-title{
  color:var(--white);
  font-size:16px;
  font-weight:700;
  margin-bottom:16px;
}
.car-search-meta{
  color:var(--grey-2);
  font-size:13px;
  margin-bottom:16px;
}

/* ---- Shared car grid + card (brand detail & search results) ---- */
.car-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:16px;
}
.car-card{
  display:flex;
  flex-direction:column;
  border-radius:10px;
  overflow:hidden;
  background:var(--ink-2);
  border:1px solid var(--line);
  transition:border-color .22s, transform .22s, box-shadow .22s;
}
.car-card:hover{
  border-color:var(--red);
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.45);
}
/* Aspect must track the source crops (307x180). A fixed height would let the
   box aspect drift with card width and `cover` would slice off roofs. */
.car-media{
  aspect-ratio:640 / 376;
  background:#f2f2f3;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.car-media img{width:100%;height:100%;object-fit:contain;}
.car-body{padding:11px 12px 13px;}
.car-brand{
  color:var(--red-vivid);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
  margin-bottom:3px;
}
.car-name{
  font-size:15px;
  font-weight:700;
  color:var(--white);
  letter-spacing:-.2px;
  margin-bottom:9px;
}
.car-fuels{display:flex;flex-wrap:wrap;gap:6px;}
.fuel{
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.3px;
  padding:3px 9px;
  border-radius:999px;
  border:1px solid transparent;
}
.fuel-petrol{
  color:#4ade80;
  background:rgba(74,222,128,.1);
  border-color:rgba(74,222,128,.34);
}
.fuel-diesel{
  color:#60a5fa;
  background:rgba(96,165,250,.1);
  border-color:rgba(96,165,250,.34);
}

.car-search-empty{
  text-align:center;
  color:var(--grey);
  font-size:13px;
  padding:22px 0;
}

.cars-foot{
  text-align:center;
  color:var(--grey);
  font-size:12.5px;
  margin-top:28px;
}
.cars-foot a{color:var(--white);font-weight:600;}
.cars-foot a:hover{color:var(--red);}

/* ============================================================
   FAQ / VISIT / MAP
   ============================================================ */
.info-section{background:#fff;color:var(--ink);padding:24px 0 26px;}
.info-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.86fr) minmax(0,1fr);
  gap:26px;
  align-items:start;
}
.col-title{
  color:var(--red-dark);
  font-size:13px;
  font-weight:700;
  letter-spacing:.6px;
  margin-bottom:12px;
}

.faq-list{display:flex;flex-direction:column;gap:7px;}
.faq-item{
  background:#f4f4f4;
  border:1px solid #e5e5e5;
  border-radius:7px;
  overflow:hidden;
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 13px;
  font-size:12.5px;
  font-weight:500;
  color:#242424;
  text-align:left;
}
.faq-plus{
  position:relative;
  width:13px;height:13px;
  flex-shrink:0;
}
.faq-plus::before,
.faq-plus::after{
  content:'';
  position:absolute;
  background:var(--red);
  border-radius:2px;
  transition:transform .25s, opacity .25s;
}
.faq-plus::before{left:0;top:50%;width:13px;height:2px;transform:translateY(-50%);}
.faq-plus::after{top:0;left:50%;width:2px;height:13px;transform:translateX(-50%);}
.faq-item.open .faq-plus::after{transform:translateX(-50%) rotate(90deg);opacity:0;}

.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .32s ease;
}
.faq-a p{
  padding:0 13px 12px;
  font-size:12px;
  color:#5f5f5f;
  line-height:1.55;
}

.visit-list{display:flex;flex-direction:column;gap:11px;}
.visit-list li{display:flex;align-items:flex-start;gap:11px;}
.visit-ico{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:2px;}
.visit-ico svg{width:100%;height:100%;}
.visit-list p{font-size:12.5px;color:#3d3d3d;line-height:1.5;}
.visit-list a{color:#3d3d3d;transition:color .2s;}
.visit-list a:hover{color:var(--red);}

.socials{display:flex;gap:10px;margin-top:16px;}
.soc{
  width:30px;height:30px;
  border-radius:7px;
  display:grid;place-items:center;
  color:#fff;
  transition:transform .2s, filter .2s;
}
.soc:hover{transform:translateY(-2px);filter:brightness(1.12);}
.soc svg{width:17px;height:17px;}
.soc-fb{background:#1877f2;}
.soc-ig{background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);}
.soc-gl{background:#ea4335;}

.map-box{
  position:relative;
  height:100%;
  min-height:190px;
  border-radius:9px;
  overflow:hidden;
  background:#eff1ec;
  border:1px solid #e0e0e0;
}
.map-svg{position:absolute;inset:0;width:100%;height:100%;}
.map-pin{
  position:absolute;
  top:48%;left:34%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  gap:9px;
}
.pin{width:30px;height:30px;flex-shrink:0;filter:drop-shadow(0 3px 6px rgba(0,0,0,.35));}
.pin svg{width:100%;height:100%;}
.pin-label{
  background:rgba(255,255,255,.94);
  border-radius:6px;
  padding:6px 10px;
  box-shadow:0 3px 10px rgba(0,0,0,.16);
  line-height:1.25;
}
.pin-label strong{display:block;font-size:12px;color:#1c1c1c;font-weight:700;}
.pin-label small{font-size:11px;color:#666;}

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar{
  position:relative;
  background:linear-gradient(90deg,#0b0b0b 0%,#1a1a1a 30%,#242424 60%,#151515 100%);
  padding:22px 0;
  overflow:hidden;
}
.cta-wheel{
  position:absolute;
  left:0;bottom:-14px;
  width:250px;
  opacity:.95;
  pointer-events:none;
}
.cta-wheel svg{width:100%;height:auto;}

.cta-inner{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-left:250px;
}
.cta-text h2{font-size:19px;font-weight:700;color:#fff;line-height:1.3;}
.cta-text p{font-size:16px;font-weight:600;color:#fff;}
.btn-cta{
  background:var(--red);
  color:#fff;
  font-size:15px;
  font-weight:700;
  padding:14px 30px;
  border-radius:7px;
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(224,26,32,.4);
  transition:background .2s, transform .2s;
}
.btn-cta:hover{background:var(--red-light);transform:translateY(-2px);}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--ink);padding:22px 0 0;}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr);
  gap:30px;
  align-items:start;
  padding-bottom:20px;
}
.foot-brand{display:flex;align-items:center;gap:10px;}
.foot-brand .brand-mark{width:38px;height:38px;}
.foot-brand .brand-text strong{font-size:18px;}
.foot-brand .brand-text small{font-size:12px;color:#c9c9c9;}

.foot-links h4,
.foot-areas h4{
  font-size:13.5px;
  font-weight:700;
  color:#fff;
  margin-bottom:9px;
}
.foot-links ul{display:flex;flex-wrap:wrap;gap:8px 14px;}
.foot-links a{font-size:12px;color:#a8a8a8;transition:color .2s;}
.foot-links a:hover{color:var(--red);}
.foot-areas p{font-size:12px;color:#a8a8a8;line-height:1.7;}

.footer-bottom{
  border-top:1px solid #1e1e1e;
  padding:13px 0;
  text-align:center;
}
.footer-bottom p{font-size:12px;color:#8f8f8f;}

/* Vertical divider between footer columns (as in design) */
.footer-grid{position:relative;}
.foot-links{position:relative;padding-left:26px;}
.foot-links::before{
  content:'';
  position:absolute;
  left:0;top:2px;bottom:2px;
  width:1px;
  background:#232323;
}
.foot-areas{position:relative;padding-left:26px;}
.foot-areas::before{
  content:'';
  position:absolute;
  left:0;top:2px;bottom:2px;
  width:1px;
  background:#232323;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease, transform .6s ease;}
.reveal.visible{opacity:1;transform:none;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1120px){
  .hero h1{font-size:52px;}
  .hero-inner{grid-template-columns:minmax(0,1fr) 320px;gap:32px;}
  .services-grid{grid-template-columns:repeat(3,1fr);}
  .why-choose{grid-template-columns:minmax(0,270px) minmax(0,1fr);}
  .choose-content{padding:24px;gap:24px;}
  .gal-item{flex:0 0 calc((100% - 14px * 3) / 4);}
  .cta-inner{padding-left:210px;}
  .cta-wheel{width:210px;}
}

@media (max-width:980px){
  .main-nav{
    position:absolute;
    top:100%;left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(10,10,10,.97);
    border-top:1px solid #222;
    padding:6px 24px 14px;
    margin:10px 0 0;
    display:none;
  }
  .main-nav.open{display:flex;}
  .main-nav a{padding:12px 0;border-bottom:1px solid #1e1e1e;}
  .main-nav a.active::after{display:none;}
  .nav-toggle{display:flex;order:3;}
  /* Below ~550px the logo + phone button + hamburger no longer fit on one
     row. Rather than let them overflow/overlap, the header leaves the
     hero's absolute overlay and becomes a normal in-flow block, so however
     many rows it wraps to, the hero simply starts below it — no fixed
     offset to keep in sync. */
  .site-header{position:static;background:var(--black);}
  .header-inner{align-items:center;flex-wrap:wrap;row-gap:12px;position:relative;}
  .brand{flex-shrink:1;min-width:0;}
  .header-cta{order:4;flex-basis:100%;margin-left:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.1);}
  .btn-phone{font-size:13.5px;padding:9px 15px;}

  .hero{padding-top:24px;}
  .hero-bg{left:0;}
  .hero-bg img{
    object-position:60% 45%;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .hero-overlay{
    background:
      linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.75) 100%),
      linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.9) 100%);
  }
  .hero-inner{grid-template-columns:1fr;gap:28px;}
  .booking-card{max-width:400px;margin:24px auto 0;}
  .hero h1{font-size:46px;}

  .strip-inner{grid-template-columns:repeat(3,1fr);gap:16px 0;}
  .strip-item:nth-child(4)::before,
  .strip-item:nth-child(1)::before{display:none;}

  .trust-inner{grid-template-columns:1fr;gap:22px;}
  .trust-grid{grid-template-columns:repeat(3,1fr);gap:0;}
  .trust-item:nth-child(4)::before{display:none;}

  .steps{flex-wrap:wrap;gap:22px 10px;}
  .step{flex:0 0 calc(33.333% - 20px);max-width:none;}
  .step-arrow{display:none;}

  .why-choose{grid-template-columns:1fr;}
  .choose-media{min-height:220px;}
  .choose-content{max-width:none;grid-template-columns:1fr;gap:22px;}

  .gal-item{flex:0 0 calc((100% - 14px * 2) / 3);height:140px;}

  .info-grid{grid-template-columns:1fr 1fr;}
  .map-col{grid-column:1 / -1;}
  .map-box{min-height:230px;}

  .cta-inner{padding-left:0;flex-direction:column;text-align:center;}
  .cta-wheel{opacity:.18;}

  .footer-grid{grid-template-columns:1fr;gap:20px;}
  .foot-links,.foot-areas{padding-left:0;}
  .foot-links::before,.foot-areas::before{display:none;}
}

@media (max-width:720px){
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .section-title{font-size:24px;}
  .hero h1{font-size:40px;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .trust-item::before{display:none !important;}
  .step{flex:0 0 calc(50% - 10px);}
  .gal-item{flex:0 0 calc((100% - 14px) / 2);}
  .cars{padding:32px 0 36px;}
  .info-grid{grid-template-columns:1fr;}
  .strip-inner{grid-template-columns:repeat(2,1fr);}
  .strip-item::before{display:none !important;}
}

@media (max-width:520px){
  .container{padding:0 16px;}
  .hero h1{font-size:34px;}
  .trust-pills{width:100%;}
  .trust-pills li{flex:1;padding:10px 8px;font-size:10.5px;overflow-wrap:break-word;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-badges{flex-direction:column;align-items:stretch;}
  .hero-badges li + li{border-left:0;border-top:1px solid rgba(255,255,255,.13);}
  .btn-call{justify-content:center;}
  .services-grid{grid-template-columns:1fr;}
  .service-card{min-height:0;}
  .trust-grid{grid-template-columns:1fr;}
  .step{flex:0 0 100%;}
  .gal-item{flex:0 0 100%;height:180px;}
  .gal-prev{left:4px;}
  .gal-next{right:4px;}
  .car-name{font-size:13.5px;}
  .offer-card{flex-direction:column;text-align:center;}
  .offer-ico{margin:0 auto;}
  .cta-text h2{font-size:17px;}
  .btn-cta{width:100%;text-align:center;padding:13px 18px;font-size:14px;}
  .hero-badges li{white-space:normal;}
  .footer-bottom p{padding:0 8px;}
}

/* Very small phones (old Android, iPhone SE 1st-gen, folded-screen covers) */
@media (max-width:380px){
  .container{padding:0 14px;}
  .brand-text strong{font-size:16.5px;}
  .brand-text small{font-size:11px;}
  .btn-phone{font-size:12px;padding:8px 12px;gap:6px;}
  .hero h1{font-size:28px;}
  .hero-sub{max-width:100%;}
  .trust-pills li{font-size:9.5px;padding:9px 6px;gap:6px;}
  .trust-pills svg{width:16px;height:16px;}
  .call-txt strong{font-size:14px;}
  .offer-text h3{font-size:20px;}
  .section-title{font-size:20px;}
  .booking-card{padding:40px 16px 18px;}
  .services-phone{font-size:12px;}
  .field input,
  .field select{font-size:14px;padding:12px 12px 12px 36px;}
  .field-ico,.field-caret{width:15px;height:15px;}
  .field-ico{left:11px;}
}

/* ============================================================
   FLOATING ACTION BUTTONS (WhatsApp + Call)
   ============================================================ */
.float-actions{
  position:fixed;
  right:20px;
  bottom:22px;
  z-index:95;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-end;
}

.float-btn{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:50%;
  color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.38);
  transition:transform .25s ease, box-shadow .25s ease, width .25s ease;
  overflow:hidden;
  white-space:nowrap;
}
.float-btn svg{
  width:28px;
  height:28px;
  flex:0 0 auto;
}
.float-wa{background:#25d366;}
.float-call{background:var(--red);}

.float-label{
  max-width:0;
  opacity:0;
  font-size:14px;
  font-weight:700;
  letter-spacing:.2px;
  transition:max-width .25s ease, opacity .2s ease, margin-left .25s ease;
}

/* Expand into a labelled pill only where a real pointer can hover;
   touch screens keep the compact circles at every width. */
@media (hover:hover) and (pointer:fine){
  .float-btn:hover{
    width:auto;
    padding:0 18px;
    border-radius:28px;
    transform:translateY(-2px);
    box-shadow:0 10px 26px rgba(0,0,0,.45);
  }
  .float-btn:hover .float-label{
    max-width:140px;
    opacity:1;
    margin-left:10px;
  }
}

/* Keyboard focus expands on any device so the label is readable. */
.float-btn:focus-visible{
  width:auto;
  padding:0 18px;
  border-radius:28px;
  outline:none;
  box-shadow:0 0 0 3px rgba(255,255,255,.55),0 10px 26px rgba(0,0,0,.45);
}
.float-btn:focus-visible .float-label{
  max-width:140px;
  opacity:1;
  margin-left:10px;
}

/* Pulsing ring on the call button */
.float-ring{
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:2px solid var(--red);
  animation:floatPulse 1.9s ease-out infinite;
  pointer-events:none;
}
@keyframes floatPulse{
  0%   {transform:scale(1);opacity:.75;}
  70%  {transform:scale(1.5);opacity:0;}
  100% {transform:scale(1.5);opacity:0;}
}

@media (max-width:520px){
  .float-actions{right:14px;bottom:16px;gap:12px;}
  .float-btn{width:50px;height:50px;}
  .float-btn svg{width:25px;height:25px;}
}

@media (max-width:380px){
  .float-actions{right:10px;bottom:12px;gap:10px;}
  .float-btn{width:46px;height:46px;}
  .float-btn svg{width:23px;height:23px;}
}

/* Sideways phones have very little height — keep the buttons clear of the fold. */
@media (max-height:420px){
  .float-actions{bottom:10px;gap:8px;}
  .float-btn{width:42px;height:42px;}
  .float-btn svg{width:21px;height:21px;}
}

/* The buttons float over the very bottom of the page — reserve room so the
   copyright line is never sitting underneath them on narrow screens. */
@media (max-width:520px){
  .footer-bottom{padding-bottom:76px;}
}

@media (prefers-reduced-motion:reduce){
  .float-ring{animation:none;}
  .float-btn{transition:none;}
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(224,26,32,.28), transparent 65%),
    var(--black);
}
.ty-header{position:relative;padding-bottom:10px;}
.ty-header .header-inner{justify-content:space-between;align-items:center;}

.ty-wrap{
  flex:1 0 auto;
  display:flex;
  align-items:center;
  /* Fluid vertical rhythm so short laptops and tall phones both breathe. */
  padding:clamp(28px,6vh,56px) 0 clamp(44px,8vh,72px);
}
.ty-inner{
  width:100%;
  max-width:720px;
  text-align:center;
}

/* Animated tick */
.ty-check{
  width:clamp(72px,16vw,104px);
  height:clamp(72px,16vw,104px);
  margin:0 auto clamp(16px,3vw,24px);
  color:#2ecc71;
}
.ty-check svg{width:100%;height:100%;}
.ty-check-ring{
  stroke-dasharray:327;
  stroke-dashoffset:327;
  animation:tyRing .7s ease-out forwards;
}
.ty-check-mark{
  stroke-dasharray:80;
  stroke-dashoffset:80;
  animation:tyMark .45s .55s ease-out forwards;
}
@keyframes tyRing{to{stroke-dashoffset:0;}}
@keyframes tyMark{to{stroke-dashoffset:0;}}

.ty-kicker{
  display:inline-block;
  padding:6px 16px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  font-size:11.5px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--grey-2);
  margin-bottom:16px;
}
.ty-title{
  font-size:clamp(26px,6.2vw,44px);
  font-weight:900;
  line-height:1.12;
  letter-spacing:-.5px;
  margin-bottom:14px;
  /* Long first names must never push the page sideways. */
  overflow-wrap:break-word;
}
.ty-sub{
  font-size:clamp(14px,2.6vw,16px);
  color:var(--grey-2);
  line-height:1.7;
  margin-bottom:clamp(24px,4vw,32px);
}

/* Booking summary card */
.ty-summary{
  text-align:left;
  background:var(--ink-2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:clamp(18px,3.5vw,24px) clamp(16px,3.5vw,24px) clamp(16px,3vw,20px);
  margin-bottom:clamp(24px,4vw,32px);
}
.ty-summary h2{
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--red-vivid);
  margin-bottom:16px;
}
.ty-summary ul li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ty-summary ul li span{
  font-size:13px;
  color:var(--grey);
  flex:0 0 auto;
}
.ty-summary ul li strong{
  font-size:15px;
  font-weight:700;
  text-align:right;
  word-break:break-word;
}
.ty-ref{
  margin-top:16px;
  font-size:13px;
  color:var(--grey);
}
.ty-ref strong{
  color:var(--white);
  letter-spacing:1px;
}

/* Actions */
.ty-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-bottom:26px;
}
.ty-actions .btn-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.ty-actions .btn-cta svg{width:19px;height:19px;flex:0 0 auto;}
.ty-btn-wa{background:#25d366;color:#fff;}
.ty-btn-wa:hover{background:#1eb85a;}

.ty-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:var(--grey-2);
  /* Padded to a 44px touch target rather than hugging the text. */
  padding:12px 16px;
  min-height:44px;
  transition:color .2s ease;
}
.ty-back:hover{color:var(--white);}
.ty-back svg{width:18px;height:18px;}

/* Reassurance points */
.ty-points{
  margin-top:40px;
  padding-top:28px;
  border-top:1px solid var(--line);
  display:grid;
  gap:14px;
  text-align:left;
}
.ty-points li{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:var(--grey-2);
}
.ty-points svg{
  width:20px;
  height:20px;
  flex:0 0 auto;
  color:var(--red-vivid);
}

/* ---------- Tablets ---------- */
@media (max-width:980px){
  .ty-header .header-inner{gap:16px;}
  .ty-inner{max-width:620px;}
}

/* ---------- Small tablets / large phones ---------- */
@media (max-width:720px){
  /* Header has no nav here, so let the phone button drop below the brand.
     The base .brand / .header-cta rules are flex-shrink:0 with an auto left
     margin — both have to be undone or the row stays wider than the screen. */
  .ty-header .header-inner{
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    text-align:center;
  }
  .ty-header .brand,
  .ty-header .header-cta{
    flex-shrink:1;
    min-width:0;
    max-width:100%;
    margin-left:0;
  }
  .ty-header .brand{justify-content:center;}
  .ty-actions .btn-cta{flex:1 1 260px;}
}

/* ---------- Phones ---------- */
@media (max-width:520px){
  .thankyou-page{
    background:
      radial-gradient(620px 380px at 50% -8%, rgba(224,26,32,.26), transparent 65%),
      var(--black);
  }
  .ty-header .header-cta .open-24{display:none;}
  .ty-summary ul li{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    padding:11px 0;
  }
  .ty-summary ul li strong{text-align:left;font-size:14.5px;}
  .ty-actions{flex-direction:column;gap:12px;}
  .ty-actions .btn-cta{width:100%;flex:1 1 auto;white-space:normal;}
  .ty-points{margin-top:32px;padding-top:24px;}
  .ty-points li{align-items:flex-start;font-size:13.5px;}
  .ty-points svg{margin-top:1px;}
}

/* ---------- Very small phones ---------- */
@media (max-width:380px){
  .ty-kicker{font-size:10.5px;letter-spacing:1.4px;padding:5px 12px;}
  .ty-summary ul li span{font-size:12px;}
  .ty-summary ul li strong{font-size:13.5px;}
  .ty-ref{font-size:12px;}
  .ty-actions .btn-cta{font-size:13px;padding:12px 14px;gap:8px;}
  .ty-actions .btn-cta svg{width:17px;height:17px;}
  .ty-points li{font-size:12.5px;gap:10px;}
  .ty-points svg{width:18px;height:18px;}
}

/* ---------- Short landscape screens (phones turned sideways) ---------- */
@media (max-height:520px) and (orientation:landscape){
  .ty-wrap{align-items:flex-start;padding:24px 0 36px;}
  .ty-check{width:64px;height:64px;margin-bottom:12px;}
  .ty-title{font-size:26px;}
  .ty-sub{margin-bottom:20px;}
  .ty-points{margin-top:24px;padding-top:20px;}
}

/* ---------- Wide desktops ---------- */
@media (min-width:1400px){
  .ty-inner{max-width:780px;}
}

@media (prefers-reduced-motion:reduce){
  .ty-check-ring,
  .ty-check-mark{animation:none;stroke-dashoffset:0;}
}

/* Thank-you page keeps only the footer bottom bar — drop the grid's top padding. */
.thankyou-page .site-footer{padding-top:0;}
