/* ========================================
   FENNINGTON MAIN SITE CSS
   ======================================== */

/* THEME VARIABLES */
:root {
  --brand: #2563eb;
  --brand-dark: #1e40af;
  --accent: #06b6d4;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #f8fafc;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 3rem;
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: white;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ====== SECTION 1: HEADER ====== */
.header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.phone-link svg {
  color: var(--brand);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ====== SECTION 2: HERO ====== */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

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

.badge svg {
  flex-shrink: 0;
}

.badge div {
  text-align: left;
}

.badge strong {
  display: block;
  font-size: 1.125rem;
}

.badge span {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ====== SECTION 3: SERVICES ====== */
.services {
  padding: 80px 0;
  background: var(--card);
}

.services h2, .services .section-subtitle {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--brand);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ====== SECTION 4: WHY US ====== */
.why-us {
  padding: 80px 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.why-content h2 {
  margin-bottom: 2rem;
}

.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits li {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.benefits svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.benefits p {
  color: var(--muted);
  font-size: 0.95rem;
}

.process h3 {
  margin-bottom: 2rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ====== SECTION 5: TESTIMONIALS ====== */
.testimonials {
  padding: 80px 0;
  background: var(--card);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.rating-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stars {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stars-sm {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial p {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.author strong {
  display: block;
  color: var(--text);
}

.author span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ====== SECTION 6: SERVICE AREA ====== */
.service-area {
  padding: 80px 0;
  background: white;
}

.service-area h2, .service-area .section-subtitle {
  text-align: center;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cities span {
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.area-footer {
  text-align: center;
  color: var(--muted);
}

.area-footer a {
  color: var(--brand);
  font-weight: 600;
}

/* ====== SECTION 7: FAQ ====== */
.faq {
  padding: 80px 0;
  background: var(--card);
}

.faq h2, .faq .section-subtitle {
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ====== SECTION 8: CONTACT ====== */
.contact {
  padding: 80px 0;
  background: white;
}

.contact h2, .contact .section-subtitle {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--brand);
  font-weight: 500;
}

.contact-item address, .contact-item p {
  font-style: normal;
  color: var(--muted);
}

.trust-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-icons span {
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}

/* ====== SECTION 9: FOOTER ====== */
.footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: white;
}

.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.85rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .nav, .header-actions { display: none; }
  .mobile-toggle { display: flex; }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
  }
  
  .hero { padding: 60px 0; }
  .hero-subtitle { font-size: 1.125rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .trust-badges { flex-direction: column; gap: 1rem; }
  
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  
  .testimonials { padding: 60px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  
  section { padding: 60px 0; }
}