/* =========================================================
   Mi ReVibe® — Public Landing CSS
   Archivo: /public/assets/css/revibe-public.css
   Uso: index.php público
   ========================================================= */

:root{
    --primary:#0f766e;
    --primary-dark:#0b5f59;
    --primary-soft:#e8f7f5;

    --dark:#0f172a;
    --text:#334155;
    --muted:#64748b;
    --bg:#fbfcfc;
    --white:#ffffff;
    --border:#e5e7eb;

    --shadow-soft:0 18px 45px rgba(15,23,42,.07);
    --shadow-button:0 14px 28px rgba(15,118,110,.22);

    --radius-md:22px;
    --radius-pill:999px;
    --max:1080px;
}

/* Reset */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:
        radial-gradient(circle at 85% 8%, rgba(15,118,110,.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    color:var(--text);
    line-height:1.6;
    min-height:100vh;
}

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

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

/* Contenedor */

.container{
    width:min(var(--max), calc(100% - 48px));
    margin:0 auto;
}

/* Hero */

.hero{
    text-align:center;
    padding:10px 24px 54px;
    border-bottom:1px solid rgba(226,232,240,.85);
}

.logo{
    width:118px;
    height:auto;
    display:block;
    margin:0 auto 34px;
}

.kicker{
    display:block;
    width:max-content;
    max-width:100%;
    margin:0 auto 18px;
    color:var(--primary);
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.28em;
    text-transform:uppercase;
    text-align:center;
}

.hero h1{
    max-width:820px;
    margin:0 auto 22px;
    color:var(--dark);
    font-size:clamp(3rem, 6.4vw, 5.3rem);
    line-height:1;
    letter-spacing:-.065em;
    font-weight:950;
}

.subtitle{
    max-width:720px;
    margin:0 auto;
    color:#3a4d66;
    font-size:clamp(1.02rem, 1.35vw, 1.18rem);
    line-height:1.7;
}

/* CTA */

.hero-actions{
    margin-top:30px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:0 38px;
    border-radius:var(--radius-pill);
    background:var(--primary);
    color:var(--white);
    font-weight:900;
    font-size:1.03rem;
    box-shadow:var(--shadow-button);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover{
    background:var(--primary-dark);
    transform:translateY(-1px);
    box-shadow:0 18px 34px rgba(15,118,110,.26);
}

.secondary-link{
    display:block;
    margin-top:18px;
    color:var(--muted);
    font-size:.98rem;
    text-align:center;
}

.secondary-link a{
    color:var(--primary);
    font-weight:900;
}

/* Secciones */

.section{
    padding:46px 0;
    border-bottom:1px solid rgba(226,232,240,.75);
}

.section-label{
    display:block;
    width:max-content;
    max-width:100%;
    margin:0 auto 28px;
    padding:4px 8px;
    color:var(--primary);
    background:transparent;
    font-size:.76rem;
    font-weight:950;
    letter-spacing:.28em;
    text-transform:uppercase;
    text-align:center;
}

.section h2{
    color:var(--dark);
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.28em;
    font-weight:950;
    margin-bottom:20px;
}

/* Cards */

.grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
    width:100%;
    margin:0 auto;
}

.card{
    background:rgba(255,255,255,.88);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:28px 30px;
    min-height:170px;
    box-shadow:0 10px 28px rgba(15,23,42,.035);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover{
    transform:translateY(-2px);
    border-color:#c9dedb;
    box-shadow:var(--shadow-soft);
}

.card strong{
    display:block;
    color:var(--dark);
    font-size:1.1rem;
    line-height:1.3;
    margin-bottom:12px;
    font-weight:900;
}

.card p{
    color:#65758b;
    font-size:1rem;
    line-height:1.6;
}

/* Importante */

.important{
    padding-bottom:34px;
}

/* Ajuste bloque Importante */
.important h2{
    text-align:center;
    margin-bottom:20px;
    font-size:.82rem;
    font-weight:950;
    letter-spacing:.28em;
    text-transform:uppercase;
}

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

.notice-card p{
    max-width:820px;
    margin:0 auto;
    color:#475569;
    font-size:1rem;
    line-height:1.7;
    font-weight:400;
    letter-spacing:0;
    text-transform:none;
}

/* Footer */

footer{
    width:min(var(--max), calc(100% - 48px));
    margin:0 auto;
    padding:26px 24px 34px;
    color:var(--muted);
    text-align:center;
    font-size:.92rem;
}

/* Responsive */

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

    .hero{
        padding:8px 14px 46px;
    }

    .logo{
        width:104px;
        margin-bottom:28px;
    }

    .hero h1{
        font-size:clamp(2.55rem, 12vw, 4.2rem);
        line-height:1;
    }

    .subtitle{
        font-size:1rem;
        line-height:1.65;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .section{
        padding:38px 0;
    }

    .card{
        min-height:auto;
        padding:26px 24px;
    }
}

@media(max-width:560px){
    .hero{
        padding-top:4px;
    }

    .kicker,
    .section-label,
    .section h2{
        font-size:.68rem;
        letter-spacing:.2em;
        white-space:normal;
        width:auto;
    }

    .btn{
        width:100%;
        max-width:340px;
        min-height:54px;
        padding:0 24px;
    }

    .notice-card{
        padding:24px 22px;
    }
}