/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

/* Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown-menu a:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  opacity: 0.88;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: #444;
  color: var(--fg);
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ===== PAGE STRUCTURE ===== */
.page-main {
  padding-top: 64px; /* nav height */
}

.page-hero {
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  position: relative;
  z-index: 1;
}

.page-hero .lede {
  position: relative;
  z-index: 1;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
  padding: 3rem 0 4rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.service-intro {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 720px;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0;
}

.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.feature-card:nth-child(odd) {
  padding-right: 3rem;
  border-right: 1px solid var(--border);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== SERVICE CARDS (for location page) ===== */
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  transition: background 0.2s;
  align-items: flex-start;
}

.service-card:first-child {
  border-top: 1px solid var(--border);
}

.service-card:hover {
  background: var(--bg-elevated);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.service-card-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ===== AREAS SECTION ===== */
.areas-section {
  padding: 5rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.areas-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.area-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

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

.areas-note a {
  color: var(--accent);
  text-decoration: none;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ===== OTHER SERVICES LIST ===== */
.other-services {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.other-services h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s;
}

.service-link:first-child {
  border-top: 1px solid var(--border);
}

.service-link:hover {
  color: var(--accent);
}

.service-link .arrow {
  color: var(--fg-muted);
}

.service-link:hover .arrow {
  color: var(--accent);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

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

.form-group select option {
  background: var(--bg-card);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-primary[type="submit"] {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.form-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #ff6b6b;
  margin-bottom: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.form-success h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--fg-muted);
  line-height: 1.6;
}

.form-success a {
  color: var(--accent);
  text-decoration: none;
}

/* Contact sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 80px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.contact-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.area-list li a {
  font-size: 0.92rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.area-list li a:hover {
  color: var(--accent);
}

/* ===== FOOTER EXTENDED ===== */
.footer-top {
  display: flex;
  gap: 4rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-col {
  flex-shrink: 0;
}

.footer-phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

/* ===== LANDING PAGE ADJUSTMENTS (with nav) ===== */
body:has(.site-nav) .hero {
  padding-top: 8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-nav {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0;
  }

  .site-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    display: block;
    padding: 0 0 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .contact-form-wrap {
    padding: 1.5rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    text-align: center;
  }
}
