

/* =========================================
RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f8fafc;
    color:#020617;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

.container{
    width:90%;
    max-width:1320px;
    margin:auto;
}

/* =========================================
HEADER
========================================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,0.82);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,0.4);
    box-shadow:0 4px 20px rgba(15,23,42,0.04);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:6px 0;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:150px;
    transition:0.3s;
}

.logo img:hover{
    transform:scale(1.03);
}

nav ul{
    display:flex;
    gap:40px;
    list-style:none;
}

nav ul li a{
    text-decoration:none;
    color:#0f172a;
    font-weight:700;
    transition:0.3s;
    position:relative;
}

nav ul li a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#22c55e;
    transition:0.3s;
}

nav ul li a:hover{
    color:#22c55e;
}

nav ul li a:hover::after{
    width:100%;
}

/* BOTON */

.nav-btn{
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    text-decoration:none;
    padding:12px 22px;
    border-radius:14px;
    font-weight:700;
    transition:0.3s;
    box-shadow:0 12px 30px rgba(34,197,94,0.25);
    white-space:nowrap;
}

.nav-btn:hover{
    transform:translateY(-3px);
}

/* REDES */

.social-icons{
    display:flex;
    align-items:center;
    gap:14px;
}

.social-icons a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:white;
    color:#0f172a;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    transition:0.3s;
    box-shadow:0 10px 25px rgba(15,23,42,0.06);
}

.social-icons a:hover{
    background:#22c55e;
    color:white;
    transform:translateY(-3px);
}

/* =========================================
HERO
========================================= */

.hero{
    position:relative;
    min-height:auto;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding-top:125px;
    padding-bottom:40px;
}

.hero-bg{
    position:absolute;
    inset:0;
    background:url('../img/puerto-varas.jpg') center center/cover no-repeat;
    transform:scale(1.08);
    z-index:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(248,250,252,0.88) 20%,
        rgba(248,250,252,0.62) 50%,
        rgba(248,250,252,0.10) 100%
    );
    z-index:2;
}

.hero-light{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    z-index:2;
}

.hero-light-1{
    width:320px;
    height:320px;
    background:rgba(34,197,94,0.12);
    top:120px;
    right:160px;
}

.hero-light-2{
    width:280px;
    height:280px;
    background:rgba(245,158,11,0.12);
    bottom:80px;
    right:320px;
}

.hero-grid{
    position:relative;
    z-index:5;
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:40px;
    align-items:center;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:white;
    padding:14px 22px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    color:#16a34a;
    font-size:13px;
    font-weight:700;
    margin-bottom:30px;
    box-shadow:0 10px 25px rgba(15,23,42,0.05);
}

.hero-text h1{
    font-size:58px;
    line-height:1;
    margin-bottom:30px;
    font-weight:900;
    letter-spacing:-2px;
}

.gradient{
    background:linear-gradient(90deg,#22c55e,#f59e0b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-text p{
    color:#334155;
    font-size:18px;
    line-height:1.9;
    max-width:650px;
    margin-bottom:45px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-bottom:50px;
    flex-wrap:wrap;
}

.btn{
    padding:18px 30px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.btn-primary{
    background:#22c55e;
    color:white;
    box-shadow:0 12px 30px rgba(34,197,94,0.25);
}

.btn-glass{
    background:rgba(255,255,255,0.84);
    backdrop-filter:blur(10px);
    border:1px solid #dbe2ea;
    color:#0f172a;
}

.btn:hover{
    transform:translateY(-4px);
}

/* STATS */

.hero-stats{
    display:flex;
    gap:45px;
    flex-wrap:wrap;
}

.hero-stat h3{
    font-size:44px;
    color:#22c55e;
    font-weight:900;
}

.hero-stat span{
    color:#475569;
    font-size:15px;
    font-weight:600;
}

/* IMAGE */

.hero-image-area{
    position:relative;
}

.hero-main-image{
    height:390px;
    border-radius:48px;
    overflow:hidden;
    position:relative;
    box-shadow:0 40px 90px rgba(15,23,42,0.22);
}

.hero-main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 20%;
    transition:0.6s;
}

.hero-main-image:hover img{
    transform:scale(1.05);
}

/* FLOAT */

.float-card{
    position:absolute;
    background:rgba(255,255,255,0.82);
    backdrop-filter:blur(12px);
    border-radius:22px;
    padding:16px 18px;
    display:flex;
    gap:14px;
    align-items:center;
    max-width:260px;
    z-index:10;
    box-shadow:0 18px 40px rgba(15,23,42,0.14);
}

.card-1{
    top:100px;
    left:-20px;
}

.card-2{
    bottom:20px;
    right:-20px;
}

.float-card h4{
    font-size:15px;
    margin-bottom:4px;
}

.float-card p{
    font-size:14px;
    line-height:1.4;
}

.float-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
}

/* =========================================
SECTIONS
========================================= */

section{
    padding:120px 0;
}

.section-title{
    text-align:center;
    margin-bottom:80px;
}

.section-title h2{
    font-size:58px;
    margin-bottom:20px;
    font-weight:900;
}

.section-title p{
    color:#475569;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

/* =========================================
SERVICES
========================================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:white;
    border-radius:30px;
    padding:50px 42px;
    border:1px solid #e5e7eb;
    transition:transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow:0 10px 25px rgba(15,23,42,0.04);
}

.service-card:hover{
    transform:translateY(-12px);
    border-color:#22c55e;
    box-shadow:0 20px 60px rgba(15,23,42,0.10);
}

.service-card i{
    font-size:56px;
    margin-top:10px;
    margin-bottom:28px;
    background:linear-gradient(135deg,#22c55e,#f59e0b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.service-card h3{
    font-size:28px;
    margin-bottom:20px;
    font-weight:800;
    line-height:1.15;
    max-width:180px;
}

.service-card p{
    color:#475569;
    line-height:1.8;
}

.expand-btn{
    margin-top:25px;
    width:100%;
    background:#22c55e;
    color:white;
    border:none;
    padding:14px 20px;
    border-radius:14px;
    cursor:pointer;
    font-weight:700;
    transition:0.3s;
}

.expand-btn:hover{
    background:#16a34a;
}

.service-content{
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
    margin-top:0;
}

.service-card.active .service-content{
    max-height:500px;
    opacity:1;
    margin-top:25px;
}

.service-card.active{
    border:2px solid #22c55e;
    transform:translateY(-10px);
    box-shadow:0 30px 60px rgba(34,197,94,0.12);
}

.service-card.active .expand-btn{
    background:#0f172a;
}

.service-content ul{
    list-style:none;
}

.service-content li{
    position:relative;
    padding-left:34px;
    margin-bottom:18px;
    color:#334155;
    line-height:1.7;
    font-size:15px;
}

.service-content li::before{
    content:'✓';
    position:absolute;
    left:0;
    top:2px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:white;
    font-size:12px;
    font-weight:bold;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 6px 14px rgba(34,197,94,0.18);
}

/* =========================================
CLIENTES
========================================= */

.clientes{
    background:white;
}

.clientes-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
}

.cliente-card{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:28px;
    height:190px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:25px;
    transition:0.35s;
    box-shadow:0 10px 25px rgba(15,23,42,0.04);
}

.cliente-card:hover{
    transform:translateY(-10px);
    border-color:#22c55e;
    box-shadow:0 20px 45px rgba(15,23,42,0.08);
}

.cliente-card img{
    max-width:100%;
    max-height:110px;
    object-fit:contain;
}

/* =========================================
CONTACTO
========================================= */

.contact-section{
    background:white;
    padding-bottom:40px;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-info h2{
    font-size:56px;
    margin-bottom:25px;
    font-weight:900;
}

.contact-info p{
    color:#475569;
    line-height:1.8;
    margin-bottom:40px;
}

.contact-item{
    display:flex;
    gap:18px;
    margin-bottom:28px;
}

.contact-icon{
    width:60px;
    height:60px;
    background:#22c55e;
    color:white;
    border-radius:18px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.contact-form-box{
    background:white;
    border:1px solid #e5e7eb;
    padding:45px;
    border-radius:32px;
    box-shadow:0 20px 45px rgba(15,23,42,0.06);
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea{
    width:100%;
    padding:18px;
    border:1px solid #dbe2ea;
    border-radius:16px;
    margin-bottom:18px;
    font-size:16px;
    font-family:'Inter',sans-serif;
}

.contact-form-box textarea{
    height:160px;
    resize:none;
}

.form-btn{
    width:100%;
    border:none;
    cursor:pointer;
}

/* =========================================
FOOTER
========================================= */

footer{
    padding:40px 20px 50px;
    background:#ffffff;
    border-top:1px solid #e2e8f0;
}

.footer-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:22px;
}

.footer-content img{
    width:140px;
}

.footer-content p{
    max-width:520px;
    color:#64748b;
    line-height:1.7;
    font-size:18px;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:16px;
    margin-top:10px;
}

.footer-social a{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#f1f5f9;
    color:#0f172a;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
    box-shadow:0 10px 25px rgba(15,23,42,0.06);
}

.footer-social a:hover{
    background:#22c55e;
    color:white;
    transform:translateY(-4px);
}

.footer-content span{
    color:#94a3b8;
    font-size:15px;
}

/* =========================================
WHATSAPP
========================================= */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:68px;
    height:68px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    text-decoration:none;
    z-index:999;
    box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1200px){

    .clientes-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .hero-text h1{
        font-size:68px;
    }
}

@media(max-width:992px){

    nav{
        display:none;
    }

    .hero-grid,
    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .hero-main-image{
        height:360px;
    }

    .hero-text h1{
        font-size:54px;
    }

    .card-1,
    .card-2{
        position:relative;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
        margin-top:20px;
    }
}

@media(max-width:768px){

    .clientes-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-text h1{
        font-size:44px;
    }
}

@media(max-width:520px){

    header{
        backdrop-filter:none;
        background:rgba(255,255,255,0.96);
    }

    .navbar{
        gap:8px;
    }

    .logo img{
        width:82px;
    }

    .social-icons{
        gap:6px;
    }

    .social-icons a{
        width:34px;
        height:34px;
        font-size:14px;
    }

    .nav-btn{
        padding:10px 14px;
        font-size:13px;
        border-radius:12px;
    }

    .hero{
        padding-top:120px;
    }

    .hero-bg{
        background:url('../img/puerto-varas-mobile.webp') center center/cover no-repeat;
    }

    .hero-grid{
        gap:30px;
    }

    .hero-text h1{
        font-size:42px;
        line-height:1.12;
        letter-spacing:-1px;
        margin-bottom:18px;
    }

    .hero-text p{
        font-size:18px;
        line-height:1.7;
    }

    .hero-buttons{
        margin-bottom:35px;
    }

    .hero-stats{
        gap:22px;
    }

    .hero-stat h3{
        font-size:36px;
    }

    .hero-main-image{
        height:260px;
        border-radius:30px;
        box-shadow:0 12px 30px rgba(15,23,42,0.12);
    }

    .hero-main-image img{
        object-position:center 25%;
    }

    .float-card{
        position:absolute;
        max-width:190px;
        padding:12px;
        gap:10px;
        border-radius:18px;
        backdrop-filter:none;
        box-shadow:0 10px 20px rgba(15,23,42,0.10);
    }

    .float-icon{
        width:48px;
        height:48px;
        font-size:18px;
        border-radius:14px;
    }

    .float-card h4{
        font-size:13px;
        line-height:1.2;
    }

    .float-card p{
        font-size:12px;
        line-height:1.35;
    }

    .card-1{
        top:15px;
        left:10px;
    }

    .card-2{
        bottom:15px;
        right:10px;
    }

    .clientes-grid{
        grid-template-columns:1fr 1fr;
        gap:18px;
    }

    .cliente-card{
        height:130px;
        padding:18px;
    }

    .cliente-card img{
        max-height:65px;
    }

    .section-title h2{
        font-size:38px;
    }
}
/* =========================================
INDICADORES
========================================= */

.indicadores{

    padding:50px 0;

    position:relative;

    z-index:5;
}
#servicios{

    padding-top:40px;
}
.indicadores-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;
}

.indicador-card{

    background:rgba(255,255,255,0.88);

    border:1px solid #e5e7eb;

    border-radius:26px;

    padding:28px;

    text-align:center;

    backdrop-filter:blur(10px);

    box-shadow:
    0 12px 30px rgba(15,23,42,0.06);

    transition:0.3s;
}

.indicador-card:hover{

    transform:translateY(-6px);

    border-color:#22c55e;
}

.indicador-card span{

    display:block;

    color:#64748b;

    font-size:14px;

    font-weight:700;

    margin-bottom:12px;

    text-transform:uppercase;

    letter-spacing:1px;
}

.indicador-card h3{

    font-size:34px;

    color:#0f172a;

    font-weight:900;
}

/* MOBILE */

@media(max-width:768px){

    .indicadores-grid{

        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:520px){

    .indicadores{

         padding:30px 0 10px;
    }

    .indicadores-grid{

        gap:14px;
    }

    .indicador-card{

        padding:22px 16px;

        border-radius:20px;
    }

    .indicador-card h3{

        font-size:24px;
    }
}
