/* ============================================
   WOODED MOUNTAIN BUILDERS — mobile.css
   MOBILE ONLY — all rules inside media queries
   ============================================ */

@media (max-width: 768px) {

  /* --- BASE --- */
  body { overflow-x: hidden; }

  /* --- NAV --- */
  .site-nav-wrapper { padding: 16px 16px 0; }
  .site-nav { padding: 10px 12px 10px 20px; }
  .nav-center { display: none; }
  .nav-cta a { font-size: 13px; padding: 10px 16px; }
  .nav-hamburger { display: flex !important; }

  /* --- HOME HERO --- */
  .hero-card { width: calc(100% - 32px); margin: 8px auto 0; min-height: 480px; }
  .hero-content { padding: 0 24px 32px; }
  .hero-headline { font-size: 30px; }

  /* --- SERVICES (home) --- */
  .services-section { padding: 60px 16px; }
  .services-headline { font-size: 28px; }
  .services-cards { grid-template-columns: 1fr; gap: 20px; }
  .service-card-img img { height: 240px; }

  /* --- FOR HOMEOWNERS --- */
  .homeowners-section { padding: 60px 16px; }
  .homeowners-inner { grid-template-columns: 1fr; gap: 40px; }
  .homeowners-headline { font-size: 32px; }
  .homeowners-img-wrap img { height: 320px; }

  /* --- ABOUT STATEMENT --- */
  .about-statement-section { padding: 60px 16px; }
  .about-statement-text { font-size: 26px; }

  /* --- FOR INVESTORS --- */
  .investors-section { padding: 60px 16px; }
  .investors-headline { font-size: 32px; }
  .investors-cards { grid-template-columns: 1fr; gap: 14px; }
  .investors-photo img { height: 240px; }

  /* --- REVIEWS --- */
  .reviews-section { padding: 60px 16px; }
  .reviews-headline { font-size: 28px; }
  .reviews-cards { grid-template-columns: 1fr; gap: 14px; }

  /* --- BANNER --- */
  .banner-section { padding: 0 16px; }
  .banner-img-wrap { height: 280px; }
  .banner-text { top: 24px; left: 24px; }
  .banner-text h2 { font-size: 24px; }

  /* --- CONTACT SECTION (shared) --- */
  .contact-section { padding: 60px 16px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-headline { font-size: 30px; }
  .contact-right { padding: 24px 20px; }

  /* --- FOOTER --- */
  .footer { margin: 0 16px 16px; padding: 40px 24px; border-radius: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }

  /* --- ABOUT PAGE HERO --- */
  .about-hero { padding: 24px 16px 60px; }
  .about-hero-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .about-hero-headline { font-size: 32px; }
  .about-hero-img img { height: 280px; }

  /* --- ABOUT BIO --- */
  .about-bio { padding: 60px 16px; }
  .about-bio-inner { grid-template-columns: 1fr; gap: 36px; }

  /* --- ABOUT MISSION --- */
  .about-mission { padding: 0 16px 60px; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .about-mission-badge { width: 160px; }
  .about-mission-text { font-size: 24px; }

  /* --- WORK WITH US (about) --- */
  .work-section { padding: 0 16px 60px; }
  .work-inner { grid-template-columns: 1fr; }
  .work-photo { min-height: 280px; }
  .work-content { padding: 36px 28px; }
  .work-headline { font-size: 28px; text-align: left; }
  .work-subhead { text-align: left; }
  .work-cta { align-self: flex-start; }

  /* --- SERVICES OVERVIEW HERO --- */
  .svc-hero { width: calc(100% - 32px); margin: 8px auto 0; min-height: 400px; }
  .svc-hero-content { padding: 0 24px 32px; }
  .svc-hero-headline { font-size: 28px; }

  /* --- SERVICES INTRO --- */
  .svc-intro-section { padding: 60px 16px 36px; }
  .svc-intro-headline { font-size: 26px; }

  /* --- SERVICE ROW CARDS --- */
  .svc-cards-section { padding: 16px 16px 60px; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; }
  .svc-row-img img { height: 220px; }

  /* --- HOW WE BUILD --- */
  .how-section { padding: 60px 16px; }
  .how-headline { font-size: 28px; }
  .how-cards { grid-template-columns: 1fr; gap: 14px; }

  /* --- WORK WITH US (services) --- */
  .work-with-us-section { padding: 60px 16px; }
  .work-with-us-inner { grid-template-columns: 1fr; gap: 36px; }
  .work-with-us-img-wrap img { height: 280px; }
  .work-with-us-headline { font-size: 28px; }

  /* --- SUB-PAGE HERO --- */
  .sub-hero { width: calc(100% - 32px); margin: 8px auto 0; min-height: 360px; }
  .sub-hero-content { grid-template-columns: 1fr; gap: 12px; padding: 0 24px 32px; }
  .sub-hero-left h1 { font-size: 36px; }
  .sub-hero-right p { font-size: 14px; }

  /* --- SUB-PAGE ABOUT --- */
  .sub-about-section { padding: 60px 16px; }
  .sub-about-inner { grid-template-columns: 1fr; gap: 28px; }
  .sub-about-eyebrow { position: static; }
  .sub-about-statement { font-size: 26px; margin-bottom: 32px; }
  .sub-accordion-item { padding: 20px; }

  /* --- SUB-PAGE FEATURES --- */
  .sub-features-section { padding: 60px 16px; }
  .sub-features-headline { font-size: 26px; }
  .sub-features-cards { grid-template-columns: 1fr; gap: 14px; }

  /* --- CONTACT PAGE --- */
  .contact-page-hero { padding: 40px 16px 28px; text-align: center; }
  .contact-page-headline { font-size: 40px; }
  .contact-page-form-section { padding: 0 16px 60px; }
  .contact-page-form-inner { max-width: 100%; }
  .contact-page-form-card { padding: 24px 20px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-page-info-strip { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* --- FAQ --- */
  .faq-section { padding: 60px 16px; }
  .faq-headline { font-size: 28px; }

  /* --- DROPDOWN --- */
  .nav-dropdown-menu { left: auto; right: 0; transform: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 24px; }
  .sub-hero-left h1 { font-size: 28px; }
  .about-hero-headline { font-size: 26px; }
  .contact-page-headline { font-size: 32px; }
  .svc-hero-headline { font-size: 22px; }
  .about-mission-text { font-size: 20px; }
  .sub-about-statement { font-size: 20px; }
}

/* ============================================
   HAMBURGER + MOBILE MENU (no media query —
   hamburger is hidden by default, shown via
   the @media rule above)
   ============================================ */
.nav-hamburger {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  pointer-events: all;
  -webkit-appearance: none;
  appearance: none;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #111111;
  border-radius: 2px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  z-index: 9998;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.mobile-menu.open { display: flex; }
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.mobile-menu-links a {
  font-family: 'Nacelle', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #111111;
  text-decoration: none;
  padding: 12px 24px;
  display: block;
}
.mobile-menu-links a:hover { color: #EB5729; }

/* ============================================
   MOBILE HERO — full width, nav above
   ============================================ */
@media (max-width: 768px) {

  /* Nav sits above hero, not overlapping */
  .site-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 16px 0;
  }

  /* Hero full width, no negative margin pulling under nav */
  .hero-card {
    width: 100%;
    border-radius: 0;
    margin: 0 auto;
    min-height: 420px;
  }

  /* Hide kitchen photo on homepage */
  .homeowners-right {
    display: none;
  }

  /* Single column for homeowners section without image */
  .homeowners-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MOBILE NAV — logo + button + hamburger as one unit
   ============================================ */
@media (max-width: 768px) {
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 16px;
    border-radius: 60px;
  }

  .nav-logo {
    flex-shrink: 0;
    margin-right: 0;
  }

  .nav-cta {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .nav-cta a {
    font-size: 14px;
    padding: 10px 18px;
    white-space: nowrap;
  }

  /* Hamburger sits inside the nav pill on mobile */
  .nav-hamburger {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: none !important;
    background: #f4f4f4 !important;
    flex-shrink: 0;
    margin-left: 4px;
    display: flex !important;
  }

  /* About page bio — copy below photo */
  .about-bio-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-bio-left {
    order: 1;
  }

  .about-bio-right {
    order: 2;
  }

  /* Mission section — center aligned on mobile */
  .about-mission-inner {
    text-align: center;
    justify-items: center;
  }

  .about-mission-left {
    align-items: center;
  }

  .about-mission-right {
    align-items: center;
  }

  .about-mission-cta {
    align-self: center;
  }
}

/* Fix bio cols stacking on mobile */
@media (max-width: 768px) {
  .about-bio-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-bio-photo img {
    height: 360px;
  }

  .about-bio-headline {
    font-size: 32px;
  }
}

/* ============================================
   FULL WIDTH MOBILE — hero sections edge to edge
   ============================================ */
@media (max-width: 768px) {
  /* Hero full width, no border radius, no margin */
  .hero-card,
  .svc-hero,
  .sub-hero {
    width: 100% !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
  }

  /* About hero images full width */
  .about-hero-img img {
    border-radius: 0;
    width: 100%;
  }

  /* Service card images full width */
  .svc-row-img {
    border-radius: 0;
    margin: 0 -16px;
  }

  /* Remove side padding on key sections for full bleed */
  .services-section,
  .homeowners-section,
  .investors-section,
  .reviews-section,
  .contact-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Add back inner padding so text doesn't hit edges */
  .services-inner,
  .homeowners-inner,
  .investors-inner,
  .reviews-inner,
  .contact-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Footer full width on mobile */
  .footer {
    border-radius: 0;
    margin: 0;
    padding: 48px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service-card-img img { height: 200px; }
}
