/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2a4a;
  --navy-mid: #2c3e50;
  --navy-light: #34495e;
  --gold: #d4a017;
  --gold-light: #f1c40f;
  --cream: #fdf8ef;
  --dark: #1c1c1c;
  --gray: #555;
  --light: #f7f7f7;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* Header */
.header {
  background: var(--navy);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.header-nav { display: flex; gap: 4px; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.15s; padding: 6px 10px; border-radius: 6px; }
.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.header-nav .dropbtn { cursor: pointer; position: relative; padding-right: 20px; }
.header-nav .dropbtn::after { content: '▾'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 0.75em; opacity: 0.7; }
.header-nav .dropdown { position: relative; }
.header-nav .dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: var(--navy); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); min-width: 200px; z-index: 200; overflow: hidden; padding: 6px 0; }
.header-nav .dropdown-content a { display: block; padding: 10px 16px; border-radius: 0; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.header-nav .dropdown-content a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.header-nav .dropdown:hover .dropdown-content { display: block; }
.logo { color: #fff; font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.logo span { color: var(--gold); font-weight: 400; }
.header-phone { color: var(--gold-light); font-weight: 600; text-decoration: none; font-size: 1.05rem; white-space: nowrap; }

/* Hamburger Menu */
.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 4px; }

/* Hero with Background Image + Form (California Mobility style) */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26,42,74,0.92) 0%, rgba(26,42,74,0.75) 40%, rgba(26,42,74,0.4) 70%, rgba(26,42,74,0.2) 100%);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #fff;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  max-width: 520px;
}
.hero-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-stars { color: var(--gold-light); font-size: 1.1rem; }
.hero-reviews-text { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.hero-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.hero-benefits li {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-phone {
  color: var(--gold-light);
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}
.hero-phone strong { font-size: 1.15rem; }

/* Form Card (in hero, white card on dark bg) */
.form-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.form-card h2 {
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.form-subtitle {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.form-submit:hover {
  background: var(--gold-light);
}
.form-success {
  background: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  display: none;
}
.form-success.show {
  display: block;
}

/* Services */
.services {
  padding: 50px 0;
  background: var(--light);
}
.services h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-content {
  padding: 24px;
}
.service-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}
.service-card .btn {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.service-card .btn:hover {
  background: var(--navy-mid);
}

/* Testimonials */
.testimonials {
  padding: 50px 0;
  background: white;
}
.testimonials h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--cream);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
}
.testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-col h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Page Content */
.page-header {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  text-align: center;
}
.page-header h1 {
  color: var(--navy);
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}
.page-content {
  padding: 60px 0;
}
.page-content .container {
  max-width: 800px;
}

/* Trust Bar */
.trust-bar {
  background: var(--navy);
  color: white;
  padding: 12px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.trust-text {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-bg { opacity: 0.3; }
  .hero-overlay { background: linear-gradient(135deg, rgba(26,42,74,0.9) 0%, rgba(26,42,74,0.7) 100%); }
  .hamburger { display: block; }
  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .header-nav.show { display: flex; }
  .header-nav .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    display: none;
  }
  .header-nav .dropdown:hover .dropdown-content {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .services h2,
  .testimonials h2 { font-size: 1.8rem; }
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
/* Area Page Map */
.area-map {
  margin: 30px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.area-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}
.area-map-caption {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
}
