/* =========================
   GLOBAL
========================= */

:root{
  --red:#d90429;
  --red-light:#ff2d55;
  --black:#0f1115;
  --dark:#111827;
  --text:#222;
  --muted:#666;
  --light:#f3f4f6;
  --white:#fff;
  --border:rgba(0,0,0,0.08);
  --shadow:0 14px 40px rgba(0,0,0,0.09);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:#f4f5f7;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

button,
input,
select,
textarea{
  font-family:inherit;
}

section{
  max-width:100%;
}

/* =========================
   NAVBAR
========================= */

.site-header{
  position:relative;
  z-index:1000;
}

.navbar{
  width:100%;
  height:85px;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 6%;
  background:rgba(10,10,10,0.96);
  border-bottom:1px solid rgba(255,0,0,0.12);
  backdrop-filter:blur(12px);
}

.nav-left{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  flex-shrink:0;
}

.logo img{
  width:72px;
  height:82px;
  object-fit:contain;
}

.brand{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-main{
  color:var(--red);
  font-size:21px;
  font-family:'Montserrat',sans-serif;
  font-weight:900;
}

.brand-sub{
  color:var(--white);
  font-size:15px;
  letter-spacing:1.5px;
}

.phone{
  color:var(--white);
  font-size:13px;
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:35px;
}

.nav-links a{
  text-decoration:none;
  color:var(--white);
  font-size:15px;
  font-weight:500;
  position:relative;
  transition:0.3s ease;
}

.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-7px;
  width:0;
  height:2px;
  background:var(--red);
  transition:0.3s ease;
}

.nav-links a:hover{
  color:var(--red);
}

.nav-links a:hover::after{
  width:100%;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-contact-btn{
  text-decoration:none;
  color:var(--white);
  padding:12px 22px;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  background:linear-gradient(135deg,var(--red),var(--red-light));
  box-shadow:0 10px 25px rgba(217,4,41,0.25);
  transition:0.3s ease;
}

.nav-contact-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(217,4,41,0.35);
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  border:0;
  background:transparent;
  padding:6px;
}

.hamburger span{
  width:26px;
  height:3px;
  border-radius:20px;
  background:var(--white);
  transition:0.3s ease;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
  background:var(--red);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
  background:var(--red);
}

.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:min(300px,86vw);
  height:100vh;
  background:#111;
  padding:110px 30px 30px;
  display:flex;
  flex-direction:column;
  gap:22px;
  transition:0.4s ease;
  z-index:999;
  box-shadow:-20px 0 40px rgba(0,0,0,0.25);
}

.mobile-menu.active{
  right:0;
}

.mobile-menu a{
  text-decoration:none;
  color:var(--white);
  font-size:18px;
  font-weight:500;
  transition:0.3s ease;
}

.mobile-menu a:hover{
  color:var(--red);
}

.mobile-contact-btn,
.mobile-call-btn{
  padding:14px 18px;
  border-radius:14px;
  text-align:center;
  font-weight:700 !important;
}

.mobile-contact-btn{
  background:var(--red);
}

.mobile-call-btn{
  background:var(--white);
  color:#111 !important;
}

/* =========================
   CONTACT HERO
========================= */

.contact-hero{
  padding:135px 6% 70px;
  background:
    radial-gradient(circle at top right, rgba(217,4,41,0.18), transparent 32%),
    linear-gradient(135deg,#101114,#20242d);
  color:#fff;
}

.contact-hero-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr 0.8fr;
  gap:34px;
  align-items:center;
}

.page-label{
  display:inline-flex;
  color:#ffb3c0;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:999px;
  padding:10px 18px;
  font-size:13px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:18px;
}

.contact-hero h1{
  font-family:'Montserrat',sans-serif;
  font-size:clamp(38px,5vw,72px);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-2px;
  max-width:760px;
  margin-bottom:18px;
}

.contact-hero p{
  max-width:690px;
  color:#d7d7d7;
  line-height:1.85;
  font-size:16px;
}

.hero-contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.hero-action{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:15px 22px;
  border-radius:15px;
  font-weight:800;
  transition:0.3s ease;
}

.primary-action{
  background:linear-gradient(135deg,var(--red),var(--red-light));
  color:#fff;
  box-shadow:0 12px 28px rgba(217,4,41,0.35);
}

.whatsapp-action{
  background:#fff;
  color:#111;
}

.hero-action:hover{
  transform:translateY(-3px);
}

.quick-contact-panel{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  backdrop-filter:blur(12px);
  border-radius:28px;
  padding:28px;
  box-shadow:0 22px 45px rgba(0,0,0,0.25);
}

.panel-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--red),var(--red-light));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:18px;
}

.quick-contact-panel h2{
  font-size:26px;
  font-weight:900;
  margin-bottom:18px;
}

.quick-contact-panel a,
.quick-contact-panel p{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#fff;
  text-decoration:none;
  margin:15px 0;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.quick-contact-panel i{
  color:#ffb3c0;
  margin-top:4px;
}

/* =========================
   MAIN CONTACT AREA
========================= */

.contact-main{
  padding:80px 6%;
  background:#f4f5f7;
}

.contact-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:34px;
  align-items:start;
}

.section-mini-heading span,
.form-heading span{
  display:inline-flex;
  color:var(--red);
  background:rgba(217,4,41,0.08);
  border:1px solid rgba(217,4,41,0.14);
  border-radius:999px;
  padding:9px 16px;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1.4px;
  margin-bottom:16px;
}

.section-mini-heading h2,
.form-heading h2{
  font-family:'Montserrat',sans-serif;
  color:#111;
  font-size:clamp(28px,3vw,42px);
  font-weight:900;
  line-height:1.15;
  margin-bottom:16px;
}

.section-mini-heading p{
  color:#666;
  line-height:1.8;
  margin-bottom:28px;
}

.contact-card-list{
  display:grid;
  gap:16px;
}

.contact-card{
  display:flex;
  gap:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.07);
  border-radius:20px;
  padding:20px;
  box-shadow:0 8px 24px rgba(0,0,0,0.06);
  transition:0.3s ease;
}

.contact-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(0,0,0,0.10);
}

.contact-card i{
  width:48px;
  height:48px;
  flex-shrink:0;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--red-light));
  color:#fff;
  font-size:20px;
}

.contact-card h3{
  font-size:18px;
  font-weight:900;
  margin-bottom:6px;
}

.contact-card p{
  color:#666;
  line-height:1.6;
  font-size:14px;
}

/* =========================
   FORM
========================= */

.form-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.07);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 45px rgba(0,0,0,0.10);
}

.contact-form{
  display:grid;
  gap:18px;
}

.form-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group label{
  font-size:14px;
  font-weight:800;
  color:#222;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  border:1px solid rgba(0,0,0,0.10);
  background:#f8f9fb;
  border-radius:14px;
  padding:15px 16px;
  font-size:15px;
  color:#111;
  outline:none;
  transition:0.25s ease;
}

.form-group textarea{
  resize:vertical;
  min-height:130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color:rgba(217,4,41,0.55);
  background:#fff;
  box-shadow:0 0 0 4px rgba(217,4,41,0.08);
}

.submit-btn{
  border:0;
  cursor:pointer;
  width:100%;
  margin-top:4px;
  background:linear-gradient(135deg,var(--red),var(--red-light));
  color:#fff;
  padding:16px 20px;
  border-radius:16px;
  font-size:16px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 12px 28px rgba(217,4,41,0.28);
  transition:0.3s ease;
}

.submit-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(217,4,41,0.38);
}


/* =========================
   FOOTER
========================= */

.footer{
  background:#eef0f3;
  color:#111;
  padding:70px 20px 24px;
}

.footer-container{
  width:100%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.35fr 0.8fr 1fr 1fr;
  gap:34px;
}

.footer-logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  margin-bottom:16px;
}

.footer-logo-wrap img{
  width:70px;
  height:70px;
  object-fit:contain;
  background:#fff;
  border-radius:18px;
  padding:6px;
  box-shadow:0 8px 22px rgba(0,0,0,0.08);
}

.footer-logo-wrap strong{
  display:block;
  color:var(--red);
  font-family:'Montserrat',sans-serif;
  font-size:22px;
  font-weight:900;
  line-height:1.2;
}

.footer-logo-wrap small{
  display:block;
  color:#555;
  font-size:12px;
  margin-top:4px;
}

.footer-brand-box p{
  max-width:340px;
  color:#555;
  line-height:1.8;
  font-size:14px;
}

.footer-title{
  display:inline-block;
  font-size:17px;
  font-weight:900;
  margin-bottom:18px;
  position:relative;
}

.footer-title::after{
  content:'';
  width:42px;
  height:3px;
  background:var(--red);
  position:absolute;
  left:0;
  bottom:-7px;
  border-radius:20px;
}

.footer-box a{
  display:block;
  color:#333;
  text-decoration:none;
  margin:10px 0;
  font-size:14px;
  transition:0.25s ease;
}

.footer-box a:hover{
  color:var(--red);
  transform:translateX(4px);
}

.footer-info{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  margin:12px 0;
  color:#333;
  line-height:1.6;
  font-size:14px;
  overflow-wrap:anywhere;
}

.footer-info i{
  color:var(--red);
  margin-top:4px;
  min-width:16px;
}

.footer-link{
  font-weight:700;
}

.footer-hours{
  background:var(--white);
  padding:22px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(0,0,0,0.06);
}

.footer-hours p:not(.footer-title){
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid var(--border);
  font-size:14px;
}

.footer-hours span{
  color:#555;
}

.footer-hours strong{
  text-align:right;
  font-size:13px;
}

.footer-roadtest{
  margin-top:16px !important;
  padding:12px 16px;
  border-radius:12px;
  background:#111;
  color:var(--white) !important;
  text-align:center;
  font-weight:800;
}

.footer-roadtest:hover{
  background:var(--red);
  transform:none !important;
}

.footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.footer-socials a{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  color:#111;
  border-radius:50%;
  text-decoration:none;
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  transition:0.25s ease;
}

.footer-socials a:hover{
  background:var(--red);
  color:var(--white);
  transform:translateY(-3px);
}

.footer-bottom{
  max-width:1200px;
  margin:40px auto 0;
  padding-top:18px;
  text-align:center;
  border-top:1px solid rgba(0,0,0,0.1);
}

.footer-bottom p{
  color:#555;
  font-size:13px;
  line-height:1.7;
}

.footer-bottom a{
  color:var(--red);
  font-weight:900;
  text-decoration:none;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){
  .nav-links{
    gap:22px;
  }

  .footer-container{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:992px){
  .contact-hero-container,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .quick-contact-panel{
    max-width:620px;
  }

}

@media(max-width:950px){
  .nav-links,
  .nav-contact-btn{
    display:none;
  }

  .hamburger{
    display:flex;
  }

  .logo img{
    width:56px;
    height:56px;
  }

  .brand-main{
    font-size:17px;
  }

  .brand-sub{
    font-size:13px;
  }
}

@media(max-width:768px){
  .contact-hero{
    padding:135px 18px 55px;
  }

  .contact-hero h1{
    font-size:36px;
    letter-spacing:-1px;
  }

  .hero-contact-actions{
    flex-direction:column;
  }

  .hero-action{
    justify-content:center;
  }

  .contact-main{
    padding:60px 18px;
  }

  .form-card{
    padding:24px;
    border-radius:24px;
  }

  .form-row{
    grid-template-columns:1fr;
  }

  .contact-card{
    flex-direction:column;
  }


  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-logo-wrap{
    justify-content:center;
  }

  .footer-brand-box p{
    margin:auto;
  }

  .footer-title::after{
    left:50%;
    transform:translateX(-50%);
  }

  .footer-info{
    justify-content:center;
  }

  .footer-socials{
    justify-content:center;
  }
}

@media(max-width:480px){
  .navbar{
    height:78px;
    padding:0 16px;
  }

  .mobile-menu{
    padding-top:100px;
  }

  .contact-hero h1{
    font-size:31px;
  }

  .section-mini-heading h2,
  .form-heading h2{
    font-size:27px;
  }

  .footer-logo-wrap{
    flex-direction:column;
  }

  .footer-hours p:not(.footer-title){
    flex-direction:column;
    gap:4px;
  }

  .footer-hours strong{
    text-align:center;
  }
}


/* =========================
   FINAL FOOTER MOBILE POLISH
========================= */
@media(max-width:768px){
  .footer{
    padding:58px 18px 22px;
  }

  .footer-container{
    gap:26px;
  }

  .footer-brand-box,
  .footer-box,
  .footer-hours{
    width:100%;
  }

  .footer-logo-wrap{
    max-width:320px;
    margin-left:auto;
    margin-right:auto;
  }

  .footer-box a{
    width:fit-content;
    margin:10px auto;
  }

  .footer-info{
    max-width:320px;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:left;
  }

  .footer-hours{
    max-width:360px;
    margin:0 auto;
  }

  .footer-socials a:hover,
  .footer-box a:hover{
    transform:none;
  }
}

@media(max-width:480px){
  .footer-logo-wrap img{
    width:64px;
    height:64px;
  }

  .footer-logo-wrap strong{
    font-size:20px;
  }

  .footer-bottom{
    margin-top:30px;
  }
}


/* FINAL CLICKABLE PHONE FIX */
.logo,.brand-main,.brand-sub{text-decoration:none;}
.phone{text-decoration:none;width:max-content;transition:0.25s ease;}
.phone:hover{color:var(--red);transform:translateX(2px);}


/* Mobile navbar phone visibility fix */
@media (max-width: 950px){
  .navbar{
    gap: 10px;
  }

  .nav-left{
    min-width: 0;
    flex: 1;
  }

  .brand{
    min-width: 0;
  }

  .phone{
    display: flex !important;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    font-size: 11px;
    line-height: 1;
    margin-top: 4px;
    white-space: nowrap;
    text-decoration: none;
  }
}

@media (max-width: 380px){
  .phone{
    font-size: 10px;
  }

  .brand-main{
    font-size: 16px;
  }

  .brand-sub{
    font-size: 11px;
  }
}

/* Final mobile navbar phone fix: keep number in navbar without crowding */
.phone-short{
  display:none;
}

@media (max-width: 950px){
  .navbar{
    gap:8px;
    padding-left:14px;
    padding-right:14px;
  }

  .nav-left{
    min-width:0;
    flex:1 1 auto;
    gap:9px;
  }

  .logo img{
    width:54px;
    height:62px;
  }

  .brand{
    min-width:0;
  }

  .brand-main{
    font-size:18px;
  }

  .brand-sub{
    font-size:12px;
    letter-spacing:1px;
  }

  .phone{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:5px;
    width:fit-content;
    max-width:100%;
    margin-top:5px;
    padding:5px 8px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    text-decoration:none;
  }

  .phone-full{
    display:none;
  }

  .phone-short{
    display:inline;
  }

  .nav-right{
    flex-shrink:0;
    gap:8px;
  }
}

@media (max-width: 380px){
  .navbar{
    padding-left:10px;
    padding-right:10px;
  }

  .logo img{
    width:46px;
    height:54px;
  }

  .brand-main{
    font-size:16px;
  }

  .brand-sub{
    display:block;
  }

  .phone{
    font-size:10px;
    padding:5px 7px;
  }
}
