/* ============================================================
   On The Level Roofing and Construction
   Brand stylesheet. Colors pulled from the logo:
   navy #13386B + steel #697787, with a warm amber accent
   reserved for calls to action.
   ============================================================ */

:root {
  --navy:        #13386B;
  --navy-deep:   #0F2C54;
  --navy-900:    #0A1F3C;
  --steel:       #697787;
  --steel-light: #97A4B2;
  --cloud:       #F4F6F9;
  --cloud-2:     #EAEEF4;
  --line:        #E2E8F0;
  --ink:         #1E2A3A;
  --muted:       #5A6675;
  --white:       #FFFFFF;
  --amber:       #E0A11B;
  --amber-dark:  #C2860C;

  --shadow-sm: 0 1px 3px rgba(15,44,84,.08), 0 1px 2px rgba(15,44,84,.06);
  --shadow-md: 0 8px 24px rgba(15,44,84,.10);
  --shadow-lg: 0 20px 50px rgba(10,31,60,.18);

  --radius:   14px;
  --radius-sm:10px;
  --container:1180px;

  --font-head:'Montserrat','Helvetica Neue',Arial,sans-serif;
  --font-body:'Inter','Helvetica Neue',Arial,sans-serif;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img,svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
h1,h2,h3,h4 { font-family:var(--font-head); color:var(--navy); line-height:1.12; font-weight:800; letter-spacing:-.01em; }

.container { width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.section { padding:96px 0; }
.section--tight { padding:72px 0; }
.bg-cloud { background:var(--cloud); }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--font-head); font-weight:700; font-size:16px;
  padding:15px 28px; border-radius:999px; cursor:pointer;
  border:2px solid transparent; transition:.18s ease; white-space:nowrap;
}
.btn--primary { background:var(--amber); color:#26200a; border-color:var(--amber); }
.btn--primary:hover { background:var(--amber-dark); border-color:var(--amber-dark); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn--navy { background:var(--navy); color:#fff; border-color:var(--navy); }
.btn--navy:hover { background:var(--navy-deep); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn--ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.btn--ghost:hover { background:rgba(255,255,255,.12); border-color:#fff; }
.btn--outline { background:transparent; color:var(--navy); border-color:var(--navy); }
.btn--outline:hover { background:var(--navy); color:#fff; }
.btn--lg { font-size:18px; padding:18px 36px; }

/* ---------- Header ---------- */
.header {
  position:sticky; top:0; z-index:60; background:rgba(255,255,255,.96);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header__inner { display:flex; align-items:center; justify-content:space-between; height:78px; gap:24px; }
.header__logo img { height:46px; width:auto; }
.nav { display:flex; align-items:center; gap:30px; }
.nav a { font-family:var(--font-head); font-weight:600; font-size:15.5px; color:var(--ink); transition:.15s; }
.nav a:hover { color:var(--navy); }
.header__cta { display:flex; align-items:center; gap:18px; }
.header__phone { font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:15.5px; display:flex; align-items:center; gap:7px; }
.header__phone svg { width:17px; height:17px; }
.nav-toggle { display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span { display:block; width:26px; height:2.6px; background:var(--navy); border-radius:2px; margin:5px 0; transition:.25s; }

/* ---------- Hero ---------- */
.hero {
  position:relative; overflow:hidden;
  background:linear-gradient(160deg,#0F2C54 0%,#13386B 55%,#1B4884 100%);
  color:#fff; padding:104px 0 96px;
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(224,161,27,.18), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(151,164,178,.16), transparent 60%);
}
.hero__grid { position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.eyebrow {
  display:inline-flex; align-items:center; gap:9px; font-family:var(--font-head);
  font-weight:700; font-size:13.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--amber); margin-bottom:22px;
}
.eyebrow::before { content:""; width:26px; height:2px; background:var(--amber); display:inline-block; }
.hero h1 { color:#fff; font-size:clamp(38px,5.4vw,64px); font-weight:800; line-height:1.04; }
.hero h1 .amber { color:var(--amber); }
.hero p.lead { color:#D6DEEA; font-size:19px; max-width:560px; margin:24px 0 36px; }
.hero__actions { display:flex; gap:16px; flex-wrap:wrap; }
.hero__since { margin-top:40px; display:flex; align-items:center; gap:14px; color:#AFC0D6; font-size:14.5px; }
.hero__since .est { font-family:var(--font-head); font-weight:800; color:#fff; font-size:15px; letter-spacing:.04em; }

/* Hero visual card */
.hero__visual { position:relative; }
.hero__card {
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  border-radius:20px; padding:38px 34px; backdrop-filter:blur(4px); box-shadow:var(--shadow-lg);
}
.hero__card .stk { width:100%; max-width:300px; margin:0 auto 26px; }
.hero__card .stk img { width:100%; }
.hero__stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; text-align:center; }
.hero__stats .num { font-family:var(--font-head); font-weight:800; color:#fff; font-size:30px; line-height:1; }
.hero__stats .lab { color:#AFC0D6; font-size:12px; letter-spacing:.05em; text-transform:uppercase; margin-top:7px; }
.hero__stats > div { padding:14px 6px; background:rgba(255,255,255,.05); border-radius:10px; }

/* ---------- Trust bar ---------- */
.trust { background:var(--navy-900); color:#fff; }
.trust__row { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; padding:22px 0; }
.trust__item { display:flex; align-items:center; gap:11px; font-family:var(--font-head); font-weight:600; font-size:15px; color:#E6ECF4; }
.trust__item svg { width:22px; height:22px; flex:none; color:var(--amber); }

/* ---------- Section heading ---------- */
.head { text-align:center; max-width:720px; margin:0 auto 56px; }
.head .kicker { font-family:var(--font-head); font-weight:700; font-size:13.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--amber-dark); display:block; margin-bottom:14px; }
.head h2 { font-size:clamp(28px,3.6vw,42px); }
.head p { color:var(--muted); font-size:18px; margin-top:16px; }
.head--left { text-align:left; margin-left:0; }

/* ---------- Services ---------- */
.services__grid { display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.scard {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:34px 32px; transition:.2s; position:relative; overflow:hidden;
}
.scard::before { content:""; position:absolute; left:0; top:0; height:4px; width:0; background:var(--amber); transition:.25s; }
.scard:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:#cfd9e6; }
.scard:hover::before { width:100%; }
.scard__icon { width:58px; height:58px; border-radius:12px; background:var(--cloud); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.scard__icon svg { width:30px; height:30px; color:var(--navy); }
.scard h3 { font-size:23px; }
.scard .tag { color:var(--amber-dark); font-family:var(--font-head); font-weight:600; font-size:14.5px; margin:5px 0 14px; }
.scard p { color:var(--muted); font-size:16px; margin-bottom:18px; }
.scard ul li { position:relative; padding-left:26px; margin-bottom:9px; color:var(--ink); font-size:15.5px; }
.scard ul li::before {
  content:""; position:absolute; left:0; top:7px; width:14px; height:14px;
  background:var(--amber); -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  border:0; border-radius:0;
}

/* ---------- Story ---------- */
.story__grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.story__copy h2 { font-size:clamp(28px,3.4vw,40px); margin-bottom:22px; }
.story__copy p { color:var(--muted); margin-bottom:18px; font-size:17px; }
.story__copy p strong { color:var(--ink); }
.story__badge {
  background:linear-gradient(160deg,#0F2C54,#1B4884); color:#fff; border-radius:20px;
  padding:48px 40px; text-align:center; box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.story__badge::after { content:""; position:absolute; inset:0; background:radial-gradient(500px 280px at 80% 0%,rgba(224,161,27,.18),transparent 60%); }
.story__badge .ring { position:relative; z-index:2; width:130px; height:130px; margin:0 auto 24px; border:3px solid rgba(255,255,255,.25); border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.story__badge .ring .est { font-family:var(--font-head); font-size:12px; letter-spacing:.2em; color:var(--amber); }
.story__badge .ring .yr { font-family:var(--font-head); font-weight:800; font-size:40px; line-height:1; }
.story__badge h3 { color:#fff; font-size:24px; position:relative; z-index:2; }
.story__badge p { color:#C3CEDA; position:relative; z-index:2; margin-top:12px; font-size:15.5px; }

/* ---------- Why us ---------- */
.why__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feature { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; transition:.2s; }
.feature:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
.feature__ic { width:48px; height:48px; border-radius:10px; background:rgba(19,56,107,.08); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.feature__ic svg { width:25px; height:25px; color:var(--navy); }
.feature h3 { font-size:18.5px; margin-bottom:8px; }
.feature p { color:var(--muted); font-size:15.5px; }

/* ---------- Process ---------- */
.process { background:linear-gradient(160deg,#0F2C54,#13386B); color:#fff; }
.process .head h2 { color:#fff; }
.process .head .kicker { color:var(--amber); }
.process .head p { color:#C3CEDA; }
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:step; }
.step { position:relative; padding-top:16px; }
.step__n { font-family:var(--font-head); font-weight:800; font-size:46px; color:rgba(224,161,27,.9); line-height:1; margin-bottom:14px; }
.step h3 { color:#fff; font-size:20px; margin-bottom:8px; }
.step p { color:#BCC9DB; font-size:15px; }
.step:not(:last-child)::after { content:""; position:absolute; top:34px; right:-12px; width:24px; height:2px; background:rgba(255,255,255,.2); }

/* ---------- Service area ---------- */
.area__grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.area__list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.area__list li { display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:600; color:var(--navy); background:#fff; border:1px solid var(--line); border-radius:10px; padding:13px 16px; }
.area__list li svg { width:18px; height:18px; color:var(--amber); flex:none; }
.area__note { color:var(--muted); font-size:15px; margin-top:18px; }

/* ---------- Testimonials ---------- */
.tcards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tcard { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px 30px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.tcard .stars { color:var(--amber); letter-spacing:2px; font-size:18px; margin-bottom:14px; }
.tcard blockquote { color:var(--ink); font-size:16px; font-style:italic; margin-bottom:20px; flex:1; }
.tcard .who { font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:15.5px; }
.tcard .job { color:var(--muted); font-size:13.5px; }

/* ---------- CTA band ---------- */
.cta {
  background:linear-gradient(135deg,#13386B,#0F2C54); color:#fff; text-align:center;
  border-radius:24px; padding:64px 32px; box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.cta::after { content:""; position:absolute; inset:0; background:radial-gradient(600px 300px at 50% -20%,rgba(224,161,27,.22),transparent 60%); }
.cta > * { position:relative; z-index:2; }
.cta h2 { color:#fff; font-size:clamp(28px,3.6vw,40px); }
.cta p { color:#C9D4E2; font-size:18px; max-width:560px; margin:16px auto 30px; }

/* ---------- FAQ ---------- */
.faq { max-width:820px; margin:0 auto; }
.faq__item { border:1px solid var(--line); border-radius:12px; margin-bottom:14px; background:#fff; overflow:hidden; }
.faq__q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:22px 24px; font-family:var(--font-head); font-weight:700; font-size:17px; color:var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq__q .ic { flex:none; width:24px; height:24px; border-radius:50%; background:var(--cloud); position:relative; transition:.25s; }
.faq__q .ic::before,.faq__q .ic::after { content:""; position:absolute; background:var(--navy); border-radius:2px; top:50%; left:50%; transform:translate(-50%,-50%); }
.faq__q .ic::before { width:11px; height:2.4px; }
.faq__q .ic::after { width:2.4px; height:11px; transition:.25s; }
.faq__item.open .faq__q .ic { background:var(--amber); }
.faq__item.open .faq__q .ic::before,.faq__item.open .faq__q .ic::after { background:#26200a; }
.faq__item.open .faq__q .ic::after { transform:translate(-50%,-50%) scaleY(0); }
.faq__a { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq__a p { padding:0 24px 22px; color:var(--muted); font-size:16px; }

/* ---------- Contact ---------- */
.contact__grid { display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:start; }
.form { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:36px 34px; box-shadow:var(--shadow-md); }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom:16px; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:13.5px; color:var(--ink); margin-bottom:6px; }
.field input,.field select,.field textarea {
  width:100%; font-family:var(--font-body); font-size:15.5px; color:var(--ink);
  border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; background:#fff; transition:.15s;
}
.field input:focus,.field select:focus,.field textarea:focus { outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(19,56,107,.12); }
.field textarea { resize:vertical; min-height:120px; }
.form__note { color:var(--muted); font-size:13px; margin-top:12px; text-align:center; }
.form__success { display:none; background:#ECF7EE; border:1px solid #BfE3C6; color:#1E6B33; border-radius:10px; padding:14px 16px; margin-bottom:18px; font-size:15px; }
.contact__info { padding-top:6px; }
.contact__info h3 { font-size:22px; margin-bottom:8px; }
.contact__info > p { color:var(--muted); margin-bottom:24px; }
.cinfo { display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.cinfo__ic { width:46px; height:46px; flex:none; border-radius:10px; background:var(--navy); display:flex; align-items:center; justify-content:center; }
.cinfo__ic svg { width:22px; height:22px; color:#fff; }
.cinfo .l { font-family:var(--font-head); font-weight:700; color:var(--navy); font-size:14px; }
.cinfo .v { color:var(--ink); font-size:16px; }
.cinfo .v small { color:var(--muted); }

/* ---------- Footer ---------- */
.footer { background:var(--navy-900); color:#C3CEDA; padding:64px 0 28px; }
.footer__grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:44px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer__logo img { height:54px; margin-bottom:18px; }
.footer__grid p { font-size:15px; color:#9FB0C6; max-width:340px; }
.footer h4 { color:#fff; font-family:var(--font-head); font-size:14px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; }
.footer__links li { margin-bottom:11px; }
.footer__links a { color:#AFBED2; font-size:15px; transition:.15s; }
.footer__links a:hover { color:var(--amber); }
.footer__bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:24px; font-size:13.5px; color:#8294AC; }
.footer__bottom a:hover { color:#fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal { opacity:1; transform:none; transition:none; } }

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .nav, .header__phone { display:none; }
  .nav-toggle { display:block; }
  .header.open .nav {
    display:flex; position:absolute; top:78px; left:0; right:0; flex-direction:column;
    background:#fff; border-bottom:1px solid var(--line); padding:18px 24px; gap:6px; box-shadow:var(--shadow-md);
  }
  .header.open .nav a { padding:12px 4px; width:100%; border-bottom:1px solid var(--cloud); }
  .hero__grid, .story__grid, .area__grid, .contact__grid { grid-template-columns:1fr; gap:40px; }
  .hero__visual { max-width:420px; }
  .why__grid, .tcards { grid-template-columns:1fr 1fr; }
  .steps { grid-template-columns:1fr 1fr; gap:30px; }
  .step:not(:last-child)::after { display:none; }
}
@media (max-width:620px){
  .section { padding:64px 0; }
  body { font-size:16px; }
  .services__grid, .why__grid, .tcards, .area__list, .form .row { grid-template-columns:1fr; }
  .hero { padding:72px 0 64px; }
  .hero__stats .num { font-size:24px; }
  .header__cta .btn { padding:11px 18px; font-size:14px; }
  .header__logo img { height:40px; }
  .cta { padding:48px 22px; }
  .footer__grid { grid-template-columns:1fr; gap:30px; }
}
