/* UACS — the whole design system. Desktop mirrors the GoHighLevel site
   measured at 1280px (Lato body, Montserrat headings, the UACS wordmark in
   Roboto Slab Light); below 1100px and 860px the layout reflows. */
:root {
  --ink: #000;
  --wordmark: #212121;
  --paper: #f1f1ef;
  --sand: #eae4cb;
  --plum: #5c415d;
  --link: #188bf6;
  --wrap: 1210px; /* 1170px of content, as on GHL, plus the 20px gutters */
  --gutter: 20px;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --slab: "Roboto Slab", Rockwell, Georgia, serif;
  --poppins: "Poppins", var(--head);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 20px/1.3 var(--sans); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
.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: 700; }
.skip:focus { left: 10px; top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 180px; padding-left: 81px; padding-right: 51px; }
.wordmark { font: 300 38px/1 var(--slab); letter-spacing: -0.03em; color: var(--wordmark); }
.nav { display: flex; align-items: center; }
.nav-link { font: 400 20px/1.2 var(--sans); color: var(--ink); padding: 8px 16px; transition: background-color .3s ease, color .3s ease; }
.nav-link:hover { background: var(--ink); color: #fff; }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.burger { display: none; }

/* ---------- banner: the world map with the company name ---------- */
.banner { position: relative; display: grid; place-items: center; min-height: 162px; overflow: hidden; background: #0091c5; }
/* GHL showed this map as a fixed (parallax) background sized to the viewport, so the
   band under the header was the northern hemisphere: aim the crop there. */
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.banner .wrap { position: relative; padding-top: 20px; padding-bottom: 20px; text-align: center; }
.banner-title { font: 700 32px/1.3 var(--head); color: var(--ink); }

/* ---------- intro: photo + text ---------- */
.intro { background: var(--paper); padding: 156px 0; }
.intro-grid { display: grid; grid-template-columns: 567px minmax(0, 1fr); column-gap: 42px; align-items: center; }
.intro-media { position: relative; align-self: stretch; min-height: 500px; border: 1px solid var(--ink); border-radius: 20px; overflow: hidden; background: #d9d9d4; }
.intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-copy { padding-right: 20px; }
.intro-copy p { margin-bottom: 26px; }
.intro-copy > :last-child { margin-bottom: 0; }
.intro--list .intro-media { min-height: 652px; }
.intro--square .intro-media, .intro--contact .intro-media { align-self: center; justify-self: center; width: 100%; min-height: 0; aspect-ratio: 1; border: 0; border-radius: 0; }
.intro--square { padding: 127px 0 93px; }
.intro--square .intro-media { max-width: 532px; }
.intro--contact { padding: 110px 0; }
.intro--contact .intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
.intro--contact .intro-media { max-width: 548px; }
.contact-copy { text-align: center; }
.contact-copy h2 { font: 700 32px/1.3 var(--head); color: var(--plum); margin-bottom: 20px; }
.contact-copy p { font: 400 20px/1.3 var(--sans); }
.contact-copy a:hover { text-decoration: underline; }

.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 27px; }
.checklist li:last-child { margin-bottom: 0; }
.check { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--ink); }

/* ---------- what we offer ---------- */
.offer { position: relative; background: var(--paper); padding: 107px 0 155px; overflow: hidden; }
.offer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.offer .wrap { position: relative; }
.section-title { font: 700 32px/1.3 var(--head); text-align: center; margin-bottom: 60px; }
.cards { list-style: none; padding: 0 20px 0 0; display: grid; grid-template-columns: repeat(3, 340px); gap: 20px; justify-content: center; }
.card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--ink); color: #fff; }
.card-img { width: 100%; height: 400px; object-fit: cover; transition: opacity .2s ease; }
.card-label { display: block; padding: 15px 20px; font: 400 20px/1.3 var(--head); text-align: center; }
.card:hover .card-img { opacity: .88; }
.card:hover .card-label { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- about (home) ---------- */
.about { background: var(--sand); padding: 156px 0; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-left: 40px; }
.about-card { display: flex; flex-direction: column; justify-content: center; min-height: 500px; padding: 10px 80px; background: #fff; border: 1px solid var(--plum); border-radius: 20px; }
.about-card h2 { font: 700 23px/1.3 var(--head); }
.about-card p { margin-top: 20px; }
.about-map { position: relative; min-height: 500px; border: 1px solid var(--plum); border-radius: 20px; overflow: hidden; background: #b9dff0; }
.about-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- photo strip ---------- */
.strip-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip-row li { aspect-ratio: 16 / 15; overflow: hidden; background: #ccc; }
.strip-row img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 404 ---------- */
.notfound { background: var(--paper); padding: 110px 0 130px; text-align: center; }
.notfound h2 { font: 700 32px/1.3 var(--head); margin-bottom: 16px; }
.notfound-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border: 2px solid var(--ink); border-radius: 20px; background: var(--ink); color: #fff; font: 400 18px/1.1 var(--head); }
.btn:hover { opacity: .88; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; opacity: 1; }

/* ---------- legal ---------- */
.legal { padding: 36px 0 80px; }
.legal-body { padding-left: 31px; padding-right: 31px; }
.legal h1, .legal h2 { font: 700 32px/1.25 var(--sans); }
.legal h1 { margin-bottom: 2px; }
.legal h2 { margin: 26px 0 2px; }
.legal p { margin-bottom: 26px; }
.legal a { color: var(--link); word-break: break-word; }
.legal a:hover { text-decoration: underline; }
.legal .dash { list-style: none; padding: 0; margin-bottom: 26px; }
.legal p.lead { margin-bottom: 0; }
.legal h1 + h2 { margin-top: 42px; }
.legal h1 a, .legal h2 a, .legal a[data-contact-href] { color: inherit; }
.legal .dash li::before { content: "-"; }
.legal-body > p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #fff; padding: 46px 0 30px; }
.f-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 30px; padding-left: 31px; padding-right: 31px; }
.f-head { font: 700 18px/1 var(--head); color: #fff; padding: 10px 0 5px; }
.f-col > a, .f-col p { display: block; margin-top: 15px; font: 400 16px/1.15 var(--sans); color: #fff; }
.f-col > a:hover, .f-col p a:hover, .f-bottom a:hover { text-decoration: underline; }
.f-name { font: italic 700 16px/1.1 var(--poppins) !important; }
.f-bottom { margin-top: 30px; text-align: center; font: 400 14px/1.3 var(--sans); }

/* ================= tablet ================= */
@media (max-width: 1100px) {
  .header-row { padding-left: 20px; padding-right: 4px; min-height: 140px; }
  .intro { padding: 110px 0; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; }
  .intro-copy { padding-right: 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 340px)); padding-right: 0; }
  .card-img { height: auto; aspect-ratio: 340 / 400; }
  .about { padding: 110px 0; }
  .about-grid { padding-left: var(--gutter); }
  .about-card { padding: 30px 44px; }
  .f-grid, .legal-body { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ================= phone ================= */
@media (max-width: 860px) {
  body { font-size: 18px; }
  .header-row { min-height: 0; padding: 14px var(--gutter); }
  .wordmark { font-size: 32px; }
  .burger { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--ink); 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-toggle:focus-visible + .burger { outline: 3px solid var(--link); outline-offset: 2px; }
  .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 #e5e5e5; box-shadow: 0 14px 24px rgba(0,0,0,.12);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-link { font-size: 19px; padding: 14px 4px; border-bottom: 1px solid #eee; }
  .nav-link:hover { background: none; color: var(--ink); text-decoration: underline; }
  .nav-link[aria-current="page"] { font-weight: 700; text-decoration: none; }

  .banner { min-height: 120px; }
  .banner-title { font-size: 25px; }

  .intro, .intro--contact { padding: 44px 0; }
  .intro-grid, .intro--contact .intro-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .intro-media, .intro--list .intro-media { min-height: 0; aspect-ratio: 4 / 3; }
  .intro--square .intro-media, .intro--contact .intro-media { aspect-ratio: 1; max-width: 100%; }
  .intro-copy p { margin-bottom: 22px; }
  .checklist li { margin-bottom: 16px; }
  .check { margin-top: 4px; }
  .contact-copy h2 { font-size: 28px; }
  .contact-copy p { font-size: 19px; }

  .offer { padding: 50px 0 56px; }
  .section-title { font-size: 28px; margin-bottom: 30px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .card-label { font-size: 16px; padding: 12px 8px; }

  .about { padding: 44px 0; }
  .about-grid { gap: 16px; }
  .about-card { min-height: 0; padding: 26px 20px; }
  .about-card h2 { font-size: 20px; }
  .about-map { min-height: 0; }

  .notfound { padding: 56px 0 64px; }
  .notfound h2 { font-size: 26px; }

  .legal { padding: 26px 0 50px; }
  .legal h1, .legal h2 { font-size: 26px; }
  .legal p { font-size: 18px; line-height: 1.4; margin-bottom: 20px; }

  .site-footer { padding-top: 34px; }
  .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ================= small phone ================= */
@media (max-width: 600px) {
  .cards { grid-template-columns: minmax(0, 340px); gap: 18px; }
  .card-label { font-size: 19px; padding: 15px 20px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-map { aspect-ratio: 1; }
  .strip-row { grid-template-columns: minmax(0, 1fr); }
  .strip-row li { aspect-ratio: 16 / 11; }
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .f-bottom { text-align: left; }
}
