:root {
    --nav-height: 78px;
}

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

html,
body {
    height: 100%;
}

/* Only apply spacing on desktop */
@media (min-width: 881px) {
    body {
        padding-top: 130px;
    }
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #111;
    background: #fff;
}

/* HERO: full-width responsive image with bottom overlay caption */
.hero {
    width: 100%;
    overflow: hidden;
}

/* Container that shows the image as background; adjusts height with viewport */
.hero-bg {
    width: 100%;
    min-height: 62vh;
    /* tall on desktop */
    max-height: 1000px;
    background-image: url('../images/fotos/landingImage.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    /* caption sits at bottom */
    position: relative;
}

/* Slight overlay gradient at bottom to improve text readability */
.hero-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.40) 40%, rgba(255, 255, 255, 0.0) 100%);
    pointer-events: none;
}

/* Caption box anchored to the bottom */
.hero-caption {
    position: relative;
    /* stack above ::after */
    width: 100%;
    padding: clamp(12px, 2.2vw, 36px) clamp(12px, 4vw, 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

/* Main and sub text */
.hero-caption h1 {
    margin: 0;
    line-height: 1.02;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    /* Responsive type that scales between min and max */
    font-size: clamp(18px, 3.6vw, 54px);

    color: #0b0b0b;
    /* near-black like your design */
    /* subtle outline for extra contrast on busy backgrounds */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Subline smaller but still responsive */
.hero-caption .hero-sub {
    display: block;
    font-weight: 600;
    font-size: clamp(12px, 2.2vw, 22px);
    margin-top: 6px;
    letter-spacing: 0.8px;
}

/* Make hero taller on large screens for drama */
@media (min-width: 1200px) {
    .hero-bg {
        min-height: 72vh;
    }
}

/* Small phones: tighten padding & font sizes */
@media (max-width: 420px) {
    .hero-bg {
        min-height: 48vh;
    }

    .hero-caption {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-caption h1 {
        font-size: clamp(16px, 6.5vw, 28px);
        letter-spacing: 0.6px;
    }

    .hero-caption .hero-sub {
        font-size: clamp(11px, 3.8vw, 14px);
    }
}

/* ---------- TITLES ---------- */
.page-title {
    font-size: clamp(28px, 4.2vw, 48px);
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0b0b0b;
}

/* ---------- VERY SMALL PHONES ---------- */

@media (max-width: 420px) {

    .section-separator {
        height: 48px;
    }

}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
}

.lang-select {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: none;
}

.lang-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.split-title {
    font-size: clamp(14px, 2.5vw, 28px);
}

@media (max-width: 768px) {
    .split-title {
        font-size: 16px;
        padding: 6px 10px;
        /* optional: reduce padding too */
    }
}