﻿/* ══════════════════════════════════════════════════════════
   Area Location Pages Stylesheet
   Roof Repair Pembroke Pines FL
   ══════════════════════════════════════════════════════════ */

:root {
  --area-primary: #0f1f3d;
  --area-accent: #f59e0b;
  --area-accent-dark: #d97706;
}

/* ── HERO SECTION ── */
.area-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.area-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.area-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 61, 0.84);
}

.area-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .area-hero__inner {
    grid-template-columns: 3fr 2fr;
    padding: 6rem 2rem 5rem;
  }
  .area-hero {
    min-height: 720px;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.area-hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--area-accent);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.area-hero h1 {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.025em;
}

.area-hero__subtext {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

/* Hero CTA Buttons */
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.area-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--area-accent);
  color: var(--area-primary);
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.area-btn-primary:hover {
  background: var(--area-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: var(--area-primary);
}

.area-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.area-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Hero Lead Form */
.hero-form-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-form-card__title {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--area-primary);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  text-align: center;
}

.hero-form-card__sub {
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1.25rem;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--area-primary);
  box-shadow: 0 0 0 3px rgba(15, 31, 61, 0.12);
  background: #fff;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-consent p {
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.form-consent a {
  color: var(--area-accent-dark);
  text-decoration: underline;
}

.btn-form-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--area-accent);
  color: var(--area-primary);
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-form-submit:hover {
  background: var(--area-accent-dark);
  transform: translateY(-1px);
}

/* ── CONTENT SECTIONS ── */
.section {
  padding: 4.5rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5.5rem 2rem;
  }
}

.section--white { background: #ffffff; }
.section--gray { background: #f8f9fb; }
.section--dark { background: var(--area-primary); color: #ffffff; }
.section--cta-gradient {
  background: linear-gradient(135deg, #0f1f3d 60%, #1a3560 100%);
  color: #ffffff;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
}

.container--narrow {
  max-width: 56rem;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--area-accent);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.section-title--dark { color: var(--area-primary); }
.section-title--white { color: #ffffff; }
.section-title--center { text-align: center; }

.prose-content {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
}

.prose-content p {
  margin-bottom: 1.25rem;
}

.prose-content p:last-child {
  margin-bottom: 0;
}

.prose-content strong {
  color: var(--area-primary);
  font-weight: 600;
}

.prose-content a {
  color: var(--area-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.prose-content a:hover {
  color: var(--area-primary);
}

.content-image {
  width: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 2rem 0;
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .content-image img {
    height: 380px;
  }
}

.content-image figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: #6b7280;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

/* ── 9 SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1.75rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(15, 31, 61, 0.12);
  border-color: var(--area-accent);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--area-accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--area-primary);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--area-accent-dark);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.service-card a:hover {
  gap: 0.55rem;
  color: var(--area-primary);
}

/* ── TRUST STRIP ── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item__icon {
  width: 3rem;
  height: 3rem;
  color: var(--area-accent);
  margin: 0 auto 0.75rem;
}

.trust-item p {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin: 0;
}

/* ── 4-STEP PROCESS ── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.process-step__num {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--area-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--area-primary);
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.process-step h3 {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--area-primary);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ── WHY CHOOSE US GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.why-card:hover {
  box-shadow: 0 8px 30px rgba(15, 31, 61, 0.1);
  border-color: var(--area-accent);
}

.why-card__num {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--area-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.why-card h3 {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--area-primary);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ── ZIP CODES GRID ── */
.zip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .zip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.zip-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: border-color 0.2s;
}

.zip-badge:hover {
  border-color: var(--area-accent);
}

.zip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--area-accent);
  flex-shrink: 0;
}

.zip-badge strong {
  font-size: 0.9rem;
  color: var(--area-primary);
  display: block;
}

.zip-badge span {
  font-size: 0.76rem;
  color: #9ca3af;
}

/* ── LOCAL PLACES / THINGS TO DO ── */
.places-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.place-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.place-card:hover {
  border-color: var(--area-accent);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

.place-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--area-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.place-card__body h3 {
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--area-primary);
  margin-bottom: 0.25rem;
}

.place-card__body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.place-card__body h3 a:hover {
  color: var(--area-accent-dark);
}

.place-card__body p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ ACCORDION ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display, 'Outfit', system-ui, sans-serif);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--area-primary);
  transition: background 0.15s;
}

.faq-item__q:hover {
  background: #fffbf0;
}

.faq-item__q[aria-expanded="true"] {
  background: #fffbf0;
  color: #92400e;
}

.faq-chevron {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--area-accent);
  transition: transform 0.25s;
}

.faq-item__q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item__a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.75;
}

.faq-item__a.open {
  display: block;
}

/* ── NEARBY SERVICE AREAS ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.area-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.87rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.area-link:hover {
  border-color: var(--area-accent);
  color: #92400e;
  background: #fffbf0;
}

/* ── FINAL BOTTOM CTA ── */
.cta-bottom-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-bottom-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-bottom-inner .cta-pair {
  justify-content: center;
}