*, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: #FFFFFF; color: #000000; font-family: Inter, Archivo, Helvetica, Arial, sans-serif; font-size: 20px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
  a { color: #1B2FA0; text-decoration: none; }
  a:hover { color: #000000; }
  .addr-link { color: inherit; text-decoration: none; }
  .addr-link:hover { color: #1B2FA0; text-decoration: underline; text-underline-offset: 3px; }
  button { font-family: inherit; }
  h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
  p { margin: 0; }
  /* min-width:0 keeps the file input's intrinsic width from blowing out the
     grid column it sits in, which pushed the home page sideways on tablets. */
  input, select, textarea { font-family: inherit; font-size: 20px; max-width: 100%; min-width: 0; }

  /* Header: full desktop nav row above 1100px (7 links + the estimate button need the room); a hamburger + dropdown below it. */
  .site-logo { height: 58px; }
  .nav-toggle { display: none; }
  .mobile-nav-panel { display: none; }
  @media (max-width: 1099px) {
    .site-logo { height: 42px; }
    .desktop-nav, .header-cta { display: none !important; }
    header[data-header] > div:first-child { min-height: 0 !important; padding-top: 10px; padding-bottom: 10px; }
    .nav-toggle {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 5px; width: 40px; height: 40px; margin-left: auto; flex: none;
      background: none; border: 0; cursor: pointer; padding: 0;
    }
    .nav-toggle span { display: block; width: 24px; height: 2px; background: #0A1250; border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-nav-panel.open {
      display: block; position: absolute; top: 100%; left: 0; right: 0;
      background: #FFFFFF; border-bottom: 1px solid #D8DCEA; box-shadow: 0 12px 24px rgba(10,18,80,.14);
    }
  }
  :focus-visible { outline: 3px solid #0E1A72; outline-offset: 3px; }
  .ph { background-color: #E5E8F6; background-image: repeating-linear-gradient(135deg, rgba(14,26,114,.12) 0 10px, rgba(201,154,78,0) 10px 22px); }
  .ph-light { background-color: #E5E8F6; background-image: repeating-linear-gradient(135deg, rgba(14,26,114,.10) 0 10px, rgba(20,19,18,0) 10px 22px); }
  @media (min-width: 1100px) { [data-mobilebar] { display: none !important; } }
  nav::-webkit-scrollbar { display: none; }
  @keyframes rf-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
  @media (prefers-reduced-motion: reduce) { [style*="rf-marquee"] { animation: none !important; } }

  /* A thin diagonal shine sweeping inside the always-visible Free Estimate
     buttons (header + mobile bar) — a nudge, not a flashing sign. */
  .cta-pulse { position: relative; overflow: hidden; }
  .cta-pulse::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: rf-cta-shine 3.4s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes rf-cta-shine {
    0% { left: -60%; }
    35%, 100% { left: 130%; }
  }
  @media (prefers-reduced-motion: reduce) { .cta-pulse::after { animation: none; display: none; } }

  /* Desktop nav: dropdowns open on hover or keyboard focus (no JS). */
  .nav-row { display: flex; align-items: center; gap: 0; }
  .nav-item { position: relative; }
  .nav-link { display: block; color: #000000; font-size: clamp(16px, 1.15vw, 18px); font-weight: 600; padding: 10px clamp(9px, .9vw, 16px); white-space: nowrap; }
  .nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: #0E1A72; }
  .nav-link[aria-current="page"]::after { content: ""; display: block; height: 2px; background: #0E1A72; margin-top: 5px; }
  .nav-link .caret { font-size: .7em; opacity: .7; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #FFFFFF; border: 1px solid #D8DCEA; box-shadow: 0 18px 40px rgba(10,18,80,.16); padding: 10px 0; z-index: 60; }
  .nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu { display: block; }
  .nav-menu.mega { min-width: 700px; padding: 22px 12px; }
  .nav-item:hover > .nav-menu.mega, .nav-item:focus-within > .nav-menu.mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
  .nav-menu a { display: block; padding: 9px 20px; color: #000000; font-size: 18px; font-weight: 500; white-space: nowrap; }
  .nav-menu a:hover { background: #F6F7FC; color: #0E1A72; }
  .nav-menu .mega-head { font-family: Inter, Archivo, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #0E1A72; padding-bottom: 12px; }

  /* Mobile menu: plain links plus <details> accordions for About / Services. */
  .mobile-nav-panel { max-height: calc(100vh - 110px); overflow-y: auto; }
  .m-link, .m-acc > summary { display: block; padding: 16px 4px; border-bottom: 1px solid #ECEEF8; color: #000000; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
  .m-acc > summary::-webkit-details-marker { display: none; }
  .m-acc > summary::after { content: "▾"; float: right; opacity: .6; }
  .m-acc[open] > summary::after { content: "▴"; }
  .m-acc > a { display: block; padding: 12px 4px 12px 18px; color: #000000; font-size: 19px; font-weight: 500; border-bottom: 1px solid #F3F4FA; }
  .m-acc > a.m-group { padding-top: 16px; padding-bottom: 6px; font-family: Inter, Archivo, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #0E1A72; border-bottom: 0; }

  /* Desktop header: logo | centred nav | button. Logo and button take equal
     shares of the free space so the nav sits exactly in the middle. */
  @media (min-width: 1100px) {
    .header-logo { flex: 1 1 0; }
    .header-cta { flex: 1 1 0 !important; justify-content: flex-end; }
    .nav-menu.mega { left: 50%; transform: translateX(-50%); }
  }

  /* Showroom storefront photos: square (full facade) on narrow/stacked
     layouts, shorter on wide desktop 2-3 column rows so the photo doesn't
     dwarf the text beside it. */
  .loc-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
  @media (min-width: 700px) {
    .loc-photo { aspect-ratio: 4 / 3; min-height: 320px; }
  }

  /* Locations map (MapLibre GL) */
  #showroom-map { height: 520px; border: 1px solid #D8DCEA; background: #E5E8F6; z-index: 0; }
  @media (max-width: 640px) { #showroom-map { height: 420px; } }
  .rf-pin { cursor: pointer; line-height: 0; }
  .rf-pin svg { display: block; filter: drop-shadow(0 3px 4px rgba(10,18,80,.35)); }
  .maplibregl-popup-content { border-radius: 0; padding: 16px 18px; box-shadow: 0 10px 30px rgba(10,18,80,.25); }
  .maplibregl-popup-close-button { font-size: 22px; padding: 2px 8px; color: #000000; }
  .rf-pop { font-family: Inter, Archivo, Helvetica, Arial, sans-serif; color: #000000; }
  .rf-pop strong { display: block; font-size: 21px; color: #000000; margin-bottom: 4px; padding-right: 14px; }
  .rf-pop span { display: block; font-size: 17px; line-height: 1.45; }
  .rf-pop .rf-tel { display: block; margin-top: 8px; font-size: 20px; font-weight: 700; color: #000000; }
  .rf-pop small { display: block; margin-top: 6px; font-size: 15px; color: #000000; }
  .rf-pop .rf-dir { display: block; margin-top: 12px; background: #0E1A72; color: #FFFFFF !important; text-align: center; font-weight: 700; font-size: 18px; padding: 11px 14px; }
  .rf-pop .rf-dir:hover { background: #1B2FA0; }

  /* Our Work gallery: filter row, full-screen viewer */
  .gf-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .gf-btn { background: #F6F7FC; border: 1px solid #C4CAE2; color: #000000; cursor: pointer; font-size: 18px; font-weight: 600; padding: 13px 18px; white-space: nowrap; }
  @media (min-width: 1500px) {
    .gf-row { flex-wrap: nowrap; }
    .gf-btn { flex: 1 1 auto; padding: 14px 12px; text-align: center; }
  }
  .project-card img { cursor: zoom-in; transition: opacity .2s ease; }
  .project-card img:hover { opacity: .92; }

  .lb { position: fixed; inset: 0; z-index: 1000; background: rgba(6,10,40,.97); display: none; align-items: center; justify-content: center; }
  .lb.open { display: flex; }
  .lb-img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
  .lb-btn { position: absolute; z-index: 2; background: rgba(6,10,40,.72); border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 2px 12px rgba(0,0,0,.45); color: #FFFFFF; cursor: pointer; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background .15s ease; }
  .lb-btn:hover { background: #0E1A72; }
  .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
  .lb-close { top: 20px; right: 22px; }
  .lb-meta { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #FFFFFF; font-family: Inter, Archivo, sans-serif; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
  .lb-meta b { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; font-size: 22px; letter-spacing: 0; text-transform: none; margin-right: 12px; }
  @media (max-width: 640px) {
    .lb-btn { width: 44px; height: 44px; font-size: 22px; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 12px; right: 12px; }
    .lb-img { max-width: 100vw; max-height: 76vh; }
  }

  /* About: two team cards per row on phones */
  @media (max-width: 640px) {
    #team div[style*="repeat(auto-fit"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    #team div[style*="repeat(auto-fit"] > div > div:last-child { padding: 14px 14px 16px !important; }
    #team div[style*="repeat(auto-fit"] span:first-child { font-size: 19px !important; }
    #team div[style*="repeat(auto-fit"] span + span { font-size: 15px !important; }
  }

  .gf-more { background: #0E1A72; color: #FFFFFF; border: 0; cursor: pointer; font-size: 20px; font-weight: 700; padding: 18px 44px; letter-spacing: .02em; transition: background .15s ease; }
  .gf-more:hover { background: #1B2FA0; }

  /* Home, "Why Roberto's": big family photo that stays in view next to the longer text */
  .why-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .why-img { width: 100%; height: auto; aspect-ratio: 11 / 10; object-fit: cover; object-position: center; position: sticky; top: 110px; }
  @media (max-width: 1000px) {
    .why-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .why-img { position: static; aspect-ratio: 5 / 4; }
  }

  /* Maps chooser (Google Maps / Apple Maps / Waze) */
  .mp-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(6,10,40,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
  .mp-box { position: relative; background: #FFFFFF; width: 100%; max-width: 440px; padding: 34px 28px 28px; border-top: 5px solid #0E1A72; box-shadow: 0 18px 60px rgba(0,0,0,.45); }
  .mp-x { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 34px; line-height: 1; color: #000000; cursor: pointer; padding: 6px 10px; }
  .mp-title { margin: 0; font-size: 24px; font-weight: 700; color: #000000; }
  .mp-addr { margin: 10px 0 22px; font-size: 19px; color: #000000; }
  .mp-list { display: grid; gap: 12px; }
  .mp-opt { display: block; text-align: center; background: #0E1A72; color: #FFFFFF; font-size: 21px; font-weight: 700; padding: 18px 16px; }
  .mp-opt:hover, .mp-opt:focus { background: #1B2FA0; color: #FFFFFF; }

  /* "How it works" steps: cells stretch to fill the last row, so no empty gray block appears */
  .steps-row { display: flex; flex-wrap: wrap; gap: 2px; background: #D8DCEA; border: 1px solid #D8DCEA; }
  .steps-row > div { flex: 1 1 200px; }

  /* Promotions: tall Christmas banner on the left, the two square banners stacked on the right */
  .promo-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; margin-top: 40px; align-items: center; }
  .promo-stack { display: grid; gap: 28px; }
  @media (max-width: 900px) { .promo-grid { grid-template-columns: minmax(0, 1fr); } }
