/* =========================================================
   Avalon Mobile Detailing — SEO / Service Areas Styles
   Layered on top of the Webflow stylesheet.
   ========================================================= */

/* ---------- Service Areas dropdown in the main nav
   Mirrors Webflow's .nav-link-light: black text on white navbar,
   primary-1 (#4ba4e0) on hover. ---------- */
.avalon-areas-dropdown {
  position: relative;
  display: inline-block;
}
.avalon-areas-dropdown > .avalon-areas-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  font-weight: 700;
  color: var(--color--black, #000);
  margin: 15px 20px;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
  transition: color .3s ease-in-out;
}
.avalon-areas-dropdown > .avalon-areas-toggle:hover,
.avalon-areas-dropdown.is-open > .avalon-areas-toggle {
  color: var(--color--primary-1, #4ba4e0);
}
.avalon-areas-dropdown > .avalon-areas-toggle .caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.2s ease;
}
.avalon-areas-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 9999;
}
.avalon-areas-dropdown:hover .avalon-areas-list,
.avalon-areas-dropdown:focus-within .avalon-areas-list,
.avalon-areas-dropdown.is-open .avalon-areas-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.avalon-areas-dropdown:hover .avalon-areas-toggle .caret,
.avalon-areas-dropdown.is-open .avalon-areas-toggle .caret {
  transform: rotate(180deg);
}
.avalon-areas-list a {
  display: block;
  padding: 10px 16px;
  color: var(--color--black, #000);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.avalon-areas-list a:hover {
  background: #f4f4f4;
  color: var(--color--primary-1, #4ba4e0);
}
.avalon-areas-list .avalon-areas-divider {
  height: 1px;
  background: #ececec;
  margin: 6px 0;
}
.avalon-areas-list .avalon-areas-header {
  padding: 8px 16px 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  font-weight: 700;
}
.avalon-areas-list .avalon-areas-note {
  display: block;
  padding: 6px 16px 8px;
  font-size: 0.82rem;
  color: #777;
  font-style: italic;
  line-height: 1.4;
}

/* Keep the desktop nav on a single row — the added dropdown otherwise wraps. */
@media (min-width: 992px) {
  .nav-menu.w-nav-menu {
    white-space: nowrap;
  }
  .nav-menu .nav-link-light,
  .nav-menu .avalon-areas-dropdown > .avalon-areas-toggle {
    margin-left: 14px;
    margin-right: 14px;
  }
}

@media (max-width: 991px) {
  .avalon-areas-dropdown {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
  }
  .avalon-areas-dropdown > .avalon-areas-toggle {
    width: auto;
    margin: 15px 20px;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .avalon-areas-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 20px 8px 20px;
    margin: 0;
    min-width: 0;
    text-align: left;
  }
  .avalon-areas-list a {
    text-align: left;
    padding: 6px 0;
    margin: 0;
    color: var(--color--black, #000);
    font-weight: 600;
  }
  .avalon-areas-list a:hover { background: transparent; }
  .avalon-areas-list .avalon-areas-header {
    text-align: left;
    padding: 6px 0 4px;
    margin: 0;
  }
  .avalon-areas-list .avalon-areas-note {
    text-align: left;
    padding: 4px 0;
  }
  .avalon-areas-list .avalon-areas-divider {
    margin: 8px 0;
  }
  .avalon-areas-dropdown:not(.is-open) .avalon-areas-list { display: none; }
  .avalon-areas-dropdown.is-open .avalon-areas-list { display: block; }
}

/* =========================================================
   Service Area / Service Landing Page Layout
   Light, clean, high-contrast.
   ========================================================= */

.area-page {
  background: #ffffff;
  color: #111;
}

/* ---------- Hero ---------- */
.area-hero {
  position: relative;
  padding: 120px 0 70px;
  background: #ffffff;
  color: #111;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.area-hero .container,
.area-hero .w-container { position: relative; z-index: 2; max-width: 1100px; }
.area-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #d8d8d8;
  background: #f7f7f7;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #555;
  font-weight: 600;
}
/* High-specificity to win over Webflow base h1 */
.area-hero h1,
.area-hero h1.hero-title,
section.area-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.area-hero .area-sub {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #444;
}
.area-hero .area-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.area-hero .area-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.area-hero .area-cta-row a:hover { transform: translateY(-1px); }
.area-hero .area-cta-row .btn-primary {
  background: #0a0a0a;
  color: #fff;
}
.area-hero .area-cta-row .btn-primary:hover { background: #222; }
.area-hero .area-cta-row .btn-ghost {
  color: #0a0a0a;
  border: 1px solid #d0d0d0;
  background: #fff;
}
.area-hero .area-cta-row .btn-ghost:hover { background: #f4f4f4; }

/* ---------- Trust strip ---------- */
.area-trust {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}
.area-trust .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.area-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2b2b2b;
  font-size: 0.95rem;
  font-weight: 500;
}
.area-trust .trust-item strong { color: #0a0a0a; font-weight: 700; }
.area-trust .trust-item .stars { letter-spacing: 0.05em; color: #e2a900; font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.area-breadcrumbs {
  background: #ffffff;
  padding: 14px 0;
  font-size: 0.88rem;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}
.area-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.area-breadcrumbs li + li::before {
  content: "›";
  padding-right: 8px;
  color: #aaa;
}
.area-breadcrumbs a { color: #333; text-decoration: none; }
.area-breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Generic section ---------- */
.area-section {
  padding: 72px 0;
  background: #ffffff;
}
.area-section.alt { background: #fafafa; }
.area-section .container,
.area-section .w-container { max-width: 1100px; }
.area-section .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.area-section .section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}
.area-section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  margin: 0 0 14px;
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.area-section .lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #2c2c2c;
  margin: 0;
}
.area-section p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
}

/* ---------- Service / feature grid ---------- */
.area-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.area-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.area-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.area-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.area-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: #0a0a0a;
  font-weight: 700;
}
.area-card p { color: #444; line-height: 1.6; font-size: 0.98rem; margin: 0; }
.area-card .price-line {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}
.area-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #444;
  line-height: 1.7;
  font-size: 0.98rem;
}
.area-card ul li { margin-bottom: 4px; }
.area-card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Neighborhood / area chips ---------- */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.area-list li {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #222;
}
.area-list li a {
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 500;
}
.area-list li a:hover { text-decoration: underline; }

/* ---------- Bullet feature list ---------- */
.area-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 28px;
}
.area-features li {
  position: relative;
  padding: 4px 0 4px 28px;
  color: #2c2c2c;
  font-size: 1rem;
  line-height: 1.5;
}
.area-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Pricing snapshot strip ---------- */
.area-pricing-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0 0;
}
.area-pricing-strip .price-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}
.area-pricing-strip .price-card .vehicle {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}
.area-pricing-strip .price-card .price {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 8px 0 4px;
}
.area-pricing-strip .price-card .note {
  font-size: 0.85rem;
  color: #666;
}

/* ---------- Testimonial / quote ---------- */
.area-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.area-testimonials .quote {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.area-testimonials .quote .stars { color: #e2a900; letter-spacing: 0.05em; font-size: 1rem; }
.area-testimonials .quote p {
  font-size: 1rem;
  line-height: 1.65;
  color: #2a2a2a;
  margin: 0;
  font-style: italic;
}
.area-testimonials .quote cite {
  color: #555;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.area-faq {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.area-faq details {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 18px 22px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.area-faq details[open] { box-shadow: 0 4px 14px rgba(0,0,0,0.05); border-color: #ddd; }
.area-faq summary {
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #0a0a0a;
}
.area-faq summary::-webkit-details-marker { display: none; }
.area-faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: #888;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.area-faq details[open] summary::after { transform: rotate(45deg); }
.area-faq details p {
  margin: 12px 0 0;
  color: #444;
  line-height: 1.65;
  font-size: 0.98rem;
}

/* ---------- Final CTA strip ---------- */
.area-cta-strip {
  background: #0a0a0a;
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.area-cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
}
.area-cta-strip p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: 1.02rem;
}
.area-cta-strip .area-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.area-cta-strip .area-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.area-cta-strip .btn-primary {
  background: #fff;
  color: #0a0a0a;
}
.area-cta-strip .btn-primary:hover { background: #f0f0f0; }
.area-cta-strip .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.area-cta-strip .btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- Surrounding Areas footer block ---------- */
.surrounding-areas-section {
  background: #0c0c0c;
  color: #fff;
  padding: 56px 0 44px;
}
.surrounding-areas-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.surrounding-areas-section h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: #fff;
}
.surrounding-areas-section .sa-lead {
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px;
  font-size: 0.98rem;
  max-width: 720px;
  line-height: 1.55;
}
.surrounding-areas-section .sa-group-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin: 22px 0 10px;
  font-weight: 600;
}
.surrounding-areas-section .sa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}
.surrounding-areas-section .sa-links li { display: inline-block; }
.surrounding-areas-section .sa-links a,
.surrounding-areas-section .sa-links span {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.surrounding-areas-section .sa-links a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.surrounding-areas-section .sa-links.primary a {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.16);
  font-weight: 600;
}
.surrounding-areas-section .sa-note {
  display: block;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  font-style: italic;
}
.area-section .area-list + .nearby-note {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: #666;
  font-style: italic;
  font-size: 0.98rem;
}

/* ---------- Hide Webflow attribution badge ---------- */
.w-webflow-badge,
a.w-webflow-badge,
[class*="w-webflow-badge"],
[data-wf-badge] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

/* ---------- Misc utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .area-hero { padding: 100px 0 56px; }
  .area-section { padding: 56px 0; }
  .area-trust .trust-row { gap: 12px 22px; }
  .area-cta-strip { padding: 44px 18px; }
}
