/* Swiss Design Variables */
:root {
    --color-bg: #FFFFFF;
    --color-bg-light: #FAFAFA;
    --color-text: #4e4e4e;
    --color-accent: #0597f2;
    --color-accent-hover: #0482d3;
    --color-border: #E5E5E5;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --grid-gap: 2rem;
    --container-max: 1280px;
    --nav-height: 90px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 5rem;
}

.section-headline {
    color: var(--color-accent);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.6;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #222;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 1rem 3rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-outline-primary:hover {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 36px;
}

/* Animations Baseline */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 1. Hero Block */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('assets/hero-v2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: crisp-edges;
}

.hero-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 45%; /* Right ~45% of viewport */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 2rem;
}

.hero-logo {
    display: none;
}

.headline-primary {
    font-size: 5rem;
    font-weight: 200; /* Ultra-thin style */
    color: var(--color-accent);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: 1.5rem;
    font-weight: 200; /* Ultra-thin style */
    color: var(--color-text);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.swiss-flag {
    font-size: 1.2rem;
    display: inline-block;
    transform: translateY(-2px);
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 1.25rem 4rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
    border-radius: 4px;
}

.btn-hero-cta:hover {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* 2. Solution Block */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text p {
    font-size: 1.25rem;
    line-height: 1.8;
}

.video-thumbnail-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #FFFFFF;
}

.video-thumbnail-img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.icon-play-solid {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    margin-left: 4px; /* visual center */
    fill: var(--color-accent);
}

.video-thumbnail-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.video-thumbnail-container:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.05);
}

/* 3. Technology Block */
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.matrix-features-left, .matrix-features-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.matrix-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform-origin: center;
    transition: transform 1.5s ease;
}

.is-zoomed {
    transform: scale(1.05);
}

.feature-item h4 {
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* 4. How it Works */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    background: transparent;
    border-top: 2px solid var(--color-border);
    padding-top: 2rem;
    transition: var(--transition-smooth);
    text-align: left;
}

.step-card:hover {
    border-top-color: var(--color-accent);
}

.step-illustration {
    height: 250px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    /* Invisible initially for the JS scroll reveal */
    opacity: 0;
    transform: scale(0.85) translateY(20px);
}

.step-card.is-visible .step-img {
    animation: pop-up-illustration 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger delay correctly for the inner images based on card delay */
.step-card.delay-1 .step-img { animation-delay: 0.2s; }
.step-card.delay-2 .step-img { animation-delay: 0.4s; }
.step-card.delay-3 .step-img { animation-delay: 0.6s; }

@keyframes pop-up-illustration {
    0% { transform: scale(0.85) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.step-card:hover .step-img {
    transform: scale(1.08) translateY(-10px);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* 5. Environmental Impact */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.impact-body {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

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

.data-card {
    background: #FFF;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-color: rgba(5, 151, 242, 0.3);
}

.data-value {
    font-size: 3rem;
    font-weight: 200;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.data-label {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* 6. Story & Timeline */
.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
    margin-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    width: 22%;
    display: flex;
    flex-direction: column;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--color-accent);
    transform: scale(1.3);
}

.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.timeline-title {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #222;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-img {
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
    box-shadow: 0 0 18px rgba(0, 140, 255, 0.35);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-img:hover {
    box-shadow: 0 0 28px rgba(0, 140, 255, 0.55);
    transform: scale(1.02);
}

/* 7. Media & Press */
.press-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.press-card {
    background: #FFF;
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.press-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: 0% 50%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.press-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.press-card:hover::before {
    transform: scaleX(1);
}

.press-logo {
    max-height: 36px;
    max-width: 195px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 1.25rem;
    display: block;
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease;
}

.logo-small {
    max-height: 28px !important;
    max-width: 150px !important;
}

.press-card:hover .press-logo {
    filter: grayscale(0%) opacity(1);
}

.press-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #111;
    line-height: 1.5;
    flex-grow: 1;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
}

.press-card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

.read-more i {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-logo {
    margin: 0 auto 1.5rem;
    height: 28px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .matrix-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .matrix-features-left, .matrix-features-right {
        text-align: center;
        gap: 2rem;
    }
    .text-right { text-align: center; }
    
    .timeline-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .timeline-line {
        top: 0; left: 15px; width: 1px; height: 100%;
    }
    .timeline-item {
        width: 100%;
        display: flex;
        gap: 2rem;
    }
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .headline-primary { font-size: 3rem; text-align: center; align-self: center; }
    .subheadline { text-align: center; align-self: center; font-size: 1.25rem; }
    .hero-content { width: 100%; padding: 2rem; align-items: center; background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); border-radius: 12px; }
    .hero-logo { align-self: center; margin-bottom: 2rem; }
    .btn-hero-cta { align-self: center; }
    .solution-grid, .impact-grid { grid-template-columns: 1fr; }
    .steps-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .impact-cards { grid-template-columns: 1fr; }
    .press-grid { grid-template-columns: 1fr; }
}

/* ===== NAV LINKS & LANGUAGE SWITCHER ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.65;
    position: relative;
    transition: opacity 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active-section {
    opacity: 1;
    color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active-section::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    opacity: 0.45;
    cursor: pointer;
    padding: 0.2rem 0.15rem;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
    opacity: 1;
    color: var(--color-accent);
}

.lang-divider {
    opacity: 0.25;
    font-size: 0.7rem;
    pointer-events: none;
}

.nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ===== PATENT SECTION ===== */
.patent-section { background: #fff; }

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

.patent-badge { margin-bottom: 1.25rem; }

.patent-icon {
    width: 34px;
    height: 34px;
    color: var(--color-accent);
    stroke-width: 1.5;
}

.patent-sub {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.patent-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.patent-number-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 2px solid var(--color-accent);
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
}

.patent-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
}

.patent-number {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #111;
}

.patent-date {
    font-size: 0.82rem;
    opacity: 0.5;
}

.btn-patent {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.875rem 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-patent:hover {
    background: var(--color-accent);
    color: #fff;
}

.btn-patent svg { width: 16px; height: 16px; stroke-width: 1.5; }

.patent-seal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(5,151,242,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: sealRotate 40s linear infinite;
    background: radial-gradient(ellipse at center, rgba(5,151,242,0.04) 0%, transparent 70%);
    box-shadow: 0 0 50px rgba(5,151,242,0.08);
}

.seal-ring::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px dashed rgba(5,151,242,0.3);
}

.seal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    animation: sealCounterRotate 40s linear infinite;
}

.seal-icon {
    width: 38px;
    height: 38px;
    color: var(--color-accent);
    stroke-width: 1;
    margin-bottom: 0.5rem;
}

.seal-text-top {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.45;
}

.seal-text-main {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    color: #111;
    line-height: 1.1;
}

.seal-text-bottom {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    font-weight: 500;
    margin-top: 0.25rem;
}

@keyframes sealRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sealCounterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--color-bg-light); }

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

.contact-subtitle {
    font-size: 0.8rem !important;
    font-weight: 500;
    color: var(--color-accent) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem !important;
    margin-top: 0.5rem;
}

.contact-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 380px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    opacity: 0.5;
}

.form-input {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: var(--color-accent);
}

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

.btn-submit {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.9rem 2.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5,151,242,0.2);
}

.form-success {
    display: none;
    font-size: 0.88rem;
    color: #28a745;
    padding: 0.75rem 1rem;
    background: rgba(40,167,69,0.07);
    border-radius: 4px;
    margin: 0;
}

/* ===== FOOTER FULL ===== */
/* ===== FOOTER ===== */
.footer {
    background: #fafafa;
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0 2rem;
}

/* Top row: logo left, address right */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo-block {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    height: 26px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 1; }

.footer-contact-block {
    text-align: right;
}

.footer-address {
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.5;
    text-align: right;
}

.footer-email {
    color: var(--color-accent);
    opacity: 1;
    transition: opacity 0.2s ease;
}

.footer-email:hover { opacity: 0.7; }

/* Bottom row: copyright centered */
.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text);
    opacity: 0.35;
    letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav-links { gap: 1.1rem; }
    .patent-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .patent-seal { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { margin-left: 0; padding-left: 0; border-left: none; }

    /* Footer mobile: everything centered, stacked */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }
    .footer-contact-block { text-align: center; }
    .footer-address { text-align: center; }
}

/* ===================================================
   HERO – GSAP Staggered Blinds Reveal
   =================================================== */

/* Wrapper holds the scrollable pin space */
.hero-wrapper {
    position: relative;
}

/* The pinned panel itself — full viewport */
.hero-pinned {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #f8f8f7;
}

/* Shared two-column state layout */
.hero-state {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 6%;
    padding-top: 90px; /* nav height */
}

/* ── State A: closed pack left, text right ── */
.hero-state-a { z-index: 1; }
.hero-state-a .hs-image { display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-state-a .hs-text  { padding-left: 4rem; }

/* ── State B: text left, open pack right (rendered under blinds) ── */
.hero-state-b { z-index: 1; opacity: 0; }
.hero-state-b .hs-image { display: flex; align-items: center; justify-content: center; height: 100%; }
.hero-state-b .hs-text  { padding-right: 4rem; }

/* Product images */
.hero-pack-img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* ── Typography ── */
.hero-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111;
    margin-bottom: 1.5rem;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.hero-h2 {
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111;
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text);
    opacity: 0.75;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-sub-b {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.hero-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 440px;
}

/* ── Scroll CTA ── */
.hero-scroll-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.85;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hero-scroll-cta:hover { opacity: 0.9; }

.cta-arrow {
    display: flex;
    align-items: center;
    animation: ctaBounce 1.6s ease-in-out infinite;
}

.cta-arrow svg { width: 18px; height: 18px; stroke-width: 1.5; }

@keyframes ctaBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ── Discover CTA ── */
.hero-discover-cta {
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid rgba(5,151,242,0.35);
    padding-bottom: 2px;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.hero-discover-cta:hover {
    opacity: 0.75;
    border-color: var(--color-accent);
}

/* ── Blinds Overlay ── */
.blinds-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.blind-slat {
    flex: 1;
    background: var(--color-accent); /* brand blue */
    transform-origin: top center;
    will-change: transform, opacity;
}

/* Reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
    .hero-wrapper { height: auto; }
    .hero-pinned  { position: relative; height: auto; min-height: 100vh; }
    .hero-state-b { position: relative; opacity: 1; }
    .hero-state-a { position: relative; }
    .blinds-overlay { display: none; }
}

/* Responsive hero */
@media (max-width: 900px) {
    .hero-state {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 5% 5%;
        padding-top: 100px;
        gap: 2rem;
    }
    .hero-state-a .hs-text,
    .hero-state-b .hs-text { padding: 0; }
    .hero-state-b { grid-template-areas: 'text' 'image'; }
    .hero-state-b .hs-text { order: 1; }
    .hero-state-b .hs-image { order: 2; }
    .hero-pack-img { max-height: 40vh; }
    .hero-h1, .hero-h2 { font-size: 2.2rem; }
}

/* ===== STATIC HERO ===================================================== */
.hero-static {
    position: relative;
    width: 100%;
    /* Full viewport minus the fixed nav so image starts exactly below header */
    height: calc(100vh - var(--nav-height));
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Push section below the sticky nav */
    margin-top: var(--nav-height);
}

/* Background img — object-fit: cover fills hero at any viewport size */
.hero-bg-img {
    position: absolute;
    top: -10%;          /* extra room for parallax travel */
    left: 0;
    width: 100%;
    height: 120%;       /* same idea: taller than section for parallax */
    object-fit: cover;
    object-position: 25% center;   /* product left, right half free for text */
    display: block;
    will-change: transform;
    z-index: 0;
}

/* Right-side gradient — lets product image breathe on the left */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1.00)  0%,
        rgba(255, 255, 255, 0.98) 30%,
        rgba(255, 255, 255, 0.80) 48%,
        rgba(255, 255, 255, 0.20) 62%,
        rgba(255, 255, 255, 0.00) 75%
    );
    z-index: 1;
}

.hero-container-static {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 5%;
}

.hero-text-block {
    width: 44%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Always visible — above the fold, skip IntersectionObserver delay */
    opacity: 1 !important;
    transform: none !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-static {
        height: calc(100vh - var(--nav-height));
        min-height: 480px;
    }
    .hero-bg-static {
        background-position: center center;
    }
    .hero-overlay {
        background: rgba(255, 255, 255, 0.60);
    }
    .hero-container-static {
        justify-content: center;
        padding: 0 6%;
    }
    .hero-text-block {
        width: 100%;
        max-width: none;
        align-items: center;
        text-align: center;
    }
}

/* ===== VIDEO MODAL ===================================================== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.video-modal-inner {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1100px;
}

/* 16:9 aspect-ratio wrapper */
.video-modal-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.video-modal-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -2.6rem;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.video-modal-close:hover { color: #fff; }

.video-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

