/*=========================================================
    HDDNET.NET
    Style.css
    Parte 1
=========================================================*/

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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#333333;
    overflow-x:hidden;
}

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

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

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

    backdrop-filter:blur(10px);

    transition:.35s;

}

header.scroll{

    background:#ffffff;

    box-shadow:0 5px 20px rgba(0,0,0,.10);

}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    height:120px;

    object-fit:contain;

}

nav{

    display:flex;

    align-items:center;

}

nav a{

    margin-left:25px;

    text-decoration:none;

    color:#0A235A;

    font-weight:600;

    transition:.30s;

}

nav a:hover{

    color:#1296F3;

}

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

.btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 35px;

    background:#1296F3;

    color:#ffffff;

    text-decoration:none;

    border-radius:10px;

    font-weight:bold;

    transition:.30s;

}

.btn:hover{

    background:#0B74E5;

    transform:translateY(-3px);

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 20px;

    background:

    linear-gradient(

        rgba(10,35,90,.75),

        rgba(10,35,90,.75)

    ),

    url("../img/hero-banner.webp");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

.hero-content{

    max-width:950px;

}

.hero-content h1{

    font-size:55px;

    color:#ffffff;

    line-height:1.2;

}

.hero-content p{

    color:#ffffff;

    font-size:22px;

    margin-top:20px;

    line-height:1.8;

}

/*==============================
SERVICIOS
==============================*/

#servicios{

    position:relative;

    background:#ffffff;

    margin-top:-80px;

    border-radius:40px 40px 0 0;

    z-index:10;

    padding:120px 10%;

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

}

#servicios h2{

    text-align:center;

    color:#0A235A;

    font-size:42px;

}

.cards{

    display:grid;

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

    gap:25px;

}

.card{

    background:#ffffff;

    padding:35px;

    border-radius:18px;

    text-align:center;

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

    transition:.35s;

    cursor:pointer;

}

.card:hover{

    transform:translateY(-12px) scale(1.02);

    box-shadow:0 22px 45px rgba(0,0,0,.20);

}

.card img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:12px;

}

.card h3{

    color:#0A235A;

    margin-top:20px;

}

.card p{

    color:#555;

    line-height:1.8;

}

/*==============================
NOSOTROS
==============================*/

.nosotros{

    padding:120px 8%;

    background:#ffffff;

}

.nosotros-container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:55% 45%;

    gap:60px;

    align-items:center;

}

.nosotros-texto h2{

    font-size:42px;

    color:#0A235A;

    margin-bottom:25px;

}

.nosotros-texto p{

    font-size:18px;

    line-height:1.8;

    color:#555;

    margin-bottom:20px;

}

.nosotros-imagen{

    background:#ffffff;

    padding:20px;

    border-radius:25px;

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

}

.nosotros-imagen img{

    width:100%;

    max-width:500px;

    height:320px;

    object-fit:cover;

    border-radius:20px;

}

.estadisticas{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.dato{

    text-align:center;

}

.dato h3{

    color:#1296F3;

    font-size:42px;

    margin-bottom:10px;

}

.dato span{

    color:#555;

    font-weight:600;

}

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

#contacto{

    padding:100px 10%;

    background:#f8fafc;

}

#contacto h2{

    text-align:center;

    color:#0A235A;

    margin-bottom:40px;

}

form{

    max-width:800px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

form input,
form textarea{

    width:100%;

    padding:15px;

    border:1px solid #d1d5db;

    border-radius:10px;

    font-size:16px;

}

form textarea{

    min-height:150px;

    resize:none;

}

form button{

    border:none;

    padding:18px;

    border-radius:10px;

    cursor:pointer;

    color:#ffffff;

    font-size:18px;

    font-weight:bold;

    background:linear-gradient(90deg,#1296F3,#5C2DD5);

}

.mensaje-exito{

    display:none;

    margin-top:20px;

    padding:20px;

    background:#d1fae5;

    color:#065f46;

    border:1px solid #10b981;

    border-radius:10px;

    text-align:center;

    font-weight:600;

}

/*==============================
FOOTER
==============================*/

.footer{

    margin-top:80px;

    background:#0A235A;

    color:#ffffff;

}

.footer-container{

    max-width:1200px;

    margin:auto;

    padding:50px 20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    flex-wrap:wrap;

}

.footer-logo img{

    width:180px;

}

.footer-info{

    max-width:700px;

}

.footer-info h3{

    color:#1296F3;

    margin-bottom:15px;

}

.footer-info p{

    color:#dbeafe;

    line-height:1.8;

}

.footer-copy{

    background:#07173d;

    text-align:center;

    padding:20px;

    color:#cbd5e1;

    font-size:14px;

}

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

.whatsapp{

    position:fixed;

    bottom:30px;

    right:30px;

    width:70px;

    height:70px;

    background:#25D366;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

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

    z-index:9999;

}

.whatsapp i{

    color:#ffffff;

    font-size:38px;

}

/*==============================
REDES SOCIALES
==============================*/

.social-icons{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:20px;

}

.social-icons a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    text-decoration:none;

    color:#ffffff;

    background:#0B74E5;

    transition:.30s;

}

.social-icons a:hover{

    transform:translateY(-5px);

    background:#1296F3;

}

.social-floating{

    position:fixed;

    left:20px;

    top:50%;

    transform:translateY(-50%);

    display:flex;

    flex-direction:column;

    gap:18px;

    z-index:9999;

    animation:redesEntrada .8s ease-out;

}

.social-floating a{

    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#ffffff;

    text-decoration:none;

    font-size:28px;

    cursor:pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        filter .35s ease;

    box-shadow:0 10px 25px rgba(0,0,0,.28);

}

.social-floating a:hover{

    transform:translateX(8px) scale(1.18);

    box-shadow:0 18px 35px rgba(0,0,0,.35);

    filter:brightness(1.08);

}   

.facebook{background:#1877F2;}
.instagram{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4);}
.linkedin{background:#0A66C2;}
.tiktok{background:#111111;}

/*=========================================================
    FIN PARTE 1
=========================================================*/
/*=========================================================
    DESARROLLO WEB
=========================================================*/

.hero-web{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:140px 20px 100px;

    background:
    linear-gradient(
        rgba(10,35,90,.82),
        rgba(10,35,90,.82)
    ),
    url("../img/desarrollo-web-banner.webp");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

.hero-web-overlay{

    position:absolute;

    inset:0;

}

.hero-web-content{

    position:relative;

    z-index:2;

    max-width:950px;

    margin:auto;

}

.hero-web-content h1{

    color:#ffffff;

    font-size:58px;

    line-height:1.2;

    margin-bottom:25px;

    font-weight:700;

}

.hero-web-content p{

    color:#ffffff;

    font-size:22px;

    line-height:1.8;

    margin-bottom:35px;

}

.hero-features{

    margin-top:45px;

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:35px;

}

.feature-item{

    display:flex;

    flex-direction:column;

    align-items:center;

    color:#ffffff;

}

.feature-item i{

    font-size:34px;

    color:#1296F3;

    margin-bottom:12px;

}

.feature-item span{

    font-size:15px;

    font-weight:600;

}

/*=========================================================
      DESARROLLO WEB - DOS COLUMNAS
=========================================================*/

.service-intro{

    padding:90px 0;

    background:#fff;

}

.service-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:58% 42%;

    gap:60px;

    align-items:start;

}

.service-left h2{

    font-size:48px;

    color:#0A235A;

    line-height:1.2;

    margin-bottom:25px;

    text-align:left;

}

.service-left>p{

    font-size:20px;

    color:#555;

    line-height:1.8;

    text-align:left;

    margin-bottom:35px;

}

.service-right{

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

}

.service-right .cards{

    width:100%;

    max-width:520px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin:0 auto;

}

.service-right .card{

    padding:25px;

}


/*=========================================================
    BENEFICIOS
=========================================================*/

.beneficios-web{

    padding:90px 10%;

    background:#f8fafc;

}

.beneficios-web h2{

    text-align:center;

    font-size:42px;

    color:#0A235A;

    margin-bottom:55px;

}

.beneficios-web .cards{

    display:grid;

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

    gap:30px;

}

.beneficios-web .card{

    padding:40px 30px;

}

.beneficios-web i{

    color:#1296F3;

    font-size:50px;

    margin-bottom:25px;

}

.beneficios-web h3{

    margin-bottom:15px;

    color:#0A235A;

}

.beneficios-web p{

    line-height:1.8;

}

/*=========================================================
    TARJETAS DESARROLLO WEB
=========================================================*/

.web-services{

    padding:90px 10%;

    background:#ffffff;

}

.web-services h2{

    text-align:center;

    color:#0A235A;

    font-size:42px;

    margin-bottom:50px;

}

.web-services .cards{

    display:grid;

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

    gap:30px;

}

.web-services .card{

    overflow:hidden;

}

.web-services .card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.web-services .card h3{

    margin-top:25px;

    margin-bottom:15px;

}

.web-services .card p{

    line-height:1.8;

}

/*=========================================================
    CTA FINAL
=========================================================*/

.web-cta{

    padding:100px 10%;

    text-align:center;

    background:
    linear-gradient(
        rgba(10,35,90,.92),
        rgba(10,35,90,.92)
    ),
    url("../img/cta-background.webp");

    background-size:cover;

    background-position:center;

}

.web-cta h2{

    color:#ffffff;

    font-size:46px;

    margin-bottom:25px;

}

.web-cta p{

    max-width:900px;

    margin:auto;

    color:#ffffff;

    line-height:1.8;

    font-size:20px;

}

.web-cta .btn{

    margin-top:40px;

}

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

@media(max-width:992px){

    .promo-floating{

        display:none;

    }

}

.hero-features{

gap:25px;

}


@media(max-width:768px){

.hero-web{

padding:150px 20px 90px;

background-attachment:scroll;

}

.hero-web-content h1{

font-size:36px;

}

.hero-web-content p{

font-size:18px;

}

.hero-features{

gap:20px;

}

.feature-item{

width:45%;

}

.service-intro{

padding:70px 8%;

}

.service-intro ul{

grid-template-columns:1fr;

}

.web-services{

padding:70px 8%;

}

.web-cta{

padding:70px 8%;

}

.web-cta h2{

font-size:34px;

}

.social-floating{

left:auto;

right:20px;

bottom:120px;

top:auto;

transform:none;

}

.social-floating a{

width:46px;

height:46px;

font-size:22px;

}

.whatsapp{

width:65px;

height:65px;

right:20px;

bottom:25px;

}

}

@media(max-width:480px){

.hero-web-content h1{

font-size:30px;

}

.hero-web-content p{

font-size:17px;

}

.feature-item{

width:100%;

}

.btn{

width:100%;

max-width:320px;

}

}

/*======================================================
  TARJETAS DESTACADAS DESARROLLO WEB
======================================================*/



.highlight-card{

    display:flex;

    align-items:center;

    gap:20px;

    background:#fff;

    border-radius:16px;

    padding:22px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.30s;

    border-left:5px solid #1296F3;

}

.highlight-card:hover{

    transform:translateY(-4px);

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

}

.highlight-card i{

    width:65px;

    height:65px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#EAF5FF;

    border-radius:50%;

    color:#1296F3;

    font-size:30px;

    flex-shrink:0;

}

.highlight-card h3{

font-size:24px;

margin-bottom:8px;

}


.highlight-card p{

    margin-top:8px;

    color:#555;

    line-height:1.7;

    font-size:15px;

    text-align:left;

}

.highlight-card div{

    flex:1;

}

/*======================================================
BOTON DESARROLLO WEB
======================================================*/

.service-button{

    width:100%;

    display:flex;

    justify-content:center;

    margin-top:40px;

}

.service-button .btn{

    width:320px;

    text-align:center;

}

/*=========================================
TARJETAS CLICABLES
=========================================*/


#servicios .card img{

    transition:
        transform .45s ease,
        filter .35s ease;

}

#servicios .card:hover img{

    transform:scale(1.08);

    filter:brightness(1.05);

}

/*=========================================
FLIP 3D - DESARROLLO WEB
=========================================*/

.flip-box{

    width:100%;

    height:260px;

    perspective:1200px;

    margin-bottom:20px;

}

.flip-box-inner{

    position:relative;

    width:100%;

    height:100%;

    transition:transform .8s;

    transform-style:preserve-3d;

}

.card:hover .flip-box-inner{

    transform:rotateY(-180deg);

}

.flip-box-front,
.flip-box-back{

    position:absolute;

    width:100%;

    height:100%;

    backface-visibility:hidden;

    border-radius:18px;

    overflow:hidden;

}

.flip-box-front img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.flip-box-back{

    background:linear-gradient(135deg,#0d47a1,#2196f3);

    color:#fff;

    transform:rotateY(-180deg);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.flip-box-back i{

    font-size:58px;

    margin-bottom:20px;

}

.flip-box-back h4{

    font-size:28px;

    margin-bottom:10px;

}

.flip-box-back span{

    font-size:18px;

    font-weight:500;

}


/*==================================
PROMOCIONES FLOTANTES
==================================*/

/*==================================================
PROMOCIONES FLOTANTES (REEMPLAZAR ESTA SECCIÓN)
==================================================*/

.promo-floating{

    position:fixed;
    top:120px;
    right:20px;
    width:220px;

    display:flex;
    flex-direction:column;
    gap:15px;

    z-index:99999;

    animation:promoEntrada .8s ease;
}

.promo-floating a{
    display:block;
}

.promo-floating img{

    width:220px;
    height:330px;

    object-fit:cover;

    border-radius:15px;

    display:block;

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

    transition:.35s;
}

.promo-floating img:hover{

    transform:scale(1.03);

}

.promo-close{

    position:absolute;

    top:-12px;
    right:-12px;

    width:32px;
    height:32px;

    border:none;

    border-radius:50%;

    background:#e53935;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    box-shadow:0 4px 12px rgba(0,0,0,.30);
}

@keyframes promoEntrada{

    from{
        opacity:0;
        transform:translateX(120px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@media(max-width:992px){

    .promo-floating{
        display:none;
    }

}

/*=========================================
VISOR DE PROMOCIONES
=========================================*/

.visor-promo{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.85);

    display:none;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    z-index:999999;

}

.visor-promo img{

    width:auto;

    height:auto;

    max-width:90vw;

    max-height:85vh;

    object-fit:contain;

    display:block;

    border-radius:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.45);

    animation:zoomPromo .35s ease;

}

.cerrarVisor{

    position:absolute;

    top:20px;

    right:30px;

    color:#fff;

    font-size:45px;

    cursor:pointer;

    font-weight:bold;

    transition:.3s;

}

.cerrarVisor:hover{

    color:#1296F3;

}

#visorWhatsapp{

    margin-top:25px;

}

@keyframes zoomPromo{

    from{

        transform:scale(.7);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.promo-floating img{

    cursor:pointer;

    transition:transform .30s ease,
               box-shadow .30s ease;

}

.promo-floating img:hover{

    transform:scale(1.03);

    box-shadow:0 18px 40px rgba(0,0,0,.35);

}

/*=====================================================
PREGUNTAS FRECUENTES (FAQ)
=====================================================*/

.faq{

    max-width:1200px;

    margin:0 auto;

    padding:80px 20px;

}

.faq h2{

    text-align:center;

    font-size:38px;

    color:#0D2B52;

    margin-bottom:50px;

    font-weight:700;

}

.faq-item{

    background:#ffffff;

    margin-bottom:25px;

    padding:25px 30px;

    border-left:6px solid #1296F3;

    border-radius:12px;

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

    transition:.35s;

}

.faq-item:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.faq-item h3{

    color:#0D2B52;

    font-size:22px;

    margin-bottom:15px;

}

.faq-item p{

    color:#555;

    line-height:1.8;

    font-size:16px;

}

/*=====================================================
SEO - CONTENIDO
======================================================*/

.seo-contenido,
.seo-tecnologias,
.seo-sectores,
.seo-cobertura{

    max-width:1200px;

    margin:70px auto;

    padding:50px;

    background:#ffffff;

    border-radius:18px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.seo-contenido h2,
.seo-tecnologias h2,
.seo-sectores h2,
.seo-cobertura h2{

    font-size:36px;

    color:#0D2B52;

    text-align:center;

    margin-bottom:35px;

}

.seo-contenido p,
.seo-tecnologias p,
.seo-sectores p,
.seo-cobertura p{

    font-size:17px;

    line-height:1.9;

    color:#555;

    text-align:justify;

    margin-bottom:25px;

}

/*=====================================================
TECNOLOGÍAS
======================================================*/

.tech-grid{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    justify-content:center;

    margin-top:35px;

}

.tech-grid span{

    background:#0D6EFD;

    color:#fff;

    padding:12px 22px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.tech-grid span:hover{

    background:#0D2B52;

    transform:translateY(-4px);

}

/*=====================================================
SECTORES
======================================================*/

.sectores-grid{

    display:grid;

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

    gap:25px;

    margin-top:35px;

}

.sector-item{

    background:#f8f9fb;

    padding:30px;

    border-radius:15px;

    text-align:center;

    transition:.3s;

}

.sector-item:hover{

    transform:translateY(-8px);

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

}

.sector-item i{

    font-size:42px;

    color:#1296F3;

    margin-bottom:20px;

}

.sector-item h3{

    color:#0D2B52;

    margin-bottom:15px;

}

/*=====================================================
COBERTURA
======================================================*/

.cobertura-grid{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

    margin-top:35px;

}

.cobertura-grid span{

    background:#eef5ff;

    color:#0D2B52;

    border:1px solid #1296F3;

    padding:12px 22px;

    border-radius:30px;

    font-weight:600;

    transition:.3s;

}

.cobertura-grid span:hover{

    background:#1296F3;

    color:#fff;

}

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

@media(max-width:768px){

.seo-contenido,
.seo-tecnologias,
.seo-sectores,
.seo-cobertura{

    padding:30px 20px;

}

.seo-contenido h2,
.seo-tecnologias h2,
.seo-sectores h2,
.seo-cobertura h2{

    font-size:28px;

}

}

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

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:35px;

}

.btn-outline{

    background:transparent;

    border:2px solid #ffffff;

    color:#ffffff;

}

.btn-outline:hover{

    background:#ffffff;

    color:#0A235A;

}

@media(max-width:768px){

.hero-buttons{

    flex-direction:column;

}

.hero-buttons .btn{

    width:280px;

}

}

/*=========================================
ANIMACIONES REDES SOCIALES
=========================================*/

@keyframes redesEntrada{

    from{

        opacity:0;

        transform:translate(-40px,-50%);

    }

    to{

        opacity:1;

        transform:translate(0,-50%);

    }

}

@keyframes redesFlotando{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-4px);

    }

    100%{

        transform:translateY(0);

    }

}

.social-floating a{

    animation:redesFlotando 3s ease-in-out infinite;

}

.social-floating a:nth-child(2){

    animation-delay:.2s;

}

.social-floating a:nth-child(3){

    animation-delay:.4s;

}

.social-floating a:nth-child(4){

    animation-delay:.6s;

}


