/* Guerrero Services — the whole design system. Desktop mirrors the
   GoHighLevel site measured at 1280px (Poppins text, Roboto headings, the
   logo's red as the accent); below 960px the menu folds into a CSS-only
   drawer, below 700px the two-column rows stack. */
:root {
  --ink: #000;
  --ink-2: #1f1f1f;
  --red: #da3832;
  --soft: #fcfcfc;
  --gray: #f6f6f6;
  --light: #f7f7f7;
  --green-ink: #002f25;
  --muted: #6f7a8f;
  --link: #188bf6;
  --star: #fbc51d;
  --wrap: 1170px;
  --gutter: 20px;
  --text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.5 var(--text); color: var(--ink); background: #fff; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 10px; top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1em; height: 1em; flex: none; }
a:focus-visible, .nav-toggle:focus-visible + .burger { outline: 3px solid rgba(218, 56, 50, .45); outline-offset: 3px; border-radius: 2px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 110px; padding-top: 30px; padding-bottom: 30px; }
.brand { display: block; flex: none; }
.brand img { width: 240px; height: auto; }
.nav { display: flex; align-items: center; }
.nav-link {
  font: 400 20px/1.3 var(--text); color: var(--ink-2); text-decoration: none;
  padding: 5px 33px; transition: color .2s ease;
}
.nav-link:last-child { padding-right: 0; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--red); }
.burger { display: none; }

/* ---------- photo header ---------- */
.hero { position: relative; overflow: hidden; background: #000; padding: 170px 0; text-align: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-copy { position: relative; }
.hero-title { font: 700 80px/1.3 var(--head); color: #fff; letter-spacing: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }

/* ---------- section scaffolding ---------- */
.section { padding: 56px 0; }
.section--soft { background: var(--soft); }
.section--gray { background: var(--gray); }
.section--light { background: var(--light); }
.h2 { font: 700 28px/1.3 var(--head); color: var(--ink); }
.spaced { letter-spacing: 1px; }
.lead { font: 400 20px/1.5 var(--text); }

/* ---------- home: Making an Impact ---------- */
.impact {
  display: grid; grid-template-columns: minmax(0, 1fr) 424px; column-gap: 76px; align-items: start;
  grid-template-areas: "h tall" "p1 tall" "p2 tall" "small tall";
  grid-template-rows: auto auto auto 1fr;
  padding-left: 64px;
}
.impact-h { grid-area: h; margin: 56px 0 6px; }
.impact-p1 { grid-area: p1; }
.impact-p2 { grid-area: p2; margin-top: 40px; }
.impact-small { grid-area: small; align-self: end; justify-self: center; width: 400px; max-width: 100%; margin-top: 36px; }
.impact-small img { width: 100%; aspect-ratio: 940 / 788; object-fit: cover; }
.impact-tall { grid-area: tall; }
.impact-tall img, .split-tall img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 4px; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 38px; }
.card-media img { width: 100%; aspect-ratio: 940 / 788; object-fit: cover; }
.card-title { font: 700 20px/1.3 var(--text); letter-spacing: 1px; text-align: center; margin-top: 20px; }
.cards--text .card-title { font-size: 25px; margin-top: 22px; }
.card-text { font: 400 20px/1.3 var(--text); text-align: center; margin-top: 8px; }
.services-intro { font-size: 30px; line-height: 1.5; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 424px; column-gap: 76px; align-items: center; padding-left: 64px; }
.split-copy .h2 { margin-bottom: 22px; }
.split-copy .lead + .lead { margin-top: 14px; }

/* ---------- projects ---------- */
.projects { padding: 60px 0 80px; }
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 512px)); justify-content: center; gap: 32px; margin-top: 62px; align-items: stretch; }
.testimonials > li { display: flex; }
.t-card { flex: 1; background: #fff; border-radius: 12px; padding: 26px 40px 40px; text-align: center; font-family: var(--head); }
.t-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 14px; }
.t-card figcaption { display: flex; flex-direction: column; }
.t-name { font: 700 20px/1.5 var(--head); color: var(--green-ink); letter-spacing: -.3px; }
.t-role { font: 400 16px/1.3 var(--head); color: var(--muted); }
.t-stars { display: flex; justify-content: center; gap: 2px; margin: 8px 0 20px; }
.t-stars svg { width: 20px; height: 20px; fill: var(--star); }
.t-quote { font: 400 18px/1.5 var(--text); color: var(--green-ink); }

/* ---------- contact ---------- */
.contact { padding: 50px 0 64px; }
.contact-h { font: 700 32px/1.3 var(--head); text-align: center; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 60px; align-items: center; margin-top: 46px; padding: 0 60px 0 32px; }
.contact-mbe { font: 700 28px/1.5 var(--head); letter-spacing: 1px; max-width: 520px; margin-bottom: 14px; }
.contact-lines { font: 400 20px/1.8 var(--text); }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--red); }
.contact-social { display: flex; gap: 28px; margin-top: 16px; padding-left: 8px; }
.contact-social-link { display: grid; place-items: center; font-size: 40px; color: var(--ink-2); }
.contact-social-link:hover { color: var(--red); }
.contact-media img { width: 100%; aspect-ratio: 940 / 788; object-fit: cover; }

/* ---------- legal ---------- */
.legal { padding: 34px 0 72px; }
.legal h1, .legal h2 { font: 700 32px/1.3 var(--head); color: var(--ink); }
.legal h2 { margin-top: 44px; }
.legal p, .legal li { font: 400 20px/1.4 var(--text); }
.legal p { margin-top: 12px; }
.legal h1 + p, .legal h2 + p { margin-top: 6px; }
.legal a { color: var(--link); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .dash { margin-top: 2px; }
.legal .dash li::before { content: "-"; }

/* ---------- 404 ---------- */
.notfound .wrap { text-align: center; }
.notfound-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; font: 600 16px/1 var(--text); padding: 15px 30px; border-radius: 999px; background: var(--red); color: #fff; border: 2px solid var(--red); text-decoration: none; }
.btn:hover { opacity: .9; }
.btn--outline { background: transparent; color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: #fff; padding: 50px 0 22px; }
.f-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.f-brand img { width: 250px; }
.f-col { display: flex; flex-direction: column; align-items: flex-start; }
.f-head { font: 600 17px/1.3 var(--head); color: var(--ink); margin-bottom: 12px; }
.f-col a:not(.f-social-link) { font: 400 15px/1.3 var(--head); color: var(--ink); text-decoration: none; padding: 4px 0; }
.f-col a:not(.f-social-link):hover { color: var(--red); }
.f-social { display: flex; gap: 18px; padding-top: 4px; }
.f-social-link { display: grid; place-items: center; font-size: 20px; color: var(--ink-2); }
.f-social-link:hover { color: var(--red); }
.f-copy { font: 400 14px/1.4 var(--text); color: var(--ink-2); text-align: center; margin-top: 44px; }
.f-copy a { text-decoration: none; }
.f-copy a:hover { text-decoration: underline; }

/* ================= smaller laptops / tablets ================= */
@media (max-width: 1180px) {
  .nav-link { padding: 5px 20px; }
  .impact, .split { padding-left: var(--gutter); column-gap: 48px; }
  .contact-grid { padding: 0; column-gap: 40px; }
}

@media (max-width: 1024px) {
  .impact, .split { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); column-gap: 36px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); column-gap: 32px; }
  .lead { font-size: 18px; }
  .cards { gap: 24px; }
  .card-text { font-size: 17px; }
  .cards--text .card-title { font-size: 22px; }
  .services-intro { font-size: 26px; }
  .contact-mbe { font-size: 24px; }
  .contact-lines { font-size: 18px; }
}

/* ================= menu folds away ================= */
@media (max-width: 960px) {
  .header-row { min-height: 0; padding-top: 16px; padding-bottom: 16px; }
  .brand img { width: 200px; }
  .burger { display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; margin-right: -10px; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ink-2); position: relative; transition: transform .2s ease, background-color .2s ease; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -8px; }
  .burger span::after { top: 8px; }
  .nav-toggle:checked + .burger span { background: transparent; }
  .nav-toggle:checked + .burger span::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .burger span::after { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff;
    padding: 4px var(--gutter) 18px; border-top: 1px solid #eee; box-shadow: 0 14px 24px rgba(0, 0, 0, .12);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-link, .nav-link:last-child { padding: 14px 4px; font-size: 19px; border-bottom: 1px solid #eee; }
  .nav-link:last-child { border-bottom: 0; }
  .hero { padding: 110px 0; }
  .hero-title { font-size: clamp(46px, 11vw, 80px); }
  .section { padding: 44px 0; }
  .impact-h { margin-top: 24px; }
  .f-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .f-brand { grid-column: 1 / -1; }
  .f-brand img { width: 220px; }
}

/* ================= phone: one column ================= */
@media (max-width: 700px) {
  .impact {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "h" "tall" "p1" "small" "p2";
  }
  .impact-h { margin: 0 0 18px; }
  .impact-tall img, .split-tall img { aspect-ratio: 4 / 5; }
  .impact-p1 { margin-top: 22px; }
  .impact-small { justify-self: stretch; width: auto; margin: 26px 0 0; }
  .impact-p2 { margin-top: 22px; }
  .split { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .card-text { font-size: 18px; }
  .services-intro { font-size: 24px; }
  .testimonials { grid-template-columns: minmax(0, 560px); gap: 24px; margin-top: 36px; }
  .t-card { padding: 24px 24px 32px; }
  .contact-h { font-size: 27px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); row-gap: 30px; margin-top: 30px; }
  .legal h1, .legal h2 { font-size: 26px; }
  .legal h2 { margin-top: 34px; }
  .legal p, .legal li { font-size: 17px; line-height: 1.5; }
  .f-copy span { display: block; }
  .f-copy .f-sep { display: none; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .brand img { width: 180px; }
  .hero { padding: 84px 0; }
  .hero-title { font-size: clamp(40px, 13vw, 60px); line-height: 1.15; }
  .h2 { font-size: 26px; }
  .cards--text .card-title { font-size: 22px; }
  .services-intro { font-size: 22px; line-height: 1.45; }
  .t-quote { font-size: 17px; }
  .contact-h { font-size: 24px; }
  .contact-social-link { font-size: 36px; }
}
