:root {
    --red: #e21825;
    --red-dark: #b9111b;
    --ink: #171717;
    --muted: #656565;
    --line: #e9e4df;
    --paper: #fbfaf8;
    --white: #ffffff;
    --black: #050505;
    --green: #128c7e;
    --shadow: 0 22px 65px rgba(23, 23, 23, 0.14);
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--white);
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(251, 250, 248, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(233, 228, 223, 0.7);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(23, 23, 23, 0.08);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand img {
    width: 164px;
    height: auto;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #373737;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 4px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-cta,
.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(226, 24, 37, 0.24);
}

.btn-primary:hover,
.nav-cta:hover {
    background: var(--red-dark);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    margin: 4px auto;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-bg img.active {
    opacity: 0.55;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.78) 48%, rgba(0, 0, 0, 0.38));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: end;
    padding-top: 112px;
}

.hero-copy {
    max-width: 760px;
    min-width: 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 900;
}

.hero .eyebrow {
    color: #ff626b;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: 0;
    max-width: 820px;
    color: var(--white);
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
}

.hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-panel {
    display: grid;
    gap: 12px;
    padding-bottom: 10px;
}

.hero-panel div {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    border-radius: 6px;
}

.hero-panel div::after,
.mini-infographic div::after {
    content: "";
    position: absolute;
    inset: auto -20% -48% 30%;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 98, 107, 0.24), transparent 62%);
    pointer-events: none;
}

.hero-panel svg {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 50%;
    color: var(--white);
    fill: currentColor;
    background: rgba(226, 24, 37, 0.82);
    box-shadow: 0 12px 24px rgba(226, 24, 37, 0.24);
}

.hero-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85rem;
}

.hero-panel strong {
    display: block;
    margin-top: 4px;
    font-size: 1.06rem;
}

.stats-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 28px 24px;
    border-left: 1px solid var(--line);
}

.stats-grid div:last-child {
    border-right: 1px solid var(--line);
}

.stats-grid svg {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: 50%;
    color: var(--red);
    background: #fff0f1;
    fill: currentColor;
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.6rem, 2.2vw, 2.15rem);
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 96px 0;
}

.split,
.visual-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2,
.section-copy h2,
.visual-copy h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.visual-copy p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.03rem;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

.cylindrical-carousel {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    perspective: 1200px;
    overflow: visible;
}

.cylindrical-carousel .range-card {
    position: absolute;
    width: min(230px, 30vw);
    animation: cardOrbit 12s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

.cylindrical-carousel .range-card:nth-child(1) {
    animation-delay: 0s;
}

.cylindrical-carousel .range-card:nth-child(2) {
    animation-delay: -4.333s;
}

.cylindrical-carousel .range-card:nth-child(3) {
    animation-delay: -8.666s;
}

.cylindrical-carousel:hover .range-card {
    animation-play-state: paused;
}

@keyframes cardOrbit {
    0% {
        transform: translateX(0) translateZ(90px) rotateY(0deg) scale(1);
        z-index: 3;
        opacity: 1;
    }
    33.33% {
        transform: translateX(270px) translateZ(-90px) rotateY(-34deg) scale(0.86);
        z-index: 2;
        opacity: 0.72;
    }
    66.66% {
        transform: translateX(-270px) translateZ(-90px) rotateY(34deg) scale(0.86);
        z-index: 1;
        opacity: 0.72;
    }
    100% {
        transform: translateX(0) translateZ(90px) rotateY(0deg) scale(1);
        z-index: 3;
        opacity: 1;
    }
}

.range-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
    backface-visibility: hidden;
}

.product-showcase:not(.cylindrical-carousel) .range-card:nth-child(2) {
    transform: translateY(-30px);
}

.range-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.range-card div {
    padding: 18px;
}

.range-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.range-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.feature-list span {
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 4px;
    font-weight: 800;
}

.services-section {
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    min-height: 238px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.09);
}

.service-card span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-weight: 900;
    font-size: 0.82rem;
}

.service-card h3,
.process-card h3 {
    margin: 20px 0 8px;
    font-size: 1.18rem;
}

.service-card p,
.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: center;
}

.process-card img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.visual-band {
    color: var(--white);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.66)), url("images/prinlay-bulk-customization.png") center / cover;
}

.visual-band .eyebrow {
    color: #ff626b;
}

.visual-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.mini-infographic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mini-infographic div {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    display: grid;
    grid-template-columns: 52px 1fr;
    align-content: start;
    gap: 14px;
    padding: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.mini-infographic svg {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    fill: currentColor;
    color: var(--white);
    background: rgba(226, 24, 37, 0.78);
    box-shadow: 0 12px 28px rgba(226, 24, 37, 0.22);
}

.mini-infographic strong {
    font-size: 2.6rem;
    line-height: 1;
    color: #ff626b;
}

.mini-infographic span {
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 28px;
    font-weight: 800;
}

.testimonials-section {
    background: var(--white);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background:
        radial-gradient(circle at 85% 12%, rgba(226, 24, 37, 0.22), transparent 34%),
        linear-gradient(135deg, #141414, #262626);
    color: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-track {
    min-height: 360px;
    display: grid;
}

.testimonial {
    grid-area: 1 / 1;
    margin: 0;
    display: grid;
    align-content: center;
    padding: clamp(32px, 7vw, 76px);
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial blockquote {
    position: relative;
    margin: 18px 0 0;
    max-width: 930px;
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
    line-height: 1.22;
    font-weight: 800;
}

.testimonial blockquote::before {
    content: "\201C";
    position: absolute;
    left: -0.08em;
    top: -0.38em;
    color: rgba(255, 255, 255, 0.1);
    font-size: 5.5rem;
    line-height: 1;
}

.testimonial figcaption {
    display: grid;
    gap: 2px;
    margin-top: 28px;
}

.testimonial figcaption strong {
    color: var(--white);
    font-size: 1.04rem;
}

.testimonial figcaption span {
    color: #ff9aa0;
    font-size: 0.92rem;
    font-weight: 700;
}

.rating-row {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffd36a;
    font-weight: 900;
}

.rating-row strong {
    color: var(--white);
    font-size: 0.82rem;
}

.slider-controls {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: flex;
    gap: 8px;
}

.slider-controls button {
    min-width: 80px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
}

.clients-section {
    overflow: hidden;
}

.logo-marquee {
    overflow: hidden;
    padding: 18px 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: marquee 64s linear infinite;
}

.logo-track img {
    width: 170px;
    height: 104px;
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 6px;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.faq-split {
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
    color: var(--muted);
}

.contact-section {
    padding: 96px 0;
    color: var(--white);
    background: var(--black);
}

.contact-section .eyebrow {
    color: #ff626b;
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-cards a {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
}

.contact-cards span {
    display: block;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.84rem;
}

.contact-cards strong {
    display: block;
    margin-top: 4px;
}

.quote-form {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 4vw, 38px);
    background: var(--white);
    color: var(--ink);
    border-radius: 6px;
}

.quote-form h3 {
    margin: 0;
    font-size: 1.6rem;
}

.quote-form label {
    display: grid;
    gap: 7px;
    color: #333;
    font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #f7f5f2;
    border-radius: 4px;
    padding: 13px 14px;
    color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 2px solid rgba(226, 24, 37, 0.24);
    border-color: var(--red);
}

.quote-form .btn {
    width: 100%;
}

.icon-btn {
    gap: 10px;
}

.icon-btn svg,
.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex: 0 0 auto;
}

.hours {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.site-footer {
    padding: 64px 0 28px;
    color: #d8d8d8;
    background: #111111;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

.footer-logo {
    width: 164px;
    margin-bottom: 16px;
    background: var(--white);
    border-radius: 4px;
    padding: 6px 8px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer p,
.site-footer a {
    display: block;
    margin: 0 0 10px;
    color: #bbbbbb;
}

.site-footer a:hover {
    color: var(--white);
}

.social-link {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
    color: var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9b9b9b;
    font-size: 0.9rem;
}

.footer-bottom a {
    display: inline;
    color: var(--white);
    font-weight: 800;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(18, 140, 126, 0.34);
    font-weight: 900;
}

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1020px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        border-radius: 6px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 8px;
    }

    .site-nav a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .split,
    .visual-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 760px;
    }

    .hero-grid {
        align-items: center;
        gap: 28px;
    }

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

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

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

@media (max-width: 720px) {
    .container {
        width: min(1160px, calc(100% - 28px));
    }

    .brand img {
        width: 136px;
    }

    .hero {
        min-height: auto;
        padding: 124px 0 54px;
    }

    .hero::after {
        background: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.8));
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10.5vw, 3.35rem);
        overflow-wrap: anywhere;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 1rem;
        max-width: 31ch;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-panel,
    .stats-grid,
    .service-grid,
    .process-grid,
    .product-showcase,
    .mini-infographic,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cylindrical-carousel {
        min-height: auto;
        display: grid;
        gap: 16px;
        perspective: none;
    }

    .cylindrical-carousel .range-card {
        position: static;
        width: 100%;
        animation: none;
    }

    .stats-grid div,
    .stats-grid div:last-child {
        grid-template-columns: 42px 1fr;
        column-gap: 14px;
        border: 0;
        border-bottom: 1px solid var(--line);
        padding-left: 0;
        padding-right: 0;
    }

    .stats-grid svg {
        width: 42px;
        height: 42px;
    }

    .section,
    .contact-section {
        padding: 68px 0;
    }

    .section-heading h2,
    .section-copy h2,
    .visual-copy h2,
    .contact-copy h2 {
        width: 100%;
        max-width: 14ch;
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .section-heading p:not(.eyebrow),
    .section-copy p:not(.eyebrow),
    .visual-copy p,
    .contact-copy p,
    .range-card p {
        width: 100%;
        max-width: 24rem;
        font-size: 0.96rem;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .range-card:nth-child(2) {
        transform: none;
    }

    .testimonial-track {
        min-height: 390px;
    }

    .slider-controls {
        position: static;
        padding: 0 24px 24px;
    }

    .slider-controls button {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
