/* ==========================================================================
   Elite Vinyl Windows – public site styles
   Mirrors the current WordPress design: Syne display type, Roboto text,
   deep red accent, warm beige bands, near-black footer.
   ========================================================================== */
:root {
    --red: #a60000;
    --red-dark: #790000;
    --red-nav: #970606;
    --ink: #1d1c1b;
    --text: #5f5f5e;
    --muted: #8a8886;
    --beige: #f3f0ec;
    --line: #e6e2dd;
    --footer: #191817;
    --footer-text: #c5c2bf;
    --white: #fff;
    --container: 1290px;
    --gutter: 16px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --display: 'Syne', sans-serif;
    --body: 'Roboto', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.84;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); color: var(--ink); font-weight: 700; margin: 0 0 .5em; line-height: 1.05; }
h1, .h1 { font-size: clamp(36px, 4.2vw, 57px); letter-spacing: -1.7px; }
h2, .h2 { font-size: clamp(30px, 3.4vw, 47px); letter-spacing: -1px; }
h3, .h3 { font-size: clamp(24px, 2.4vw, 35px); letter-spacing: -.5px; }
h4 { font-size: 22px; }
h5 { font-family: var(--body); font-size: 20px; font-weight: 600; color: #000; }
h6 { font-family: var(--body); font-size: 17px; font-weight: 600; color: #000; line-height: 1.3; }
p { margin: 0 0 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 40px; } }

.eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 14px;
}
.eyebrow--light { color: #fff; }
.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }
.section--beige { background: var(--beige); }
@media (max-width: 767px) { .section { padding: 70px 0; } .section--tight { padding: 50px 0; } }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--body); font-size: 15px; font-weight: 500; line-height: 1;
    padding: 13px 22px; border-radius: 999px; border: 0;
    background: var(--ink); color: #fff;
    transition: background .3s var(--ease), transform .3s var(--ease), color .3s;
}
.btn:hover { color: #fff; background: var(--red); transform: translateY(-2px); }
.btn--accent { background: var(--red-dark); }
.btn--accent:hover { background: var(--red); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* Top bar ---------------------------------------------------------------- */
.topbar { display: none; }

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 120px; gap: 24px; transition: height .4s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 84px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .04); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.brand .brand__light { display: none; }
.site-header.is-scrolled .brand img { height: 40px; }

.primary-nav { display: flex; align-items: center; gap: 0; margin: 0 auto; }
.nav-link {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 0; padding: 0 10px; cursor: pointer;
    font-family: var(--display); font-size: 14px; font-weight: 300; color: #cbcbcb; line-height: 40px;
    transition: color .2s ease-in;
}
.nav-link svg { width: 7px; height: 7px; }
.nav-link:hover, .nav-link.is-active, .nav-item:hover > .nav-link, .nav-item.is-open > .nav-link { color: var(--red-nav); }
.nav-item { position: relative; }

/* Dropdown panels – white, flush under the link, no shadow, quick fade/slide (matches current site) */
.dropdown {
    position: absolute; top: 100%; left: 0; z-index: 20;
    background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s ease-in, transform .2s ease-in, visibility .2s ease-in;
}
.nav-item:hover > .dropdown, .nav-item.is-open > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }

/* Mega menu: 4 image cards (Windows / Doors) */
.dropdown--mega { width: 600px; padding: 15px; display: grid; grid-template-columns: repeat(4, 120px); column-gap: 30px; align-items: start; }
.mega-card { display: block; color: #000; }
.mega-card img { width: 120px; height: auto; aspect-ratio: 300 / 168; object-fit: cover; display: block; margin-bottom: 28px; }
.mega-card span { display: block; font-family: var(--display); font-size: 16px; font-weight: 300; line-height: 1.7; color: #000; transition: color .2s ease-in; }
.mega-card:hover span, .mega-card:focus span { color: var(--red-nav); font-weight: 600; }

/* Simple list (Support) */
.dropdown--list { width: 250px; padding: 0; }
.dropdown--list a { display: block; padding: 0 10px; line-height: 45px; border-bottom: 1px solid #e5e5e5; font-family: var(--display); font-size: 14px; font-weight: 400; color: #000; transition: color .2s ease-in; }
.dropdown--list a:last-child { border-bottom: 0; }
.dropdown--list a:hover, .dropdown--list a:focus { color: var(--red-nav); }

.header-icons { display: flex; align-items: center; gap: 22px; }
.header-icons a, .header-icons button { display: inline-flex; color: var(--ink); background: none; border: 0; padding: 4px; }
.header-icons svg { width: 22px; height: 22px; }
.header-icons .icon-accent { color: var(--red-dark); }
.header-icons a:hover, .header-icons button:hover { color: var(--red); }

.header-icons .nav-toggle, .nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; color: var(--ink); }
.nav-toggle span:not(.sr-only) { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Transparent header over the home hero */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-header:not(.is-scrolled) .brand .brand__dark { display: none; }
.home .site-header:not(.is-scrolled) .brand .brand__light { display: block; }
.home .site-header:not(.is-scrolled) .nav-link { color: rgba(255, 255, 255, .75); }
.home .site-header:not(.is-scrolled) .nav-link:hover,
.home .site-header:not(.is-scrolled) .nav-link.is-active,
.home .site-header:not(.is-scrolled) .nav-item:hover > .nav-link { color: var(--red); }
.home .site-header:not(.is-scrolled) .header-icons a,
.home .site-header:not(.is-scrolled) .header-icons button,
.home .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
.home .site-header.is-scrolled { background: #fff; }

@media (max-width: 1023px) {
    .site-header__inner { height: 80px; }
    .header-icons .nav-toggle { display: block; order: 3; }
    .header-icons { margin-left: auto; gap: 14px; }
    .header-icons .hide-mobile { display: none; }
    .primary-nav {
        position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
        flex-direction: column; align-items: stretch; gap: 0; margin: 0;
        padding: 100px 28px 40px; background: #fff; overflow-y: auto;
        transform: translateX(100%); transition: transform .45s var(--ease);
        box-shadow: -20px 0 60px rgba(0, 0, 0, .12); z-index: 5;
    }
    .nav-open .primary-nav { transform: none; }
    .primary-nav .nav-link, .home .site-header:not(.is-scrolled) .primary-nav .nav-link { color: var(--ink); font-size: 20px; font-weight: 600; width: 100%; padding: 8px 0; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: auto; }
    .nav-item.is-open > .dropdown { display: grid; }
    .dropdown--mega { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 16px 0 20px; }
    .mega-card img { width: 100%; margin-bottom: 8px; }
    .mega-card span { font-size: 14px; line-height: 1.4; }
    .dropdown--list { display: none; padding: 4px 0 12px; }
    .nav-item.is-open > .dropdown--list { display: block; }
    .nav-toggle { z-index: 6; }
    .nav-open .nav-toggle { color: var(--ink) !important; }
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transition: opacity .4s; z-index: 90; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* Off-canvas info panel (grid icon) ---------------------------------------- */
.panel {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); z-index: 200;
    background: var(--footer); color: var(--footer-text);
    padding: 70px 50px; overflow-y: auto;
    transform: translateX(100%); transition: transform .6s var(--ease);
}
.panel.is-open { transform: none; }
.panel h3, .panel h4 { color: #fff; }
.panel p { margin-bottom: 1em; }
.panel a { color: #fff; }
.panel__close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; }
.panel__logo { height: 50px; width: auto; margin-bottom: 30px; }
.panel-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 190; opacity: 0; visibility: hidden; transition: opacity .5s; }
.panel-overlay.is-open { opacity: 1; visibility: visible; }

/* Hero slider -------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #111; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .25)); }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero__eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px; opacity: 0; transform: translateY(20px); transition: all .8s var(--ease) .3s; }
.hero__title { font-family: var(--display); font-weight: 500; color: #fff; font-size: clamp(54px, 10.5vw, 150px); line-height: .82; letter-spacing: -.04em; text-transform: uppercase; margin: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__slide.is-active .hero__title .line > span { transform: none; }
.hero__slide.is-active .hero__title .line:nth-child(2) > span { transition-delay: .15s; }
.hero__slide.is-active .hero__title .line:nth-child(3) > span { transition-delay: .3s; }
.hero__subtitle { max-width: 560px; margin: 26px auto 0; font-size: 17px; opacity: 0; transform: translateY(20px); transition: all .8s var(--ease) .7s; }
.hero__slide.is-active .hero__eyebrow, .hero__slide.is-active .hero__subtitle, .hero__slide.is-active .hero__cta { opacity: 1; transform: none; }
.hero__cta { margin-top: 30px; opacity: 0; transform: translateY(20px); transition: all .8s var(--ease) .9s; }
.hero__arrow {
    position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px;
    background: none; border: 0; color: #fff; opacity: .75; transition: opacity .3s, transform .3s var(--ease);
}
.hero__arrow:hover { opacity: 1; }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__arrow--prev:hover { transform: translateX(-4px); }
.hero__arrow--next:hover { transform: translateX(4px); }
.hero__arrow svg { width: 26px; height: 46px; }
.hero__scroll {
    position: absolute; left: 50%; bottom: 40px; z-index: 3; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i { width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; display: grid; place-items: center; font-style: normal; animation: bob 2s var(--ease) infinite; }
.hero__dots { position: absolute; bottom: 44px; right: 40px; z-index: 3; display: flex; gap: 10px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; }
.hero__dots button.is-active { background: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 767px) { .hero__arrow { display: none; } .hero__dots { right: 50%; transform: translateX(50%); bottom: 90px; } }

/* Explore Windows / Doors --------------------------------------------------- */
.explore { padding: 120px 0 90px; }
.explore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; max-width: 1060px; margin: 0 auto; }
.explore__card { display: block; text-align: center; color: var(--ink); }
.explore__media { overflow: hidden; aspect-ratio: 480 / 330; }
.explore__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.explore__card:hover .explore__media img { transform: scale(1.08); }
.explore__card .eyebrow { margin: 34px 0 6px; }
.explore__card h3 { font-weight: 600; margin: 0; transition: color .3s; }
.explore__card:hover h3 { color: var(--red); }
@media (max-width: 767px) { .explore { padding: 70px 0 40px; } .explore__grid { grid-template-columns: 1fr; gap: 50px; } }

/* About (sticky column) ----------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px; }
.about__sticky { position: sticky; top: 120px; align-self: start; }
.about__body { padding-left: 25%; margin-top: 70px; }
.about__body p { color: #000; }
.about__image { overflow: hidden; }
.about__image img { width: 100%; height: auto; }
.about__lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px; margin-top: 50px; align-items: start; }
.about__lower p { color: #000; }
.badges { display: grid; gap: 40px; padding-left: 25%; }
.badge { display: grid; grid-template-columns: 70px 1fr; gap: 26px; align-items: center; }
.badge figure { margin: 0; text-align: center; font-family: var(--display); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.badge figure img, .badge figure svg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; }
.badge p { font-size: 13px; line-height: 1.5; margin: 0; color: var(--text); }
.badge strong { display: block; font-family: var(--display); color: var(--ink); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 1023px) {
    .about__grid, .about__lower { grid-template-columns: 1fr; gap: 40px; }
    .about__sticky { position: static; }
    .about__body, .badges { padding-left: 0; margin-top: 30px; }
}

/* Feature video ------------------------------------------------------------- */
.feature-video video { width: 100%; aspect-ratio: 16 / 9; background: #333; object-fit: cover; }
.feature-video__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.feature-video__head p { max-width: 480px; margin: 0; }
.feature-video__frame { position: relative; overflow: hidden; }
.feature-video__play {
    position: absolute; inset: 0; margin: auto; width: 110px; height: 110px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); border: 0; color: var(--ink);
    display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    transition: transform .4s var(--ease), background .3s;
}
.feature-video__play:hover { transform: scale(1.08); background: #fff; }
.feature-video__frame.is-playing .feature-video__play { opacity: 0; pointer-events: none; }

/* Series cards -------------------------------------------------------------- */
.series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.series-card { display: block; text-align: center; color: var(--ink); }
.series-card__media { overflow: hidden; aspect-ratio: 300 / 168; background: var(--beige); }
.series-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.series-card:hover .series-card__media img { transform: scale(1.08); }
.series-card h4 { font-family: var(--body); font-weight: 600; font-size: 22px; color: #000; margin: 22px 0 0; transition: color .3s; }
.series-card:hover h4 { color: var(--red); }
.series-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 1023px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .series-grid { grid-template-columns: 1fr; } }

/* Marquee ------------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 30px 0 60px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
    display: inline-flex; align-items: center; gap: .35em; padding-right: .35em;
    font-family: var(--display); font-weight: 600; font-size: clamp(64px, 10vw, 148px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap;
}
.marquee__item svg { width: .45em; height: .45em; color: var(--red-dark); flex: none; }

/* Laminated vinyl ----------------------------------------------------------- */
.vinyl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; align-items: center; }
.vinyl__intro { text-align: center; }
.vinyl__intro h3 { font-family: var(--display); font-weight: 500; margin-bottom: 18px; }
.vinyl__swatch { text-align: center; }
.vinyl__swatch img { margin: 0 auto; max-height: 200px; width: auto; transition: transform .8s var(--ease); }
.vinyl__swatch:hover img { transform: translateY(-10px) rotate(-3deg); }
.vinyl__swatch span { display: block; margin-top: 14px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); }
@media (max-width: 767px) { .vinyl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vinyl__intro { grid-column: 1 / -1; } }

/* Lifestyle split ----------------------------------------------------------- */
.lifestyle { position: relative; margin-top: 60px; }
.lifestyle::before { content: ''; position: absolute; inset: 0 0 0 0; background: var(--beige); z-index: -1; }
.lifestyle__grid { display: grid; grid-template-columns: 40% 1fr; gap: 10%; }
.lifestyle__left img { width: 100%; height: auto; }
.lifestyle__right { padding-top: 50px; }
.lifestyle__right h2 { max-width: 520px; }
.lifestyle__right p { max-width: 520px; }
.lifestyle__right .lifestyle__img2 { margin-top: 100px; }
.lifestyle__right img { width: 100%; height: auto; }
@media (max-width: 1023px) { .lifestyle__grid { grid-template-columns: 1fr; gap: 40px; } .lifestyle__right .lifestyle__img2 { margin-top: 40px; } }

/* Certifications ------------------------------------------------------------ */
.certs { display: flex; flex-wrap: wrap; gap: 80px 110px; justify-content: center; align-items: center; padding: 70px 0; }
.certs img { height: 76px; width: auto; filter: grayscale(0); transition: transform .4s var(--ease); }
.certs img:hover { transform: scale(1.06); }

/* Parallax band ------------------------------------------------------------- */
.parallax { position: relative; height: 520px; overflow: hidden; }
.parallax__img { position: absolute; left: 0; right: 0; top: -20%; height: 140%; background-size: cover; background-position: center; will-change: transform; }
@media (max-width: 767px) { .parallax { height: 320px; } }

/* Newsletter + footer ------------------------------------------------------- */
.newsletter { background: var(--beige); padding: 120px 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.newsletter h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.newsletter__form { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid var(--ink); }
.newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 0; font: inherit; color: var(--ink); outline: none; }
.newsletter__form button { background: none; border: 0; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); padding: 0 0 0 20px; }
.newsletter__form button:hover { color: var(--red); }
.newsletter__msg { flex-basis: 100%; margin: 10px 0; font-size: 14px; }
.newsletter__msg--ok { color: #2f6b2f; }
.newsletter__msg--err { color: var(--red); }
@media (max-width: 767px) { .newsletter { padding: 70px 0; } .newsletter__inner { grid-template-columns: 1fr; gap: 26px; } }

.site-footer { background: var(--footer); color: var(--footer-text); font-family: var(--body); padding: 110px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.site-footer h6 { font-family: var(--display); color: #fcfcfc; font-size: 19px; font-weight: 700; margin: 0 0 32px; }
.site-footer p { margin: 0 0 14px; }
.site-footer a { color: #fff; display: block; margin-bottom: 11px; font-family: var(--display); font-weight: 400; font-size: 14px; }
.site-footer a:hover { color: var(--red); }
.site-footer .footer-phone { font-family: var(--body); font-size: 20px; font-weight: 600; margin-top: 12px; }
.site-footer .footer-email { font-family: var(--body); }
.site-footer__news form { display: flex; border-bottom: 1px solid #3a3836; }
.site-footer__news input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 12px 0; font: inherit; outline: none; }
.site-footer__news button { background: none; border: 0; color: #fff; font-size: 20px; }
.site-footer__news button:hover { color: var(--red); }
.site-footer__bottom { margin-top: 90px; padding: 34px 0 40px; border-top: 1px solid #353331; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.to-top {
    position: fixed; right: 30px; bottom: 30px; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
    background: var(--red-dark); color: #fff; border: 0; font-size: 18px;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer { padding-top: 70px; } .site-footer__grid { grid-template-columns: 1fr; } .site-footer__bottom { margin-top: 50px; flex-direction: column; text-align: center; } }

/* Page title band ----------------------------------------------------------- */
.page-title { background: var(--beige); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.page-title h1 { margin: 0; font-size: clamp(34px, 4.2vw, 57px); }
.page-title p { max-width: 640px; margin: 18px auto 0; }
.page-title--image { color: #fff; background-size: cover; background-position: center; padding: 150px 0; }
.page-title--image::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.page-title--image .container { position: relative; }
.page-title--image h1 { color: #fff; }
.breadcrumbs { font-size: 13px; margin-top: 16px; color: var(--muted); }
.breadcrumbs a { color: var(--ink); }
@media (max-width: 767px) { .page-title { padding: 60px 0; } }

/* Series page --------------------------------------------------------------- */
.series-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; padding: 100px 0 40px; }
.series-hero__img { text-align: center; }
.series-hero__img img { margin: 0 auto; width: 100%; max-width: 460px; height: auto; }
.series-hero h2 { font-size: clamp(34px, 4.2vw, 57px); }
.key-info h6 { font-size: 19px; margin: 30px 0 12px; }
.key-info ul { margin: 0 0 30px; padding-left: 22px; }
.key-info li { margin: 2px 0; line-height: 1.8; }
.key-info li::marker { color: var(--ink); }
@media (max-width: 1023px) { .series-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; } }

.config-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 60px auto 0; max-width: 1060px; text-align: center; }
.config-styles figure { margin: 0; }
.config-styles img { margin: 0 auto; height: 150px; width: auto; max-width: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.config-styles figure:hover img { transform: translateY(-8px); }
.config-styles figcaption { margin-top: 16px; font-family: var(--body); font-weight: 500; color: #555; }
@media (max-width: 767px) { .config-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tabs { margin-top: 90px; }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 44px; }
.tabs__nav button {
    border: 0; background: #6b6b6b; color: #fff; padding: 12px 34px; font-family: var(--body); font-size: 15px;
    transition: background .3s var(--ease);
}
.tabs__nav button:hover { background: #4c4c4c; }
.tabs__nav button.is-active { background: var(--red-dark); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: tabIn .6s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tab-block { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; margin-bottom: 50px; }
.tab-block h5 { margin-bottom: 18px; }
.tab-block h6 { margin-top: 26px; }
.tab-block p { color: var(--muted); }
.tab-block__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tab-block__media a { display: block; overflow: hidden; }
.tab-block__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .6s var(--ease); }
.tab-block__media a:hover img { transform: scale(1.06); }
.tab-block__media--contain img { object-fit: contain; aspect-ratio: auto; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 18px; }
.swatches figure { margin: 0; text-align: center; font-size: 13px; color: var(--ink); }
.swatches img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; transition: transform .4s var(--ease); }
.swatches figure:hover img { transform: scale(1.05); }
@media (max-width: 1023px) { .tab-block { grid-template-columns: 1fr; gap: 26px; } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 90px 0 110px; }
.features__img img { width: 100%; height: auto; }
.features__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; padding-top: 30px; }
.features__list h6 { font-size: 13px; margin: 18px 0 14px; }
.features__list p { font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1023px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .features__list { grid-template-columns: 1fr; } }

.specs { width: 100%; border-collapse: collapse; margin-top: 10px; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.specs th { color: var(--ink); font-weight: 600; width: 45%; }

/* Category landing ---------------------------------------------------------- */
.category-intro { max-width: 680px; margin: 0 auto 10px; text-align: center; }

/* Generic content ----------------------------------------------------------- */
.prose { max-width: 860px; margin: 0 auto; color: #333; font-size: 16px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose h4 { font-size: 19px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--red-dark); text-decoration: underline; }
.prose img { height: auto; margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 10px 24px; border-left: 3px solid var(--red-dark); font-family: var(--display); font-size: 20px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.faq { max-width: 860px; margin: 60px auto 0; }
.faq h3 { margin: 50px 0 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__a { padding: 0 0 22px; }

/* Contact ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; padding: 100px 0; }
.contact-details h3 { font-size: 28px; margin-bottom: 26px; }
.contact-details p { font-family: var(--display); font-size: 14px; line-height: 2; margin: 0 0 16px; }
.contact-details .contact-phone { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); display: block; margin: 8px 0 28px; }
.social-circles { display: flex; gap: 8px; }
.social-circles a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: all .3s var(--ease); }
.social-circles a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social-circles svg { width: 15px; height: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; border: 0; border-bottom: 1px solid #cfcac4; background: transparent; padding: 12px 0; font: inherit; color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field .error { color: var(--red); font-size: 13px; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--red-dark); }
.alert { padding: 16px 20px; margin-bottom: 26px; background: #eef6ee; color: #234d23; border-left: 3px solid #3a7d3a; }
.alert--error { background: #fbeeee; color: #6b1a1a; border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.map { filter: grayscale(1); }
.map iframe { width: 100%; height: 460px; border: 0; display: block; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; padding: 70px 0; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* Services ------------------------------------------------------------------ */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { background: var(--beige); padding: 44px 36px; transition: transform .5s var(--ease), background .4s; }
.service-card:hover { transform: translateY(-8px); background: #ebe6df; }
.service-card .num { font-family: var(--display); font-weight: 700; color: var(--red-dark); font-size: 14px; letter-spacing: 1.6px; }
.service-card h3 { font-size: 24px; margin: 18px 0 14px; }
@media (max-width: 1023px) { .service-cards { grid-template-columns: 1fr; } }

/* Custom cursor (mouse helper) ---------------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; border-radius: 50%; }
.cursor__ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid #fff; border-radius: 50%; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Scroll reveal animations -------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-img] { overflow: hidden; }
.js [data-reveal-img] img { clip-path: inset(100% 0 0 0); transform: scale(1.2); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal-img].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .js [data-reveal-img] img, .split-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
