:root{
  --accent:#ff6600; 
  --accent-contrast:#ffffff;
  --bg:#f7f9fb;
  --text:#222;
  --muted:#555;
  --card:#fff;
  --border: rgba(0,0,0,.08);
  --shadow: 0 8px 28px rgba(20,30,50,.08);
  --radius: 14px;
  --max: 1100px;
}

/* Base */
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
img{max-width:100%; display:block; height:auto}
.container{width:92%; max-width:var(--max); margin:0 auto}

/* Links / focus */
a{color:var(--accent); text-decoration:none}
a:hover{
  color:#fff;
  background:var(--accent);
  transition:.25s ease;
  padding:5px 10px;
  border-radius:6px;
}
:focus-visible{outline:3px solid rgba(255,102,0,.35); outline-offset:2px}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--border);
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.logo{height:56px}
.brand-name{
  font-size:20px;
  font-weight:800;
  color:var(--accent);
}

/* Prevent logo hover issues */
.brand:hover,
.brand:active,
.brand:focus{
  background:none !important;
  color:inherit !important;
  text-decoration:none !important;
}
.brand,
.brand *{
  transition:color .25s ease !important;
  transform:none !important;
  box-shadow:none !important;
  background:none !important;
  padding:0 !important;
}

/* Nav */
.nav-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-toggle{
  display:none;
  border:0;
  background:transparent;
  font-size:24px;
  cursor:pointer;
}
nav ul{
  list-style:none;
  display:flex;
  gap:10px;
  margin:0;
  padding:0;
}
.nav-link{
  color:#333;
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  transition:.18s;
}
.nav-link:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(255,102,0,.14);
  background:rgba(255,102,0,.06);
  color:var(--accent);
}
.nav-link.active{
  background:var(--accent);
  color:#fff;
}

/* Hero */
.hero{
  padding:56px 0;
  color:#fff;
  background:linear-gradient(135deg,#0e1a40 0%, #24407f 60%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:30px;
  align-items:center;
}
.hero-content h1{
  font-size:clamp(28px, 4.6vw, 40px);
  margin:0 0 8px;
}
.lead{
  color:#e8eefc;
  font-size:16px;
  margin:0 0 18px;
  max-width:680px;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin:14px 0 10px;
}
.btn{
  display:inline-block;
  padding:11px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 8px 24px rgba(255,102,0,.18);
}
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(255,102,0,.22);
}
.hero-logo{
  background:#fff;
  border-radius:14px;
  padding:18px;
  max-height:260px;
  object-fit:contain;
}

/* Sections / cards */
.section{padding:40px 0}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  transition:.2s;
}
.card:hover{transform:translateY(-2px)}
.card h3{margin:0 0 6px}
.card p{margin:0; color:var(--muted)}
ul.quick-list{margin:12px 0 0 18px}

/* Generic cards grid */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:24px;
  align-items:start;
  margin-top:24px;
}

/* Home page What We Do */
.home-what-we-do .cards{
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}
.home-what-we-do .card{
  width:100%;
}

/* Service images */
.card-img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:14px;
}

/* Content block */
.content{
  padding:32px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 6px 18px rgba(20,30,50,.04);
  margin:24px 0;
}

/* Center title accent */
.center-title{
  text-align:center;
  position:relative;
  padding-bottom:10px;
  margin-bottom:10px;
}
.center-title::after{
  content:"";
  display:block;
  width:80px;
  height:4px;
  margin:10px auto 0;
  background:var(--accent);
  border-radius:999px;
}

/* Services page */
body.services-page .content{
  max-width:1240px;
  margin:24px auto 40px;
}
body.services-page h1{
  text-align:center;
}
body.services-page h1::after{
  content:"";
  display:block;
  width:80px;
  height:4px;
  margin:12px auto 0;
  background:var(--accent);
  border-radius:999px;
}
body.services-page .cards{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:28px;
}

/* About page */
body.about-page main.container{
  width:100%;
  max-width:none;
}
body.about-page .content{
  max-width:1000px;
  margin:24px auto 40px;
  padding-left:20px;
  padding-right:20px;
}
body.about-page h1{
  text-align:center;
  margin-bottom:6px;
}
body.about-page h1::after{
  content:"";
  display:block;
  width:80px;
  height:4px;
  margin:12px auto 0;
  background:var(--accent);
  border-radius:999px;
}

/* Why block helpers */
.why-list{
  list-style:disc;
  margin-left:100px;
  margin-right:100px;
}
.center-block{
  min-height:calc(100vh - 200px);
  display:flex;
  justify-content:center;
  align-items:center;
}
.why-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  width:60%;
  max-width:700px;
  min-width:300px;
  height:auto;
  padding:40px;
  text-align:center;
}
.why-box .why-list{
  margin:20px auto 0;
  padding-left:1.2rem;
  text-align:left;
}

/* Contact page */
.contact-form{
  display:grid;
  gap:12px;
  max-width:640px;
}
.input,.textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #ddd;
  background:#fff;
}
.textarea{
  min-height:140px;
  resize:vertical;
}
.helper{
  color:var(--muted);
  font-size:13px;
}
.form-status{
  margin-top:6px;
  font-weight:700;
}
body.contact-page main.container{
  min-height:calc(100vh - 140px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body.contact-page .container.content{
  width:100%;
  max-width:none;
}
body.contact-page .content{
  max-width:100%;
  margin:0;
  border:none;
  border-radius:0;
  box-shadow:none;
  padding:60px 20px;
  background:var(--bg);
}
body.contact-page .contact-form{max-width:100%}

/* Footer */
.site-footer{
  background:#fff;
  border-top:1px solid var(--border);
  padding:28px 0;
  color:#333;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:16px;
}
.footer-grid h4{margin:0 0 6px}
.small{
  font-size:13px;
  color:var(--muted);
}

/* Tablet */
@media (max-width:1000px){
  .home-what-we-do .cards{
    grid-template-columns:repeat(2, 1fr);
  }
  body.services-page .cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width:900px){
  .hero{
    text-align:center;
    padding:40px 0 60px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    justify-items:center;
  }

  .hero-image{
    display:flex;
    justify-content:center;
    margin-top:24px;
  }

  .hero-logo{
    max-width:180px;
    height:auto;
    padding:10px;
    border-radius:12px;
  }

  .hero-content h1{
    font-size:24px;
    line-height:1.3;
  }

  .hero-content .lead{
    font-size:15px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .why-list{
    margin-left:20px;
    margin-right:20px;
  }

  .nav-toggle{
    display:block;
  }

  nav ul{
    display:none;
  }

  nav.open ul{
    display:flex;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid var(--border);
    flex-direction:column;
    gap:8px;
    padding:12px;
    z-index:2001;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
  }
}

@media (max-width:650px){
  .cards,
  .home-what-we-do .cards,
  body.services-page .cards{
    grid-template-columns:1fr;
  }
}

@media (min-width:901px){
  .nav-wrap nav{
    display:block !important;
  }
  #navToggle{
    display:none;
  }
}