/* city-page.css — City landing page styles */
/* Extends theme.css design system */
body { overflow-x: hidden; }

:root {
  --bg: #0A1628;
  --bg-alt: #0D1B2A;
  --surface: #112035;
  --surface-2: #162840;
  --accent: #D4FF00;
  --accent-dim: rgba(212, 255, 0, 0.12);
  --cream: #F5F0E8;
  --text: #E8EFF7;
  --text-muted: #8899AA;
  --border: rgba(212, 255, 0, 0.1);
  --radius: 8px;
}

/* === CITY HERO === */
.city-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}
.city-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.city-headline {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.city-headline em {
  font-style: italic;
  color: var(--accent);
}
.city-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.signal-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* === LEAD FORM CARD === */
.lead-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.form-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 8px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
}
.form-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.form-row { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field select {
  background: var(--surface-2);
  border: 1px solid rgba(180,240,0,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem; /* must be ≥16px to prevent iOS auto-zoom on focus */
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238899AA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-field select option { background: var(--surface-2); color: var(--cream); }
.form-field input::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(180,240,0,0.4);
  box-shadow: 0 0 0 3px rgba(180,240,0,0.08);
}
.form-field input.error,
.form-field select.error {
  border-color: #FF4D4D;
  box-shadow: 0 0 0 3px rgba(255,77,77,0.1);
}
.form-error {
  display: none;
  background: rgba(255,77,77,0.1);
  border: 1px solid rgba(255,77,77,0.3);
  color: #FF8080;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #0A1628;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.btn-submit:hover:not(:disabled) {
  background: #EFFFD4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212,255,0,0.25);
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon { margin-bottom: 20px; }
.form-success h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.btn-reset {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-reset:hover { background: var(--accent-dim); }

/* === TRUST BAND === */
.trust-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.trust-label { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.trust-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* === SERVICES === */
.services-section { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: rgba(180,240,0,0.25);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* === AREAS === */
.areas-section { padding: 100px 0; background: var(--bg-alt); }
.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.areas-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.area-col { padding-right: 24px; }
.area-city {
  font-weight: 700;
  color: var(--cream);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.area-zips { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.areas-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.areas-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.areas-image-caption {
  background: var(--surface);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* === HOW IT WORKS === */
.hiw-section { padding: 100px 0; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hiw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.hiw-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--surface-2);
  -webkit-text-stroke: 1px rgba(180,240,0,0.15);
  line-height: 1;
  margin-bottom: 20px;
}
.hiw-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.hiw-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* === FAQ === */
.faq-section { padding: 100px 0; background: var(--bg-alt); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.faq-a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* === CTA STRIP === */
.cta-strip {
  background: var(--accent);
  padding: 80px 0;
}
.cta-strip-inner { text-align: center; }
.cta-strip-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0A1628;
  margin-bottom: 12px;
}
.cta-strip-sub { font-size: 1rem; color: rgba(10,22,40,0.7); margin-bottom: 32px; }
.cta-strip .btn { background: #0A1628; color: var(--accent); }
.cta-strip .btn:hover { background: #162840; transform: translateY(-1px); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .city-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: 1fr; }
  .areas-inner { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-inner { justify-content: center; }
  .trust-sep { display: none; }
}
@media (max-width: 600px) {
  .section-inner, .city-hero-inner, .trust-inner { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .lead-form-card { padding: 24px 20px; }
  .areas-list { grid-template-columns: 1fr; }
}

/* === SECTION HEADERS (reusable) === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === SERVICE CARD AS LINK === */
/* Tampa uses <a> tags for service cards so they scroll to the form anchor */
a.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* === NAV LINKS === */
.nav-link { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.nav-link:hover { color: var(--cream); }
.nav-link-cta { color: var(--accent); }
.nav-link-cta:hover { color: #C8FF20; }
.nav-right { display: flex; align-items: center; gap: 20px; }