/* ============================================================
   XoFo Coats & Furnitures — Main Stylesheet
   ============================================================ */

   :root {
    --plaster:      #EFE7D8;
    --plaster-deep: #E2D6BE;
    --charcoal:     #24211E;
    --charcoal-soft:#37322C;
    --rust:         #A83D25;
    --rust-deep:    #8A2E1B;
    --moss:         #6C7658;
    --brass:        #A9863C;
    --ivory:        #F6F0E4;
    --ink-soft:     #55504A;
    --line:         rgba(36,33,30,0.12);
    --line-light:   rgba(246,240,228,0.16);
    --red:          #A83D25;
    --red-dark:     #8A2E1B;
    --red-light:    #C45A43;
    --text:         #24211E;
    --text-muted:   #55504A;
    --cream:        #F6F0E4;
    --cream-2:      #EFE7D8;
    --white:        #fff;
    --border:       rgba(36,33,30,0.12);
    --serif:        'Fraunces', Georgia, serif;
    --sans:         'Inter', system-ui, sans-serif;
    --mono:         'JetBrains Mono', ui-monospace, monospace;
    --shadow:       0 20px 60px rgba(36,33,30,0.10);
    --shadow-card:  0 10px 34px rgba(36,33,30,0.08);
    --radius:       14px;
    --header-h:     96px;
    --transition:   .3s ease;
  }
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; overflow-x: hidden; }
  
  body {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--plaster);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; transition: color var(--transition); }
  ul { list-style: none; }
  
  .container {
    width: min(1200px, 92%);
    margin: 0 auto;
  }
  
  /* ---------- Typography ---------- */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    letter-spacing: -0.01em;
  }
  
  h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.15rem; }
  
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 12px;
  }
  
  .eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--rust);
  }
  
  .section-head { margin-bottom: 48px; }
  .section-head.center { text-align: center; }
  .section-head.left .eyebrow::before { display: none; }
  .section-head p { color: var(--text-muted); margin-top: 12px; max-width: 560px; }
  .section-head.center p { margin-left: auto; margin-right: auto; }
  
  section { padding: 80px 0; }
  .section-tight { padding: 60px 0; }
  
  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
  }

  .btn-primary {
    background: var(--rust);
    color: var(--ivory);
    border-color: var(--rust);
  }

  .btn-primary:hover {
    background: var(--rust-deep);
    border-color: var(--rust-deep);
  }

  .btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
  }

  .btn-outline:hover {
    background: var(--charcoal);
    color: var(--ivory);
  }
  
  .btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
  }
  .btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
  }
  .btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
  }
  
  .btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
  }
  .btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
  }
  
  .btn-sm { padding: 10px 18px; font-size: .72rem; }
  
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }
  
  /* ---------- Header ---------- */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    isolation: isolate;
  }
  
  .site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    pointer-events: none;
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
    position: relative;
  }
  
  .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  
  /* ---------- Text logo (replaces image — no padding waste) ---------- */
  .logo-text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
  }
  
  .logo-mark {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 2.65rem;
    letter-spacing: 0.04em;
    color: var(--red);
    line-height: 1;
  }
  
  .logo-tagline {
    display: block;
    font-family: var(--serif);
    font-size: 0.82rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.2em;
    text-transform: none;
    color: var(--red);
    margin-top: 6px;
    white-space: nowrap;
  }
  
  .logo--dark {
    background: var(--red);
    padding: 12px 20px 14px;
    border-radius: 3px;
  }
  
  .logo--dark .logo-mark,
  .logo--dark .logo-tagline {
    color: var(--white);
  }
  
  .logo--dark .logo-tagline {
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    margin-top: 6px;
  }
  
  /* Legacy image logos (if used elsewhere) */
  .logo img,
  .logo-light {
    height: 80px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
  }
  
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .desktop-nav-links {
    display: none;
  }
  
  .desktop-nav-links > a,
  .has-sub > a {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
    padding: 4px 0;
  }
  
  .desktop-nav-links > a:hover,
  .has-sub > a:hover,
  .desktop-nav-links > a.active { color: var(--red); }
  
  .desktop-nav-links > a.active::after,
  .has-sub > a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
  }
  
  .has-sub { position: relative; }
  
  .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  
  .has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: .78rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
  }
  .sub-menu a:hover { background: var(--cream); color: var(--red); }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--charcoal);
    transition: all var(--transition);
  }
  .icon-btn:hover { border-color: var(--red); color: var(--red); }
  
  .nav-cta { display: none; }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1201;
    position: relative;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  /* Mobile nav overlay — hidden until menu opens */
  .nav-overlay {
    display: none;
  }
  
  .site-header.nav-open {
    z-index: 1200;
  }
  
  /* ---------- Floating action buttons ---------- */
  .float-actions {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .float-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: transform var(--transition);
  }
  .float-actions a:hover { transform: scale(1.08); }
  
  .fa-call    { background: var(--red); }
  .fa-whatsapp { background: #25d366; }
  .fa-insta   { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  
  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
    margin-top: var(--header-h);
    overflow: hidden;
  }
  
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.18) 100%);
  }
  .hero-slide.active { opacity: 1; z-index: 1; }

  .hero-detail-block {
    background: var(--cream);
    padding: 72px 0 36px;
  }

  .hero-detail-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
  }

  .hero-detail-copy h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    margin: 10px 0 16px;
  }

  .hero-detail-copy p {
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
    font-size: 1.02rem;
    margin-bottom: 28px;
  }

  .hero-detail-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
  }

  .hero-detail-image img {
    width: 100%;
    display: block;
    aspect-ratio: 5 / 4;
    object-fit: cover;
  }
  
  .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(0,0,0,.25);
    cursor: pointer;
    transition: background-size .6s ease, transform .35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
  }
  .hero-arrow:hover { background: var(--red); border-color: var(--red); }
  .hero-arrow.prev { left: 24px; }
  .hero-arrow.next { right: 24px; }
  
  .hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
  }
  .hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all var(--transition);
  }
  .hero-dots button.active { background: var(--white); transform: scale(1.2); }
  
  /* ---------- Features grid ---------- */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .feature-card {
    padding: 36px 32px;
    background: var(--cream);
    border-radius: var(--radius);
    border-left: 3px solid var(--red);
    transition: box-shadow var(--transition);
  }
  .feature-card:hover { box-shadow: var(--shadow); }
  
  .feature-num {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(200,16,46,.15);
    line-height: 1;
    margin-bottom: 16px;
  }
  
  .feature-card h3 { margin-bottom: 12px; }
  .feature-card p { color: var(--text-muted); font-size: .92rem; }
  
  /* ---------- Category carousel ---------- */
  .cat-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .cat-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
  }
  .cat-nav button:hover { border-color: var(--red); color: var(--red); }
  
  .section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-bottom: 34px;
  }
  .section-head-row h2 { margin: 0; }
  
  .cat-carousel-wrap { overflow: hidden; }
  
  .cat-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cat-track::-webkit-scrollbar { display: none; }
  
  .cat-card {
    flex: 0 0 260px;
    height: 340px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    cursor: pointer;
  }
  .cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
  }
  .cat-card .tag,
  .cat-card h4 { position: relative; z-index: 1; }
  .cat-card .tag {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 6px;
  }
  .cat-card h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
  .cat-card:hover { background-size: 112%; transform: translateY(-4px); }
  .cat-view-circle,
  .gallery-view-circle {
    position: absolute;
    left: var(--cursor-x, 50%);
    top: var(--cursor-y, 50%);
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.72) rotate(-12deg);
    pointer-events: none;
    will-change: opacity, transform;
    transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1), background-color .45s ease;
    z-index: 2;
  }
  .cat-card:hover .cat-view-circle,
  .cat-card:focus-visible .cat-view-circle,
  .gallery-item:hover .gallery-view-circle,
  .gallery-item:focus-visible .gallery-view-circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
    background: rgba(181, 28, 47, .88);
  }
  
  /* ---------- Promise band ---------- */
  .promise-band {
    background: var(--red);
    color: var(--white);
  }
  .promise-band h2 { color: var(--white); }
  
  .promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .promise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .92rem;
    font-weight: 500;
  }
  
  .promise-item .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* ---------- Gallery ---------- */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
  }
  .gallery-item:hover img { transform: scale(1.08); }

  .gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 14, 13, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 2000;
  }

  .gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gallery-lightbox-inner {
    width: min(980px, 92vw);
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    position: relative;
  }

  .gallery-lightbox-inner img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
  }

  .gallery-lightbox-copy {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
  }

  .gallery-lightbox-copy h3 {
    margin: 12px 0 10px;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
  }

  .gallery-lightbox-copy p {
    color: var(--text-muted);
    line-height: 1.8;
  }

  .lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.3);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
  
  /* ---------- CTA banner ---------- */
  .cta-banner {
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: 64px 48px;
    border-radius: var(--radius);
  }
  .cta-banner h2 { color: var(--white); margin-bottom: 12px; }
  .cta-banner p { opacity: .8; max-width: 480px; margin: 0 auto; }
  .cta-banner .cta-row { justify-content: center; }
  
  /* ---------- Page hero (inner pages) ---------- */
  .page-hero {
    margin-top: var(--header-h);
    padding: 72px 0 56px;
    background: var(--cream);
    text-align: center;
  }
  .page-hero h1 { max-width: 720px; margin: 0 auto 12px; }
  .page-hero .breadcrumb {
    font-size: .82rem;
    color: var(--text-muted);
  }
  .page-hero .breadcrumb a:hover { color: var(--red); }
  
  /* ---------- Services ---------- */
  .service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  
  .service-block.rev .service-img { order: 2; }
  .service-block.rev > div:last-child { order: 1; }
  
  .service-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 5/4;
  }
  .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .tag-list span {
    padding: 6px 14px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
  }
  
  .commercial-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .commercial-list li {
    padding-left: 18px;
    position: relative;
    font-size: .92rem;
  }
  .commercial-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red);
  }
  
  /* ---------- Products page (sidebar layout) ---------- */
  .products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
  }
  
  .cat-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  
  .cat-sidebar h5 {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
  }
  
  .cat-sidebar > ul { border-top: 1px solid var(--border); }
  .product-filter-form input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 0;
    accent-color: var(--red);
  }
  .cat-sidebar-heading input[type="checkbox"] { margin-right: 2px; }
  .cat-sidebar-heading span:first-of-type { margin-right: auto; }
  .cat-sidebar-group { border-bottom: 1px solid var(--border); }
  .cat-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 4px;
    font-family: var(--serif);
    font-size: 1.02rem;
    color: var(--text);
    transition: color var(--transition);
  }
  .cat-sidebar-heading:hover,
  .cat-sidebar-group.active > .cat-sidebar-heading {
    color: var(--red);
  }
  .cat-sidebar-arrow {
    color: var(--red);
    font-family: var(--sans);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform var(--transition);
  }
  .cat-sidebar-group.active .cat-sidebar-arrow { transform: rotate(90deg); }
  .cat-sidebar-products {
    display: none;
    padding: 0 0 12px 14px;
  }
  .cat-sidebar-group.active .cat-sidebar-products { display: block; }
  .cat-sidebar-products label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 16px;
    font-size: .82rem;
    color: var(--text-muted);
    transition: color var(--transition);
  }
  .cat-sidebar-products label:hover { color: var(--red); }
  .product-filter-submit { margin-top: 18px; width: 100%; }
  
  .product-category {
    padding-bottom: 64px;
    margin-bottom: 64px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: calc(var(--header-h) + 24px);
  }
  .product-category:last-child { border-bottom: none; margin-bottom: 0; }
  
  .product-category h2 { margin-bottom: 16px; }
  .product-category > p { color: var(--text-muted); margin-bottom: 24px; max-width: 640px; }
  .selected-product {
    padding: 28px;
    margin: 28px 0 36px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .selected-product h3 { margin: 6px 0 20px; font-size: 1.45rem; }
  .selected-product-gallery { margin-bottom: 22px; }
  .cat-sidebar-products a.active { color: var(--red); font-weight: 600; }
  
  .product-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }
  .product-items a {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: all var(--transition);
  }
  .product-items a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-1px);
  }
  
  .product-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .product-images img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    width: 100%;
  }
  
  .custom-section {
    background: var(--cream);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 32px;
  }
  .custom-section h3 { margin-bottom: 12px; }
  .custom-section p { color: var(--text-muted); max-width: 560px; margin: 0 auto 24px; }

  /* ---------- Detail pages ---------- */
  .detail-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: start;
  }

  .detail-main-col {
    display: grid;
    gap: 24px;
  }

  .detail-hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-card);
  }

  .detail-hero-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .detail-badges {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .detail-badges span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(36, 33, 30, 0.72);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: .7rem;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    backdrop-filter: blur(8px);
  }

  .detail-summary {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .detail-cta-row {
    margin-top: 0;
    margin-bottom: 0;
  }

  .detail-features,
  .detail-process,
  .detail-list {
    display: grid;
    gap: 16px;
  }

  .detail-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .detail-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }

  .detail-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }

  .detail-card p,
  .detail-card li {
    color: var(--text-muted);
    font-size: .92rem;
  }

  .detail-list {
    list-style: none;
    margin-top: 14px;
  }

  .detail-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
  }

  .detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
  }

  .detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .detail-gallery img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    width: 100%;
  }

  .detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }

  .detail-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .detail-meta {
    display: grid;
    gap: 12px;
    margin-top: 18px;
  }

  .detail-meta-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
  }

  .detail-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .detail-meta-item strong {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
  }

  .related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .related-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .related-card-body {
    padding: 20px;
  }

  .related-card-body h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .related-card-body p {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 14px;
  }

  @media (max-width: 1024px) {
    .detail-layout {
      grid-template-columns: 1fr;
    }
    .detail-sidebar {
      position: static;
    }
    .products-layout {
      grid-template-columns: 1fr;
    }
    .cat-sidebar {
      position: static;
    }
  }

  @media (max-width: 768px) {
    .detail-features {
      grid-template-columns: 1fr;
    }
    .detail-gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .related-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 480px) {
    .detail-badges {
      left: 12px;
      right: 12px;
      bottom: 12px;
    }
    .detail-badges span {
      font-size: .6rem;
      letter-spacing: .06em;
      padding: 7px 10px;
    }
    .detail-gallery {
      grid-template-columns: 1fr;
    }
    .detail-card {
      padding: 18px;
    }
    .detail-sidebar {
      padding: 18px;
    }
    .cta-row {
      flex-direction: column;
    }
    .cta-row .btn {
      width: 100%;
    }
  }
  
  /* ---------- Blog ---------- */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
  }
  .blog-card:hover { box-shadow: var(--shadow); }
  
  .blog-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
  }
  .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
  }
  .blog-card:hover .blog-card-img img { transform: scale(1.05); }
  
  .blog-card-body { padding: 24px; }
  .blog-card-body .date {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
  }
  .blog-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
  .blog-card-body p { font-size: .88rem; color: var(--text-muted); }
  
  .blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  
  .blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
  }
  .blog-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  .blog-pagination a,
  .blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 500;
  }
  .blog-pagination a:hover { border-color: var(--red); color: var(--red); }
  .blog-pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
  }
  
  /* ---------- WordPress single post ---------- */
  .blog-single { max-width: 760px; margin: 0 auto; }
  
  .blog-single-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
  }
  .blog-single-img img { width: 100%; height: auto; }
  
  .blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .blog-single-meta .date { color: var(--red); }
  .blog-single-meta .blog-cats a { color: var(--text-muted); }
  .blog-single-meta .blog-cats a:hover { color: var(--red); }
  
  .blog-single-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
  }
  .blog-single-content p { margin-bottom: 18px; }
  .blog-single-content h2,
  .blog-single-content h3 {
    margin: 32px 0 14px;
    font-size: 1.5rem;
  }
  .blog-single-content img {
    border-radius: var(--radius);
    margin: 24px 0;
  }
  
  .blog-single-nav { margin-top: 40px; }
  
  /* ---------- Contact ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .contact-info-list { margin-top: 32px; }
  
  .contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .contact-info-item .icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
  }
  
  .contact-info-item h4 {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .contact-info-item p { font-size: .92rem; color: var(--text-muted); }
  .contact-info-item a:hover { color: var(--red); }
  
  .contact-form {
    background: var(--cream);
    padding: 40px;
    border-radius: var(--radius);
  }
  .contact-form h3 { margin: 8px 0 10px; font-size: 1.8rem; }
  .form-intro { color: var(--text-muted); font-size: .92rem; margin-bottom: 26px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  
  .form-group { margin-bottom: 18px; }
  .form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: .92rem;
    background: var(--white);
    transition: border-color var(--transition);
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--red);
  }
  .form-group textarea { min-height: 120px; resize: vertical; }
  
  .form-message {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: .92rem;
  }
  .form-success { background: #e8f5e9; color: #2e7d32; }
  .form-error { background: #fff0ed; color: #a33a2b; }
  .contact-form button[type="submit"]:disabled { opacity: .65; cursor: wait; }
  
  .map-wrap {
    margin-top: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .map-wrap iframe { width: 100%; height: 400px; border: none; display: block; }
  
  .why-contact {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
  }
  
  .why-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--cream);
    border-radius: var(--radius);
  }
  .why-item .check-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: .85rem;
  }
  .why-item p { font-size: .82rem; font-weight: 500; }
  
  /* ---------- FAQ ---------- */
  .faq-list { max-width: 760px; margin: 0 auto; }
  
  .faq-item {
    border-bottom: 1px solid var(--border);
  }
  
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    gap: 16px;
  }
  .faq-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--red);
    flex-shrink: 0;
    transition: transform var(--transition);
  }
  .faq-item.open .faq-q::after { transform: rotate(45deg); }
  
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    color: var(--text-muted);
    font-size: .92rem;
  }
  .faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 20px;
  }
  
  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,.75);
    padding: 64px 0 0;
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  
  .footer-logo {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 4px;
  }
  
  .footer-logo .logo--dark {
    padding: 14px 22px 16px;
  }
  
  .footer-logo img,
  .footer-logo .logo-dark {
    height: 72px;
    width: auto;
    max-width: none;
    margin-bottom: 16px;
    object-fit: contain;
    object-position: left center;
  }
  
  .footer-tagline {
    font-size: .85rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: .8;
  }
  
  .footer-social { display: flex; gap: 10px; }
  .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
  }
  .footer-social a:hover { background: var(--red); border-color: var(--red); }
  
  .footer-col h5 {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
  }
  
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul a {
    font-size: .85rem;
    opacity: .75;
    transition: opacity var(--transition);
  }
  .footer-col ul a:hover { opacity: 1; color: var(--white); }
  
  .newsletter-desc { font-size: .82rem; opacity: .75; margin-bottom: 14px; }
  
  .newsletter-form {
    display: flex;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: .85rem;
  }
  .newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
  .newsletter-form input:focus { outline: none; }
  .newsletter-form button {
    padding: 10px 14px;
    background: var(--red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    font-size: .78rem;
    opacity: .6;
  }
  .footer-bottom a:hover { opacity: 1; color: var(--white); }
  
  /* ---------- Legal / About pages ---------- */
  .legal-content {
    max-width: 760px;
    margin: 0 auto;
  }
  .legal-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
  }
  .legal-content p { color: var(--text-muted); margin-bottom: 16px; }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .features-grid,
    .promise-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .why-contact { grid-template-columns: repeat(3, 1fr); }
    .products-layout { grid-template-columns: 200px 1fr; }
  }
  
  /* ============================================================
     MOBILE NAV (up to 768px)
     ============================================================ */
  
  @media (max-width: 768px) {
    section { padding: 56px 0; }
    :root { --header-h: 90px; }
  
    .logo-mark { font-size: 2.15rem; }
    .logo-tagline { font-size: 0.72rem; letter-spacing: 0.15em; }
    .logo--dark { padding: 10px 16px 12px; }
    .logo--dark .logo-tagline { font-size: 0.65rem; letter-spacing: 0.13em; }
    .header-inner { gap: 12px; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .desktop-nav-links { display: none; }
  
    /* ---- Mobile drawer ---- */
    .main-nav {
      display: block;
      position: fixed;
      top: 0;
      right: 0;
      left: auto;
      width: min(340px, 92vw);
      height: 100vh;
      padding: 0;
      gap: 0;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
      z-index: 1200;
      box-shadow: -12px 0 40px rgba(0,0,0,.18);
      pointer-events: auto;
      background: transparent;
    }
    .main-nav.open {
      transform: translateX(0);
    }
  
    /* THE SCROLLABLE PANEL */
    .mobile-nav-panel {
      display: flex;
      flex-direction: column;
      height: 100%;
      width: 100%;
      background: var(--white);
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
    }
  
    .mobile-nav-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 18px;
      background: var(--red);
      flex-shrink: 0;
    }
  
    .mobile-nav-logo {
      text-decoration: none;
      line-height: 0;
    }
    .mobile-nav-logo .logo-mark {
      font-size: 1.75rem;
      color: var(--white);
    }
    .mobile-nav-logo .logo-tagline {
      font-size: 0.58rem;
      color: rgba(255,255,255,.9);
      letter-spacing: 0.14em;
      margin-top: 4px;
    }
    .mobile-nav-logo .logo--dark {
      background: transparent;
      padding: 0;
    }
  
    .mobile-nav-close {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255,255,255,.35);
      border-radius: 50%;
      background: rgba(255,255,255,.12);
      color: var(--white);
      cursor: pointer;
      flex-shrink: 0;
      transition: background var(--transition);
    }
    .mobile-nav-close:hover {
      background: rgba(255,255,255,.22);
    }
  
    /* BODY - THIS IS THE SCROLLABLE CONTENT */
    .mobile-nav-body {
      flex: 1;
      overflow-y: visible;
      padding: 0;
    }
  
    .mobile-nav-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 17px 22px;
      font-family: var(--sans);
      font-size: .88rem;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--charcoal);
      text-decoration: none;
      border-bottom: 1px solid var(--cream-2);
      transition: background 0.2s ease, color 0.2s ease;
      background: var(--white);
      min-height: 60px;
      box-sizing: border-box;
    }
    .mobile-nav-item:hover {
      background: var(--cream);
      color: var(--red);
    }
    .mobile-nav-item.active {
      color: var(--red);
      background: rgba(200,16,46,.06);
      border-left: 4px solid var(--red);
      padding-left: 18px;
    }
  
    .mobile-nav-item--parent {
      cursor: pointer;
    }
  
    .mobile-nav-chevron {
      flex-shrink: 0;
      transition: transform 0.3s ease;
      opacity: 0.5;
    }
    .mobile-nav-group.open .mobile-nav-chevron {
      transform: rotate(180deg);
      opacity: 1;
    }
    .mobile-nav-group.open .mobile-nav-item--parent {
      color: var(--red);
      background: rgba(200,16,46,.04);
    }
  
    /* Sub-menu */
    .has-sub .mobile-sub-menu {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
      opacity: 1;
      visibility: hidden;
      max-height: 0;
      overflow: hidden;
      box-shadow: none;
      border: none;
      padding: 0;
      margin: 0;
      transition: max-height 0.35s ease, visibility 0.35s ease, padding 0.3s ease;
      min-width: 0;
      width: 100%;
      background: var(--cream);
      border-radius: 0;
      pointer-events: none;
    }
    .has-sub.open .mobile-sub-menu {
      visibility: visible;
      max-height: 260px;
      padding: 4px 0;
      border-top: 1px solid rgba(200,16,46,.1);
      border-bottom: 1px solid rgba(200,16,46,.1);
      pointer-events: auto;
      overflow-y: auto;
    }
  
    .mobile-sub-menu a {
      display: flex;
      align-items: center;
      padding: 14px 22px 14px 48px;
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      text-transform: none;
      color: var(--text-muted);
      text-decoration: none;
      border-bottom: 1px solid rgba(0,0,0,.04);
      position: relative;
      min-height: 48px;
      transition: all 0.2s ease;
      background: transparent;
      width: 100%;
      box-sizing: border-box;
    }
    .mobile-sub-menu a::before {
      content: '';
      position: absolute;
      left: 22px;
      top: 50%;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--red);
      opacity: 0.4;
      transform: translateY(-50%);
    }
    .mobile-sub-menu a:hover {
      color: var(--red);
      background: rgba(200,16,46,.05);
    }
    .mobile-sub-menu a:last-child {
      border-bottom: none;
    }
  
    /* FOOTER - STAYS AT BOTTOM */
    .mobile-nav-footer {
      flex-shrink: 0;
      padding: 20px 22px 28px;
      background: var(--cream);
      border-top: 1px solid var(--border);
      margin-top: auto;
    }
  
    .mobile-nav-footer .nav-cta {
      display: flex;
      width: 100%;
      justify-content: center;
      padding: 15px 20px;
      font-size: .78rem;
      margin-bottom: 14px;
    }
  
    .mobile-nav-quick {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
  
    .mobile-quick-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 10px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--white);
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--charcoal);
      text-decoration: none;
      transition: all var(--transition);
      min-height: 50px;
    }
    .mobile-quick-btn:hover {
      border-color: var(--red);
      color: var(--red);
    }
    .mobile-quick-btn--wa:hover {
      border-color: #25d366;
      color: #25d366;
    }
  
    .nav-overlay {
      display: block;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.5);
      z-index: 1190;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .nav-overlay.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      cursor: pointer;
    }
  
    body.nav-open {
      overflow: hidden;
    }
    body.nav-open .float-actions {
      display: none;
    }
  
    /* Hero styles */
    .hero {
      min-height: 520px;
    }
    .hero-content {
      padding: 24px 0 80px;
    }
    .hero-content h1 {
      font-size: clamp(1.65rem, 6vw, 2.2rem);
    }
    .hero-content p {
      font-size: .92rem;
    }
    .cta-row {
      flex-direction: column;
      align-items: stretch;
    }
    .cta-row .btn {
      width: 100%;
      text-align: center;
    }
    .hero-arrow {
      display: flex;
      top: auto;
      bottom: 20px;
      transform: none;
      width: 42px;
      height: 42px;
    }
    .hero-arrow.prev {
      left: auto;
      right: 66px;
    }
    .hero-arrow.next {
      right: 16px;
    }
    .hero-dots {
      left: 16px;
      right: auto;
      transform: none;
      bottom: 28px;
    }
  
    .section-head-row {
      flex-direction: row;
      align-items: center;
      margin-bottom: 24px;
    }
    .section-head-row > div:first-child {
      flex: 1;
      min-width: 0;
    }
    .section-head-row h2 {
      font-size: clamp(1.35rem, 5vw, 1.75rem);
    }
    .section-head-row .cat-nav {
      margin-left: auto;
    }
    .cat-card {
      flex: 0 0 220px;
      height: 300px;
    }
  
    .features-grid,
    .promise-grid,
    .gallery-grid,
    .blog-grid,
    .product-images { grid-template-columns: 1fr; }
  
    .service-block,
    .service-block.rev,
    .contact-grid,
    .products-layout { grid-template-columns: 1fr; }
    .service-block.rev .service-img { order: 0; }
  
    .cat-sidebar {
      position: static;
      display: flex;
      overflow-x: auto;
      gap: 0;
      scrollbar-width: none;
    }
    .cat-sidebar h5 { display: none; }
    .cat-sidebar > ul {
      display: flex;
      border-left: none;
      white-space: nowrap;
    }
    .cat-sidebar-heading {
      border-left: none;
      border-bottom: 2px solid transparent;
      margin-left: 0;
      padding: 10px 16px;
    }
    .cat-sidebar-group.active > .cat-sidebar-heading { border-bottom-color: var(--red); }
    .cat-sidebar-products label { border: 0; margin: 0; padding: 6px 8px 6px 16px; }
  
    .why-contact { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .contact-form { padding: 28px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
  }
  
  /* ---------- Small Mobile (up to 480px) ---------- */
  @media (max-width: 480px) {
    :root { --header-h: 86px; }
  
    .logo-mark { font-size: 1.95rem; }
    .logo-tagline { font-size: 0.66rem; letter-spacing: 0.12em; }
  
    .container { width: min(1200px, 94%); }
  
    .float-actions {
      right: 14px;
      bottom: 16px;
    }
    .float-actions a {
      width: 44px;
      height: 44px;
    }
  
    .promise-grid,
    .why-contact { grid-template-columns: 1fr; }
    .commercial-list { grid-template-columns: 1fr; }
  }
  
  /* ============================================================
     DESKTOP NAV (769px and above) - MUST BE LAST
     ============================================================ */
  
  @media (min-width: 769px) {
    .mobile-nav-panel { 
      display: none !important; 
    }
    
    .desktop-nav-links {
      display: flex !important;
      align-items: center;
      gap: 28px;
    }
  
    .main-nav {
      display: flex !important;
      align-items: center;
      justify-content: center;
      flex: 1;
      height: var(--header-h);
      position: static !important;
      transform: none !important;
      width: auto !important;
      background: transparent !important;
      box-shadow: none !important;
      overflow: visible !important;
    }
  
    .nav-toggle {
      display: none !important;
    }
  
    .nav-overlay {
      display: none !important;
    }
  }