/* ==========================
   RESET
========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:#1f2937;
    background:#ffffff;
    line-height:1.6;
}

/* ==========================
   VARIABLES
========================== */

:root{

    --primary:#1f5b9b;
    --primary-dark:#173f6d;

    --secondary:#2f855a;
    --secondary-dark:#276749;

    --light:#f8fafc;
    --gray:#64748b;

    --white:#ffffff;

    --shadow:
        0 10px 30px
        rgba(0,0,0,.08);

    --radius:16px;
}

/* ==========================
   CONTAINER
========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   HEADER
========================== */

.header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    z-index:999;

    box-shadow:
        0 2px 15px rgba(0,0,0,.05);

}

.nav-container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:90px;

}

.logo{

    height:72px;
    width:auto;

}

.nav{

    display:flex;
    gap:2rem;

}

.nav a{

    text-decoration:none;

    color:#1f2937;

    font-weight:600;

    transition:.3s;

}

.nav a:hover{

    color:var(--primary);

}

/* ==========================
   HERO
========================== */

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;

    background:

    linear-gradient(
        135deg,
        #173f6d,
        #1f5b9b
    );

    color:white;

    padding-top:100px;

}

.hero-content{

    text-align:center;

}

.hero-badge{

    display:inline-block;

    padding:.6rem 1rem;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    margin-bottom:2rem;

    font-weight:600;

}

.hero h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:1.5rem;

    font-weight:800;

}

.hero p{

    max-width:700px;

    margin:auto;

    font-size:1.25rem;

    opacity:.95;

    margin-bottom:2rem;

}

/* ==========================
   BOTONES
========================== */

.hero-buttons{

    display:flex;
    justify-content:center;
    gap:1rem;

    flex-wrap:wrap;

}

.btn-primary{

    background:var(--secondary);

    color:white;

    text-decoration:none;

    padding:1rem 2rem;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:var(--secondary-dark);

}

.btn-secondary{

    background:white;

    color:var(--primary);

    text-decoration:none;

    padding:1rem 2rem;

    border-radius:999px;

    font-weight:700;

}

.btn-secondary:hover{

    transform:translateY(-3px);

}

/* ==========================
   SECCIONES
========================== */

.section{

    padding:7rem 0;

}

.bg-light{

    background:var(--light);

}

.section-header{

    text-align:center;

    margin-bottom:4rem;

}

.section-tag{

    display:inline-block;

    padding:.5rem 1rem;

    background:#e2e8f0;

    border-radius:999px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:1rem;

}

.section-header h2{

    font-size:2.8rem;

    line-height:1.2;

    margin-bottom:1rem;

}

.section-header p{

    max-width:800px;

    margin:auto;

    color:var(--gray);

    font-size:1.1rem;

}

/* ==========================
   GRID 3 COLUMNAS
========================== */

.cards-3{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(280px,1fr)
    );

    gap:2rem;

}

.feature-card,
.problem-card{

    background:white;

    padding:2rem;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s;

}

.feature-card:hover,
.problem-card:hover{

    transform:translateY(-6px);

}

.feature-icon{

    width:70px;
    height:70px;

    border-radius:50%;

    background:#eef4ff;

    display:flex;

    align-items:center;
    justify-content:center;

    margin-bottom:1rem;

}

.feature-icon i{

    font-size:1.5rem;

    color:var(--primary);

}

.problem-card i{

    font-size:2rem;

    color:var(--primary);

    margin-bottom:1rem;

}

.feature-card h3,
.problem-card h3{

    margin-bottom:1rem;

    font-size:1.3rem;

}

/* ==========================
   CALCULADORA
========================== */

.calculator{

    background:white;

    padding:3rem;

    border-radius:24px;

    box-shadow:var(--shadow);

}

.calculator-input{

    text-align:center;

    margin-bottom:3rem;

}

.calculator-input label{

    display:block;

    font-size:1.1rem;

    font-weight:700;

    margin-bottom:1rem;

}

.calculator-input input{

    width:100%;

    max-width:600px;

}

.empleados-value{

    margin-top:1rem;

    font-size:1.3rem;

    font-weight:700;

    color:var(--primary);

}

.calculator-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(220px,1fr)
    );

    gap:1.5rem;

    margin-bottom:2rem;

}

.calc-card{

    background:#f8fafc;

    border:1px solid #e5e7eb;

    border-radius:16px;

    padding:2rem;

    text-align:center;

}

.calc-card h3{

    margin-bottom:1rem;

    color:var(--gray);

}

.calc-card div{

    font-size:1.8rem;

    font-weight:800;

    color:var(--primary);

}

.calc-total{

    text-align:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    padding:2rem;

    border-radius:20px;

}

.calc-total span{

    display:block;

    margin-bottom:.5rem;

}

.calc-total h3{

    font-size:3rem;

}

/* ==========================
   SOLUCIONES
========================== */

.solutions-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(300px,1fr)
    );

    gap:2rem;

}

.solution-card{

    background:white;

    border-radius:20px;

    padding:2.5rem;

    box-shadow:var(--shadow);

    transition:.3s;

}

.solution-card:hover{

    transform:translateY(-8px);

}

.solution-card.featured{

    border:3px solid var(--secondary);

}

.solution-number{

    width:60px;
    height:60px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:800;

    margin-bottom:1.5rem;

}

.solution-card h3{

    margin-bottom:1.5rem;

    font-size:1.5rem;

}

.solution-card ul{

    list-style:none;

}

.solution-card li{

    padding:.5rem 0;

    border-bottom:1px solid #eee;

}

.solution-card li:last-child{

    border:none;

}

/* ==========================
   COMPARATIVA
========================== */

.comparison-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(350px,1fr)
    );

    gap:2rem;

}

.comparison-card{

    padding:3rem;

    border-radius:20px;

    color:white;

}

.negative{

    background:#dc2626;

}

.positive{

    background:#16a34a;

}

.comparison-card h3{

    margin-bottom:2rem;

    font-size:2rem;

}

.comparison-card ul{

    list-style:none;

}

.comparison-card li{

    padding:.8rem 0;

    border-bottom:
    1px solid rgba(255,255,255,.2);

}

/* ==========================
   PROCESO
========================== */

.process-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(250px,1fr)
    );

    gap:2rem;

}

.process-card{

    background:white;

    border-radius:20px;

    padding:2rem;

    text-align:center;

    box-shadow:var(--shadow);

}

.process-number{

    width:70px;
    height:70px;

    margin:auto auto 1rem;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.5rem;

    font-weight:800;

}

/* ==========================
   EQUIPO
========================== */

.team-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(320px,1fr)
    );

    gap:2rem;

}

.team-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.3s;

}

.team-card:hover{

    transform:translateY(-8px);

}

.team-card img{

    width:100%;

    height:420px;

    object-fit:cover;

}

.team-content{

    padding:2rem;

}

.team-content h3{

    margin-bottom:.5rem;

}

.team-content span{

    color:var(--secondary);

    font-weight:700;

    display:block;

    margin-bottom:1rem;

}

/* ==========================
   GARANTIAS
========================== */

.guarantee-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(250px,1fr)
    );

    gap:2rem;

}

.guarantee-card{

    background:white;

    padding:2rem;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.guarantee-card h3{

    color:var(--primary);

    font-size:2.5rem;

    margin-bottom:1rem;

}

.guarantee-card h4{

    margin-bottom:1rem;

}

/* ==========================
   CONTACTO
========================== */

.contact-section{

    background:linear-gradient(
        135deg,
        #173f6d,
        #1f5b9b
    );

    color:white;

    text-align:center;

    padding:7rem 0;

}

.contact-section h2{

    font-size:3rem;

    margin-bottom:1.5rem;

}

.contact-section p{

    max-width:800px;

    margin:auto;

    margin-bottom:2rem;

}

.contact-links{

    display:flex;

    justify-content:center;

    gap:1rem;

    flex-wrap:wrap;

    margin-bottom:2rem;

}

.contact-links a{

    background:white;

    color:var(--primary);

    text-decoration:none;

    padding:1rem 1.5rem;

    border-radius:999px;

    font-weight:700;

}

.footer-claims{

    font-size:1.3rem;

    font-weight:700;

}

/* ==========================
   WHATSAPP
========================== */

.whatsapp-float{

    position:fixed;

    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:2rem;

    z-index:9999;

    box-shadow:
    0 10px 30px rgba(0,0,0,.2);

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.08);

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

    .hero h1{

        font-size:2.8rem;

    }

    .section-header h2{

        font-size:2rem;

    }

    .nav{

        display:none;

    }

}

@media(max-width:600px){

    .hero{

        min-height:auto;

        padding:140px 0 80px;

    }

    .hero h1{

        font-size:2.2rem;

    }

    .hero p{

        font-size:1rem;

    }

    .contact-section h2{

        font-size:2rem;

    }

    .calc-total h3{

        font-size:2rem;

    }

    .team-card img{

        height:340px;

    }

}