/* ==========================================================================
   Calabasas Tech Group — main stylesheet
   Palette: white base, green accents
   ========================================================================== */

:root {
  /* Slate-navy palette. Deliberately not municipal green —
     reads as a technology firm, not a city department. */
  --brand-900: #101922;
  --brand-800: #18242f;
  --brand-700: #24384f;   /* primary — buttons, headings, links */
  --brand-600: #2f4a66;
  --brand-500: #46647f;
  --brand-300: #9db2c6;
  --brand-100: #dde6ee;
  --brand-050: #f4f7fa;

  --accent-700: #8a5527;  /* warm copper, used sparingly */
  --accent-600: #a76a33;
  --accent-100: #f6e9dc;

  --ink-900: #131a21;
  --ink-700: #333f4a;
  --ink-500: #5e6b77;
  --ink-300: #93a0ac;

  --line: #e2e8ee;
  --white: #ffffff;
  --off: #f7f9fb;

  --amber: #c9861a;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(19, 26, 33, .06), 0 2px 8px rgba(19, 26, 33, .05);
  --shadow-m: 0 4px 12px rgba(19, 26, 33, .07), 0 12px 32px rgba(19, 26, 33, .09);

  --wrap: 1140px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.005em;
}
h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: 76px 0; }
.section--tint { background: var(--brand-050); }
.section--line { border-top: 1px solid var(--line); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: .35em .85em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.lede { font-size: 1.12rem; color: var(--ink-500); }
.skip {
  position: absolute; left: -9999px;
  background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip:focus { left: 0; top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 650;
  font-size: 1rem;
  padding: .78em 1.5em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); }
.btn--ghost { background: #fff; color: var(--brand-800); border-color: var(--brand-300); }
.btn--ghost:hover { border-color: var(--brand-600); background: var(--brand-050); }
.btn--onDark { background: #fff; color: var(--brand-800); }
.btn--onDark:hover { background: var(--brand-050); }
.btn--outlineLight { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outlineLight:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--brand-900);
  color: #c9d6e2;
  font-size: .87rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: space-between;
  padding-block: 8px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar__items { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.logo__mark {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 4px; overflow: hidden;
}
.logo__mark svg, .logo__mark img { width: 46px; height: 46px; display: block; }
.logo__text { line-height: 1.15; }
.logo__name { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink-900); font-size: 1.22rem; letter-spacing: .01em; font-variant: small-caps; }
.logo__tag { display: block; font-size: .68rem; color: var(--ink-500); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  padding: .5em .75em;
  border-radius: 8px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none !important;
}
.nav a:hover { background: var(--brand-050); color: var(--brand-800); }
.nav a[aria-current="page"] { color: var(--brand-800); background: var(--brand-100); }
.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink-900); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 88% -12%, rgba(70,100,127,.20), transparent 62%),
    linear-gradient(180deg, var(--brand-050), var(--white) 72%);
  padding: 74px 0 66px;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--brand-700); }
.hero__lede { font-size: 1.16rem; color: var(--ink-500); max-width: 34em; }
.hero__points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; color: var(--ink-700); }
.check {
  flex: none; width: 21px; height: 21px; margin-top: 2px;
  border-radius: 50%; background: var(--brand-100); color: var(--brand-800);
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
}

.card-quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: 30px;
}
.card-quote h2 { font-size: 1.3rem; }
.card-quote__price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 14px 0 6px;
}
.card-quote__price b { font-family: var(--serif); font-size: 3rem; color: var(--brand-700); letter-spacing: -.04em; }
.card-quote ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: .96rem; }
.card-quote ul li { display: flex; gap: 9px; }
.card-quote .fine { font-size: .82rem; color: var(--ink-500); margin: 12px 0 0; }

/* ---------- trust strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.strip__item { padding: 26px 14px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--brand-700); letter-spacing: -.03em; }
.strip__item span { font-size: .87rem; color: var(--ink-500); }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-s);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--brand-300); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-100); color: var(--brand-800);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__list { list-style: none; padding: 0; margin: 14px 0 0; font-size: .93rem; color: var(--ink-500); }
.card__list li { padding-left: 16px; position: relative; }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300);
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 12px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-700); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .95rem; color: var(--ink-500); margin: 0; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px 26px; box-shadow: var(--shadow-s); position: relative;
}
.price--feature { border-color: var(--brand-600); box-shadow: var(--shadow-m); }
.price__flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--brand-700); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 100px;
}
.price h3 { font-size: 1.15rem; margin-bottom: .2em; }
.price__amt { font-size: 2.5rem; font-weight: 800; color: var(--brand-700); letter-spacing: -.04em; }
.price__unit { font-size: .92rem; color: var(--ink-500); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: .95rem; }
.price ul li { display: flex; gap: 9px; align-items: flex-start; }
.price .btn { width: 100%; justify-content: center; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 480px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
thead th { background: var(--brand-050); color: var(--brand-900); font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-weight: 700; color: var(--brand-700); white-space: nowrap; }

/* ---------- testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px; box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
}
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote p { font-size: .99rem; }
.quote footer { margin-top: auto; padding-top: 14px; font-size: .9rem; color: var(--ink-500); }
.quote footer b { color: var(--ink-900); display: block; }

/* ---------- google reviews badge ---------- */
.gbadge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 24px 28px;
  margin-top: 40px;
}
.gbadge__logo { flex: none; display: grid; place-items: center; }
.gbadge__text { flex: 1 1 240px; line-height: 1.35; }
.gbadge__text b { display: block; color: var(--ink-900); font-size: 1.05rem; }
.gbadge__text .stars { display: inline-block; margin: 2px 0; }
.gbadge__meta { display: block; font-size: .9rem; color: var(--ink-500); }
.gbadge__actions { flex: none; }

.footer .gfooter {
  display: inline-flex; align-items: center; gap: 8px;
  color: #d6e2ec;
}

@media (max-width: 620px) {
  .gbadge { padding: 22px 20px; text-align: left; }
  .gbadge__actions { width: 100%; }
  .gbadge__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 22px; position: relative;
  font-weight: 650; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--brand-700); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { background: var(--brand-050); }
.faq .faq__body { padding: 0 22px 20px; color: var(--ink-500); font-size: .97rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.areas span {
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: .45em 1em; font-size: .9rem; color: var(--ink-700);
}

/* ---------- CTA band ---------- */
.band {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: #fff;
  padding: 60px 0;
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.band__inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.band__inner > div { max-width: 640px; }

/* ---------- forms ---------- */
.form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 30px; box-shadow: var(--shadow-s);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: .92rem; color: var(--ink-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink-900);
  padding: .7em .85em;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--off);
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--brand-500); outline: none;
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .fine { font-size: .84rem; color: var(--ink-500); }

/* ---------- info list ---------- */
.info { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info__ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--brand-100); color: var(--brand-800); display: grid; place-items: center;
}
.info__ico svg { width: 19px; height: 19px; }
.info b { display: block; color: var(--ink-900); }
.info span, .info a { font-size: .97rem; }

/* ---------- footer ---------- */
.footer { background: var(--brand-900); color: #b3c1cd; padding: 58px 0 0; font-size: .94rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.footer a { color: #d6e2ec; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #8fa0af; }
.footer__bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; font-size: .86rem; color: #8fa0af;
}

/* ---------- page header ---------- */
.pagehead {
  background: linear-gradient(180deg, var(--brand-050), var(--white));
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.crumbs { font-size: .87rem; color: var(--ink-500); margin-bottom: .8rem; }
.crumbs a { color: var(--ink-500); }

/* ---------- misc ---------- */
.note {
  border-left: 4px solid var(--brand-500);
  background: var(--brand-050);
  padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: .95rem;
}
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 10px 22px 18px; gap: 2px;
    box-shadow: var(--shadow-m);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .75em .6em; }
  .header__cta .btn--ghost { display: none; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(odd) { border-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .header .wrap { gap: 10px; }
  .logo__tag { display: none; }
  .logo__name { font-size: .97rem; }
  .logo__mark { width: 34px; height: 34px; font-size: .85rem; border-radius: 9px; }
  .header__cta .btn { padding: .68em 1.1em; font-size: .93rem; }
  .topbar { font-size: .8rem; }
  .topbar .wrap { gap: 2px 14px; }
  .band__inner .btn, .hero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .card-quote, .form, .price { padding: 24px 20px; }
  .section { padding: 54px 0; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .field--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .hero { padding: 48px 0 44px; }
}

@media print {
  .header, .topbar, .band, .footer, .burger { display: none; }
}


/* ---------- landing-page additions ---------- */
.eyebrow--accent { background: var(--accent-100); color: var(--accent-700); }
.accent-rule {
  width: 54px; height: 3px; border-radius: 3px;
  background: var(--accent-600); margin: 0 0 18px;
}
.center .accent-rule { margin-inline: auto; }
.nav--anchors a { font-size: .95rem; }
.pricebox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-m); padding: 38px 34px; text-align: center;
  max-width: 640px; margin-inline: auto;
}
.pricebox__amt {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.5vw, 4.8rem); font-weight: 600;
  color: var(--brand-700); letter-spacing: -.05em; line-height: 1;
}
.pricebox__strike {
  display: inline-block; margin-top: 10px;
  background: var(--accent-100); color: var(--accent-700);
  font-weight: 700; font-size: .95rem;
  padding: .45em 1em; border-radius: 100px;
}
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
@media (max-width: 820px) { .perk-grid { grid-template-columns: 1fr; } }

/* ---------- footer (single-page layout) ---------- */
.footer__flex {
  display: flex; flex-wrap: wrap; gap: 30px 40px;
  justify-content: space-between; align-items: flex-start;
}
.footer__flex ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }

/* ---------- active section highlight in the anchor nav ---------- */
.nav--anchors a.is-active { color: var(--brand-800); background: var(--brand-100); }

/* ---------- booking panel + audience cards ---------- */
.bookbox {
  display: flex; flex-wrap: wrap; gap: 18px 26px;
  align-items: center; justify-content: space-between;
  background: var(--brand-050);
  border: 1px solid var(--brand-300);
  border-radius: var(--radius-l);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.bookbox > div { flex: 1 1 320px; }
.bookbox .btn { flex: none; }

.audience { padding: 30px; }
.audience h3 { font-family: var(--serif); font-size: 1.5rem; }
.audience .card__list { font-size: .95rem; }
.audience .card__list li { margin-bottom: .5em; }

@media (max-width: 620px) {
  .bookbox { padding: 22px 20px; }
  .bookbox .btn { width: 100%; justify-content: center; }
}
