/* ==========================================================================
   1 PERCENT BAIL BONDS IRVINE - PRODUCTION STYLESHEET
   Pure CSS3 - Lightweight, Responsive, Fast-Loading, No External Frameworks
   Asura Hosting Ready
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-primary: #0c1e3d;       /* Deep Trust Navy */
  --color-primary-light: #162f5e; /* Midnight Navy Accent */
  --color-accent: #c59b27;        /* Legal Authority Gold */
  --color-accent-hover: #b0871d;  /* Darker Gold */
  --color-accent-soft: #fbf5e6;   /* Subtle Warm Gold Tint */
  --color-emergency: #b91c1c;     /* Urgent Red Indicator */
  --color-emergency-soft: #fef2f2;/* Light Red Alert Tint */
  
  /* Neutrals */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;        /* Subtle Off-White/Slate */
  --color-bg-card: #ffffff;
  --color-text: #1e293b;          /* Dark Slate Body Text */
  --color-text-muted: #64748b;    /* Medium Neutral */
  --color-border: #e2e8f0;        /* Subtle Clean Divider */
  --color-border-focus: #0c1e3d;
  
  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", Cambria, "Times New Roman", Times, serif;
  
  /* Spacing */
  --container-width: min(1200px, calc(100% - 32px));
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  width: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  padding: 72px 0;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--color-accent-soft);
  color: #785a12;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.3);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   TOP INFORMATION BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary);
  color: #e2e8f0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #ffffff;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--color-accent);
}

.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

/* Download helper banner button in top bar */
.zip-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(197, 155, 39, 0.2);
  color: #ffd875;
  border: 1px solid var(--color-accent);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.zip-download-btn:hover {
  background-color: var(--color-accent);
  color: #0c1e3d;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--color-accent-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--color-accent-hover);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.phone-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid var(--color-border);
  background-color: #f8fafc;
}

.phone-cta-link:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 44px; /* Ensure 44px touch target */
}

.btn-primary {
  background-color: var(--color-accent);
  color: #0c1e3d;
  box-shadow: 0 2px 4px rgba(197, 155, 39, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
}

.btn-emergency {
  background-color: var(--color-emergency);
  color: #ffffff;
}

.btn-emergency:hover {
  background-color: #991b1b;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--color-accent-hover);
}

/* Hamburger Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
}

.menu-toggle-box {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile active toggle state */
.menu-open .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 56px 0 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-h1 span {
  color: #997316;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background-color: #f1f5f9;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(12, 30, 61, 0.92) 0%, rgba(12, 30, 61, 0) 100%);
  padding: 24px;
  color: #ffffff;
}

.hero-image-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-image-overlay p {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* Hero Key Highlights */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.highlight-text p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: #f1f5f9;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-list li svg {
  color: #16a34a;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent-hover);
}

.service-link:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US SECTION
   -------------------------------------------------------------------------- */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.why-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.why-sidebar-box {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.why-sidebar-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.why-sidebar-box p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.why-points {
  list-style: none;
  margin-bottom: 32px;
}

.why-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #f1f5f9;
  margin-bottom: 14px;
}

.why-points li svg {
  color: var(--color-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SERVICE AREAS SECTION
   -------------------------------------------------------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.area-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.area-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: #f1f5f9;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.area-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.area-list {
  list-style: none;
  margin-bottom: 20px;
}

.area-list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
  display: flex;
  justify-content: space-between;
}

.area-list li:last-child {
  border-bottom: none;
}

.area-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

.jail-notice {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
}

/* --------------------------------------------------------------------------
   OUR PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  background: none;
  text-align: left;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-accent-hover);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   CONTACT / QUOTE SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-detail-text a:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(12, 30, 61, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 12px;
}

/* Backend form handler note for dev & live */
.form-config-note {
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.45;
}

.form-feedback {
  display: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-top: 16px;
  line-height: 1.5;
}

.form-feedback.success {
  display: block;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   FINAL CALL TO ACTION BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0c1e3d 0%, #162f5e 100%);
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-banner-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #08152b;
  color: #cbd5e1;
  padding: 64px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-title {
  color: #ffffff;
}

.footer-about {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 16px 0 20px 0;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Social Icons Container (clearly marked) */
.social-links-block {
  margin-top: 18px;
}

.social-links-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e2e8f0;
  margin-bottom: 12px;
  font-weight: 700;
}

.social-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background-color: var(--color-accent);
  color: #0c1e3d;
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer Bottom Strip */
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-legal-notice {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 16px;
  text-align: left;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   Desktop: 1920px, 1440px, 1366px, 1280px, 1200px
   Tablet:  1024px, 768px
   Mobile:  480px, 390px, 375px
   -------------------------------------------------------------------------- */

/* Large screens (1200px and down) */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 36px;
  }
  .services-grid {
    gap: 20px;
  }
}

/* Tablet Transition (1080px and down - prevents header navigation squeeze) */
@media (max-width: 1080px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-accent);
    z-index: 999;
  }
  
  .nav-menu.is-active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .header-actions .btn-primary {
    display: none; /* Keep phone button on tablet, hide long CTA */
  }
}

/* Tablet (992px and down) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablet / Large Mobile (768px and down) */
@media (max-width: 768px) {
  .section-padding {
    padding: 52px 0;
  }
  
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .phone-cta-link span {
    display: none; /* show phone icon only or shorten */
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile Devices (480px, 390px, 375px and down) */
@media (max-width: 480px) {
  :root {
    --container-width: calc(100% - 24px);
  }
  
  .hero-h1 {
    font-size: 1.85rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 24px 20px;
  }
  
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-banner-actions .btn {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
