
  :root {
    --clay:    #071A33;
    --rust:    #C95B13;
    --amber:   #F47A1F;
    --sand:    #EEF3F8;
    --warm:    #FBFCFF;
    --steel:   #18324F;
    --mist:    #5F6F86;
    --white:   #ffffff;
    --radius:  12px;
    --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  }

  *, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm);
    color: var(--clay);
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top:0; left:0; right:0; z-index:999;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: box-shadow var(--transition);
  }
  nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }

  .logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .logo-icon {
    height: 56px;
    width: auto;
    display: flex; align-items: center;
  }
  .logo-icon img { height: 56px; width: auto; object-fit: contain; display:block; }
  .logo-text { display:flex; flex-direction:column; line-height:1.15; }
  .logo-text span:first-child {
    font-family:'Playfair Display',serif; font-weight:900;
    font-size:0.88rem; color:var(--clay); letter-spacing:-0.01em;
  }
  .logo-text span:last-child {
    font-size:0.58rem; color:var(--mist); text-transform:uppercase;
    letter-spacing:0.1em; font-weight:500;
  }

  .nav-links {
    display: flex; align-items: center; gap: 2rem; list-style:none;
  }
  .nav-links a {
    text-decoration: none; color: var(--steel);
    font-family:'Poppins', sans-serif;
    font-size: 0.88rem; font-weight:700;
    position: relative; padding-bottom: 2px;
    transition: color var(--transition);
  }
  .nav-links a::after {
    content:''; position:absolute; bottom:0; left:0; right:0;
    height:2px; background:var(--rust);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
  }
  .nav-links a:hover { color: var(--rust); }
  .nav-links a:hover::after { transform: scaleX(1); }

  .btn-quote {
    background: var(--rust); color: white;
    border: none; padding: 0.6rem 1.4rem;
    border-radius: 8px; font-family:'Poppins', sans-serif;
    font-size: 0.88rem; font-weight: 700;
    cursor: pointer; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
  }
  .btn-quote:hover {
    background: #A9470D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,91,19,0.35);
  }

  .hamburger {
    display:none; flex-direction:column; gap:5px;
    cursor:pointer; padding:4px; background:none; border:none;
  }
  .hamburger span {
    display:block; width:24px; height:2px;
    background:var(--clay); border-radius:2px;
    transition: var(--transition);
  }
  .hamburger.open span:nth-child(1){ transform: rotate(45deg) translate(5px,5px); }
  .hamburger.open span:nth-child(2){ opacity:0; }
  .hamburger.open span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px); }

  /* ─── HERO ─── */
  #hero {
    margin-top: 72px;
    margin-bottom: 72px;
    position: relative;
    height: calc(100vh - 72px);
    min-height: 560px;
    overflow: visible;
  }

  .slides-container {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    display:flex;
    flex-wrap: nowrap;
    transition: transform 0.9s cubic-bezier(0.77,0,0.18,1);
    will-change: transform;
  }
  .slide {
    min-width:100%;
    width:100%;
    height:100%;
    position: relative;
    flex-shrink:0;
    overflow: hidden;
  }
  .slide-bg {
    position:absolute; inset:0;
    background-size:cover; background-position:center;
  }
  .slide-bg::after {
    content:''; position:absolute; inset:0;
    background: linear-gradient(120deg, rgba(7,26,51,0.82) 0%, rgba(7,26,51,0.46) 58%, rgba(201,91,19,0.10) 100%);
  }

  /* placeholder slide colors (replace with real photos) */
  .slide:nth-child(1) .slide-bg { background-image: url("./assets/images/hero-strong-roofs.webp"); background-position: center center; }
  .slide:nth-child(2) .slide-bg { background-image: url("./assets/images/hero-quality-materials.webp"); background-position: center center; }
  .slide:nth-child(3) .slide-bg { background-image: url("./assets/images/hero-built-smart.webp"); background-position: center center; }

  .hero-content {
    position:relative; z-index:2;
    height:100%; display:flex; flex-direction:column;
    justify-content:center; align-items:flex-start; padding: 0 5% 4%;
    width:100%;
    max-width:none;
  }

  .hero-content > .hero-badge,
  .hero-content > .hero-headline,
  .hero-content > .hero-sub,
  .hero-content > .hero-actions {
    max-width: 820px;
  }

  .hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background: rgba(201,91,19,0.18); border:1px solid rgba(201,91,19,0.35);
    color: #F8C79D; padding: 6px 14px; border-radius:50px;
    font-size: 0.78rem; font-weight:600; letter-spacing:0.06em;
    text-transform:uppercase; margin-bottom:1.4rem;
    backdrop-filter:blur(6px);
    animation: fadeUp 0.7s ease both;
  }
  .hero-badge span { width:7px; height:7px; background:#F47A1F; border-radius:50%; animation: pulse 2s infinite; }

  .hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight:900; color:#fff;
    line-height: 1.08; letter-spacing:-0.02em;
    margin-bottom: 1.2rem;
    animation: fadeUp 0.7s 0.15s ease both;
  }
  .hero-headline em { color: var(--amber); font-style:normal; }

  .hero-sub {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem; line-height:1.65;
    max-width: 520px; margin-bottom: 2.2rem;
    font-weight:300;
    animation: fadeUp 0.7s 0.28s ease both;
  }

  .hero-actions {
    display:flex; gap:1rem; flex-wrap:wrap;
    animation: fadeUp 0.7s 0.42s ease both;
  }

  .btn-primary {
    background: var(--rust); color:#fff;
    padding: 0.85rem 2rem; border-radius: 10px;
    font-family:inherit; font-size:0.95rem; font-weight:600;
    border:none; cursor:pointer; text-decoration:none;
    display:inline-flex; align-items:center; gap:8px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  }
  .btn-primary:hover { background:#A9470D; transform:translateY(-3px); box-shadow:0 8px 28px rgba(201,91,19,0.4); }

  .btn-secondary {
    background: rgba(255,255,255,0.12); color:#fff;
    padding: 0.85rem 2rem; border-radius:10px;
    font-family:inherit; font-size:0.95rem; font-weight:500;
    border: 1px solid rgba(255,255,255,0.28); cursor:pointer; text-decoration:none;
    display:inline-flex; align-items:center; gap:8px;
    backdrop-filter:blur(8px);
    transition: background var(--transition), transform var(--transition);
  }
  .btn-secondary:hover { background:rgba(255,255,255,0.2); transform:translateY(-3px); }

  /* slide indicators */
  .slide-dots {
    position:absolute; bottom:2rem; left:5%; z-index:3;
    display:flex; gap:8px;
  }
  .dot {
    width:8px; height:8px; border-radius:50%;
    background: rgba(255,255,255,0.4); border:none; cursor:pointer;
    transition: background var(--transition), transform var(--transition);
  }
  .dot.active { background:#fff; transform:scale(1.3); }

  .slide-arrows {
    position:absolute; bottom:1.8rem; right:5%; z-index:3;
    display:flex; gap:10px;
  }
  .arrow-btn {
    width:40px; height:40px; border-radius:50%;
    background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.3);
    color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center;
    backdrop-filter:blur(6px);
    transition: background var(--transition), transform var(--transition);
  }
  .arrow-btn:hover { background:var(--rust); transform:scale(1.1); }

  /* hero stats ribbon */
  .stats-ribbon {
    position:absolute;
    left:50vw;
    bottom:-46px;
    z-index:6;
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width:min(1120px, calc(100vw - 10%));
    max-width:1120px;
    justify-content:center;
    margin:0;
    background:
      linear-gradient(135deg, rgba(7,26,51,0.98), rgba(11,39,74,0.96)),
      radial-gradient(circle at 12% 20%, rgba(244,122,31,0.22), transparent 34%);
    backdrop-filter:blur(18px);
    border: 1px solid rgba(244,122,31,0.48);
    border-radius: 24px;
    overflow:hidden;
    box-shadow: 0 24px 60px rgba(7,26,51,0.35);
    animation: statsLift 0.85s 0.55s cubic-bezier(0.22,1,0.36,1) both;
  }
  .stat-item {
    position:relative;
    min-width:0;
    padding: 1.25rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.14);
    text-align:center;
  }
  .stat-item:last-child { border-right:none; }
  .stat-num {
    font-family:'Playfair Display',serif;
    font-size:clamp(1.75rem, 2.2vw, 2.35rem);
    font-weight:900; color:#fff; line-height:1;
  }
  .stat-label {
    font-family:'Poppins', sans-serif;
    font-size:0.72rem; color:rgba(255,255,255,0.88);
    text-transform:uppercase; letter-spacing:0.1em; margin-top:7px;
    font-weight:800;
  }

  /* ─── SECTION WRAPPER ─── */
  section { padding: 96px 5%; }

  .section-label {
    display:inline-block; background: #fde8dc;
    color: var(--rust); font-size:0.75rem; font-weight:700;
    letter-spacing:0.12em; text-transform:uppercase;
    padding: 5px 14px; border-radius:50px; margin-bottom:1rem;
  }
  .section-title {
    font-family:'Playfair Display',serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight:900; line-height:1.12; letter-spacing:-0.02em;
    color: var(--clay);
  }
  .section-sub {
    color:var(--mist); font-size:1rem; line-height:1.65;
    max-width:560px; margin-top:0.8rem;
  }
  .section-header { margin-bottom:3.5rem; }
  .section-header.center { text-align:center; }
  .section-header.center .section-sub { margin:0.8rem auto 0; }

  /* ─── FEATURES ─── */
  #features { background: var(--warm); }

  .features-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  .feature-card {
    position:relative;
    overflow:hidden;
    height:100%;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border-radius: 20px;
    padding: 2.1rem 1.8rem;
    border: 1px solid rgba(7,26,51,0.08);
    box-shadow: 0 12px 34px rgba(7,26,51,0.07);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor:default;
  }
  .feature-card::before {
    content:'';
    position:absolute; top:0; left:0; right:0;
    height:4px;
    background:linear-gradient(90deg, var(--rust), var(--amber));
  }
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 52px rgba(7,26,51,0.13);
    border-color: rgba(201,91,19,0.22);
  }

  .feature-icon {
    width:56px; height:56px; border-radius:16px;
    background: linear-gradient(135deg, rgba(201,91,19,0.16), rgba(7,26,51,0.08));
    display:flex; align-items:center; justify-content:center;
    margin-bottom:1.2rem;
    transition: transform var(--transition);
  }
  .feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
  .feature-icon svg { width:24px; height:24px; fill:var(--rust); }

  .feature-card h3 {
    font-family:'Playfair Display',serif;
    font-size:1.1rem; font-weight:700; margin-bottom:0.5rem; color:var(--clay);
  }
  .feature-card p { color:var(--mist); font-size:0.88rem; line-height:1.6; }

  /* ─── HOW IT WORKS ─── */
  #how {
    background: var(--clay);
    color: #fff;
    position:relative; overflow:hidden;
    isolation:isolate;
  }
  #how::before {
    content:'';
    position:absolute; top:-80px; right:-80px;
    width:360px; height:360px; border-radius:50%;
    background: radial-gradient(circle, rgba(201,91,19,0.25) 0%, transparent 70%);
    pointer-events:none;
    z-index:1;
  }
  #how::after {
    content:'';
    position:absolute;
    inset:0;
    background-image: linear-gradient(135deg, rgba(7,26,51,0.72), rgba(7,26,51,0.92)), url("./assets/images/process-bg.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    pointer-events:none;
    z-index:0;
  }
  #how .section-header,
  #how .steps-grid {
    position:relative;
    z-index:2;
  }
  #how .section-title { color:#fff; }
  #how .section-sub { color:rgba(255,255,255,0.82); }
  #how .section-label { background:rgba(201,91,19,0.25); color:#F4A261; }

  .steps-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; position:relative;
    align-items: stretch;
  }

  .step-card {
    position:relative;
    height:100%;
    background: rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem 1.6rem;
    box-shadow:0 18px 45px rgba(0,0,0,0.12);
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
  }
  .step-card:hover { background:rgba(201,91,19,0.15); transform:translateY(-4px); }

  .step-num {
    font-family:'Playfair Display',serif;
    font-size:3.5rem; font-weight:900;
    color:rgba(201,91,19,0.3); line-height:1;
    margin-bottom:0.8rem;
  }
  .step-card h3 {
    font-size:1.05rem; font-weight:600; margin-bottom:0.5rem;
    color:#fff;
  }
  .step-card p { color:rgba(255,255,255,0.82); font-size:0.87rem; line-height:1.6; }

  .step-icon {
    position:absolute; top:1.6rem; right:1.6rem;
    opacity:0.35;
  }
  .step-icon svg { width:28px; height:28px; fill:var(--amber); }

  /* ─── SERVICES ─── */
  #services { background: var(--sand); }
  #products { background: var(--warm); }

  .services-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }

  .service-card {
    position:relative;
    overflow:hidden;
    height:100%;
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem 1.45rem;
    display:flex; align-items:flex-start; gap:14px;
    border: 1px solid rgba(7,26,51,0.08);
    box-shadow: 0 12px 30px rgba(7,26,51,0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  }
  .service-card::after {
    content:'';
    position:absolute; inset:auto 0 0 0;
    height:3px;
    background:linear-gradient(90deg, var(--rust), var(--amber));
    transform:scaleX(0);
    transform-origin:left;
    transition:transform var(--transition);
  }
  .service-card:hover {
    transform:translateY(-7px);
    box-shadow: 0 22px 52px rgba(7,26,51,0.12);
    border-color: rgba(201,91,19,0.24);
  }
  .service-card:hover::after { transform:scaleX(1); }

  .svc-icon-wrap {
    width:48px; height:48px; flex-shrink:0;
    background:linear-gradient(135deg, rgba(244,122,31,0.18), rgba(7,26,51,0.08)); border-radius:14px;
    display:flex; align-items:center; justify-content:center;
  }
  .svc-icon-wrap svg { width:20px; height:20px; fill:var(--rust); }

  .service-card h3 {
    font-family:'Poppins', sans-serif;
    font-size:0.98rem; font-weight:800; color:var(--clay); margin-bottom:6px;
  }
  .service-card p { font-size:0.84rem; color:var(--mist); line-height:1.58; }

  /* ─── OUR WORK ─── */
  #work { background: var(--warm); }

  .work-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  .work-card {
    border-radius: 20px;
    overflow:hidden; position:relative;
    aspect-ratio: 4/3;
    cursor:pointer;
    box-shadow:0 16px 40px rgba(7,26,51,0.12);
    border:1px solid rgba(7,26,51,0.08);
  }
  .work-card:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .work-card-bg {
    position:absolute; inset:0;
    background-size:cover; background-position:center;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  }
  .work-card:hover .work-card-bg { transform:scale(1.07); }

  .work-card-bg.w1 { background-image: linear-gradient(180deg, rgba(7,26,51,0.12) 0%, rgba(7,26,51,0.28) 100%), url("./assets/images/stone-coated.jpeg"); background-size: cover; background-position: center; }
  .work-card-bg.w2 { background-image: linear-gradient(180deg, rgba(7,26,51,0.12) 0%, rgba(7,26,51,0.28) 100%), url("./assets/images/long-span-aluminum.webp"); background-size: cover; background-position: center; }
  .work-card-bg.w3 { background-image: linear-gradient(180deg, rgba(7,26,51,0.12) 0%, rgba(7,26,51,0.25) 100%), url("./assets/images/metacoppo-roofs.webp"); background-size: cover; background-position: center; }
  .work-card-bg.w4 { background-image: linear-gradient(180deg, rgba(7,26,51,0.12) 0%, rgba(7,26,51,0.28) 100%), url("./assets/images/step-tiles.webp"); background-size: cover; background-position: center; }
  .work-card-bg.w5 { background: linear-gradient(135deg,#071A33 0%,#183A66 55%,#F47A1F 100%); }

  /* portfolio image overlay removed */
  .work-card-bg::before {
    content: none;
  }

  .work-overlay {
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    display:flex; align-items:flex-end; padding:1.2rem 1.4rem;
    opacity:0; transition: opacity var(--transition);
  }
  .work-card:hover .work-overlay { opacity:1; }

  .work-tag {
    background: var(--rust); color:#fff;
    font-size:0.75rem; font-weight:600;
    padding: 5px 12px; border-radius:50px;
    letter-spacing:0.04em;
  }

  /* ─── TESTIMONIALS ─── */
  #testimonials { background: var(--sand); }

  .testi-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  .testi-card {
    height:100%;
    background:#fff; border-radius:20px;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(7,26,51,0.08);
    box-shadow: 0 12px 34px rgba(7,26,51,0.07);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display:flex; flex-direction:column; gap:1.2rem;
  }
  .testi-card:hover { transform:translateY(-7px); box-shadow:0 22px 52px rgba(7,26,51,0.12); border-color:rgba(201,91,19,0.2); }

  .stars {
    display:flex; gap:3px;
  }
  .stars svg { width:16px; height:16px; fill: var(--amber); }

  .testi-text {
    font-size:0.93rem; line-height:1.7; color:#3a4452;
    font-style:italic; flex:1;
  }

  .testi-author {
    display:flex; align-items:center; gap:12px;
    padding-top:1rem; border-top:1px solid rgba(0,0,0,0.06);
  }
  .testi-avatar {
    width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:'Playfair Display',serif;
    font-size:1.1rem; font-weight:900; color:#fff;
    flex-shrink:0;
  }
  .av1 { background: linear-gradient(135deg,var(--rust),var(--amber)); }
  .av2 { background: linear-gradient(135deg,#183A66,#071A33); }
  .av3 { background: linear-gradient(135deg,#C95B13,#071A33); }

  .testi-name { font-weight:700; font-size:0.9rem; color:var(--clay); }
  .testi-role { font-size:0.78rem; color:var(--mist); margin-top:2px; }

  /* ─── CTA STRIP ─── */
  #cta {
    background: linear-gradient(135deg, var(--rust) 0%, #A9470D 100%);
    padding: 80px 5%;
    text-align:center;
    position:relative; overflow:hidden;
  }
  #cta::before {
    content:'';
    position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 10% 50%, rgba(255,255,255,0.07) 0%, transparent 40%),
      radial-gradient(circle at 90% 50%, rgba(0,0,0,0.15) 0%, transparent 40%);
  }

  #cta h2 {
    font-family:'Playfair Display',serif;
    font-size:clamp(1.8rem,4vw,2.8rem); color:#fff;
    font-weight:900; margin-bottom:0.8rem; position:relative;
  }
  #cta p { color:rgba(255,255,255,0.92); font-size:1rem; margin-bottom:2rem; position:relative; }

  .btn-cta-white {
    background:#fff; color:var(--rust);
    padding:0.9rem 2.4rem; border-radius:10px;
    font-family:inherit; font-size:1rem; font-weight:700;
    border:none; cursor:pointer; text-decoration:none;
    display:inline-flex; align-items:center; gap:8px;
    transition: transform var(--transition), box-shadow var(--transition);
    position:relative;
  }
  .btn-cta-white:hover { transform:translateY(-3px); box-shadow:0 10px 32px rgba(0,0,0,0.25); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--clay);
    color:rgba(255,255,255,0.85);
    padding: 64px 5% 32px;
  }

  .footer-grid {
    display:grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 3rem; margin-bottom: 3rem;
  }

  .footer-brand { display:flex; flex-direction:column; gap:1rem; }
  .footer-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
  .footer-logo .logo-icon { height:52px; width:auto; }
  .footer-logo .logo-text span:first-child { color:#fff; }

  .footer-about {
    font-size:0.87rem; line-height:1.65; max-width:280px;
    color:rgba(255,255,255,0.75);
  }

  .footer-socials { display:flex; gap:10px; margin-top:0.4rem; }
  .social-btn {
    width:36px; height:36px; border-radius:8px;
    background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.1);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition: background var(--transition), transform var(--transition);
    text-decoration:none;
  }
  .social-btn:hover { background:var(--rust); transform:translateY(-2px); }
  .social-btn svg { width:16px; height:16px; fill:rgba(255,255,255,0.7); }

  .footer-col h4 {
    font-size:0.82rem; font-weight:700;
    color:#fff; text-transform:uppercase;
    letter-spacing:0.1em; margin-bottom:1.2rem;
  }
  .footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.65rem; }
  .footer-col ul li a {
    text-decoration:none; color:rgba(255,255,255,0.75);
    font-size:0.87rem;
    transition: color var(--transition), padding-left var(--transition);
  }
  .footer-col ul li a:hover { color:var(--amber); padding-left:4px; }

  .footer-contact { display:flex; flex-direction:column; gap:0.8rem; }
  .contact-item { display:flex; align-items:flex-start; gap:10px; }
  .contact-item svg { width:16px; height:16px; fill:var(--rust); flex-shrink:0; margin-top:2px; }
  .contact-item span { font-size:0.87rem; color:rgba(255,255,255,0.8); line-height:1.5; }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    display:flex; justify-content:space-between; align-items:center;
    flex-wrap:wrap; gap:1rem;
  }
  .footer-bottom p { font-size:0.8rem; color:rgba(255,255,255,0.55); }
  .footer-bottom a { color:var(--amber); text-decoration:none; }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0); }
  }
  @keyframes pulse {
    0%,100% { opacity:1; }
    50%      { opacity:0.4; }
  }
  @keyframes statsLift {
    from { opacity:0; transform:translateX(-50%) translateY(26px); }
    to   { opacity:1; transform:translateX(-50%) translateY(0); }
  }
  @keyframes statsLiftMobile {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
  }

  .reveal {
    opacity:0; transform:translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.visible { opacity:1; transform:translateY(0); }

  /* ─── MOBILE NAV DRAWER ─── */
  .mobile-nav {
    position:fixed; top:72px; left:0; right:0;
    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 1.5rem 5%;
    display:none; flex-direction:column; gap:1.2rem;
    z-index:998;
    transform: translateY(-10px); opacity:0;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mobile-nav.open { display:flex; opacity:1; transform:translateY(0); }
  .mobile-nav a {
    text-decoration:none; color:var(--steel);
    font-family:'Poppins', sans-serif;
    font-size:1rem; font-weight:700;
    padding-bottom:0.5rem; border-bottom:1px solid rgba(0,0,0,0.06);
    transition: color var(--transition);
  }
  .mobile-nav a:hover { color:var(--rust); }

  .mobile-nav .btn-quote {
    display:block;
    background: var(--rust);
    color:#fff;
    border-bottom:none;
    padding:0.8rem 1rem;
    border-radius:10px;
  }



  /* Laptop card alignment: sections with more than four cards sit 3 per row */
  @media (min-width: 901px) and (max-width: 1440px) {
    .features-grid,
    #products .services-grid,
    body.inner-page.products-page .services-grid,
    .work-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .work-grid { grid-template-rows: none; }
    .work-card:first-child {
      grid-column:auto;
      grid-row:auto;
      aspect-ratio:4 / 3;
      min-height:0;
    }
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    .nav-links, nav > .btn-quote { display:none; }
    .hamburger { display:flex; }

    .stats-ribbon {
      width: min(760px, calc(100vw - 10%));
      bottom: -40px;
    }
    .stat-item { padding: 1rem 1rem; }
    .stat-num { font-size: 1.45rem; }
    .stat-label { font-size: 0.6rem; }
    .work-grid {
      grid-template-columns: 1fr 1fr;
    }
    .work-card:first-child { grid-column:1/3; }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap:2rem;
    }
  }

  @media (max-width: 600px) {
    /* ── General ── */
    section { padding:64px 5%; }

    /* ── Hero / Slider ── */
    #hero {
      height: calc(100svh - 72px);
      min-height: 600px;
      margin-bottom: 0;
      overflow: hidden;
    }
    .hero-content {
      padding: 0.55rem 6% 5rem;
      justify-content: flex-start;
      max-width: 100%;
    }
    .hero-badge {
      font-size: 0.68rem;
      padding: 5px 10px;
      margin-bottom: 0.7rem;
    }
    .hero-headline {
      font-size: clamp(1.7rem, 8vw, 2.4rem);
      margin-bottom: 0.65rem;
    }
    .hero-sub {
      font-size: 0.88rem;
      line-height: 1.55;
      margin-bottom: 0.95rem;
      max-width: 100%;
    }
    .hero-actions {
      flex-direction: column;
      gap: 0.7rem;
    }
    .btn-primary, .btn-secondary {
      width: 100%;
      justify-content: center;
      padding: 0.8rem 1.2rem;
      font-size: 0.88rem;
    }
    .slide-dots {
      bottom: 1.4rem;
      left: 50%;
      transform: translateX(-50%);
    }
    .slide-arrows {
      bottom: 1.2rem;
      right: 6%;
    }
    .stats-ribbon {
      position:relative;
      left:auto;
      bottom:auto;
      width: 100%;
      margin: 0.85rem auto 0;
      border-radius: 16px;
      animation: statsLiftMobile 0.75s 0.45s cubic-bezier(0.22,1,0.36,1) both;
    }
    .stat-item { padding: 0.75rem 0.45rem; }
    .stat-num { font-size: 1.08rem; }
    .stat-label { font-size: 0.5rem; letter-spacing: 0.04em; }
    .arrow-btn {
      width: 36px;
      height: 36px;
    }

    .feature-card, .service-card, .step-card, .testi-card {
      border-radius: 18px;
    }

    /* ── Other sections ── */
    .work-grid { grid-template-columns:1fr; }
    .work-card:first-child { grid-column:auto; min-height:200px; }
    .footer-grid { grid-template-columns:1fr; gap:1.8rem; }
    .footer-bottom { flex-direction:column; text-align:center; }
  }




  /* ─── PORTFOLIO CATEGORY SLIDER ─── */
  .portfolio-slider {
    position: relative;
  }

  .portfolio-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 32%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.35rem 0 1.25rem;
    scrollbar-width: none;
  }

  .portfolio-track::-webkit-scrollbar { display: none; }

  .portfolio-track .work-card {
    min-height: 340px;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .portfolio-track .work-card:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
    aspect-ratio: 4 / 3;
  }

  .portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(7,26,51,0.82);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(7,26,51,0.24);
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  }

  .portfolio-nav:hover {
    background: var(--rust);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 18px 40px rgba(201,91,19,0.3);
  }

  .portfolio-nav svg { width: 18px; height: 18px; fill: currentColor; }
  .portfolio-prev { left: -18px; }
  .portfolio-next { right: -18px; }

  .portfolio-hint {
    margin-top: 0.45rem;
    color: var(--mist);
    font-size: 0.84rem;
    text-align: center;
  }

  @media (max-width: 900px) {
    .portfolio-track {
      grid-auto-columns: minmax(250px, 74vw);
      gap: 0.9rem;
      padding-bottom: 1rem;
    }
    .portfolio-track .work-card,
    .portfolio-track .work-card:first-child {
      min-height: 280px;
    }
    .portfolio-prev { left: 8px; }
    .portfolio-next { right: 8px; }
    .portfolio-nav {
      width: 40px;
      height: 40px;
    }
  }

  @media (max-width: 600px) {
    .portfolio-track {
      grid-auto-columns: 86vw;
    }
    .portfolio-track .work-card,
    .portfolio-track .work-card:first-child {
      min-height: 245px;
    }
    .portfolio-hint { font-size: 0.78rem; }
  }

  /* ─── INNER PAGES ─── */
  body.inner-page section:first-of-type {
    padding-top: 140px;
  }
  body.inner-page #cta:first-of-type {
    padding-top: 140px !important;
  }
  body.inner-page .mobile-nav {
    top: 72px;
  }
  @media (max-width: 600px) {
    body.inner-page section:first-of-type { padding-top: 112px; }
    body.inner-page #cta:first-of-type { padding-top: 112px !important; }
  }


  /* ─── CONSULTATION / CONTACT PAGE ─── */
  .consultation-hero {
    padding: 140px 5% 72px;
    background:
      linear-gradient(135deg, rgba(7,26,51,0.96), rgba(7,26,51,0.88)),
      radial-gradient(circle at 85% 20%, rgba(244,122,31,0.32), transparent 36%);
    color: #fff;
    overflow: hidden;
    position: relative;
  }
  .consultation-hero::after {
    content:'';
    position:absolute; right:-70px; bottom:-90px;
    width:280px; height:280px; border-radius:50%;
    background: rgba(244,122,31,0.22);
    filter: blur(12px);
  }
  .consultation-wrap {
    position: relative;
    z-index:1;
    display:grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
  }
  .consultation-copy {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 2.3rem;
    backdrop-filter: blur(12px);
  }
  .consultation-copy .section-label {
    background: rgba(244,122,31,0.2);
    color: #ffc79b;
  }
  .consultation-copy h1 {
    font-family:'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing:-0.03em;
  }
  .consultation-copy h1 em { color: var(--amber); font-style: normal; }
  .consultation-copy p {
    color: rgba(255,255,255,0.86);
    line-height: 1.75;
    font-size: 1rem;
    max-width: 560px;
  }
  .consultation-points {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.7rem 0;
  }
  .consultation-point {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1rem;
  }
  .consultation-point strong {
    display:block;
    font-family:'Poppins', sans-serif;
    font-size:0.82rem;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color:#fff;
    margin-bottom:0.4rem;
  }
  .consultation-point span {
    color: rgba(255,255,255,0.76);
    font-size:0.88rem;
    line-height:1.5;
  }
  .contact-details-list {
    display:flex;
    flex-direction:column;
    gap:0.7rem;
    margin-top:1.5rem;
  }
  .contact-pill {
    display:flex;
    gap:0.75rem;
    align-items:flex-start;
    background: rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding:0.9rem 1rem;
    color:rgba(255,255,255,0.86);
    line-height:1.45;
    font-size:0.9rem;
  }
  .contact-pill svg { width:18px; height:18px; fill:var(--amber); flex-shrink:0; margin-top:2px; }
  .consultation-card {
    background:#fff;
    color:var(--clay);
    border-radius:22px;
    padding:2rem;
    box-shadow:0 26px 70px rgba(0,0,0,0.24);
    border:1px solid rgba(244,122,31,0.22);
  }
  .consultation-card h2 {
    font-family:'Playfair Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom:0.5rem;
    color:var(--clay);
  }
  .consultation-card > p {
    color:var(--mist);
    line-height:1.6;
    margin-bottom:1.4rem;
  }
  .quote-form {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:1rem;
  }
  .quote-form .full { grid-column:1 / -1; }
  .form-field label {
    display:block;
    font-family:'Poppins', sans-serif;
    font-weight:700;
    font-size:0.78rem;
    text-transform:uppercase;
    letter-spacing:0.05em;
    color:var(--steel);
    margin-bottom:0.45rem;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    width:100%;
    border:1px solid rgba(7,26,51,0.13);
    background:#f7f9fc;
    border-radius:12px;
    padding:0.9rem 1rem;
    font-family:'DM Sans', sans-serif;
    color:var(--clay);
    outline:none;
    transition:border var(--transition), box-shadow var(--transition), background var(--transition);
  }
  .form-field textarea { min-height:132px; resize:vertical; }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--rust);
    box-shadow:0 0 0 4px rgba(201,91,19,0.12);
    background:#fff;
  }
  .quote-submit {
    border:none;
    background:linear-gradient(135deg, var(--rust), var(--amber));
    color:#fff;
    border-radius:12px;
    padding:1rem 1.4rem;
    font-family:'Poppins', sans-serif;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 12px 26px rgba(201,91,19,0.26);
    transition:transform var(--transition), box-shadow var(--transition);
  }
  .quote-submit:hover { transform: translateY(-2px); box-shadow:0 16px 34px rgba(201,91,19,0.34); }
  .chat-strip {
    padding: 72px 5%;
    background: var(--sand);
  }
  .chat-strip-inner {
    max-width: 1120px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap:1.5rem;
    align-items:center;
    background:#fff;
    border-radius:22px;
    padding:2rem;
    border:1px solid rgba(7,26,51,0.08);
    box-shadow:0 14px 42px rgba(7,26,51,0.08);
  }
  .chat-strip h2 {
    font-family:'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin-bottom:0.7rem;
  }
  .chat-strip p { color:var(--mist); line-height:1.7; }
  .chat-actions { display:flex; justify-content:flex-end; gap:0.85rem; flex-wrap:wrap; }
  .chat-actions .btn-primary, .chat-actions .btn-secondary { color:#fff; }
  .client-stories-section { background: var(--sand); }

  @media (max-width: 900px) {
    .consultation-wrap,
    .chat-strip-inner { grid-template-columns: 1fr; }
    .chat-actions { justify-content:flex-start; }
  }
  @media (max-width: 600px) {
    .consultation-hero { padding: 108px 5% 56px; }
    .consultation-copy, .consultation-card, .chat-strip-inner { padding:1.35rem; border-radius:18px; }
    .consultation-points, .quote-form { grid-template-columns: 1fr; }
    .quote-form .full { grid-column:auto; }
  }


/* ─── FINAL CORRECTIONS: HERO SPACING, STANDALONE STATS, MENU CLEANUP ─── */
#hero {
  margin-bottom: 0;
  overflow: hidden;
  min-height: 600px;
}

#hero .hero-content {
  justify-content: center;
  padding: clamp(2.25rem, 5vh, 4rem) 5% clamp(2rem, 4vh, 3rem);
}

#hero .hero-badge {
  margin-top: 0.75rem;
}

/* Stats now live in their own section between Hero and Why Choose Us */
.stats-section {
  position: relative;
  z-index: 20;
  background: var(--warm);
  padding: 38px 5% 34px;
}

.stats-section .stats-ribbon {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: none;
  animation: statsLiftMobile 0.75s 0.2s cubic-bezier(0.22,1,0.36,1) both;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(7,26,51,0.18);
}

.stats-section .stat-item {
  padding: 1.65rem 2rem;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-section .stat-num {
  font-size: clamp(2rem, 3vw, 3rem);
}

.stats-section .stat-label {
  font-size: clamp(0.62rem, 0.8vw, 0.78rem);
}

#features {
  padding-top: 76px;
}

/* Laptop card alignment: any major card section with many cards sits 3 per row */
@media (min-width: 901px) and (max-width: 1440px) {
  .features-grid,
  .steps-grid,
  .testi-grid,
  body.inner-page.products-page .services-grid,
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #hero {
    height: auto;
    min-height: 560px;
  }

  #hero .hero-content {
    min-height: 560px;
    padding: 3.25rem 6% 2.25rem;
  }

  .stats-section {
    padding: 28px 5% 26px;
  }

  .stats-section .stats-ribbon {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 20px;
  }

  .stats-section .stat-item {
    min-height: 96px;
    padding: 1rem 0.65rem;
  }
}

@media (max-width: 600px) {
  #hero {
    height: auto;
    min-height: 520px;
  }

  #hero .hero-content {
    min-height: 520px;
    padding: 2.2rem 6% 1.8rem;
    justify-content: center;
  }

  #hero .hero-badge {
    margin-top: 0;
  }

  .stats-section {
    padding: 20px 5% 24px;
  }

  .stats-section .stats-ribbon {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .stats-section .stat-item {
    min-height: auto;
    padding: 1.05rem 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }

  .stats-section .stat-item:last-child {
    border-bottom: none;
  }

  .stats-section .stat-num {
    font-size: 2rem;
  }

  .stats-section .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  #features {
    padding-top: 58px;
  }
}

/* ─── VERTICAL PORTFOLIO CATEGORIES WITH INNER SLIDERS ─── */
.portfolio-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-category {
  background: #fff;
  border: 1px solid rgba(7,26,51,0.08);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 18px 46px rgba(7,26,51,0.08);
  overflow: hidden;
}

.portfolio-category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.portfolio-category-head .section-label {
  margin-bottom: 0.65rem;
}

.portfolio-category-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  color: var(--clay);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.portfolio-category-head p {
  max-width: 640px;
  color: var(--mist);
  line-height: 1.6;
  font-size: 0.92rem;
}

.category-controls {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.category-prev,
.category-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(7,26,51,0.12);
  background: var(--clay);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(7,26,51,0.18);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.category-prev:hover,
.category-next:hover {
  background: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(201,91,19,0.28);
}

.category-prev svg,
.category-next svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.category-prev.is-disabled,
.category-next.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.category-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, calc((100% - 2rem) / 3));
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.2rem 0 0.55rem;
  scrollbar-width: none;
}

.category-track::-webkit-scrollbar { display: none; }

.category-slide {
  position: relative;
  min-height: 310px;
  border-radius: 18px;
  overflow: hidden;
  margin: 0;
  background: var(--clay);
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(7,26,51,0.12);
}

.category-slide img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.category-slide:hover img { transform: scale(1.05); }

.category-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  background: linear-gradient(to top, rgba(7,26,51,0.82), transparent);
}

.category-slide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(244,122,31,0.35), transparent 32%),
    linear-gradient(135deg, #071A33 0%, #183A66 58%, #F47A1F 100%);
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.category-slide-placeholder div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-slide-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 900;
}

.category-slide-placeholder strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 1100px) {
  .category-track {
    grid-auto-columns: minmax(270px, calc((100% - 1rem) / 2));
  }
}

@media (max-width: 700px) {
  .portfolio-category {
    padding: 1rem;
    border-radius: 20px;
  }

  .portfolio-category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .category-track {
    grid-auto-columns: 88vw;
  }

  .category-slide,
  .category-slide img {
    min-height: 255px;
  }
}

/* Force each portfolio category to behave like its own image carousel */
.category-track {
  grid-auto-columns: minmax(280px, 100%);
}

@media (min-width: 901px) {
  .category-slide,
  .category-slide img {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .category-track {
    grid-auto-columns: 100%;
  }
}


/* ─── PRODUCT VARIANT SHOWCASE ─── */
.product-showcase {
  margin-top: 2.4rem;
  background: linear-gradient(135deg, rgba(7,26,51,0.97), rgba(18,49,88,0.94));
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  color: #fff;
  box-shadow: 0 24px 60px rgba(7,26,51,0.18);
  overflow: hidden;
  position: relative;
}
.product-showcase::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,122,31,0.28), transparent 70%);
  pointer-events: none;
}
.product-showcase-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 1.4rem;
}
.product-showcase-head .section-label {
  background: rgba(244,122,31,0.18);
  color: #ffb37c;
}
.product-showcase-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 0.55rem;
}
.product-showcase-head p {
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.product-variant-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.product-variant-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.product-variant-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(244,122,31,0.38);
}
.product-variant-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.product-variant-card div {
  padding: 1.1rem 1.2rem 1.25rem;
}
.product-variant-card span {
  display: inline-flex;
  background: rgba(244,122,31,0.18);
  color: #ffb37c;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.product-variant-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.product-variant-card p {
  color: rgba(255,255,255,0.74);
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .product-variant-grid {
    grid-template-columns: 1fr;
  }
  .product-variant-card img {
    height: 250px;
  }
}


/* ─── PRODUCT CARD IMAGE GALLERY ─── */
.product-card-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-card-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7,26,51,0.04);
  border: 1px solid rgba(7,26,51,0.08);
}
.product-card-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.product-card-gallery figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.74rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--clay);
  line-height: 1.35;
}
@media (max-width: 600px) {
  .product-card-gallery { grid-template-columns: 1fr; }
  .product-card-gallery img { height: 210px; }
}


.product-card-gallery.scroll-gallery {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  grid-template-columns: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
}
.product-card-gallery.scroll-gallery figure {
  min-width: 220px;
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.product-card-gallery.scroll-gallery::-webkit-scrollbar {
  height: 8px;
}
.product-card-gallery.scroll-gallery::-webkit-scrollbar-thumb {
  background: rgba(7,26,51,0.2);
  border-radius: 999px;
}


.product-gallery-shell {
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 14px;
}
.product-card-gallery.is-slider {
  display: flex;
  grid-template-columns: none;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-card-gallery.is-slider::-webkit-scrollbar {
  display: none;
}
.product-card-gallery.is-slider figure {
  min-width: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  color: #fff;
  background: rgba(7, 26, 51, 0.88);
  box-shadow: 0 10px 22px rgba(7, 26, 51, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.product-gallery-btn:hover {
  background: var(--accent);
}
.product-gallery-btn.prev { left: 10px; }
.product-gallery-btn.next { right: 10px; }
.product-gallery-btn.is-disabled {
  opacity: 0.35;
}
@media (max-width: 767px) {
  .product-gallery-btn { width: 36px; height: 36px; }
  .product-gallery-btn.prev { left: 8px; }
  .product-gallery-btn.next { right: 8px; }
  .product-card-gallery.is-slider figure { min-width: 100%; flex-basis: 100%; }
}

/* ─── RESPONSIVE PRODUCT / PORTFOLIO REFINEMENTS ─── */
body.products-page #products .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.products-page #products .service-card {
  min-width: 0;
}
body.products-page #products .service-card > div:last-child {
  min-width: 0;
  width: 100%;
}
body.products-page .product-gallery-shell {
  width: 100%;
}
body.products-page .product-card-gallery.is-slider img {
  height: clamp(220px, 24vw, 320px);
}
.category-slide img {
  object-position: center;
}
@media (max-width: 1050px) {
  body.products-page #products .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  body.products-page #products .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  body.products-page #products .service-card {
    display: block;
    padding: 1.35rem;
  }
  body.products-page #products .svc-icon-wrap {
    margin-bottom: 1rem;
  }
  body.products-page .product-card-gallery.is-slider img {
    height: 245px;
  }
  .portfolio-category-head h3 {
    font-size: 1.35rem;
  }
  .category-prev,
  .category-next,
  .product-gallery-btn {
    touch-action: manipulation;
  }
}



/* ─── FINAL PRODUCT IMAGE FIXES ─── */
.product-card-gallery.single-gallery {
  grid-template-columns: 1fr;
  width: 100%;
}
.product-card-gallery.single-gallery img {
  height: clamp(220px, 24vw, 320px);
}
body.products-page #products .service-card {
  align-items: flex-start;
}
body.products-page #products .service-card > div:last-child {
  width: 100%;
}
@media (max-width: 680px) {
  .product-card-gallery.single-gallery img {
    height: 245px;
  }
}

/* Metacoppo product image sizing fix */
body.products-page .product-card-gallery.single-gallery,
body.products-page .product-card-gallery:not(.scroll-gallery):not(.is-slider) {
  width: 100%;
}
body.products-page .product-card-gallery.single-gallery img,
body.products-page .product-card-gallery:not(.scroll-gallery):not(.is-slider) img {
  height: clamp(220px, 24vw, 320px);
  object-fit: cover;
}
@media (max-width: 680px) {
  body.products-page .product-card-gallery.single-gallery img,
  body.products-page .product-card-gallery:not(.scroll-gallery):not(.is-slider) img {
    height: 245px;
  }
}


/* Portfolio video slots */
.portfolio-video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border: 0;
  background: #071a33;
}

.category-slide.video-slot {
  background: #071a33;
}

@media (max-width: 768px) {
  .portfolio-video {
    min-height: 240px;
  }
}


/* Slider progress indicators for product and portfolio image galleries */
.slider-progress {
  width: 100%;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: rgba(7, 26, 51, 0.12);
  overflow: hidden;
}

.slider-progress__bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.2s ease;
}

@media (max-width: 768px) {
  .slider-progress {
    height: 5px;
    margin-top: 0.65rem;
  }
}

/* About page team image */
.about-team-image {
  max-width: 980px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
  text-align: center;
}
.about-team-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 18px 40px rgba(7, 26, 51, 0.14);
}
.about-team-image p {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--clay);
}
@media (max-width: 768px) {
  .about-team-image {
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
  }
  .about-team-image img {
    max-height: 340px;
  }
}


/* Portfolio slide sizing fix */
.portfolio-category .category-slide img,
.portfolio-category .category-slide video {
  width: 100%;
  height: clamp(260px, 32vw, 430px);
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-category .category-slide img,
  .portfolio-category .category-slide video {
    height: 245px;
  }
}
