/* ------------------------------
   ROOT + GLOBAL
--------------------------------*/
:root{
  --navy:#0A1A2F;
  --gold:#E8B400;
  --teal:#2DB8A3;
  --bg:#F5F5F5;
  --white:#ffffff;
  --nav-height:56px;
  --hero-image:url("https://images.pexels.com/photos/4489732/pexels-photo-4489732.jpeg");
}

*{box-sizing:border-box}

html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:#222;
}

.container{
  width:min(1100px,100% - 32px);
  margin:0 auto;
}

/* ------------------------------
   NAV
--------------------------------*/
.nav{
  background:var(--navy);
  color:var(--white);
  position:fixed;
  inset:0 0 auto 0;
  z-index:900;
  height:var(--nav-height);
  padding:0 20px;
  display:flex;
  align-items:flex-start;
  box-shadow:0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner{
  width:100%;
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.nav-menu{
  position:absolute;
  left:50%;
  top:8px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
  z-index:905;
  transition:opacity .18s ease,transform .18s ease;
}

.nav-menu a{
  display:inline-block;
  padding:6px 10px;
  border-radius:8px;
  background:var(--gold);
  color:var(--navy);
  font-weight:700;
  font-size:.88rem;
  text-decoration:none;
  transition:transform .12s ease,background .12s ease;
}

.nav-menu a:hover,
.nav-menu a:focus{background:#f1c735;transform:translateY(-1px);outline:none}

.nav-toggle{
  position:absolute;
  right:16px;
  top:8px;
  display:none;
  background:none;
  border:none;
  color:var(--gold);
  font-size:1.6rem;
  cursor:pointer;
  z-index:920;
}

/* MOBILE */
@media (max-width:768px){
  .nav{height:auto;padding:8px 12px}
  .nav-inner{justify-content:space-between;flex-wrap:wrap}
  .nav-menu{position:static;transform:none;display:none;width:100%;flex-direction:column;margin-top:10px;gap:10px;background:var(--navy);padding:10px;border-bottom:1px solid rgba(255,255,255,.04)}
  .nav-menu.show{display:flex}
  .nav-menu li{width:100%}
  .nav-menu a{display:block;width:100%;padding:12px 14px;font-size:1rem;background:var(--gold);color:var(--navy)}
  .nav-toggle{display:block}
}

main,.page-content{padding-top:var(--nav-height)}

/* ------------------------------
   GLOBAL HERO (ALL PAGES)
--------------------------------*/
.page-hero{
  position:relative;
  padding:calc(var(--nav-height) + 28px) 0 36px;
  background:var(--hero-image) center/cover no-repeat;
  color:#fff;
  text-align:center;
  overflow:hidden;
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(10,26,47,.85),rgba(10,26,47,.6));
  z-index:0;
}

.page-hero .container,
.page-hero .hero-inner{
  position:relative;
  z-index:2;
  padding-top:20px;
}

.page-hero .hero-title,
.page-hero .hero-subtitle{
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

/* ------------------------------
   HOMEPAGE HERO OVERRIDES
--------------------------------*/
.page-hero.home-hero{
  background:none !important;
}

.page-hero.home-hero::before{
  content:none !important;
}

.home-hero{
  background:url("../assets/images/homehero2png.png") top center/cover no-repeat;
  min-height:700px;
  padding-top:calc(var(--nav-height) + 40px);
  padding-bottom:40px;
}

@media (max-width:768px){
  .home-hero{
    background:url("../assets/images/mobilehomehero.png") top center/cover no-repeat;
    min-height:250px;
    padding-top:calc(var(--nav-height) + 20px);
    padding-bottom:30px;
  }
}
/* ------------------------------
   HERO STEPS
--------------------------------*/
.hero-steps{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  align-items:start;
}

.hero-step{
  width:100%;
  max-width:420px;
  margin:0 auto;
  background:rgba(255,255,255,.96);
  color:#222;
  border-radius:14px;
  padding:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}

.hero-step-icon{
  font-size:1.6rem;
  margin-bottom:8px;
  color:var(--gold);
}

/* ------------------------------
   SECTIONS / LAYOUT
--------------------------------*/
.section{
  padding:60px 0;
}

.section:nth-of-type(odd){
  background:#fff;
}

.section h2{
  font-size:2rem;
  font-weight:800;
  color:#0A1A2F;
  margin-bottom:30px;
  text-align:center;
}

/* ABOUT GRID */
.about-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

.about-item{
  background:#fff;
  padding:22px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  border-top:4px solid #E8B400;
}

.about-item h4{
  font-size:1.3rem;
  font-weight:800;
  color:#0A1A2F;
  margin-bottom:6px;
}

.about-item strong{
  color:#E8B400;
  font-weight:700;
  font-size:1.05rem;
}

/* PROCESS / CONDITIONS */
.process-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:16px;
}

.process-list li{
  background:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.conditions-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.conditions-list li{
  background:#F7E7A3;
  border-radius:12px;
  padding:12px 16px;
  font-size:1rem;
  color:#0A1A2F;
  border:1px solid #E8B400;
}

/* TILE GRID */
.tile-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:1rem;
}

.tile{
  background:#fff;
  padding:1.2rem;
  border-radius:14px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border-bottom:4px solid #2DB8A3;
  transition:.2s;
}

.tile:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}

.tile i{
  color:#2DB8A3;
  font-size:2rem;
  margin-bottom:12px;
}

.tile h4{
  font-size:1.2rem;
  font-weight:700;
  color:#0A1A2F;
}

/* ------------------------------
   VALUATION FORM
--------------------------------*/
.valuation-form{
  display:flex;
  flex-direction:column;
  gap:1.4rem;
  max-width:650px;
  margin:0 auto;
  padding:2rem;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.valuation-form label{
  font-size:1.05rem;
  font-weight:600;
  color:var(--navy);
  margin-bottom:4px;
  display:block;
}

.valuation-form input,
.valuation-form select,
.valuation-form textarea{
  width:100%;
  padding:.9rem 1rem;
  font-size:1rem;
  border-radius:10px;
  border:2px solid #dcdcdc;
  background:#fafafa;
  transition:.2s;
}

.valuation-form input:focus,
.valuation-form select:focus,
.valuation-form textarea:focus{
  border-color:var(--gold);
  background:#fff;
  outline:none;
  box-shadow:0 0 0 3px rgba(232,180,0,.25);
}

.valuation-form textarea{
  min-height:120px;
  resize:vertical;
}

/* ------------------------------
   NUMBERPLATE (RESTORED)
--------------------------------*/
.numberplate-wrapper{
  margin-top:40px;
  margin-bottom:40px;
  text-align:center;
}

.numberplate-form{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  max-width:500px;
  margin:0 auto;
}

.numberplate-input{
  width:100%;
  border-radius:10px;
  border:2px solid var(--gold);
  padding:1rem 1.2rem;
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:#fff8d6;
}

.numberplate-btn{
  padding:1rem 1.4rem;
  font-size:1.1rem;
  border-radius:12px;
  background:var(--gold);
  color:var(--navy);
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:.2s;
}

.numberplate-btn:hover{
  background:#f1c735;
}

@media (max-width:768px){
  .numberplate-form{
    flex-direction:column;
    width:100%;
  }
  .numberplate-input,
  .numberplate-btn{
    width:100%;
    max-width:none;
  }
}

/* ------------------------------
   TESTIMONIALS
--------------------------------*/
.section-testimonials{
  background:#eef7f4;
}

.testimonial-slider{
  overflow:hidden;
  width:100%;
  position:relative;
  padding-top:10px;
}

.testimonial-track{
  display:flex;
  gap:18px;
  animation:slideLeft 45s linear infinite;
}

.testimonial-card{
  min-width:300px;
  max-width:300px;
  background:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  flex-shrink:0;
}

.testimonial-card p{
  font-size:.9rem;
  margin-bottom:6px;
  line-height:1.5;
}

@keyframes slideLeft{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
/* ------------------------------
   TRUST LOGOS
--------------------------------*/
.trust-logos-top,
.trust-logos-bottom{
  padding:30px 0;
  text-align:center;
}

.trust-logos-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}

.trust-logo{
  height:50px;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@media (max-width:768px){
  .trust-logo{height:40px;}
}

/* ------------------------------
   CONTACT PAGE
--------------------------------*/
.contact-hero{
  background-position:center;
  background-size:cover;
  padding-top:calc(var(--nav-height) + 40px);
  padding-bottom:50px;
  text-align:center;
}

.contact-hero .hero-title{
  font-size:2.2rem;
  font-weight:800;
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,0.45);
}

.contact-hero .hero-subtitle{
  font-size:1.1rem;
  color:#f1f1f1;
  max-width:600px;
  margin:10px auto 0;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  margin-top:40px;
}

.contact-card{
  background:#fff;
  padding:22px;
  border-radius:14px;
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
  border-top:4px solid var(--gold);
}

.contact-card h3{
  font-size:1.3rem;
  font-weight:800;
  color:var(--navy);
  margin-bottom:10px;
}

.contact-card h3 i{
  color:var(--gold);
  margin-right:6px;
}

.contact-card p{
  line-height:1.6;
  font-size:1rem;
}

.contact-card a{
  color:var(--navy);
  font-weight:700;
  text-decoration:none;
}

.contact-card a:hover{
  text-decoration:underline;
}

.contact-guidance{
  margin-top:40px;
  background:#F7F7F7;
  padding:24px;
  border-radius:14px;
  border-left:4px solid var(--teal);
}

.contact-guidance h4{
  font-size:1.3rem;
  font-weight:800;
  color:var(--navy);
  margin-bottom:12px;
}

.contact-guidance ul{
  margin:0 0 16px;
  padding-left:20px;
}

.contact-guidance li{
  margin-bottom:6px;
  font-size:1rem;
}

.guidance-note{
  font-size:0.95rem;
  color:#444;
}

/* CTA block */
.faq-contact{
  background:#F4F4F4;
  padding:30px 20px;
  border-radius:12px;
  margin-top:40px;
  text-align:center;
}

.faq-contact a.cta{
  background:var(--gold);
  color:var(--navy);
  padding:10px 16px;
  border-radius:8px;
  font-weight:700;
  display:inline-block;
  margin-top:10px;
}

/* ------------------------------
   FAQ LIST
--------------------------------*/
.faq-list{
  max-width:980px;
  margin:0 auto;
  display:grid;
  gap:12px;
}

details{
  display:block;
}

details summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  border-radius:10px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.04);
  font-weight:700;
  color:var(--navy);
}

details .faq-body{
  padding:12px 16px 18px;
  background:#fff;
  border-radius:0 0 10px 10px;
  box-shadow:0 6px 18px rgba(0,0,0,0.04);
  color:#222;
  line-height:1.6;
  border-top:1px solid rgba(10,26,47,0.03);
}

/* ------------------------------
   FOOTER
--------------------------------*/
.footer{
  background:var(--navy);
  color:#ddd;
  padding:20px 0;
  font-size:.85rem;
}

.footer-inner{
  text-align:center;
}

/* ------------------------------
   MOBILE TWEAKS
--------------------------------*/
@media (max-width:768px){
  .hero-title{font-size:1.6rem}
  .testimonial-card{min-width:260px;max-width:260px}
  main,.page-content{padding-top:calc(var(--nav-height) - 8px)}
  .page-hero{padding:calc(var(--nav-height) + 14px) 0 28px}
  .page-hero .container{padding-top:12px}
  .page-hero .hero-title{font-size:1.6rem}
  .page-hero .numberplate-form{flex-direction:column;align-items:stretch}
  .contact-hero .hero-title{font-size:1.8rem}
  .contact-card{padding:18px}
  .contact-guidance{padding:20px}
}

/* ------------------------------
   GLOBAL HOVER EFFECTS
--------------------------------*/
.card,
.hero-step,
.about-item,
.process-list li,
.conditions-list li,
.tile,
.testimonial-card,
.contact-card{
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
  transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover,
.hero-step:hover,
.about-item:hover,
.process-list li:hover,
.conditions-list li:hover,
.tile:hover,
.testimonial-card:hover,
.contact-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(0,0,0,0.12);
}

/* FIX MOBILE WHITE GAP ABOVE HERO */
@media (max-width: 768px) {
  .page-hero {
    padding-top: var(--nav-height) !important;
  }
}
/* RESTORE: Prevent white gap above hero on mobile */
@media (max-width: 768px) {
  main,
  .page-content {
    padding-top: 0 !important;
  }
}
