/* =============================================================
   SkyRock Agency - site styles
   Palette comes from the logo art: cobalt-blue sky, gold moon,
   silver starlight. Tokens live in :root.
   ============================================================= */

:root {
  --navy: #103576;         /* logo sky, brand cobalt blue */
  --navy-deep: #0b2657;    /* contact section, gradients */
  --navy-night: #07193b;   /* footer */
  --ink: #1f2a3a;          /* body text on light */
  --muted: #5b6474;        /* secondary text on light */
  --gold: #f2d79f;         /* the logo's moon: buttons and highlights */
  --gold-bright: #fceccb;  /* hover, highlights */
  --gold-deep: #cfae70;    /* borders and icons on light */
  --gold-text: #8a6d2b;    /* small gold text on light backgrounds */
  --cream: #f7f3e8;        /* light section background */
  --white: #ffffff;
  --line: #e6e0d0;

  --font-heading: 'Exo 2', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --header-h: 72px;
  --radius: 14px;
  --shadow-sm: 0 6px 20px rgba(31, 42, 58, 0.07);
  --shadow-md: 0 16px 36px rgba(31, 42, 58, 0.14);

  /* Silver four-point stars and faint white dots, tiled behind the blue sections */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='%23dbe6fb'%3E%3Cpath d='M40 20l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Cpath d='M250 70l2.5 7 7 2.5-7 2.5-2.5 7-2.5-7-7-2.5 7-2.5z'/%3E%3Cpath d='M120 220l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Cpath d='M290 280l3 9 9 3-9 3-3 9-3-9-9-3 9-3z' opacity='.75'/%3E%3Cpath d='M180 150l1.5 4.5 4.5 1.5-4.5 1.5-1.5 4.5-1.5-4.5-4.5-1.5 4.5-1.5z' opacity='.8'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.6'%3E%3Ccircle cx='80' cy='120' r='1.2'/%3E%3Ccircle cx='200' cy='40' r='1'/%3E%3Ccircle cx='300' cy='170' r='1.4'/%3E%3Ccircle cx='150' cy='300' r='1'/%3E%3Ccircle cx='20' cy='260' r='1.2'/%3E%3Ccircle cx='230' cy='230' r='.9'/%3E%3Ccircle cx='60' cy='60' r='.8'/%3E%3Ccircle cx='260' cy='130' r='1'/%3E%3Ccircle cx='110' cy='170' r='.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
section { scroll-margin-top: calc(var(--header-h) + 8px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 20px; }
.section { padding: 88px 0; position: relative; }
.section-light { background: var(--cream); }
.section-blue { background: linear-gradient(180deg, var(--navy) 0%, #164a93 100%); color: var(--white); overflow: hidden; }
.section-deep { background: var(--navy-deep); color: var(--white); }
.section-blue h2, .section-deep h2, .section-blue h3, .section-deep h3 { color: var(--white); }
.section-blue a, .section-deep a { color: var(--white); }

.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; position: relative; }
.section-intro { font-size: 18px; color: var(--muted); margin: 0; }
.section-blue .section-intro { color: rgba(255, 255, 255, 0.85); }
.section-foot { text-align: center; margin: 40px 0 0; color: var(--muted); position: relative; }
.section-foot a { font-weight: 600; }
.section-foot-light { color: rgba(255, 255, 255, 0.85); }
.section-foot-light a { color: var(--gold); }

.eyebrow {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--navy); margin: 0 0 12px;
}
.eyebrow-accent { color: var(--gold-text); }
.eyebrow-gold { color: var(--gold); }
.eyebrow-light { color: rgba(16, 53, 118, 0.78); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: 8px 14px;
  border-radius: 6px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Old builder anchors (#apps-for-business etc.) keep working */
.anchor-legacy { position: relative; display: block; visibility: hidden; scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; border-radius: 999px; padding: 12px 22px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px rgba(242, 215, 159, 0.3); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 215, 159, 0.42); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--gold-bright); box-shadow: 0 8px 24px rgba(16, 53, 118, 0.32); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-deep); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 53, 118, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 215, 159, 0.2);
  color: var(--white);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 21px; letter-spacing: 0.01em; }
.brand-text em { font-style: normal; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) {
  color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.88; white-space: nowrap;
}
.site-nav > a:not(.btn):hover, .site-nav > a:not(.btn):focus-visible { opacity: 1; color: var(--gold); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: -20px; right: -20px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(242, 215, 159, 0.22);
    padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Star field (hero and navy sections) ---------- */
.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--stars); background-size: 210px 210px;
  opacity: 0.5;
}
.stars::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--stars); background-size: 330px 330px; background-position: 160px 90px;
  opacity: 0.35; animation: twinkle 5s ease-in-out infinite alternate;
}
.stars-soft { opacity: 0.22; }
@keyframes twinkle { from { opacity: 0.14; } to { opacity: 0.5; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(180deg, #0d2c6c 0%, #143f8c 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 820px); padding-block: 48px 0;
}
.hero-copy { padding-bottom: 48px; }
.hero h1 {
  color: var(--white); font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 18px;
}
.hero h1 span { display: block; color: var(--gold); font-weight: 400; font-size: 0.55em; letter-spacing: 0; margin-top: 6px; }
.hero-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 560px; color: rgba(255, 255, 255, 0.92); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 30px; }
.pill {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  border: 1.5px solid rgba(242, 215, 159, 0.62); border-radius: 999px; padding: 7px 16px;
}
.pill-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 20px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.hero-note a { color: var(--white); font-weight: 600; }

.hero-art { position: relative; align-self: center; padding: 24px 0; }
/* Soft moonlight glow behind the art */
.hero-art::before {
  content: ""; position: absolute; inset: 12% 8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 215, 159, 0.3), rgba(242, 215, 159, 0));
  filter: blur(24px);
}
.hero-art img {
  position: relative; z-index: 1; width: 100%; max-width: 470px; margin: 0 auto;
  border-radius: 18px; border: 1px solid rgba(242, 215, 159, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art img { max-width: 340px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px 26px;
  border: 1px solid var(--line); border-top: 4px solid var(--gold-deep); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service i { display: block; font-size: 26px; color: var(--gold-text); margin-bottom: 14px; }
.service h3 { font-size: 19px; margin-bottom: 8px; }
.service p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- How we work: the four-step ladder ---------- */
.ladder { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ladder li {
  counter-increment: step; position: relative;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold-deep);
  border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm);
}
.ladder li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: var(--gold-bright);
  font-family: var(--font-heading); font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.ladder h3 { font-size: 19px; margin-bottom: 6px; }
.ladder .step-meta { font-family: var(--font-heading); font-weight: 700; font-size: 13.5px; color: var(--gold-text); margin: 0 0 10px; }
.ladder p { margin: 0; font-size: 15.5px; color: var(--muted); }
.ladder p + p { margin-top: 8px; }
.ladder .step-note { font-size: 14px; color: var(--ink); }
.ladder-aside {
  margin: 26px auto 0; max-width: 820px; text-align: center; font-size: 15.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.6); border: 1px dashed var(--gold-deep); border-radius: 10px; padding: 14px 20px;
}
.ladder-aside a { font-weight: 600; }
@media (max-width: 1000px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

/* Compact ladder on the city pages: one row per step */
.ladder-compact { grid-template-columns: 1fr; gap: 12px; max-width: 820px; margin: 0 auto; }
.ladder-compact li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 18px 22px; border-top-width: 1px; border-left: 4px solid var(--gold-deep); }
.ladder-compact li::before { margin: 0; grid-row: 1 / span 3; }
.ladder-compact h3 { font-size: 17px; margin-bottom: 2px; }
.ladder-compact .step-meta { margin-bottom: 4px; }
.ladder-compact p { font-size: 15px; }

/* Prices come from tools/site-config.json (see tools/apply-config.py).
   Until they are filled in, the placeholder is meant to be seen. */
.price { white-space: nowrap; }
.tbd { background: #fff3c4; color: #7a5a00; border: 1px dashed #c9a227; border-radius: 6px; padding: 0 6px; font-style: normal; font-weight: 600; }

/* A "book a meeting" row after each major section */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin: 44px 0 0; position: relative; }
.cta-row .cta-note { margin: 0; font-size: 15px; color: var(--muted); }
.cta-row .cta-note a { font-weight: 600; }
.section-blue .cta-row .cta-note, .section-deep .cta-row .cta-note { color: rgba(255, 255, 255, 0.85); }
.section-blue .cta-row .cta-note a { color: var(--gold); }

/* ---------- What we build: the nine services as one strip ---------- */
.build-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.build-strip li {
  display: inline-flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.build-strip i { color: var(--gold-text); font-size: 15px; }

/* ---------- Speaking & workshops ---------- */
.speak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.speak-grid .service { display: flex; flex-direction: column; }
.speak-grid .service p:not(.step-meta):not(.step-note) { flex: 1; }
.speak-grid .step-note { margin-top: 10px; font-size: 14px; color: var(--ink); }
.speak-grid .service .btn { align-self: flex-start; margin-top: 18px; }
.step-meta .was { color: var(--muted); font-weight: 600; }
.speak-grid .step-meta { font-family: var(--font-heading); font-weight: 700; font-size: 13.5px; color: var(--gold-text); margin: 0 0 8px; }
@media (max-width: 720px) { .speak-grid { grid-template-columns: 1fr; } }

/* ---------- Demos ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.demo {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(242, 215, 159, 0.24);
  border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.demo-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #2a55a8 0%, #0a1f4a 100%); overflow: hidden; }
.demo-media img { width: 100%; height: 100%; object-fit: cover; }
.demo-media-icon { display: grid; place-items: center; background-image: var(--stars), linear-gradient(135deg, #2a55a8 0%, #0a1f4a 100%); background-size: 210px 210px, auto; }
.demo-media-icon > i { font-size: 76px; color: var(--gold); opacity: 0.95; }
.demo-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); font-size: 26px;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.demo-play:hover, .demo-play:focus-visible { background: var(--gold-bright); transform: translate(-50%, -50%) scale(1.06); }
.demo-play i { margin-left: 4px; }
.demo-play[hidden] { display: none; }
.demo-badge {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7, 25, 59, 0.78); color: var(--gold-bright); border: 1px solid rgba(242, 215, 159, 0.38);
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 8px 12px; border-radius: 999px;
}
.demo-badge[hidden] { display: none; }
/* Badge state once a video exists: moved above the card, gold, clickable, same action as the play button.
   The grid reserves the same height so cards with and without a video stay aligned. */
.demo-grid-labels { padding-top: 44px; }
.demo-has-video { position: relative; overflow: visible; }
.demo-has-video .demo-media { border-radius: var(--radius) var(--radius) 0 0; }
.demo-badge-watch { top: -44px; left: 0; background: var(--gold); color: var(--navy); border-color: var(--gold); cursor: pointer; transition: background-color 0.15s ease; }
.demo-badge-watch:hover, .demo-badge-watch:focus-visible { background: var(--gold-bright); }
.demo-body { padding: 22px 22px 26px; }
.demo-kicker { font-family: var(--font-heading); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 8px; }
.demo h3 { font-size: 22px; margin-bottom: 10px; }
.demo-body > p { font-size: 15.5px; color: rgba(255, 255, 255, 0.86); margin-bottom: 14px; }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.demo-points li { display: flex; gap: 10px; align-items: flex-start; }
.demo-points i { color: var(--gold); margin-top: 4px; font-size: 13px; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- Case study ---------- */
.case-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.case-copy p { color: var(--ink); }
.case-result { background: var(--white); border-left: 4px solid var(--gold-deep); border-radius: 8px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.quotes { display: grid; gap: 20px; padding-top: 44px; }
.quote {
  position: relative; margin: 0; background: var(--white); border-radius: var(--radius);
  padding: 30px 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.quote::before {
  content: "\201C"; position: absolute; top: -8px; left: 20px; line-height: 1;
  font-family: Georgia, 'Times New Roman', serif; font-size: 84px; color: var(--gold-deep); opacity: 0.7;
}
.quote p { position: relative; font-size: 17px; line-height: 1.55; color: var(--navy); margin: 0 0 16px; }
.quote footer { font-size: 14px; color: var(--muted); line-height: 1.4; }
.quote footer strong { color: var(--navy); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; gap: 24px; } .quotes { padding-top: 0; } }

/* ---------- Discovery meeting band ---------- */
.band { padding: 56px 0; color: var(--navy); }
.band-gold { background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 100%); }
.band-grid { display: grid; grid-template-columns: 1.05fr 1.3fr auto; gap: 32px; align-items: center; }
.band h2 { color: var(--navy); margin: 0; font-size: clamp(26px, 3.4vw, 36px); }
.band p { margin: 0; font-size: 16.5px; color: rgba(31, 42, 58, 0.9); }
.band-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.band-phone { color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.band-phone:hover { text-decoration: underline; }
@media (max-width: 960px) { .band-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Small notice used when a phone link is clicked on a desktop */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 16px);
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; text-align: center;
  background: var(--navy); color: var(--white); font-size: 15px; line-height: 1.4;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast strong { color: var(--gold); }
.toast a { color: var(--gold); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy p { color: rgba(255, 255, 255, 0.85); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.contact-list i { color: var(--gold); font-size: 20px; width: 24px; text-align: center; margin-top: 3px; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list address { font-style: normal; line-height: 1.5; }
.contact-list .service-area { line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

.contact-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 30px 30px 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.contact-card h3 { font-size: 22px; margin-bottom: 18px; color: var(--navy); }
.form-field {
  display: block; width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; margin-bottom: 12px;
  border: 1.5px solid #d9d3c3; border-radius: 10px; background: #fdfcf8; color: var(--ink);
}
.form-field::placeholder { color: #8d8f98; }
.form-field:focus { outline: 3px solid rgba(207, 174, 112, 0.38); outline-offset: 0; border-color: var(--gold-deep); background: var(--white); }
textarea.form-field { min-height: 120px; resize: vertical; }
.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.3em; text-align: center; }
.form-status.ok { color: #1b7f3b; }
.form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- City pages (/tampa-ai-consulting/ and the rest) ---------- */
.hero-compact .hero-grid { grid-template-columns: 1.3fr 0.7fr; min-height: 0; padding-block: 56px 0; }
.hero-compact h1 { font-size: clamp(38px, 5vw, 60px); }
.hero-compact .hero-art img { max-width: 300px; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0 0 18px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--gold); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: 0.6; }
@media (max-width: 900px) {
  .hero-compact .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-compact .hero-copy { padding-bottom: 48px; }
  .hero-compact .hero-art { display: none; }
}

.city-grid { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 56px; align-items: start; }
.city-copy h2 { font-size: clamp(26px, 3.2vw, 34px); }
.city-copy h2 + p { margin-top: 4px; }
.city-copy p + h2 { margin-top: 36px; }
.city-copy a { font-weight: 600; }
.city-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card {
  background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--gold-deep);
  border-radius: var(--radius); padding: 24px 24px 20px;
}
.aside-card h3 { font-size: 18px; margin-bottom: 12px; }
.aside-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; font-size: 15.5px; }
.aside-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.aside-list i { color: var(--gold-text); font-size: 14px; width: 16px; margin-top: 4px; flex: none; }
.aside-list a { font-weight: 600; }
.aside-list small { display: block; color: var(--muted); font-size: 14px; }
.aside-more { margin: 0; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) {
  .city-grid { grid-template-columns: 1fr; gap: 32px; }
  .city-aside { position: static; }
}

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.faq {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-deep);
  border-radius: 10px; padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.faq h3 { font-size: 19px; margin-bottom: 8px; }
.faq p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-night); color: rgba(255, 255, 255, 0.8); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 28px; align-items: start; }
.footer-heading {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold); margin: 0 0 12px;
}
.footer-areas ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.footer-areas a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-areas a:hover, .footer-areas a[aria-current="page"] { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.footer-brand strong { font-family: var(--font-heading); font-size: 18px; color: var(--white); }
.footer-brand p { width: 100%; margin: 8px 0 0; font-size: 14.5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 22px; justify-content: flex-end; padding-top: 12px; }
.footer-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid rgba(242, 215, 159, 0.16); font-size: 13.5px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; padding-top: 0; }
}

/* ---------- Demo video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 25, 59, 0.92); }
.modal-panel {
  position: relative; width: min(960px, 100%); background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal-panel video { display: block; width: 100%; max-height: 80vh; background: #000; }
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, 0.6); color: var(--white); font-size: 18px; cursor: pointer;
}
.modal-close:hover, .modal-close:focus-visible { background: var(--gold); color: var(--navy); }

/* ---------- Scroll-in animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.in-view, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stars::after { animation: none; }
  .btn, .service { transition: none; }
}
