/* Schertz Cibolo Area Cleaning - Main Styles */
:root {
  --navy: #1a2744;
  --navy-dark: #0f1a2e;
  --coral: #e05a4f;
  --coral-dark: #c94a40;
  --gold: #c9a227;
  --gold-light: #e0c15a;
  --bg: #f7f5f2;
  --bg-alt: #efece7;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --border: #e0ddd6;
  --shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--coral); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral-dark); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-rect { height: 48px; width: auto; }
.logo-circ { height: 52px; width: auto; display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav a:hover { color: var(--coral); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: white;
}
.btn-primary:hover {
  background: var(--coral-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: white;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
}

.phone-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.phone-link:hover { color: var(--coral); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(165deg, #f7f5f2 0%, #ebe7e0 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.badge {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.badge-gold {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--gold);
  color: #8a6e12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ========== SECTIONS ========== */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

/* ========== SERVICES ========== */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 1.25rem;
}
.service-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(224, 90, 79, 0.1);
  color: var(--coral-dark);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* ========== PROCESS ========== */
.process {
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 1rem;
}
.step h4 {
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== WHY US ========== */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.why-list {
  list-style: none;
  margin: 1.5rem 0;
}
.why-list li {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.why-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(224, 90, 79, 0.12);
  color: var(--coral);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.why-list h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.why-list p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.why-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ========== AREAS ========== */
.areas {
  background: var(--bg-alt);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.area-pill {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.areas-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.areas-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.testimonial .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}
.testimonial p {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial .author {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial .location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact {
  background: var(--navy);
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}
.contact .section-header p {
  opacity: 0.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.08);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}
.contact-method:hover {
  background: rgba(255,255,255,0.14);
  color: white;
}
.contact-method strong {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}
.contact-method span {
  font-size: 1.1rem;
  font-weight: 600;
}

.privacy-note {
  font-size: 0.88rem;
  opacity: 0.8;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

/* Form */
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.form-card h3 {
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}
.form-card .form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: white;
}
.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group.full { grid-column: 1 / -1; }

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.legal-name {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .areas-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
    gap: 1rem;
  }
  .logo-rect { display: none; }
  .logo-circ { display: block; }
  .header-cta .phone-link { display: none; }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2.5rem 0 3rem;
  }
  section {
    padding: 3.5rem 0;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
