/* ============================================================
   BASE — Mobile First (iPhone 13 mini como referencia)
============================================================ */
html {
    -webkit-text-size-adjust: none;
}

body {
    touch-action: manipulation;
}

input, select, textarea {
    font-size: 16px;
}



/* BODY */
body.landing {
    background-color: #F36F21;
    margin: 0;
    padding: 0;
}

/* CONTENEDOR PRINCIPAL */
.landing-main {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 6px 18px;
    position: relative;
    text-align: center;
    flex: 1;   /* ← PROPIEDAD AÑADIDA */
}


/* SELECTOR DE IDIOMA */
.lang-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.lang-selector button {
    background: #007bff;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
}

.lang-selector button.is-active {
    background: #111111;
    box-shadow: inset 0 0 0 2px #ffffff;
    transform: translateY(-1px);
}

/* Acomodar selector de idioma en pantallas estrechas */
@media (max-width: 640px) {
    .lang-selector {
        position: static;
        margin: 6px auto 12px auto;
        justify-content: center;
        gap: 8px;
    }

    .lang-selector button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .landing-main {
        padding: 10px 12px;
    }
}

/* LOGO */
.landing-logo {
    width: 95px;
    height: auto;
    display: block;
    margin: 16px auto 8px auto;
}

/* TÍTULO */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0 6px 0;
    line-height: 1.18;
}

/* SUBTÍTULO */
.subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: #ffffff;
    margin: 6px 0 18px 0;
    line-height: 1.32;
}

/* BOTONES */
.landing-btn-green,
.landing-btn-blue,
.landing-btn-orange {
    display: inline-block;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    margin: 10px auto;
    border: 2px solid #000000;
}

.landing-btn-green { background: #28a745; color: white; }
.landing-btn-green:hover { background: #1e7e34; transform: translateY(-2px); }

.landing-btn-blue { background: #0078ff; color: white; }
.landing-btn-blue:hover { background: #005fcc; transform: translateY(-2px); }

.landing-btn-orange { background: #ff7a00; color: white; }
.landing-btn-orange:hover { background: #e86d00; transform: translateY(-2px); }

/* ACCESIBILIDAD: foco visible para navegación por teclado */
.lang-selector button:focus-visible,
.landing-btn-green:focus-visible,
.landing-btn-blue:focus-visible,
.landing-btn-orange:focus-visible,
.contact-container .contact-email:focus-visible {
    outline: 3px solid #111111;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

/* CONTACTO */
.contact-container {
    text-align: center;
    margin-top: 22px;
    padding: 0 10px;
}

.contact-container h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-container p {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.contact-container .contact-email {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0078ff;
    text-decoration: none;
}

.contact-container .contact-email:hover {
    text-decoration: underline;
}

/* ============================================================
   BREAKPOINT 480px — Teléfonos medianos
============================================================ */
@media (min-width: 480px) {

    .landing-logo {
        width: 110px;
        margin: 20px auto 10px auto;
    }

    h1 {
        font-size: 2.4rem;
        margin: 14px 0 8px 0;
    }

    .subtitle {
        font-size: 1.2rem;
        margin: 8px 0 22px 0;
    }

    .landing-btn-green,
    .landing-btn-blue,
    .landing-btn-orange {
        padding: 14px 26px;
        font-size: 1.1rem;
    }
}

/* ============================================================
   BREAKPOINT 768px — Tablets
============================================================ */
@media (min-width: 768px) and (min-height: 700px) {


    .landing-main {
        padding: 14px 22px;   /* antes 20px 30px → más compacto */
    }

    .landing-logo {
        width: 110px;         /* antes 130px → reduce altura */
    }

    h1 {
        font-size: 2.4rem;    /* antes 2.8rem → baja altura */
        margin: 10px 0 6px 0;
    }

    .subtitle {
        font-size: 1.15rem;   /* antes 1.35rem → más compacto */
        margin: 4px 0 14px 0;
    }

    .landing-btn-green,
    .landing-btn-blue,
    .landing-btn-orange {
        padding: 12px 24px;   /* antes 16px 32px → reduce altura */
        font-size: 1.05rem;
    }
}


