/*==================================================
ICAM
INVITACIONES DIGITALES PREMIUM
VERSION 1
==================================================*/

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

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#fbfaf8;

    color:#2d2d2d;

    overflow-x:hidden;

}

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

:root{

    --primary:#C7A27A;

    --primaryDark:#B38A63;

    --secondary:#f5f1eb;

    --text:#2d2d2d;

    --gray:#777;

    --white:#ffffff;

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

    --radius:26px;

    --transition:.35s;

}

/*=========================
LOADER
=========================*/

#loader{

    position:fixed;

    inset:0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loaderLogo{

    font-family:'Cormorant Garamond',serif;

    font-size:60px;

    color:var(--primary);

    letter-spacing:8px;

}

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

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:90px;

    padding:0 7%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:1000;

    transition:.4s;

}

header.scrolled{

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

    backdrop-filter:blur(16px);

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

}

.logo{

    font-family:'Cormorant Garamond',serif;

    font-size:38px;

    font-weight:700;

    letter-spacing:4px;

    color:var(--primary);

}

nav{

    display:flex;

    align-items:center;

    gap:40px;

}

nav a{

    color:var(--text);

    text-decoration:none;

    font-size:15px;

    transition:.3s;

}

nav a:hover{

    color:var(--primary);

}

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

.btnPrimary,

.btnSecondary,

.btnMenu{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    padding:16px 34px;

    border-radius:60px;

    transition:var(--transition);

}

.btnPrimary{

    background:var(--primary);

    color:white;

}

.btnPrimary:hover{

    background:var(--primaryDark);

    transform:translateY(-3px);

}

.btnSecondary{

    border:2px solid var(--primary);

    color:var(--primary);

}

.btnSecondary:hover{

    background:var(--primary);

    color:white;

}

.btnMenu{

    background:var(--primary);

    color:white;

    padding:14px 28px;

}

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

section{

    padding:120px 8%;

}

.sectionHeader{

    width:min(900px,100%);

    margin:auto;

    text-align:center;

    margin-bottom:80px;

}

.sectionTag{

    display:inline-block;

    color:var(--primary);

    font-size:13px;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:20px;

}

.sectionHeader h2{

    font-family:'Cormorant Garamond',serif;

    font-size:58px;

    line-height:1.1;

    margin-bottom:20px;

}

.sectionHeader p{

    max-width:700px;

    margin:auto;

    color:var(--gray);

    line-height:1.8;

    font-size:18px;

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

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:80px;

    padding-top:140px;

}

.heroLeft{

    display:flex;

    flex-direction:column;

    gap:28px;

}

.heroBadge{

    display:inline-flex;

    align-items:center;

    width:max-content;

    padding:10px 18px;

    border-radius:50px;

    background:#f2ebe3;

    color:var(--primary);

    font-size:13px;

    letter-spacing:2px;

    font-weight:600;

}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:78px;

    line-height:1;

    font-weight:700;

    max-width:700px;

}

.hero p{

    max-width:620px;

    color:var(--gray);

    font-size:19px;

    line-height:1.9;

}

.heroButtons{

    display:flex;

    gap:20px;

    margin-top:10px;

}

.heroRight{

    display:flex;

    justify-content:center;

    align-items:center;

}

/*==================================================
MOCKUP
==================================================*/

.phoneMockup{

    width:340px;

    height:690px;

    padding:14px;

    border-radius:50px;

    background:#1b1b1b;

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

    animation:phoneFloat 5s ease-in-out infinite;

}

.phoneMockup img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:38px;

}

@keyframes phoneFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==================================================
ESTADÍSTICAS
==================================================*/

.numbers{

    display:grid;

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

    gap:30px;

    text-align:center;

    padding:70px 8%;

    background:white;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

}

.numbers div{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.numbers strong{

    font-size:52px;

    color:var(--primary);

    font-family:'Cormorant Garamond',serif;

}

.numbers span{

    color:var(--gray);

    font-size:16px;

}

/*==================================================
EXPERIENCIA
==================================================*/

.experience{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.phoneChat{

    display:flex;

    justify-content:center;

}

.chat{

    width:360px;

    background:white;

    border-radius:34px;

    padding:25px;

    box-shadow:var(--shadow);

}

.time{

    display:block;

    text-align:center;

    color:#999;

    margin-bottom:25px;

    font-size:13px;

}

.message{

    width:max-content;

    max-width:80%;

    padding:14px 18px;

    border-radius:22px;

    background:#e8f6df;

    margin-bottom:18px;

}

.message.received{

    margin-left:auto;

    background:#f4f4f4;

}

.phonePreview{

    margin-top:25px;

}

.phonePreview img{

    width:100%;

    border-radius:20px;

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

}

.experienceRight{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.experienceRight h2{

    font-family:'Cormorant Garamond',serif;

    font-size:58px;

    line-height:1.1;

}

.experienceRight p{

    color:var(--gray);

    line-height:1.8;

    font-size:18px;

}

.featureList{

    display:grid;

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

    gap:18px;

    margin-top:10px;

}

.featureList div{

    padding:18px;

    border-radius:18px;

    background:white;

    box-shadow:var(--shadow);

    transition:.3s;

}

.featureList div:hover{

    transform:translateY(-6px);

}

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

.services{

    background:#fff;

}

.servicesGrid{

    display:grid;

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

    gap:28px;

}

.serviceCard{

    background:#fbfaf8;

    border-radius:24px;

    padding:35px 28px;

    text-align:center;

    transition:.35s;

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

}

.serviceCard:hover{

    transform:translateY(-10px);

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

}

.serviceCard .icon{

    font-size:44px;

    margin-bottom:20px;

}

.serviceCard h3{

    font-family:'Cormorant Garamond',serif;

    font-size:30px;

    margin-bottom:12px;

}

.serviceCard p{

    color:var(--gray);

    line-height:1.7;

    font-size:15px;

}
/*==================================================
GALERÍA
==================================================*/

.portfolio{

    background:var(--secondary);

}

.phonesGallery{

    display:grid;

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

    gap:40px;

    align-items:start;

}

.phoneCard{

    text-align:center;

    transition:.35s;

}

.phoneCard:hover{

    transform:translateY(-12px);

}

.phoneFrame{

    background:#181818;

    padding:12px;

    border-radius:42px;

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

    margin-bottom:25px;

}

.phoneFrame img{

    width:100%;

    aspect-ratio:9/19.5;

    object-fit:cover;

    border-radius:30px;

    display:block;

}

.phoneCard h3{

    font-family:'Cormorant Garamond',serif;

    font-size:32px;

    margin-bottom:12px;

}

.phoneCard a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.phoneCard a:hover{

    text-decoration:underline;

}

/*==================================================
TIMELINE
==================================================*/

.process{

    background:white;

}

.timeline{

    display:grid;

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

    gap:25px;

    position:relative;

    margin-top:60px;

}

.timeline::before{

    content:"";

    position:absolute;

    top:42px;

    left:8%;

    right:8%;

    height:3px;

    background:linear-gradient(
        90deg,
        var(--primary),
        #e8d8c6
    );

    z-index:0;

}

.step{

    position:relative;

    z-index:2;

    text-align:center;

}

.step span{

    width:84px;

    height:84px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 25px;

    background:white;

    border:4px solid var(--primary);

    color:var(--primary);

    font-size:26px;

    font-weight:700;

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

}

.step h3{

    font-family:'Cormorant Garamond',serif;

    font-size:28px;

    margin-bottom:12px;

}

.step p{

    color:var(--gray);

    font-size:15px;

    line-height:1.7;

}

/*==================================================
EFECTOS GENERALES
==================================================*/

.serviceCard,
.phoneCard,
.whyCard,
.testimonialCard,
.plan{

    transition:.35s;

}

.serviceCard:hover,
.phoneCard:hover,
.whyCard:hover,
.testimonialCard:hover,
.plan:hover{

    transform:translateY(-10px);

}

/*==================================================
ANIMACIÓN DE APARICIÓN
==================================================*/

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
FONDOS SUAVES
==================================================*/

.hero{

    background:
    radial-gradient(circle at top right,
    rgba(199,162,122,.15),
    transparent 35%),
    radial-gradient(circle at bottom left,
    rgba(199,162,122,.08),
    transparent 30%),
    #fbfaf8;

}

.portfolio{

    background:
    linear-gradient(
        180deg,
        #faf8f5,
        #f5f1eb
    );

}

.process{

    background:white;

}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f5f1eb;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primaryDark);

}
/*==================================================
WHY ICAM
==================================================*/

.whyIcam{

    background:#ffffff;

}

.whyGrid{

    display:grid;

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

    gap:35px;

    margin-top:70px;

}

.whyCard{

    background:#fbfaf8;

    border-radius:28px;

    padding:45px 35px;

    text-align:center;

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

}

.whyIcon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

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

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:38px;

}

.whyCard h3{

    font-family:'Cormorant Garamond',serif;

    font-size:34px;

    margin-bottom:15px;

}

.whyCard p{

    color:var(--gray);

    line-height:1.8;

}

/*==================================================
TESTIMONIOS
==================================================*/

.testimonials{

    background:var(--secondary);

}

.testimonialGrid{

    display:grid;

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

    gap:35px;

}

.testimonialCard{

    background:white;

    border-radius:26px;

    padding:40px;

    box-shadow:var(--shadow);

}

.stars{

    color:#F4B400;

    font-size:24px;

    margin-bottom:20px;

}

.testimonialCard p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:25px;

}

.testimonialCard strong{

    color:var(--primary);

    font-weight:600;

}

/*==================================================
PLANES
==================================================*/

.plans{

    background:white;

}

.plansGrid{

    display:grid;

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

    gap:35px;

}

.plan{

    background:#fbfaf8;

    border-radius:30px;

    padding:45px;

    position:relative;

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

}

.plan.featured{

    background:linear-gradient(
        180deg,
        #ffffff,
        #f8f3ed
    );

    border:2px solid var(--primary);

    transform:scale(1.04);

}

.recommended{

    position:absolute;

    top:20px;

    right:20px;

    background:var(--primary);

    color:white;

    padding:8px 16px;

    border-radius:30px;

    font-size:12px;

    letter-spacing:1px;

}

.plan h3{

    font-family:'Cormorant Garamond',serif;

    font-size:40px;

    margin-bottom:25px;

}

.plan ul{

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:16px;

    margin-bottom:35px;

}

.plan li{

    color:var(--gray);

}

.btnPlan{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:54px;

    border-radius:60px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    transition:.3s;

}

.btnPlan:hover{

    background:var(--primaryDark);

}

/*==================================================
FAQ
==================================================*/

.faq{

    background:#fbfaf8;

}

.faqContainer{

    width:min(900px,100%);

    margin:auto;

}

.faq details{

    background:white;

    border-radius:22px;

    padding:25px 30px;

    margin-bottom:18px;

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

}

.faq summary{

    cursor:pointer;

    font-weight:600;

    font-size:18px;

    list-style:none;

}

.faq summary::-webkit-details-marker{

    display:none;

}

.faq p{

    margin-top:20px;

    color:var(--gray);

    line-height:1.8;

}

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

.cta{

    position:relative;

    overflow:hidden;

    background:url("../img/cta.jpg") center center/cover;

    min-height:80vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.ctaOverlay{

    position:absolute;

    inset:0;

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

}

.ctaContent{

    position:relative;

    z-index:5;

    max-width:800px;

    color:white;

}

.ctaContent span{

    letter-spacing:4px;

    color:#f5d8b8;

}

.ctaContent h2{

    font-family:'Cormorant Garamond',serif;

    font-size:72px;

    margin:25px 0;

    line-height:1.05;

}

.ctaContent p{

    font-size:20px;

    line-height:1.8;

    margin-bottom:40px;

}

.ctaButtons{

    display:flex;

    justify-content:center;

    gap:20px;

}

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

footer{

    background:#171717;

    color:white;

    padding:80px 8%;

    text-align:center;

}

.footerLogo{

    font-family:'Cormorant Garamond',serif;

    font-size:54px;

    letter-spacing:5px;

    color:var(--primary);

    margin-bottom:20px;

}

.footerLinks,

.footerSocial{

    display:flex;

    justify-content:center;

    gap:30px;

    margin:30px 0;

    flex-wrap:wrap;

}

.footerLinks a,

.footerSocial a{

    color:#ddd;

    text-decoration:none;

}

.footerLinks a:hover,

.footerSocial a:hover{

    color:white;

}

footer small{

    color:#888;

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

@media(max-width:1200px){

    .hero{

        grid-template-columns:1fr;

        text-align:center;

    }

    .heroLeft{

        align-items:center;

    }

    .hero p{

        max-width:700px;

    }

    .phonesGallery{

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

    }

    .servicesGrid{

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

    }

    .whyGrid{

        grid-template-columns:1fr;

    }

    .testimonialGrid{

        grid-template-columns:1fr;

    }

    .plansGrid{

        grid-template-columns:1fr;

    }

    .timeline{

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

        row-gap:50px;

    }

    .timeline::before{

        display:none;

    }

}

@media(max-width:768px){

    header{

        padding:0 25px;

        height:75px;

    }

    nav{

        display:none;

    }

    section{

        padding:90px 25px;

    }

    .hero{

        gap:60px;

        min-height:auto;

    }

    .hero h1{

        font-size:52px;

    }

    .hero p{

        font-size:17px;

    }

    .heroButtons{

        flex-direction:column;

        width:100%;

    }

    .heroButtons a{

        width:100%;

    }

    .phoneMockup{

        width:270px;

        height:550px;

    }

    .numbers{

        grid-template-columns:1fr;

        gap:40px;

    }

    .experience{

        grid-template-columns:1fr;

        gap:60px;

    }

    .featureList{

        grid-template-columns:1fr;

    }

    .servicesGrid{

        grid-template-columns:1fr;

    }

    .phonesGallery{

        grid-template-columns:1fr;

    }

    .timeline{

        grid-template-columns:1fr;

    }

    .sectionHeader h2{

        font-size:42px;

    }

    .experienceRight h2{

        font-size:42px;

    }

    .ctaContent h2{

        font-size:48px;

    }

    .ctaButtons{

        flex-direction:column;

    }

}

@media(max-width:480px){

    .hero h1{

        font-size:42px;

    }

    .phoneMockup{

        width:230px;

        height:470px;

    }

    .logo{

        font-size:32px;

    }

    .sectionHeader h2{

        font-size:36px;

    }

    .whyCard,

    .serviceCard,

    .testimonialCard,

    .plan{

        padding:30px;

    }

}

/*==================================================
BACK TO TOP
==================================================*/

#backTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:22px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

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

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#backTop.show{

    opacity:1;

    visibility:visible;

}

#backTop:hover{

    background:var(--primaryDark);

    transform:translateY(-4px);

}

/*==================================================
IMÁGENES
==================================================*/

img{

    display:block;

    max-width:100%;

}

a{

    transition:.3s;

}

button{

    font-family:inherit;

}

/*==================================================
SELECCIÓN
==================================================*/

::selection{

    background:var(--primary);

    color:white;

}

/*==================================================
ANIMACIONES
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:all .9s ease;

}

.reveal.active{

    opacity:1;

    transform:none;

}

.scale{

    transform:scale(.96);

    transition:.5s;

}

.scale:hover{

    transform:scale(1);

}

.whatsappFloat{

    position:fixed;

    right:25px;

    bottom:95px;

    width:62px;

    height:62px;

    border-radius:50%;

    background:#25D366;

    display:flex;

    justify-content:center;

    align-items:center;

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

    z-index:999;

    animation:whatsappPulse 2s infinite;

    transition:.3s;

}

.whatsappFloat img{

    width:34px;

    height:34px;

}

.whatsappFloat:hover{

    transform:scale(1.1);

}

@keyframes whatsappPulse{

    0%{

        box-shadow:0 0 0 0 rgba(37,211,102,.45);

    }

    70%{

        box-shadow:0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(37,211,102,0);

    }

}
/*==================================================
FIN CSS
==================================================*/