:root{
    /* COLORES CORPORATIVOS */

    --primary:#0097AF;
    --primary-hover:#00849A;

    --secondary:#7399A1;

    --dark:#0F375B;

    /* FONDOS */

    --bg:#FCFCFC;
    --section:#F4F8FA;
    --white:#FFFFFF;

    /* TEXTOS */

    --text:#263746;
    --text-light:#64748B;

    /* BORDES */

    --border:#DCE7EC;

    /* SOMBRAS */

    --shadow-sm:0 8px 25px rgba(15,55,91,.05);

    --shadow-md:0 15px 40px rgba(15,55,91,.08);

    --shadow-lg:0 25px 60px rgba(15,55,91,.12);

    /* OTROS */

    --radius:22px;

    --transition:.3s ease;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ======= HEADER ======= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
}

.nav{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
}

.logo a{
    display:flex;
    align-items:center;
}

.logo img{
    height: 40px;
    width:auto;
    display:block;
    transition:.3s ease;
}

.logo img:hover{
    opacity:.9;
}

.nav ul{
    display:flex;
    gap:35px;
}

.nav ul a{
    color: var(--dark);
    font-weight:600;
    transition:var(--transition);
}

.nav ul a:hover{
    color:var(--primary);
}

/* BOTONES */
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 10px 20px;

    background:var(--primary);
    color: #fff;
    text-decoration: none;

    border: none;
    border-radius: 15px;

    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;

    cursor: pointer;

    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(0, 137, 181, 0.12);
}

.btn-nav:hover {
    background: #00769c;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 137, 181, 0.18);
}

.btn-nav i {
    width: 20px;
    height: 20px;
    color: #fff;
    flex-shrink: 0;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 30px;
    background:var(--primary);
    color:white;
    border-radius:14px;
    font-weight:700;
    transition:var(--transition);
}

.btn-primary:hover{
    background:var(--primary-hover);
    transform:translateY(-3px);
}

.btn-secondary{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:16px 30px;

    border:2px solid var(--primary);

    color:var(--primary);

    border-radius:14px;

    font-weight:700;

    transition:var(--transition);

}

.btn-secondary:hover{

    background:var(--primary);

    color:white;

}

/* ===================================================
   HERO
=================================================== */

.hero{

    padding:100px 50px;

    background:
    radial-gradient(
        circle at top left,
        rgba(0,151,175,.12),
        transparent 40%
    ),

    radial-gradient(
        circle at bottom right,
        rgba(115,153,161,.12),
        transparent 40%
    ),

    #FCFCFC;

}

.hero-content{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

}

.tag{

    display:inline-block;

    padding:10px 18px;

    background:rgba(0,151,175,.12);

    color:var(--primary);

    border-radius:50px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:25px;

}

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;

    color: var(--dark);
    margin-bottom: 25px;
}

.hero p{

    font-size:1rem;

    color:var(--text-light);

    margin-bottom:35px;

    max-width:620px;

}

.hero-buttons{

    display:flex;
    gap:25px;
    flex-wrap:wrap;

}

/* FOTO HERO */

.hero-image{

    display:flex;
    justify-content:center;
    align-items:center;

}

.hero-circle{

    width:500px;
    height:500px;

    border-radius:50%;

    overflow:hidden;

    border:22px solid var(--secondary);

    box-shadow:var(--shadow-lg);

}

.hero-circle img{

    width:100%;
    height:100%;
    object-fit:cover;

}

/* ===================================================
   TITULOS
=================================================== */

.section{

    padding:50px 50px;

}

.section-title{

    margin-bottom:50px;

}

.section-title span{

    color:var(--primary);

    font-size:.9rem;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:1px;

}

.section-title h2{

    margin-top:12px;

    color:var(--dark);

    font-size:3rem;

}

.center{

    text-align:center;

}

/* ===================================================
   QUIENES SOMOS
=================================================== */

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    border-radius:var(--radius);

    box-shadow:var(--shadow-md);

}

.about-content p{
    margin-bottom:20px;
    color:var(--text-light);
}

.about-box h3{
    color:var(--dark)
}

/* ===================================================
   TARJETAS
=================================================== */

.card{

    background:white;

    border-radius:var(--radius);

    padding:35px;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}

/* ===================================================
   A QUIENES AYUDAMOS
=================================================== */

.audience{

    background:var(--section);

}

.audience-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.audience-card{

    background:white;

    padding:35px;

    border-radius:var(--radius);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.audience-card:hover{

    transform:translateY(-8px);

}

.audience-card h3{

    color:var(--dark);

    margin-bottom:15px;

}

.audience-card p{

    color:var(--text-light);

}

/* ===================================================
   PROBLEMAS
=================================================== */

.problem-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.problem-grid div{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    border-left:5px solid var(--primary);

    box-shadow:var(--shadow-sm);

}

/* ===================================================
   SERVICIOS
=================================================== */

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.service-card{

    background:white;

    padding:25px;

    border-radius:var(--radius);

    box-shadow:var(--shadow-md);

    transition:var(--transition);

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-card h3{

    color:var(--dark);

    margin-bottom:20px;

}

.service-card li{

    margin-bottom:10px;

    color:var(--text-light);

}

/* ===================================================
   METODOLOGIA
=================================================== */

.process{
    background:var(--section);
    padding: 50px;
}

.steps{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.step{

    background:white;

    padding:35px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow-sm);

}

.step span{

    display:block;

    font-size:2.5rem;

    font-weight:800;

    color:var(--primary);

    margin-bottom:15px;

}

/* ===================================================
   DIFERENCIAL
=================================================== */

.diferencial-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.diff-card{

    background:white;

    padding:35px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow-sm);

    border-top:4px solid var(--primary);

}

/* CTA */

.cta{

    padding:50px 0;

    background:
    linear-gradient(
        135deg,
        var(--dark),
        var(--primary)
    );

    color:white;

    text-align:center;

}

.cta h2{

    font-size:3rem;
   
    margin: 20px 100px;

}

.cta p{

    max-width:700px;

    margin:0 auto 35px;

}

.cta .btn-primary{

    background:white;

    color:var(--dark);
}

/*CONTACTO*/

.contacto-section{

    padding:50px 10px;
    background:#f4f8fb;

}

.contacto-wrapper{
    max-width:1180px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

/*HEADER*/

.contacto-header{

    padding:40px 30px 20px;
    text-align:center;

}

.contacto-header h2{

    font-size:20px;
    letter-spacing:2px;
    color:var(--primary);
    font-weight:700;

}

.contacto-header span{
    display:block;
    width:60px;
    height:3px;
    background:var(--primary);
    margin:5px auto 0;
    border-radius:10px;
}

.contacto-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:22px;

    padding:10px 55px 40px;

}

.contacto-card{

    border:1px solid #e9edf2;

    border-radius:18px;

    padding:20px 0;

    text-align:center;

    transition:.35s;

}

.contacto-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.icon-circle{

    width:70px;
    height:70px;

    margin:auto;

    border-radius:50%;

    background:#eef8f9;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:20px;

}

.icon-circle i{

    font-size:25px;
    color:var(--primary);

}

.contacto-card h3{

    font-size:16px;
    color:var(--primary);

    letter-spacing:1px;

}

.contacto-card .line{

    width:42px;
    height:3px;

    background:var(--primary);

    display:block;

    margin:5px auto 22px;

    border-radius:5px;

}

.contacto-card a {
    text-decoration: none;
    color: inherit;
}
 

.contacto-card p{

    color: var(--dark);

    font-size:16px;

    line-height:1.7;

}

/*=============================
SOCIAL
=============================*/

.contacto-social{

    display:flex;
    align-items:center;
    gap:35px;

    padding:0 55px 35px;

}

.contacto-social span{

    flex:1;
    height:1px;
    background:#dde5ea;

}

.contacto-social a{

    text-decoration:none;

    color: var(--dark);

    display:flex;
    align-items:center;
    gap:12px;

    font-size:16px;

    font-weight:600;

}

.contacto-social i{

    font-size:34px;

}

.fa-linkedin{

    color:#0A66C2;

}

.fa-whatsapp{

    color:#25D366;

}

/*FOOTER*/

.contacto-footer{

    background:#071d31;

    color:#fff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 60px;

}

.footer-left{
    display:flex;
    align-items:center;
}

.footer-left img{
    width:80px;
}

.footer-left h4{
    font-size:38px;
    letter-spacing:1px;
}

.footer-left p{
    color:#d7dce1;
    margin-top: -15px;
}

.footer-divider{

    width:1px;
    height:60px;

    background:rgba(255,255,255,.18);

}

.footer-right{
    display:flex;
    align-items:center;
    gap:20px;
    max-width:450px;
}

.footer-right i{

    font-size:42px;

    color:#8ca4ba;

}

.footer-right p{

    color:#d5dbe2;

    line-height:1.5;

}

/*=============================
RESPONSIVE
=============================*/

@media(max-width:992px){

    .contacto-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .contacto-footer{

        flex-direction:column;
        gap:30px;
        text-align:center;

    }

    .footer-divider{

        display:none;

    }

}

@media(max-width:768px){

    .contacto-grid{

        grid-template-columns:1fr;

        padding:25px;

    }

    .contacto-social{

        flex-direction:column;
        gap:25px;

    }

    .contacto-social span{

        display:none;

    }

    .footer-left{

        flex-direction:column;

    }

}

/* ===================================================
   RESPONSIVE TABLET
=================================================== */

@media(max-width:992px){

    .hero-content,
    .about-grid{

        grid-template-columns:1fr;

    }

    .services-grid,
    .audience-grid,
    .steps,
    .problem-grid,
    .diferencial-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .hero h1{

        font-size:3rem;

    }

    .hero-circle{

        width:380px;
        height:380px;

    }

}

/* ===================================================
   RESPONSIVE MOBILE
=================================================== */

@media(max-width:768px){

    .nav ul{

        display:none;

    }

    .hero{

        padding-top:140px;

    }

    .hero h1{

        font-size:2.3rem;

    }

    .section-title h2{

        font-size:2rem;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .services-grid,
    .audience-grid,
    .steps,
    .problem-grid,
    .diferencial-grid{

        grid-template-columns:1fr;

    }

    .hero-circle{

        width:280px;
        height:280px;
        border-width:14px;

    }

}

/* ===================================================
   ANIMACION SUAVE
=================================================== */

.service-card,
.audience-card,
.diff-card,
.step{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(25px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* Ajustes SEO: imagenes con width/height y aviso legal */
.footer-left img{height:auto}
.aviso-legal{max-width:1100px;margin:20px auto 0;padding:0 20px 20px;text-align:center;font-size:13px;line-height:1.6;opacity:.8}
.aviso-legal a{text-decoration:underline}
.contacto-card p a{color:inherit}

.services-grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:992px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.services-grid{grid-template-columns:1fr}}

/* Paginas de servicio */
.page-main{padding:60px 0 40px}
.page-body{max-width:860px}
.page-body h1{font-size:clamp(28px,4vw,42px);line-height:1.2;margin:10px 0 24px}
.page-body h2{font-size:24px;margin:34px 0 12px}
.page-body h3{font-size:18px;margin:22px 0 6px}
.page-body p,.page-body li{line-height:1.75;margin-bottom:12px}
.page-body ul{padding-left:22px;margin-bottom:12px}
.breadcrumb{font-size:14px;opacity:.8}
.breadcrumb a{text-decoration:underline}
.page-cta{margin:44px 0 10px;padding:30px;border-radius:12px;background:#f3f6fa;text-align:center}
.page-cta .btn-primary,.page-cta .btn-secondary{display:inline-block;margin:8px 6px 0}
.page-related li{margin-bottom:6px}

.post-img{margin:22px 0}
.post-img img{width:100%;height:auto;border-radius:14px}

/* Servicios con bajada */
.service-lead{margin:-8px 0 16px;color:var(--text-light);font-size:.95em;line-height:1.5;font-weight:500}
.step small{display:block;margin-top:10px;font-size:.8em;font-weight:400;line-height:1.4;opacity:.8}

/* Ajuste de menu en pantallas medias */
.btn-nav{white-space:nowrap}
@media (max-width:1100px) and (min-width:769px){.nav ul{gap:16px}.nav ul a{font-size:.92rem}.btn-nav{padding:8px 14px;font-size:.9rem;gap:8px}}
