/* ============================================================
   HomeYourWay — Windows & Doors | Your Home Our Precision
   Global stylesheet (Mobile-First)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --orange: #ff8c00;
    --orange-deep: #ff6600;
    --orange-soft: rgba(255, 140, 0, 0.12);
    --ink: #141414;
    --ink-2: #1a1a1a;
    --ink-3: #232323;
    --paper: #faf8f5;
    --white: #ffffff;
    --text: #3d3d3d;
    --text-light: #b9b9b9;
    --gradient-brand: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.14);
    --shadow-orange: 0 8px 24px rgba(255, 140, 0, 0.35);
    --radius: 18px;
    --radius-lg: 26px;
    --header-h: 86px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
}

.eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.section-heading {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    margin: 0.75rem 0 1rem;
}

.section-heading .accent {
    color: var(--orange);
}

.section-lead {
    font-size: 1.05rem;
    color: #6b6b6b;
    max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 140, 0, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(20, 20, 20, 0.25);
}

.btn-outline-dark:hover {
    border-color: var(--orange);
    color: var(--orange-deep);
    transform: translateY(-3px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(16, 16, 16, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-height: var(--header-h);
    width: 104px; /* reserves the fixed logo's footprint in the layout */
}

.brand img {
    position: fixed; /* pinned to the very left corner of the screen */
    top: 6px;
    left: 8px;
    z-index: 101;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease), top 0.4s var(--ease);
}

.brand:hover img {
    transform: scale(1.05);
}

/* Po przewinięciu strony (lub przy otwartym menu Products) logo
   elegancko zmniejsza się do paska, żeby nie zasłaniać treści */
.site-header.scrolled .brand img,
.site-header.mega-open .brand img {
    width: 64px;
    height: 64px;
    top: 11px;
}

.brand-name {
    display: none;
}

.brand-name strong {
    color: var(--white);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.brand-name span {
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* Desktop nav */
.main-nav {
    display: none;
}

.header-cta {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 12px 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mega menu (Products) ---------- */
.main-nav .nav-item {
    display: flex;
    align-items: center;
    height: var(--header-h);
    position: static;
}

.nav-item.has-mega {
    position: relative;
}

.mega-trigger i {
    font-size: 0.68em;
    margin-left: 0.45rem;
    transition: transform 0.3s var(--ease);
}

.has-mega:hover .mega-trigger i {
    transform: rotate(180deg);
}

/* ---------- Products mega menu — full-width bar that drops from the header ---------- */
.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    width: 100%;
    background: #131210;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: 2.2rem 1.25rem 2rem;
}

.mega-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 3rem;
}

.mega-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
    transition: background 0.25s var(--ease);
}

.mega-tile:hover,
.mega-tile:focus {
    background: rgba(255, 255, 255, 0.05);
}

/* .mega-tile is an <a> inside .main-nav, so it would otherwise also pick up
   the generic full-width nav-link underline (.main-nav a::after) — that
   duplicated the underline already drawn under .mega-tile-title on hover.
   Cancel the generic one here so only the title's own underline shows. */
.mega-tile::after {
    content: none;
    display: none;
}

.mega-tile-icon {
    flex-shrink: 0;
    text-align: center;
    color: var(--orange);
    font-size: 1.35rem;
}

.mega-tile-title {
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mega-tile:hover .mega-tile-title,
.mega-tile:focus .mega-tile-title {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-footer span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.mega-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--orange);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: gap 0.25s var(--ease), color 0.25s;
}

.mega-footer a:hover {
    gap: 0.6rem;
    color: var(--orange-deep);
}

.new-badge {
    display: inline-block;
    background: var(--orange);
    color: #141414;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* Mobile dropdown panel */
.mobile-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 1rem;
    left: 1rem;
    z-index: 99;
    background: rgba(22, 22, 22, 0.97);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.mobile-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.98rem;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav a i {
    color: var(--orange);
    width: 20px;
    text-align: center;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--orange-soft);
    color: var(--orange);
}

.mobile-sub-toggle {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mobile-sub-toggle:hover {
    background: var(--orange-soft);
    color: var(--orange);
}

.mobile-sub-toggle i:first-child {
    color: var(--orange);
    width: 20px;
    text-align: center;
}

.mobile-sub-toggle .chev {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--orange);
    transition: transform 0.3s var(--ease);
}

.mobile-sub {
    display: none;
    padding: 0.5rem 0.3rem 0.2rem;
}

.mobile-sub.open {
    display: block;
}

.mobile-sub-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.mobile-sub-cards a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.9rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.mobile-sub-cards a:hover,
.mobile-sub-cards a:active {
    background: rgba(255, 140, 0, 0.08) !important;
    border-color: rgba(255, 140, 0, 0.4);
}

.mobile-sub-cards a i {
    color: var(--orange);
    font-size: 1.05rem;
}

.mobile-sub-cards a span {
    color: var(--white);
    font-weight: 700;
    font-size: 0.86rem;
}

.mobile-sub-cards a small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    line-height: 1.35;
    font-weight: 400;
}

.mobile-sub-more {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.3rem 0.2rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.8rem;
}

.mobile-sub-more a {
    font-size: 0.76rem !important;
    font-weight: 600;
    padding: 0.42rem 0.85rem !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65) !important;
    background: none !important;
}

.mobile-sub-more a:hover {
    border-color: var(--orange);
    color: var(--orange) !important;
}

.mobile-sub-help {
    display: flex !important;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem !important;
    background: rgba(255, 140, 0, 0.08) !important;
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 12px;
    color: var(--orange) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
}

.mobile-nav .mobile-cta {
    margin-top: 0.5rem;
    background: var(--gradient-brand);
    justify-content: center;
    color: var(--white) !important;
    font-weight: 700;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: calc(var(--header-h) + 3rem) 0 4.5rem;
    isolation: isolate;
    overflow: hidden;
}

.hero-bg,
.hero-bg img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg img {
    animation: heroZoom 18s var(--ease) both;
}

@keyframes heroZoom {
    from { transform: scale(1.12); }
    to   { transform: scale(1); }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(10, 10, 10, 0.88) 0%, rgba(15, 15, 15, 0.62) 48%, rgba(20, 20, 20, 0.35) 100%),
        linear-gradient(to top, rgba(10, 10, 10, 0.75), transparent 45%);
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 0, 0.5);
    background: rgba(255, 140, 0, 0.12);
    color: #ffc073;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.35rem, 7vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
}

.hero h1 .accent {
    background: linear-gradient(120deg, #ffb25e, var(--orange) 55%, var(--orange-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 560px;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong {
    display: block;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--orange);
    line-height: 1.1;
}

.hero-stat span {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   ABOUT / MEET THE TEAM
   ============================================================ */
.about {
    padding: 4.5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.75rem;
    align-items: center;
}

.about-media {
    position: relative;
    max-width: 460px;
    margin-inline: auto;
}

.about-media::before {
    content: '';
    position: absolute;
    inset: 1.4rem -1.4rem -1.4rem 1.4rem;
    border: 2px solid rgba(255, 140, 0, 0.4);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.about-media .experience-tag {
    position: absolute;
    z-index: 2;
    left: -0.6rem;
    bottom: 1.6rem;
    background: var(--gradient-brand);
    color: var(--white);
    border-radius: 16px;
    padding: 0.85rem 1.3rem;
    box-shadow: var(--shadow-orange);
    text-align: center;
    line-height: 1.2;
}

.about-media .experience-tag strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.about-media .experience-tag span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.92;
}

.about-copy p {
    margin-bottom: 1.1rem;
    color: #575757;
}

.about-copy p strong {
    color: var(--ink);
}

.about-copy .brand-word {
    color: var(--orange-deep);
    font-weight: 700;
}

.about-points {
    display: grid;
    gap: 0.9rem;
    margin: 1.75rem 0 2.1rem;
}

.about-points li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
}

.about-points i {
    color: var(--orange);
    font-size: 1.15rem;
    margin-top: 0.2rem;
}

.about-points strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
}

.about-points span {
    font-size: 0.86rem;
    color: #6d6d6d;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* ============================================================
   PRODUCT RANGE (photo tiles)
   ============================================================ */
.services {
    padding: 4.5rem 0 5rem;
    background: var(--paper);
}

.services-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.services-head .section-lead {
    margin-inline: auto;
}

.partner-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.1);
    box-shadow: var(--shadow-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.partner-note i {
    color: var(--orange);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Homepage "Product Range" grid — a distinct, higher-specificity selector so
   it never collides with the unrelated .product-grid rules further down
   used by the single-product detail-page layout (photo | info columns). */
.product-grid.home-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .product-grid.home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .product-grid.home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.6rem;
    }
}

.product-tile {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.product-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.product-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(8, 8, 8, 0.82) 0%,
        rgba(8, 8, 8, 0.28) 45%,
        transparent 68%);
    transition: background 0.45s;
}

.product-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-tile:hover img {
    transform: scale(1.08);
}

.tile-info {
    position: absolute;
    left: 1.4rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.tile-info .tile-tag {
    display: block;
    color: #ffb763;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.tile-info h3 {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.tile-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: var(--white);
    font-size: 1rem;
    box-shadow: var(--shadow-orange);
    transition: transform 0.35s var(--ease);
}

.product-tile:hover .tile-arrow {
    transform: translateX(5px) scale(1.06);
}

/* ============================================================
   PAGE HERO (podstrony)
   ============================================================ */
.page-hero {
    background:
        radial-gradient(900px 400px at 80% 0%, rgba(255, 140, 0, 0.14), transparent 60%),
        linear-gradient(160deg, #171717 0%, #101010 100%);
    color: var(--white);
    text-align: center;
    padding: calc(var(--header-h) + 5.5rem) 0 3.75rem;
    border-bottom: 3px solid var(--orange);
}

.page-hero .eyebrow {
    justify-content: center;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0.8rem 0 1rem;
}

.page-hero h1 .accent {
    color: var(--orange);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
    max-width: 560px;
    margin-inline: auto;
    font-size: 1.05rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb .current {
    color: var(--orange);
}

.breadcrumb i {
    font-size: 0.65rem;
    opacity: 0.6;
}

/* ============================================================
   CATEGORY / MODEL CATALOG PAGE
   ============================================================ */
.catalog-section {
    padding: 4rem 0 1rem;
    background: var(--paper);
}

/* ---- Editorial intro + trust strip + positioning strip ---- */
.catalog-intro-section {
    background: linear-gradient(180deg, #171512 0%, #1c1a16 100%);
    padding: 3.4rem 0 3rem;
}

.catalog-intro {
    max-width: 720px;
    margin: 0 auto 2.2rem;
    text-align: left;
}

.intro-lede {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.8rem;
}

.trust-strip {
    display: grid;
    gap: 0.8rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.86rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--orange);
    font-size: 0.95rem;
    width: 1.3rem;
    text-align: center;
}

.positioning-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.position-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 3px solid rgba(255, 140, 0, 0.5);
    border-radius: 12px;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.position-card:hover {
    background: rgba(255, 140, 0, 0.07);
    border-color: rgba(255, 140, 0, 0.4);
    border-left-color: var(--orange);
    transform: translateY(-2px);
}

.position-card-suited {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.position-card-label {
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 800;
}

.position-card-count {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.subcat-block {
    margin-bottom: 3.5rem;
}

.subcat-head {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid rgba(20, 20, 20, 0.09);
}

.subcat-head h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
}

.subcat-head span {
    color: #8a8a8a;
    font-size: 0.85rem;
    font-weight: 600;
}

.subcat-blurb {
    color: var(--orange-deep);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.model-card {
    scroll-margin-top: 110px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.07);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.model-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 140, 0, 0.35);
}

.model-card:target {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.18), var(--shadow-md);
}

.model-photo {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(150deg, #e9e4d9 0%, #d9d2c3 100%);
    overflow: hidden;
}

.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-card .new-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    margin: 0;
}

.model-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.model-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.model-tagline {
    color: var(--orange-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.tag-style {
    color: #8a7a63;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.05);
}

.tag-best {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--orange-deep);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
}

.model-body p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.model-features {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.3rem;
}

.model-features li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #4d4d4d;
}

.model-features li i {
    color: var(--orange);
    margin-top: 0.22rem;
    font-size: 0.8rem;
}

.model-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 140, 0, 0.55);
    color: var(--orange-deep);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s, color 0.3s;
}

.model-cta:hover {
    background: var(--gradient-brand);
    color: var(--white);
    border-color: transparent;
}

.model-cta-row {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.model-cta-row .model-cta {
    margin-top: 0;
}

.model-cta-primary {
    background: var(--gradient-brand);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.3);
}

.model-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.4);
}

.model-cta-secondary {
    border-color: transparent;
    color: #8a8a8a;
    font-size: 0.8rem;
    padding: 0.3rem 0.4rem;
}

.model-cta-secondary:hover {
    background: none;
    color: var(--orange-deep);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 4.5rem 0 5rem;
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: start;
}

.form-card {
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
}

.form-card h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-card .form-note {
    color: #6d6d6d;
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

.hidden-field {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.form-field {
    margin-bottom: 1.1rem;
}

.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2ddd4;
    border-radius: 12px;
    background: #fdfcfa;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #b5aea2;
}

.form-submit {
    width: 100%;
    margin-top: 0.4rem;
    padding: 1.05rem 2rem;
    font-size: 1rem;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    min-height: 1.4em;
}

.form-status.ok { color: #2e7d32; }
.form-status.err { color: #c62828; }

.contact-info {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: var(--radius);
    padding: 1.15rem 1.3rem;
    box-shadow: var(--shadow-sm);
}

.info-card .info-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-orange);
}

.info-card h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.info-card p,
.info-card a {
    color: #5f5f5f;
    font-size: 0.92rem;
    line-height: 1.55;
}

.info-card a:hover {
    color: var(--orange-deep);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: #25d366;
    color: var(--white);
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s var(--ease), background 0.3s;
}

.whatsapp-btn:hover {
    background: #1eb958;
    transform: translateY(-3px);
}

.whatsapp-btn i {
    font-size: 1.35rem;
}

.map-wrap {
    margin-top: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(20, 20, 20, 0.06);
    background: #e8e4dc;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background:
        linear-gradient(115deg, rgba(255, 102, 0, 0.96), rgba(255, 140, 0, 0.92)),
        var(--ink);
    color: var(--white);
    padding: 3.5rem 0;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.cta-inner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
}

.cta-inner p {
    font-weight: 300;
    max-width: 520px;
    opacity: 0.95;
}

.cta-band .btn {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.cta-band .btn:hover {
    transform: translateY(-3px);
    background: #000;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0d0d0d;
    color: #a8a8a8;
    padding: 3.75rem 0 0;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
}

.footer-brand img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.7;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: 0.04em;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    transition: color 0.2s, padding-left 0.25s var(--ease);
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--orange);
    margin-top: 0.28rem;
    width: 16px;
    text-align: center;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background 0.3s, transform 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--gradient-brand);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.4rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #7a7a7a;
}

.footer-bottom .tagline {
    color: var(--orange);
    font-weight: 600;
}

/* ============================================================
   CATEGORY OVERLAY (nakładka kategorii —
   otwiera się na stronie głównej, adres URL się nie zmienia)
   ============================================================ */
.cat-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    visibility: hidden;
    pointer-events: none;
}

/* "open" shows it interactively; "closing" keeps it visible (but no
   longer clickable) just long enough for the two panels to slide back
   apart — without this, removing "open" alone hides the overlay
   instantly and the closing half of the slide-together/slide-apart
   effect is never seen. Scoped to this homepage Product Range overlay
   only (see the homepage-only script below). */
.cat-overlay.open {
    visibility: visible;
    pointer-events: auto;
}

.cat-overlay.closing {
    visibility: visible;
    pointer-events: none;
}

.cat-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.cat-left {
    left: 0;
    width: 46%;
    background: linear-gradient(160deg, #161616 0%, #0c0c0c 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    transform: translateX(-102%);
    color: var(--white);
    overflow-y: auto;
    padding: 5.5rem 2rem 3rem 2rem;
}

.cat-right {
    right: 0;
    width: 54%;
    transform: translateX(102%);
    background: #0c0c0c;
}

.cat-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-overlay.open .cat-panel {
    transform: translateX(0);
}

/* Back control — small round brand logo + a sideways arrow, replacing the
   plain text "Back" button. */
.cat-back {
    position: absolute;
    top: 1.6rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 1.1rem 0.4rem 0.4rem;
    background: transparent;
    border: 1.5px solid var(--orange);
    border-radius: 999px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.cat-back-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cat-back:hover {
    background: var(--orange);
    color: #111;
}

.cat-back i {
    color: var(--orange);
    font-size: 1rem;
    transition: color 0.25s;
}

.cat-back:hover i {
    color: #111;
}

.cat-question {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin: 1.5rem 0 2rem;
    padding-left: 0.5rem;
}

.cat-lists {
    padding-left: 0.5rem;
}

.cat-lists h4 {
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 3.4rem 0 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 140, 0, 0.4);
}

/* .cat-lists' actual markup is a run of wrapper <div>s (one per
   subcategory), each containing its own <h4> as that div's first child —
   so "h4:first-child" alone would match EVERY subcategory heading (each is
   first-child of its own wrapper), not just the very first one on the
   page. Scope to the first wrapper div specifically. */
.cat-lists > div:first-child h4 {
    margin-top: 0;
}

.cat-lists .new-badge {
    margin-left: 0.4rem;
}

/* Thumbnail-grid variant of the category-overlay lists — several columns
   of larger product photos, name captioned above each one, instead of a
   single-column plain text list. Kept deliberately distinct from a bare
   text list (see openCategory() in index.html for context on why: a plain
   two-column text-list-plus-hero-photo split reads too close to a
   manufacturer's own category navigation). Only the left-side list
   changes here; the large hero photo on the right (.cat-right) is
   untouched. */
.cat-lists ul.cat-thumb-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.6rem 1rem;
}

.cat-lists ul.cat-thumb-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.cat-lists ul.cat-thumb-list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: border-color 0.2s, transform 0.2s;
}

.cat-lists ul.cat-thumb-list a:hover img {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.cat-lists ul.cat-thumb-list .cat-thumb-name {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    min-height: 2.5em;
    color: #cfcfcf;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.25;
    transition: color 0.2s;
}

.cat-lists ul.cat-thumb-list a:hover .cat-thumb-name {
    color: var(--orange);
}

/* CTA pinned over the hero photo on the right — points to the contact
   page. Desktop only: .cat-right (and this button along with it) is
   hidden below 768px, see media query further down. */
.cat-quote-btn {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.7rem;
    background: var(--orange);
    color: #141414;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: background 0.2s, transform 0.2s;
}

.cat-quote-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .cat-lists ul.cat-thumb-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 767px) {
    .cat-left {
        width: 100%;
    }

    .cat-right {
        display: none;
    }
}

@media (min-width: 992px) {
    .cat-left {
        padding: 6.5rem 3.5rem 4rem 3rem;
    }

    .cat-back {
        top: 2.2rem;
        left: 3rem;
    }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-bg img {
        animation: none;
    }
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */

/* --- Tablet ≥ 640px --- */
@media (min-width: 640px) {
    .container {
        padding-inline: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .form-card {
        padding: 2.5rem 2.4rem;
    }

    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .positioning-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Desktop ≥ 992px --- */
@media (min-width: 992px) {
    :root {
        --header-h: 104px;
    }

    .nav-toggle,
    .mobile-nav {
        display: none;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 2.3rem;
    }

    .main-nav a {
        position: relative;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.92rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        padding: 0.4rem 0;
        transition: color 0.25s;
    }

    .main-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 2px;
        background: var(--gradient-brand);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s var(--ease);
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--white);
    }

    .main-nav a:hover::after,
    .main-nav a.active::after {
        transform: scaleX(1);
    }

    .header-cta {
        display: inline-flex;
        padding: 0.75rem 1.7rem;
        font-size: 0.88rem;
    }

    .brand {
        width: 185px;
    }

    .brand img {
        width: 198px;
        height: 198px;
        top: 8px;
        left: 12px;
    }

    .site-header.scrolled .brand img,
    .site-header.mega-open .brand img {
        width: 80px;
        height: 80px;
        top: 12px;
    }

    .hero {
        padding-top: calc(var(--header-h) + 8.5rem);
    }

    .about {
        padding: 6.5rem 0;
    }

    .about-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 4.5rem;
    }

    .about-media {
        margin-inline: 0 1.4rem;
    }

    .services {
        padding: 6.5rem 0 7rem;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 0.8fr 1.1fr;
        gap: 3rem;
    }

    .cta-band {
        padding: 4.25rem 0;
    }

    .contact-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3rem;
    }

    .contact-section {
        padding: 6rem 0 6.5rem;
    }

    .map-wrap {
        height: 360px;
        margin-top: 3.25rem;
    }

    .model-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }

    .catalog-section {
        padding: 5rem 0 1rem;
    }

    .catalog-intro {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 3rem;
        max-width: none;
        align-items: start;
    }

    .intro-lede {
        margin-bottom: 0;
    }

    .positioning-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Large desktop ≥ 1280px --- */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 780px;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE (single model)
   ============================================================ */
.product-showcase {
    padding: 4rem 0 1rem;
    background: var(--paper);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.product-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, #e9e4d9 0%, #d9d2c3 100%);
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-photo .new-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin: 0;
}

.product-info .model-tagline {
    font-size: 0.85rem;
}

.product-lede {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.product-suited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-soft);
    color: var(--orange-deep);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.3rem;
}

.product-info .model-features {
    margin-bottom: 1.6rem;
}

.product-info .model-features li {
    font-size: 0.92rem;
}

.product-trust {
    color: #757575;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.product-actions .btn {
    padding: 0.85rem 1.5rem;
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 1.4rem;
    transition: color 0.2s;
}

.product-back:hover {
    color: var(--orange);
}

@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 3rem;
    }
}

/* ============================================================
   "HOW IT WORKS" — real cross-section / profile diagrams
   (genuine manufacturer product photography, not invented artwork)
   ============================================================ */
.opening-showcase {
    padding: 4.5rem 0 5rem;
    background: var(--ink-2);
    color: var(--white);
    text-align: center;
}

.opening-showcase .eyebrow {
    justify-content: center;
}

.opening-showcase h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    font-weight: 800;
    margin: 0.7rem 0 0.6rem;
}

.opening-caption {
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 2.2rem;
    font-size: 0.95rem;
}

.profile-diagram {
    max-width: 560px;
    margin: 0 auto;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: var(--shadow-md);
}

.profile-diagram img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 6px;
    background: #050505;
}

.profile-caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}
