/* ============ Mobile Nav ============ */
.header{
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10000;
}

.header__container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

/* Logo */
.header__logo-img{
  display:block;
  height: 52px;                /* tweak to match your logo */
  width: auto;
}



/* =========================================================
   NAV — DESKTOP-FIRST BASE
   ========================================================= */

/* Generic interaction affordances */
.nav__link,
.nav__link--dropdown,
.nav__submenu-link { cursor: pointer; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle-bar { width: 26px; height: 2px; background: var(--text); display: block; margin: 5px 0; }

/* Desktop base (desktop-first) */
.nav { position: relative; z-index: 10; }
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--gap-lg, 48px);
}
.nav__item { position: relative; }

.nav__link,
.nav__link--dropdown {
  display: inline-block;
  padding: 10px 0;
  color: var(--text, #2b2b2b);
  font-weight: 500;
  transition: opacity .15s ease;
  background: transparent;
  border: 0; /* for the button version */
  font: inherit;
}
.nav__link:hover,
.nav__link--dropdown:hover { opacity: .7; }

/* ===================== DESKTOP DROPDOWN ===================== */
@media (min-width: 961px){
  .nav__item--dropdown { position: relative; }
  .nav__icon { margin-left: 6px; font-size: .8em; }

  /* Dropdown panel (desktop only) */
  .nav__submenu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    z-index: 20;
  }
  .nav__submenu-list { list-style: none; margin: 0; padding: 0; }

  .nav__submenu-link{
    display: block;
    padding: 10px 14px;
    color: var(--text, #2b2b2b);
  }
  .nav__submenu-link:hover{ background:#f3f3f3; }

  /* show submenu on hover */
  .nav__item--dropdown:hover .nav__submenu{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

/* =========================================================
   MOBILE (≤960px): HAMBURGER + FULL-SCREEN PANEL + INLINE SUBMENU
   ========================================================= */
@media (max-width: 960px){
  :root {
    --header-h: 72px;
    --divider-w: 78%;
    --divider: rgba(0,0,0,.10);
    --submenu-indent: 28px;             /* tab depth for submenu rows */
  }

  /* Short, subtle divider after each TOP-LEVEL item (not full width) */
  #nav-menu .nav__item{ position: relative; width: 100%; }
  #nav-menu .nav__item:not(:last-child)::after{
    content:"";
    display:block;
    width: var(--divider-w);
    height: 1px;
    background: var(--divider);
    margin: 10px 0 0 var(--gap-md, 24px);   /* left indent for the line */
  }

  /* Show hamburger */
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__icon{ transition: transform .25s ease; }

  /* Full-screen panel under the sticky header */
  #nav-menu.nav{
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    background: var(--header-bg, #f7f7f5);
    border: 0; box-shadow: none;

    /* closed */
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity .24s ease,
      transform .28s ease;
    overflow: hidden;
    z-index: 1500;
  }
  #nav-menu.nav.nav--open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Column list fills panel and can scroll — LEFT aligned */
  #nav-menu .nav__list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    margin: 0;
    padding: 16px var(--gap-md, 24px) 20px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    text-align: left;
  }

  /* Big touch targets, left aligned */
  #nav-menu .nav__link,
  #nav-menu .nav__link--dropdown{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 6px;
    font-size: clamp(22px, 3.6vw, 26px);
    font-weight: 600;
    width: 100%;
  }
  .nav__link--dropdown.is-open .nav__icon{ transform: rotate(180deg); }

  /* ===== Inline Services submenu (pushes items down) ===== */

  /* Submenu list basic padding (no indent here; keep edges clean) */
  #nav-menu .nav__submenu-list{
    list-style: none;
    margin: 0;
    padding: 6px var(--gap-md, 24px);
    overflow: hidden;
  }

  /* Submenu link INDENT — this guarantees the visual tab regardless of UL padding */
  #nav-menu .nav__submenu-link{
    display: block;
    padding: 12px 0;
    padding-left: calc(var(--submenu-indent) + 0px);  /* ← actual indent */
    font-weight: 500;
    text-align: left;
    border-radius: 8px;
  }

  /* Subtle separators inside submenu */
  #nav-menu .nav__submenu-item + .nav__submenu-item{
    border-top: 1px solid rgba(0,0,0,.09);
  }

  #nav-menu .nav__submenu-link:hover,
  #nav-menu .nav__submenu-link:focus-visible{
    background: #f3f3f3; outline: none;
  }

  /* make hamburger feel clickable */
  .nav__toggle{ cursor: pointer; }

  /* ===== Services submenu (inline, push-down) — animate IN & OUT ===== */
  /* Base closed: no footprint */
  #services-submenu{
    display: none;               /* hidden until opening */
  }

  /* We render block during animations & when open */
  #services-submenu.is-opening,
  #services-submenu.is-open,
  #services-submenu.is-closing{
    display: block;
  }

  /* Actual animated element lives on the container */
  #services-submenu{
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: height .28s ease, opacity .18s ease, transform .18s ease;
    padding: 0;                   /* no spacing while fully closed */
  }

  /* Opening: fade/slide in and we’ll grow height via JS */
  #services-submenu.is-opening{
    opacity: 1;
    transform: translateY(0);
    padding: 6px 0 8px;          /* include padding during the grow, so height target is correct */
  }

  /* Open: stable state; let content grow naturally */
  #services-submenu.is-open{
    opacity: 1;
    transform: none;
    height: auto;                /* JS sets after transition */
    padding: 6px 0 8px;
  }

  /* Closing: fade/slide up while height animates to 0 */
  #services-submenu.is-closing{
    opacity: 0;
    transform: translateY(-6px);
    /* keep same padding during collapse; height calc already includes it */
  }
}

/* Prevent page behind from scrolling when the panel is open (JS toggles this) */
body.no-scroll { overflow: hidden; }



/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contact {
  background: #f7f7f5;
  padding: clamp(60px, 10vw, 120px) 0;
}

/* Two-column layout */
.contact__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid #717362;
  padding-top: clamp(16px, 2vw, 24px);
}
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
}

.contact__title {
  font-size: 48px;
  font-weight: 500; /* Medium */
  color: #28282A;
  line-height: 1.2;
  margin: 0;
}

/* Right side (form) */
.contact__form {
  display: grid;
  gap: clamp(28px, 3vw, 36px);
}

/* ========== Field Structure ========== */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 24px;
  font-weight: 600; /* Semibold */
  color: #28282A;
}

/* Underline style */
.field__underline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #717362;
  opacity: 0.6;
}

/* Inputs & textareas */
.field__input,
.field__textarea {
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 300; /* Light */
  color: #28282A;
  padding: 4px 0 10px;
  outline: none;
  border-bottom: 1px solid #717362;
  transition: border-color 0.25s ease;
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: #717362;
  font-weight: 300;
  font-size: 20px;
}
.field__input:focus,
.field__textarea:focus {
  border-color: #28282A;
}

/* Textarea specifics */
.field__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
.btn--primary {
  background: #28282A;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn--primary:hover {
  background: #3a3a3d;
  transform: translateY(-2px);
}

/* Status text */
.contact__status {
  font-size: 16px;
  color: #717362;
  margin-top: 10px;
}


/* =====================
   Footer
   ===================== */
.site-footer{
  --footer-bg: #28282A;
  --footer-text: #e9e9ea;
  --footer-dim: rgba(233,233,234,.7);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 24px var(--gap-md, 24px);
}

.site-footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr; /* brand | nav | phones */
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

/* Brand */
/* Footer Brand — refined spacing and divider */
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 36px); /* increased space between logo and email */
}

.footer-brand__logo-img{
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-brand__email{
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;

  display: block;                            /* make the link fill full width */
  width: 100%;                               /* ensures divider spans the column */
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.15); /* subtle but visible divider */
}

.footer-brand__email:hover{
  color: #fff;
  text-decoration-color: currentColor;
}

/* Nav */
.footer-nav__list{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
}
.footer-nav__list a{
  color: var(--footer-dim);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
.footer-nav__list a:hover{ color: var(--footer-text); }

/* Phones */
.footer-phones__title{
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--footer-text);
}
.footer-phones__list{
  margin: 0 0 18px 0;
  padding: 0;
}
.footer-phones__row{
  display: grid;
  grid-template-columns: 56px 1fr; /* code | number */
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-phones__row dt{
  color: var(--footer-dim);
  font-weight: 600;
}
.footer-phones__row dd{
  margin: 0;
}
.footer-phones__row a{
  color: var(--footer-text);
  text-decoration: none;
}
.footer-phones__row a:hover{ text-decoration: underline; }

.footer-address{
  margin-top: 18px;
  font-style: normal;
  color: var(--footer-dim);
  line-height: 1.5;
  font-size: clamp(12px, 1.1vw, 13px);
}

/* =====================
   Footer — Legal Section (compact)
   ===================== */
.site-footer__legal{
  border-top: 1px solid rgba(255,255,255,.08);
  background: #28282A;
}

.site-footer__legal-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.legal-links a{
  color: var(--footer-dim);
  text-decoration: none;
  font-size: 12px;                   /* smaller text */
  transition: color .18s ease, opacity .18s ease;
}
.legal-links a:hover{
  color: var(--footer-text);
  text-decoration: underline;
}

.copyright{
  margin: 0;
  color: var(--footer-dim);
  font-size: 12px;                   /* match link size */
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 980px){
  .site-footer__grid{
    grid-template-columns: 1fr 1fr; /* brand | nav  / phones below */
  }
  .footer-phones{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .site-footer__grid{
    grid-template-columns: 1fr;
  }
  .site-footer__legal-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   HERO — CONTACT PAGE (compact, content-based height)
   ========================================= */
.hero--contact {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
  color: #28282A;
  text-align: center;
  padding: clamp(40px, 5vw, 60px) var(--gap-md, 24px); /* generous but balanced */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.03), transparent 75%);
  pointer-events: none;
}

.hero--contact .hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container, 900px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
}

/* Title */
.hero--contact .hero__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: #28282A;
  margin: 0;
}

/* Subtext / lede */
.hero--contact .hero__lede {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: #4a4a4d;
  max-width: 48ch;
  line-height: 1.6;
  margin: 0 auto;
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  .hero--contact {
    padding: clamp(64px, 12vw, 96px) var(--gap-sm, 18px);
  }
  .hero--contact .hero__title {
    font-size: clamp(22px, 6vw, 32px);
  }
  .hero--contact .hero__lede {
    font-size: clamp(14px, 3.2vw, 17px);
  }
}

/* Quick contact cards */
.contact-quick{ background:#f7f7f5; padding: clamp(32px, 6vw, 64px) 0; }
.contact-quick__container{ max-width: var(--container,1100px); margin:0 auto; padding:0 var(--gap-md,24px); }
.contact-quick__grid{
  list-style:none; margin:0; padding:0;
  display:grid; gap: clamp(16px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contact-quick__item{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding: clamp(18px, 3vw, 24px);
  transition: box-shadow .25s ease, transform .2s ease, border-color .25s ease;
}
.contact-quick__item:hover{
  border-color: rgba(0,0,0,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.contact-quick__heading{
  margin:0 0 8px; font-weight:600; color:#28282A;
  font-size: clamp(16px,1.6vw,18px);
}
.contact-quick__link,
.contact-quick__smalllink{
  color:#28282A;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-quick__link:hover,
.contact-quick__smalllink:hover{ color:#000; }
.contact-quick__note{ margin:8px 0 0; color:#717362; font-size: 14px; }
.contact-quick__addr{ margin:0; color:#28282A; font-style:normal; line-height:1.5; }

/* ===== FAQ — LIGHT (compact, scoped to this section) ===== */
.faq--light{
  background:#f7f7f5;
  color:#28282A;
  padding: clamp(40px, 6vw, 80px) 0;   /* natural height */
  position: relative;
  z-index: 1;
  isolation: isolate;                  /* never tucks under neighbors */
}
.faq--light .faq__container{
  max-width:var(--container,1100px);
  margin:0 auto;
  padding:0 var(--gap-md,24px);
}
.faq--light .faq-intro__section-title{
  text-align:center;
  font-weight:600;
  font-size: clamp(18px, 2vw, 20px);
  color:#28282A;
  margin:0 0 clamp(20px,3vw,28px);
}

/* Grid */
.faq--light .faq__grid{
  --gap: clamp(10px, 1.2vw, 16px);
  --radius: 14px;
  --border: 1.5px solid rgba(40,40,42,.22);

  list-style:none; margin:0; padding: var(--gap);
  display:grid; gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
  background:#f7f7f5;
}

/* Tiles */
.faq--light .faq-item{
  position:relative;
  aspect-ratio: 1 / 1;
  background:#fff;
  border: var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  transition: background .25s ease, box-shadow .25s ease, transform .2s ease, border-color .25s ease;
}
.faq--light .faq-item:hover{
  border-color: rgba(40,40,42,.32);
  background:#fcfcfb;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Button + chevron */
.faq--light .faq-item__btn{
  appearance:none; border:0; background:transparent;
  color:#28282A; font-weight:600;
  font-size: clamp(16px, 2vw, 18px);
  line-height:1.35; text-align:center; text-wrap:balance;
  display:flex; align-items:center; justify-content:center;
  width:100%; height:100%;
  padding: clamp(16px, 2.2vw, 24px);
  padding-right: clamp(28px, 3vw, 36px);
  padding-bottom: clamp(28px, 3vw, 36px);
  cursor:pointer; position:relative;
  transition: color .2s ease, opacity .25s ease, filter .25s ease;
}
.faq--light .faq-item__btn:focus-visible{ outline:2px solid #28282A; outline-offset:2px; border-radius: var(--radius); }
.faq--light .faq-item__btn[aria-expanded="true"]{ opacity:.22; filter: blur(.2px); }

.faq--light .faq-item__chev{
  position:absolute; right:clamp(10px,1.6vw,14px); bottom:clamp(10px,1.6vw,14px);
  width: clamp(14px, 1.6vw, 18px); height: clamp(14px, 1.6vw, 18px);
  stroke: currentColor; stroke-width: 2.25; fill: none; opacity:.6;
  transform: rotate(0deg); transition: transform .28s ease, opacity .2s ease;
}
.faq--light .faq-item__btn[aria-expanded="true"] .faq-item__chev{ transform: rotate(180deg); opacity:.4; }

/* Overlay reveal */
.faq--light .faq-item__panel{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding: clamp(20px, 3vw, 36px);
  background: rgba(255,255,255,.92);
  color:#28282A;
  opacity:0; pointer-events:none;
  transform: translateY(12px) scale(.985);
  transition: opacity .32s cubic-bezier(.22,.61,.36,1), transform .32s cubic-bezier(.22,.61,.36,1);
  backdrop-filter: blur(3px);
}
.faq--light .faq-item__panel.is-open{ opacity:1; pointer-events:auto; transform: translateY(0) scale(1); }
.faq--light .faq-item__panel p{ margin:0; max-width:42ch; font-size: clamp(14px, 1.4vw, 16px); line-height:1.6; }

/* Responsive columns */
@media (max-width:1024px){ .faq--light .faq__grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px){ .faq--light .faq__grid{ grid-template-columns: 1fr; } }

/* Map band (full-bleed with rounded edges + overlap) */
.map-band{
  background: #f7f7f5;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5vw;
}
.map-band__wrap{
  position:relative;
  width:1100px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);

  /* heights that feel good across devices */
  min-height: 48vh;
  aspect-ratio: 16 / 9;
}

/* tighter mobile aspect + less height if needed */
@media (max-width: 820px){
  .map-band__wrap{
    min-height: 40vh;
    aspect-ratio: 4 / 3;
  }
  .map-band {
    padding-bottom: 0vw;
  }
}

.map-band__iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
