/* Holloman Digital Solutions: plain, disciplined, readable. */
:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --navy: #0B2D5B;
  --accent: #1F5F5C;
  --accent-dark: #174845;
  --text: #333333;
  --muted: #5B6675;
  --line: #E2E8F0;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", var(--font);
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 11vw, 128px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Signature: the teal rule from the logo, beside each eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 0.8rem/1 var(--font-head);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 3px; height: 1.6em; background: var(--accent);
  transform-origin: bottom; transition: transform .6s ease .1s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 8px; border: 2px solid var(--accent);
  background: var(--accent); color: #FFFFFF;
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #FFFFFF; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(248, 250, 252, .86); backdrop-filter: blur(10px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; line-height: 0; }
.brand img { height: 30px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--navy); text-decoration: none; font: 500 0.95rem/1 var(--font);
}
.nav a:hover { color: var(--accent); }
.nav .nav-cta { margin-left: 8px; color: #FFFFFF; padding: 0 18px; min-height: 42px; }
.nav .nav-cta:hover { color: #FFFFFF; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px;
  cursor: pointer; color: var(--navy);
}
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .brand img { height: 24px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; }
  .nav a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { margin: 16px 0 0; border-bottom: 2px solid var(--accent); justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 12vw, 150px) 0 clamp(72px, 12vw, 140px); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 17ch; }
.hero h1 .line2 { display: block; color: var(--navy); font-weight: 600; margin-top: .25em; font-size: .62em; line-height: 1.25; letter-spacing: -0.01em; max-width: 26ch; }
.hero .sub { max-width: 40rem; margin: 28px 0 36px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero .place { margin-top: 40px; color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.hero .place::before { content: ""; width: 24px; height: 1px; background: var(--line); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(40px, 6vw, 64px); }

/* What I do: three columns with outline icons */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); }
.point { border-top: 1px solid var(--line); padding-top: 28px; }
.point svg { width: 36px; height: 36px; color: var(--navy); margin-bottom: 20px; }
.point h3 { margin-bottom: 10px; }
.point p { color: var(--text); }

/* How it works: numbered steps on a single line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: step; }
.step { position: relative; padding: 0 clamp(16px, 3vw, 36px) 0 0; }
.step-num {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font: 700 0.95rem/1 var(--font-head); color: var(--navy);
}
.step-num b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--navy); background: var(--surface); font-weight: 700;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step:last-child .step-num::after { display: none; }
.step h3 { margin-bottom: 10px; }

/* About: photo beside text */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--line); }
.about-photo figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--accent); }
.about-photo figcaption strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { font-size: 1.06rem; }

/* Contact: form card plus direct contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-intro { max-width: 36rem; color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); min-height: 200px; }
/* GoHighLevel embed: form_embed.js sets the iframe height to fit the form,
   and shrinks it to fit the thank-you message after Send. No min-height here:
   it would block that shrink. main.js scrolls the message into view. */
#ghl-form iframe { display: block; width: 100%; }
.direct { border-left: 3px solid var(--accent); padding-left: 24px; }
.direct h3 { margin-bottom: 18px; }
.direct dl { margin: 0; }
.direct dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 18px; }
.direct dt:first-child { margin-top: 0; }
.direct dd { margin: 4px 0 0; overflow-wrap: break-word; }
.direct dd a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D5DDE8; padding: 64px 0 40px; font-size: .95rem; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: #FFFFFF; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px 72px; align-items: start; }
.footer-logo img { height: 74px; width: auto; }
.footer-info p { margin: 0 0 6px; }
.footer-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #AEB9C9; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0 var(--section); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 14px; }
.legal .meta { color: var(--muted); margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .points, .steps { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .step { padding: 0; }
  .step:last-child .step-num::after { display: block; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero .btn { width: 100%; }
}

/* ---------- Entrances (only when JS runs; everything visible otherwise) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal .eyebrow::before { transform: scaleY(0); }
.js .reveal.in .eyebrow::before { transform: scaleY(1); }
.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .1s; }
.js .stagger.in > *:nth-child(3) { transition-delay: .2s; }
.js .stagger.done > * { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .reveal .eyebrow::before { transform: none; }
}

/* Larger tap areas for inline links, without changing the layout */
.footer-info p a { display: inline-block; padding: 13px 0; margin: -13px 0; }
