.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.btn {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    min-height:      44px;
    padding:         0.75rem 1.5rem;
    border-radius:   var(--radius-sm);
    background:      var(--primary);
    color:           #fff;
    font-family:     'Barlow', system-ui, sans-serif;
    font-weight:     600;
    font-size:       0.88rem;
    letter-spacing:  0.05em;
    text-transform:  uppercase;
    transition:      background 0.15s ease;
    margin-right: 2rem;
}

.btn:hover { background: var(--primary-hover); }

.btn-secondary {
    background: var(--surface-2);
    color:      var(--text);
    border:     1px solid var(--border-strong);
    opacity: 90%;
}

.btn-secondary:hover { background: var(--primary-hover); }



.hero {
    position:   relative;
    overflow:   hidden;
    min-height: clamp(22rem, 55vw, 38rem);
    display: flex;
    align-items: center;
}

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

.hero-slide {
    position:   absolute;
    inset:      0;
    width:      100%;
    height:     100%;
    object-fit: cover;
    opacity:    0;
    transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position:   absolute;
    inset:      0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
    z-index:    1;
}

.hero-content {
    position:    relative;
    z-index:     2;
    height:      100%;
    display:     flex;
    align-items: center;
    width: 90%;
}

.hero-text { max-width: 600px; }

.eyebrow {
    display:        block;
    color:          var(--primary);
    font-size:      0.78rem;
    font-weight:    600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom:  0.5rem;
}

.hero-text h2 {
    font-family:    'Barlow Condensed', system-ui, sans-serif;
    font-size:      clamp(2.2rem, 7vw, 4.8rem);
    font-weight:    700;
    letter-spacing: 0.01em;
    line-height:    1;
    text-transform: uppercase;
    margin:         0.75rem 0 1rem;
}

.hero-text p { color: #ccc7be; font-size: 1.05rem; margin-bottom: 2rem; }

.section-title { margin-bottom: 1.75rem; text-align: center; }

.section-title h2 {
    font-family:    'Barlow Condensed', system-ui, sans-serif;
    font-size:      clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight:    700;
    letter-spacing: 0.01em;
    line-height:    1.1;
    text-transform: uppercase;
}

.section-title p { color: var(--muted); margin-top: 0.4rem; }


.vmweb-section {
    padding: 5.3rem 0;
    width: 90%;
    min-height: 100vh;
}
.vmweb-wrapper {
    height: calc(100vh - 5.8rem);
    overflow: hidden;

    border-radius: var(--radius);
    border: 0.1rem solid var(--border-strong);
    background: var(--surface);
}

.vmweb-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

#vmweb {
    scroll-margin-top: 5.3rem;
}



@media (max-width: 900px) {
    .hero         { height: clamp(20rem, 60vw, 32rem); }
    .hero-content { justify-content: center; }
    .hero-text    { text-align: center; }
    .hero-text h2 { font-size: clamp(2rem, 6vw, 2.8rem); }
    .vmweb-wrapper { height: clamp(400px, 80vh, calc(100vh - 5.8rem)); }
}

@media (max-width: 600px) {
    .btn { margin-right: 0.5rem; }
    .vmweb-section { padding: 3rem 0; }
}
