/* BenzTech VanWorks — Brand-first, accessible, responsive.
   Palette extracted from provided logo:
   - Deep navy: #0C0B37
   - Nearly black navy: #040420
   - Slate accent: #57619B
   - Soft white: #F8F8F9
*/

:root{
  --bg: #0C0B37;
  --bg-2: #040420;
  --accent: #57619B;
  --accent-2: #4F5171;
  --text: #F8F8F9;
  --muted: rgba(248, 248, 249, 0.75);
  --card: rgba(248, 248, 249, 0.06);
  --border: rgba(248, 248, 249, 0.14);
  --shadow: 0 18px 45px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;

  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-script: "Dancing Script", cursive;

  --focus: 0 0 0 4px rgba(87, 97, 155, 0.45);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(87,97,155,.25), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(79,81,113,.18), transparent 55%),
              linear-gradient(180deg, var(--bg-2), var(--bg));
  line-height: 1.55;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
p{ margin: 0 0 1rem; }
ul{ margin: 0; padding-left: 1.25rem; }
li{ margin: .4rem 0; }

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg-2);
  border-radius: 12px;
  z-index: 9999;
}
.skip-link:focus{
  left: 1rem;
  top: 1rem;
  outline: none;
  box-shadow: var(--focus);
}

.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4,4,32,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(248,248,249,.08);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 180px;
}
.brand__logo{
  width: 170px;
  height: auto;
}
.nav{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav a{
  padding: .55rem .7rem;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(248,248,249,.92);
  font-weight: 600;
}
.nav a:hover{ background: rgba(248,248,249,.06); text-decoration: none; }
.nav a[aria-current="page"]{
  background: rgba(87,97,155,.2);
  border: 1px solid rgba(87,97,155,.45);
}

.header__cta{
  display: flex;
  align-items: center;
  gap: .65rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); text-decoration: none; }
.btn:active{ transform: translateY(0px); }
.btn:focus{ outline: none; box-shadow: var(--focus); }

.btn--primary{
  background: linear-gradient(180deg, rgba(87,97,155,1), rgba(79,81,113,1));
  border-color: rgba(248,248,249,.12);
  color: var(--text);
}
.btn--ghost{
  background: rgba(248,248,249,.06);
  border-color: rgba(248,248,249,.14);
  color: var(--text);
}

.icon{
  width: 18px;
  height: 18px;
  display: inline-block;
}

.menu-btn{
  display: none;
  background: rgba(248,248,249,.06);
  border: 1px solid rgba(248,248,249,.14);
  border-radius: 12px;
  padding: .6rem .7rem;
  cursor: pointer;
}
.menu-btn:focus{ outline: none; box-shadow: var(--focus); }

.hero{
  padding: 4.2rem 0 2.8rem;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}
.kicker{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(248,248,249,.06);
  border: 1px solid rgba(248,248,249,.12);
  color: rgba(248,248,249,.92);
  font-weight: 700;
}
.kicker .dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(87,97,155,.22);
}

h1, h2, h3{
  font-family: var(--font-head);
  margin: 0 0 1rem;
  line-height: 1.15;
}
h1{
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
}
h2{
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
}
h3{
  font-size: 1.15rem;
}
.lead{
  font-size: 1.1rem;
  color: rgba(248,248,249,.86);
  max-width: 62ch;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.4rem;
}
.hero__panel{
  background: rgba(248,248,249,.05);
  border: 1px solid rgba(248,248,249,.12);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.hero__panel h3{ margin-bottom: .6rem; }
.hero__panel p{ color: rgba(248,248,249,.82); }

.badges{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-top: 1rem;
}
.badge{
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248,248,249,.12);
  background: rgba(248,248,249,.04);
  padding: .9rem;
}
.badge strong{ display: block; font-weight: 800; }
.badge span{ color: rgba(248,248,249,.78); font-size: .95rem; }

.section{
  padding: 3rem 0;
}
.section--tight{ padding: 2.4rem 0; }
.section__header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}
.section__header p{
  max-width: 70ch;
  color: rgba(248,248,249,.82);
}

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.card p{ color: rgba(248,248,249,.82); }

.list-inline{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0;
  list-style: none;
}
.pill{
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(87,97,155,.18);
  border: 1px solid rgba(87,97,155,.35);
  color: rgba(248,248,249,.92);
  font-weight: 700;
  font-size: .95rem;
}

.callout{
  border-radius: var(--radius);
  padding: 1.35rem;
  background: radial-gradient(700px 250px at 20% 10%, rgba(87,97,155,.28), transparent 60%),
              rgba(248,248,249,.05);
  border: 1px solid rgba(248,248,249,.12);
}

.script{
  font-family: var(--font-script);
  font-size: 1.45rem;
  color: rgba(248,248,249,.92);
}

.two-col{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: start;
}

.form{
  display: grid;
  gap: .85rem;
}
.field{
  display: grid;
  gap: .4rem;
}
label{
  font-weight: 700;
  color: rgba(248,248,249,.9);
}
input, textarea{
  font: inherit;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(248,248,249,.14);
  background: rgba(4,4,32,.35);
  color: var(--text);
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus{
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(87,97,155,.8);
}

.small{
  font-size: .95rem;
  color: rgba(248,248,249,.76);
}

.footer{
  margin-top: 3rem;
  border-top: 1px solid rgba(248,248,249,.10);
  background: rgba(4,4,32,.4);
}
.footer__inner{
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: start;
}
.footer a{ text-decoration: none; color: rgba(248,248,249,.88); }
.footer a:hover{ text-decoration: underline; }
.footer__meta{
  color: rgba(248,248,249,.72);
  font-size: .95rem;
}


/* --- Brand mark + SEO-friendly layout helpers --- */
.hero{
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  width: 620px;
  height: 240px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: image-set(
    url("../assets/van-mark.webp") type("image/webp"),
    url("../assets/van-mark.png") type("image/png")
  );
  opacity: .08;
  pointer-events: none;
  transform: rotate(-4deg);
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.25));
}
.hero .container{ position: relative; z-index: 1; }

.logo-mark{ display: block; height: auto; }
.logo-mark--sm{ width: 84px; }
.logo-mark--xs{ width: 52px; }

.panel__mark{
  display: flex;
  justify-content: flex-end;
  margin-bottom: .6rem;
}

.page-mark{
  display: inline-block;
  margin-bottom: .65rem;
}

.footer__brand{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer__logo{
  width: 84px;
  height: auto;
  opacity: .95;
}

.card__mark{
  display: flex;
  justify-content: flex-end;
  margin-top: -.25rem;
  margin-bottom: .25rem;
}

.cities{
  margin: .35rem 0 .2rem;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}
.cities li{ break-inside: avoid; margin: .15rem 0; }

details.card summary{
  cursor: pointer;
  list-style: none;
}
details.card summary::-webkit-details-marker{ display: none; }
details.card[open] summary{ margin-bottom: .6rem; }

@media (max-width: 700px){
  .cities{ columns: 1; }
  .hero::before{
    width: 460px;
    height: 190px;
    opacity: .07;
  }
}


@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .badges{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .header__inner{ align-items: center; }
  .nav{ display: none; }
  .menu-btn{ display: inline-flex; align-items: center; gap: .5rem; }
  .nav.is-open{
    display: grid;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: .75rem;
    background: rgba(4,4,32,.94);
    border-bottom: 1px solid rgba(248,248,249,.10);
  }
  .header__cta{ gap: .5rem; }
  .brand__logo{ width: 150px; }
  .footer__inner{ grid-template-columns: 1fr; }
}


/* --- Mobile fit + overflow protection --- */
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body{ overflow-x: hidden; }
a, p, li{ overflow-wrap: anywhere; word-break: break-word; }

/* Call button (mobile-friendly) */
.btn__label{ font-weight: 800; }
.btn__detail{ opacity: .92; }

/* Header: allow CTA buttons to wrap cleanly on phones */
@media (max-width: 560px){
  .header__inner{ flex-wrap: wrap; row-gap: .75rem; }
  .brand{ min-width: 0; }
  .menu-btn{ margin-left: auto; }
  .header__cta{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    justify-content: stretch;
  }
  .header__cta .btn{
    width: 100%;
    padding: .65rem .8rem;
    font-size: .98rem;
  }
}

/* Very small screens: hide phone number inside header button to prevent crowding */
@media (max-width: 420px){
  .btn--call .btn__detail{ display: none; }
}
