/*==================================================
DIGITALCARTAGO
Autor: DIGITAL CARTAGO
Versión: 1.0
==================================================*/

/*=============================
GOOGLE FONT
=============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=============================
VARIABLES
=============================*/

:root{

    --primary:#2563EB;
    --secondary:#1D4ED8;
    --dark:#0F172A;
    --dark2:#111827;
    --light:#F8FAFC;
    --white:#ffffff;
    --gray:#94A3B8;
    --success:#22C55E;

    --shadow:0 20px 60px rgba(0,0,0,.12);
    --shadowHover:0 30px 70px rgba(37,99,235,.25);

    --radius:18px;

    --transition:.35s ease;

}

/*=============================
RESET
=============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:var(--dark);
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,90%);
    margin:auto;

}

/*=============================
SCROLLBAR
=============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#eef2ff;

}

/*=============================
LOADER
=============================*/

#loader{

    position:fixed;
    inset:0;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;

}

.spinner{

    width:70px;
    height:70px;

    border:6px solid #dbeafe;
    border-top:6px solid var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/*=============================
HEADER
=============================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.4s;

}

header.active{

    background:white;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

/*=============================
NAVBAR
=============================*/

.navbar{

    width:min(1200px,90%);
    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 0;

}

.logo h2{

    font-size:34px;
    font-weight:800;

    color:var(--dark);

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;

    gap:40px;

}

.nav-links a{

    color:var(--dark);

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--primary);

}

.menu-btn{

    display:none;

    font-size:30px;

    cursor:pointer;

}

/*=============================
BOTONES
=============================*/

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    background:linear-gradient(135deg,#2563EB,#1D4ED8);

    color:white;

    border-radius:60px;

    font-weight:600;

    transition:var(--transition);

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.btn-primary:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadowHover);

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:60px;

    border:2px solid var(--primary);

    color:var(--primary);

    transition:.35s;

}

.btn-secondary:hover{

    background:var(--primary);

    color:white;

}

/*=============================
HERO
=============================*/

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:
    radial-gradient(circle at top left,#bfdbfe 0%,transparent 35%),
    radial-gradient(circle at bottom right,#dbeafe 0%,transparent 30%),
    white;

}

.hero-bg{

    position:absolute;

    width:700px;
    height:700px;

    background:linear-gradient(135deg,#2563EB,#60A5FA);

    filter:blur(160px);

    opacity:.18;

    right:-200px;
    top:-200px;

}

.hero-content{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

    padding-top:120px;

}

.subtitle{

    display:inline-block;

    background:#DBEAFE;

    color:var(--primary);

    padding:10px 18px;

    border-radius:40px;

    font-size:15px;

    font-weight:600;

    margin-bottom:25px;

}

.hero h1{

    font-size:64px;

    line-height:1.1;

    margin-bottom:25px;

    font-weight:800;

}

.description{

    font-size:19px;

    color:#64748B;

    line-height:1.8;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:45px;

}

/*=============================
ESTADÍSTICAS HERO
=============================*/

.hero-stats{

    display:flex;

    gap:50px;

}

.hero-stats h3{

    font-size:34px;

    color:var(--primary);

}

.hero-stats span{

    color:#64748B;

    font-size:15px;

}

/*=============================
GLASS CARD
=============================*/

.glass-card{

    display:flex;

    justify-content:center;

}

.browser{

    width:420px;

    background:rgba(255,255,255,.7);

    backdrop-filter:blur(25px);

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

    animation:float 5s ease-in-out infinite;

}

.browser-top{

    display:flex;

    gap:10px;

    padding:18px;

    background:#f8fafc;

}

.browser-top span{

    width:14px;

    height:14px;

    border-radius:50%;

}

.browser-top span:nth-child(1){

    background:#ef4444;

}

.browser-top span:nth-child(2){

    background:#f59e0b;

}

.browser-top span:nth-child(3){

    background:#22c55e;

}

.browser-content{

    padding:45px;

}

.browser-content h3{

    margin-bottom:30px;

}

.browser-content p{

    padding:12px 0;

    color:#475569;

    font-weight:500;

}

/*=============================
FLOTANTE
=============================*/

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}

.scroll-down{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    font-size:28px;

    color:var(--primary);

    animation:bounce 2s infinite;

}

@keyframes bounce{

    0%,100%{

        transform:translate(-50%,0);

    }

    50%{

        transform:translate(-50%,12px);

    }

}

/*=============================
SECTION TITLE
=============================*/

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--primary);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.section-title h2{

    font-size:46px;

    margin:18px 0;

}

.section-title p{

    color:#64748B;

    max-width:700px;

    margin:auto;

    line-height:1.8;

}

/*=============================
SECCIONES
=============================*/

section{

    padding:110px 0;

}
/*==================================================
PARTE 2
Servicios - About - Stats - Process
==================================================*/

/*=============================
MARCAS
=============================*/

.brands{

    background:#fff;

    padding:60px 0;

}

.brands p{

    text-align:center;

    color:#64748B;

    margin-bottom:40px;

    font-weight:500;

}

.brand-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

}

.brand-grid div{

    background:#F8FAFC;

    border:1px solid #E2E8F0;

    border-radius:16px;

    padding:30px;

    text-align:center;

    font-weight:700;

    color:#64748B;

    transition:.35s;

}

.brand-grid div:hover{

    transform:translateY(-8px);

    background:white;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

    color:var(--primary);

}

/*=============================
SERVICIOS
=============================*/

.services{

    background:linear-gradient(to bottom,#F8FAFC,#EEF5FF);

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.service-card{

    background:white;

    padding:45px;

    border-radius:22px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:4px;

    background:linear-gradient(90deg,#2563EB,#60A5FA);

    transition:.45s;

}

.service-card:hover::before{

    left:0;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(37,99,235,.18);

}

.service-card .icon{

    width:75px;

    height:75px;

    border-radius:18px;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    margin-bottom:25px;

}

.service-card h3{

    font-size:24px;

    margin-bottom:18px;

}

.service-card p{

    color:#64748B;

    line-height:1.8;

}

/*=============================
ABOUT
=============================*/

.about{

    background:white;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.about-image{

    display:flex;

    justify-content:center;

}

.about-box{

    width:420px;

    height:420px;

    border-radius:35px;

    background:linear-gradient(135deg,#2563EB,#60A5FA);

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 30px 70px rgba(37,99,235,.30);

    animation:float 6s ease-in-out infinite;

}

.about-box i{

    font-size:150px;

    color:white;

}

.about-content span{

    color:var(--primary);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.about-content h2{

    font-size:48px;

    margin:20px 0;

}

.about-content p{

    color:#64748B;

    line-height:1.9;

    margin-bottom:30px;

}

.about-content ul{

    margin-bottom:35px;

}

.about-content li{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:18px;

    font-weight:500;

}

.about-content li i{

    color:#22C55E;

    font-size:20px;

}

/*=============================
ESTADÍSTICAS
=============================*/

.stats{

    background:linear-gradient(135deg,#0F172A,#1E293B);

    color:white;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-card{

    text-align:center;

    padding:45px 20px;

    border-radius:20px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.10);

}

.stat-card h2{

    font-size:60px;

    color:#60A5FA;

    margin-bottom:15px;

}

.stat-card p{

    color:#CBD5E1;

}

/*=============================
PROCESO
=============================*/

.process{

    background:white;

}

.process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.step{

    background:#F8FAFC;

    border-radius:22px;

    padding:40px;

    text-align:center;

    transition:.35s;

    position:relative;

}

.step:hover{

    transform:translateY(-10px);

    background:white;

    box-shadow:0 25px 55px rgba(0,0,0,.08);

}

.number{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:linear-gradient(135deg,#2563EB,#60A5FA);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    font-weight:700;

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.step h3{

    margin-bottom:15px;

    font-size:24px;

}

.step p{

    color:#64748B;

    line-height:1.8;

}

/*=============================
ANIMACIÓN DE APARICIÓN
=============================*/

.fade-up{

    opacity:0;

    transform:translateY(50px);

    transition:all .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}
/*==================================================
PARTE 3
Portfolio - Testimonios - Precios - CTA
==================================================*/

/*=============================
PORTFOLIO
=============================*/

.portfolio{

    background:#F8FAFC;

}

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.project-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

}

.project-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 70px rgba(37,99,235,.18);

}

.project-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-info{

    padding:30px;

}

.project-info span{

    color:var(--primary);

    font-weight:600;

    font-size:14px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.project-info h3{

    margin:15px 0;

    font-size:24px;

}

.project-info a{

    color:var(--primary);

    font-weight:600;

    display:inline-flex;

    align-items:center;

    gap:10px;

}

.project-info a:hover{

    color:var(--secondary);

}

/*=============================
TESTIMONIOS
=============================*/

.testimonials{

    background:white;

}

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.testimonial-card{

    background:#F8FAFC;

    padding:40px;

    border-radius:22px;

    transition:.35s;

    position:relative;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.testimonial-card i{

    font-size:40px;

    color:var(--primary);

    margin-bottom:20px;

}

.testimonial-card p{

    color:#64748B;

    line-height:1.9;

    margin-bottom:30px;

}

.client{

    display:flex;

    align-items:center;

    gap:15px;

}

.client img{

    width:65px;

    height:65px;

    border-radius:50%;

    object-fit:cover;

}

.client h4{

    margin-bottom:5px;

}

.client span{

    color:#64748B;

    font-size:14px;

}

/*=============================
PRECIOS
=============================*/

.pricing{

    background:linear-gradient(to bottom,#EEF5FF,#FFFFFF);

}

.pricing-grid{

      display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    align-items:start;

}

.price-card{

    background:white;

    padding:45px;

    border-radius:24px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

    text-align:center;

    transition:.4s;

    position:relative;
  

}

.price-card:hover{

    transform:translateY(-12px);

}

.price-card.featured{

    background:linear-gradient(135deg,#2563EB,#1D4ED8);

    color:white;

    transform:scale(1.04);

}

.price-card.featured h2,
.price-card.featured h3,
.price-card.featured li{

    color:white;

}

.badge{

    position:absolute;

    top:20px;

    right:20px;

    background:#DC2626;

    color:white;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.price{

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    margin:15px 0 20px;
}
.new-price{

    font-size:72px;
    color:#2563EB;
    font-weight:800;
    line-height:1;

}

.old-price{

    font-size:34px;
    color:#94A3B8;
    text-decoration:line-through;
    font-weight:600;
    line-height:1;

}

.offer{

    color:#DC2626;
    font-weight:700;
    font-size:18px;
     margin-bottom:15px;

}

.price-card h3{

    font-size:24px;

    margin-bottom:15px;

}

.price-card h2{

    font-size:52px;

    color:var(--primary);

    margin-bottom:30px;

}
.price-card{

    background:white;
    padding:45px;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    text-align:center;
    transition:.4s;
    position:relative;
    display:flex;
    flex-direction:column;

}
.price-card .btn-primary{

    margin-top:auto;

}

.price-card ul{

   

}

.price-card li{

    margin:12px 0;

    color:#475569;

}

.price-card li i{

    color:#22C55E;

    margin-right:10px;

}

.price-card.featured .btn-primary{

    background:white;

    color:var(--primary);

}

/*=============================
CTA
=============================*/

.cta{

    padding:120px 0;

    background:linear-gradient(135deg,#2563EB,#1E40AF);

}

.cta-box{

    text-align:center;

    color:white;

    padding:70px;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

}

.cta-box h2{

    font-size:48px;

    margin-bottom:25px;

}

.cta-box p{

    max-width:700px;

    margin:auto;

    line-height:1.9;

    margin-bottom:40px;

    color:#E2E8F0;

}

.cta-box .btn-primary{

    background:white;

    color:var(--primary);

    font-size:18px;

    padding:18px 40px;

}

.cta-box .btn-primary:hover{

    transform:translateY(-6px) scale(1.05);

}

/*=============================
EFECTOS GENERALES
=============================*/

.service-card,
.project-card,
.price-card,
.testimonial-card,
.step{

    cursor:pointer;

}

.service-card:hover .icon{

    transform:rotate(8deg) scale(1.08);

    transition:.35s;

}

.project-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(15,23,42,.55),
    transparent);

    opacity:0;

    transition:.4s;

}

.project-card:hover::after{

    opacity:1;

}
/*==================================================
PARTE 4
FAQ - CONTACTO - FOOTER - RESPONSIVE
==================================================*/

/*=============================
FAQ
=============================*/

.faq{

    background:#ffffff;

}

.faq-container{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:#F8FAFC;

    border-radius:18px;

    margin-bottom:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.faq-question{

    width:100%;

    padding:25px;

    border:none;

    background:none;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    color:var(--dark);

}

.faq-question i{

    transition:.35s;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:.4s;

}

.faq-answer p{

    padding:0 25px 25px;

    color:#64748B;

    line-height:1.8;

}

.faq-item.active .faq-answer{

    max-height:200px;

}

.faq-item.active i{

    transform:rotate(45deg);

}

/*=============================
CONTACTO
=============================*/

.contact{

    background:#EEF5FF;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:start;

}

.contact-info h2{

    font-size:42px;

    margin:15px 0 30px;

}

.contact-info p{

    color:#64748B;

    line-height:1.8;

    margin-bottom:35px;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

    font-size:18px;

}

.contact-item i{

    color:var(--primary);

    font-size:22px;

}

.contact-form{

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.contact-form input,
.contact-form textarea{

    width:100%;

    margin-bottom:20px;

    padding:16px;

    border:1px solid #CBD5E1;

    border-radius:12px;

    font-family:inherit;

    font-size:16px;

}

.contact-form textarea{

    resize:vertical;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--primary);

}

/*=============================
MAPA
=============================*/

.map iframe{

    width:100%;

    height:450px;

    border:none;

}

/*=============================
FOOTER
=============================*/

footer{

    background:#0F172A;

    color:white;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

    padding:80px 0;

}

.footer-grid h2{

    margin-bottom:20px;

}

.footer-grid span{

    color:#60A5FA;

}

.footer-grid p{

    color:#CBD5E1;

    line-height:1.8;

}

.footer-grid h3{

    margin-bottom:20px;

}

.footer-grid ul li{

    margin-bottom:12px;

}

.footer-grid a{

    color:#CBD5E1;

    transition:.3s;

}

.footer-grid a:hover{

    color:white;

}

.social{

    display:flex;

    gap:15px;

}

.social a{

    width:45px;

    height:45px;

    background:#1E293B;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

}

.social a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

.footer-bottom{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#94A3B8;

}

/*=============================
WHATSAPP
=============================*/

.whatsapp{

    position:fixed;

    right:30px;

    bottom:30px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    z-index:999;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

    transition:.35s;

}

.whatsapp:hover{

    transform:scale(1.1);

}

/*=============================
BOTÓN TOP
=============================*/

#topBtn{

    position:fixed;

    right:30px;

    bottom:110px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    cursor:pointer;

    display:none;

    font-size:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.20);

}

/*=============================
RESPONSIVE
=============================*/

@media(max-width:992px){

.hero-content,
.about-grid,
.contact-grid{

grid-template-columns:1fr;

}

.stats-grid,
.process-grid,
.footer-grid{

grid-template-columns:repeat(2,1fr);

}

.hero{

text-align:center;

}

.hero-buttons,
.hero-stats{

justify-content:center;

}

.hero h1{

font-size:48px;

}

}

@media(max-width:768px){

.nav-links{

display:none;

}

.menu-btn{

display:block;

}

.brand-grid{

grid-template-columns:repeat(2,1fr);

}

.stats-grid,
.process-grid,
.pricing-grid,
.services-grid,
.portfolio-grid,
.testimonial-grid,
.footer-grid{

grid-template-columns:1fr;

}

.hero h1{

font-size:38px;

}

.section-title h2{

font-size:34px;

}

.about-box{

width:280px;

height:280px;

}

.about-box i{

font-size:90px;

}

.contact-form{

padding:25px;

}

.whatsapp{

right:20px;

bottom:20px;

width:60px;

height:60px;

}

}

@media(max-width:480px){

.hero{

padding-top:120px;

}

.hero-buttons{

flex-direction:column;

}

.btn-primary,
.btn-secondary{

width:100%;

}

.hero-stats{

flex-direction:column;

gap:20px;

}

.browser{

width:100%;

}

}