@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root{
  /* Colores */
  --bg:radial-gradient(1200px 620px at 18% 0%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(1000px 560px at 92% 10%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f6f7fb 100%);
  --fg:rgba(15,23,42,.92);
  --muted:rgba(15,23,42,.64);
  --soft:rgba(15,23,42,.06);

  --surface:rgba(255,255,255,.86);
  --surface2:#ffffff;
  --bd:rgba(15,23,42,.10);
  --bd2:rgba(15,23,42,.07);

  --accent:#2563eb;
  --accent2:#6366f1;
  --ok:#16a34a;
  --wa:#25d366;

  /* Layout */
  --max:1180px;
  --r:18px;
  --r2:14px;
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --shadow2:0 10px 28px rgba(15,23,42,.08);
  --pad:1.25rem;

  /* Tipografía */
  --ff:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:var(--ff);
}

html,body{
  width:100%;
  height:100%;
}

body{
  background:var(--bg);
  color:var(--fg);
  font-size:16px;
  line-height:1.5;
  scroll-behavior:smooth;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
  color:inherit;
  background:transparent;
  border:0;
  cursor:pointer;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.wrapper{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 1.2rem;
  display:flex;
}

/* Secciones */
section{
  padding:3.2rem 0;
}

section .wrapper{
  flex-direction:column;
  gap:1.6rem;
}

h1,h2,h3,h4,h5{
  line-height:1.15;
  letter-spacing:-0.02em;
}

p{
  color:var(--muted);
}

/* Botones/CTAs */
#nav-demo,
.hero .hero__cta_form a,
.plans .plan_item_ready_to_start .cta_action a,
.footer .footer__cta_form a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.85rem 1.15rem;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 12px 30px rgba(37,99,235,.18);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#nav-demo:hover,
.hero .hero__cta_form a:hover,
.plans .plan_item_ready_to_start .cta_action a:hover,
.footer .footer__cta_form a:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 36px rgba(37,99,235,.22);
  filter:saturate(1.03);
}

.hero .hero__cta_form span,
.footer .footer__cta_form span{
  display:block;
  font-size:.85rem;
  color:rgba(15,23,42,.55);
  margin-top:.45rem;
  text-align:center;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:99;
  width:100%;
  background:rgba(255,255,255,.74);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--bd2);
}

.header .wrapper{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.2rem;
}

.header .logo{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width:140px;
}

.header .logo a img{
  width:150px;
  height:auto;
  object-fit:contain;
}

.header .menu{
  display:none;
}

.header .menu > ul{
  display:flex;
  align-items:center;
  gap:1.15rem;
  list-style:none;
}

.header .menu > ul > li a{
  color:rgba(15,23,42,.78);
  font-weight:500;
  padding:.35rem .2rem;
  position:relative;
}

.header .menu > ul > li a:hover{
  color:rgba(15,23,42,.95);
}

.header .menu > ul > li .active{
  color:rgba(15,23,42,.95);
}

.header .menu > ul > li .active::before{
  content:"";
  position:absolute;
  left:.15rem;
  right:.15rem;
  bottom:-.55rem;
  height:2px;
  border-radius:999px;
  background:rgba(37,99,235,.70);
}

/* Mobile sidebar */
.header .sidebar-open,
.header .sidebar-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.06);
}

.header .sidebar-open span{
  display:block;
  width:22px;
  height:2px;
  background:rgba(15,23,42,.82);
  margin:4px 0;
  border-radius:999px;
}

.header .sidebar{
  position:fixed;
  top:0;
  right:-110%;
  width:min(420px, 92vw);
  height:100vh;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(16px);
  -webkit-backdrop-filter:saturate(160%) blur(16px);
  border-left:1px solid var(--bd2);
  box-shadow:-18px 0 50px rgba(15,23,42,.10);
  padding:4.2rem 1.2rem 1.2rem 1.2rem;
  transition:right .22s ease;
}

.header .sidebar.active{
  right:0;
}

.header .sidebar-close{
  position:absolute;
  top:1rem;
  right:1rem;
  background:rgba(15,23,42,.06);
}

.header .sidebar ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.9rem;
}

.header .sidebar ul li a{
  display:block;
  padding:.85rem 1rem;
  border-radius:14px;
  font-weight:600;
  color:rgba(15,23,42,.90);
  background:rgba(15,23,42,.03);
  border:1px solid rgba(15,23,42,.06);
}

.header .sidebar ul li a:hover{
  background:rgba(37,99,235,.06);
  border-color:rgba(37,99,235,.18);
}

/* WhatsApp FAB */
.whatsapp-fab{
  position:fixed;
  bottom:1rem;
  right:1rem;
  z-index:9999;
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--wa);
  display:grid;
  place-items:center;
  box-shadow:0 16px 36px rgba(0,0,0,.14);
  transition:transform .16s ease, filter .16s ease;
}

.whatsapp-fab:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

/* HERO */
.hero{
  padding:6.2rem 0 3.5rem 0;
  margin-top:-4.2rem;
  background:transparent;
}

.hero .wrapper{
  flex-direction:column;
  gap:2.2rem;
}

.hero .hero__content{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.75rem;
  padding-top:2.4rem;
}

.hero .hero__title{
  font-size:2.35rem;
  font-weight:500;
  color:var(--fg);
}

.hero .hero__title b{
  color:var(--accent);
  font-weight:800;
}

.hero .hero__title_rec{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  margin-top:.75rem;
  font-size:.85rem;
  font-weight:800;
  color:rgba(15,23,42,.70);
}

.hero .hero__title_rec svg{
  color:#ef4444;
  font-size:1.1rem;
}

.hero .hero__description{
  max-width:44rem;
  color:rgba(15,23,42,.68);
  font-weight:400;
}

.hero .hero__cta_text{
  margin-top:.35rem;
  font-weight:700;
  color:rgba(15,23,42,.90);
}

.hero .hero__cta_form{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  align-items:center;
  margin-top:.35rem;
}

.hero .hero__image{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero .hero__image img{
  width:min(980px, 112%);
  filter:drop-shadow(0 22px 50px rgba(15,23,42,.18));
}

/* Intros “pill” */
.advantages .advantages__intro h2,
.features .features__intro h2,
.testimonials .testimonials__intro h2,
.tools .tools__intro h2,
.plans .plans__intro h2,
.footer .footer__contact h2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.18);
  color:rgba(37,99,235,.95);
  font-size:1.05rem;
  font-weight:800;
}

.advantages__intro,
.features__intro,
.tools__intro,
.testimonials__intro,
.plans__intro{
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:.7rem;
  align-items:center;
}

.advantages__intro h3,
.features__intro h3,
.testimonials__intro h3{
  font-size:2.1rem;
  font-weight:650;
  color:rgba(15,23,42,.92);
}

.tools__intro h2{
  font-size:1.05rem;
}

.tools__intro p{
  max-width:58rem;
}

.features__intro p,
.advantages__intro p,
.tools__intro p,
.testimonials__intro p,
.plans__intro p{
  color:rgba(15,23,42,.68);
  font-weight:400;
  max-width:56rem;
}

/* Cards base */
.advantage__card,
.tool__card,
.testimonial__card,
.plan_item{
  background:var(--surface);
  border:1px solid var(--bd2);
  border-radius:var(--r);
  box-shadow:var(--shadow2);
}

/* Grids (carousel como grid) */
.carousel{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1.15rem;
  align-items:stretch;
  margin-top:1.1rem;
}

/* ADVANTAGES */
.advantages{
  padding-top:2.6rem;
}

.advantage__card{
  padding:var(--pad);
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

.advantage__card img{
  width:72px;
  height:72px;
  object-fit:contain;
  margin-bottom:.2rem;
  opacity:.95;
}

.advantage__card h4{
  font-size:1.05rem;
  font-weight:700;
  color:rgba(15,23,42,.92);
}

.advantage__card_description{
  color:rgba(15,23,42,.66);
}

/* FEATURES */
.features{
  background:transparent;
  padding-top:2.8rem;
}

.features .wrapper{
  gap:2rem;
}

.features__list{
  margin-top:1.15rem;
  width:100%;
}

.features__list ul{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.75rem;
}

.features__list ul li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.9rem 1rem;
  border-radius:999px;
  background:rgba(15,23,42,.05);
  border:1px solid rgba(15,23,42,.06);
}

.features__list ul li span{
  font-weight:650;
  color:rgba(15,23,42,.80);
}

.features__list ul li .check{
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(22,163,74,.92);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
}

.features__image{
  display:flex;
  justify-content:center;
  align-items:center;
}

.features__image img{
  width:min(920px, 108%);
  filter:drop-shadow(0 18px 44px rgba(15,23,42,.14));
}

/* CUSTOMIZABLE */
.customizable{
  padding-top:2.6rem;
}

.customizable .wrapper{
  gap:2.2rem;
}

.customizable__intro{
  text-align:left;
  align-items:flex-start;
}

.customizable__intro h2{
  font-size:2.05rem;
  font-weight:700;
  color:rgba(15,23,42,.92);
}

.customizable__intro h2 b{
  color:var(--accent);
}

.customizable__intro p{
  color:rgba(15,23,42,.68);
  max-width:52rem;
}

.customizable__image{
  display:flex;
  justify-content:center;
  align-items:center;
}

.customizable__image img{
  width:min(960px, 108%);
  filter:drop-shadow(0 18px 44px rgba(15,23,42,.14));
}

/* TOOLS */
.tools{
  padding-top:2.6rem;
}

.tool__card{
  padding:1.25rem 1.2rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  text-align:left;
}

.tool__card img{
  width:62px;
  height:62px;
  object-fit:contain;
  opacity:.95;
}

.tool__card h4{
  font-size:1.05rem;
  font-weight:700;
  color:rgba(15,23,42,.92);
}

.tool__card h4 b{
  color:var(--accent);
}

.tool__card_description{
  color:rgba(15,23,42,.66);
  line-height:1.45;
}

/* TESTIMONIALS */
.testimonials{
  padding-top:2.6rem;
}

.testimonial__card{
  padding:var(--pad);
  display:flex;
  flex-direction:column;
  gap:.9rem;
}

.testimonial__card p{
  color:rgba(15,23,42,.70);
}

.testimonial__card .client{
  display:flex;
  align-items:center;
  gap:.85rem;
}

.testimonial__card .client img{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(15,23,42,.06);
  border:1px solid rgba(15,23,42,.08);
  padding:8px;
}

.testimonial__card .client__info h4{
  font-size:1rem;
  font-weight:700;
  color:rgba(15,23,42,.92);
}

.testimonial__card .client__info span{
  font-size:.9rem;
  color:rgba(15,23,42,.55);
}

/* PLANS */
.plans{
  padding-top:2.6rem;
}

.plan_item{
  overflow:hidden;
}

.plan_item_grid{
  display:grid;
  grid-template-columns:1fr;
}

.plan_item_pricing{
  padding:1.4rem 1.25rem;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(99,102,241,.80));
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.plan_item_pricing h4{
  font-size:1.25rem;
  font-weight:800;
}

.plan_item_pricing span{
  font-size:.95rem;
  opacity:.92;
}

.plan_item_description{
  padding:1.25rem;
  background:transparent;
}

.plan_item_description h3{
  font-size:1.05rem;
  font-weight:800;
  color:rgba(15,23,42,.92);
  margin-bottom:.4rem;
}

.plan_item_description p{
  color:rgba(15,23,42,.68);
}

.plan_item_list{
  padding:0 1.25rem 1.25rem 1.25rem;
  list-style:none;
}

.plan_item_list_item{
  padding:.75rem .9rem;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.06);
  background:rgba(15,23,42,.03);
  color:rgba(15,23,42,.78);
  font-weight:550;
  margin-top:.55rem;
}

.plan_item_ready_to_start{
  padding:1.15rem 1.25rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  background:rgba(15,23,42,.92);
  border-top:1px solid rgba(255,255,255,.10);
}

.plan_item_ready_to_start .cta_text span{
  display:block;
  font-weight:800;
  color:#fff;
}

.plan_item_ready_to_start .cta_text p{
  color:rgba(255,255,255,.72);
  margin-top:.15rem;
}

.plan_item_ready_to_start .cta_action a{
  box-shadow:none;
}

/* FOOTER */
.footer{
  padding:3.2rem 0 0 0;
  background:rgba(7,11,20,.98);
  color:#fff;
}

.footer p,
.footer span{
  color:rgba(255,255,255,.78);
}

.footer .wrapper{
  flex-direction:column;
  gap:0;
}

.footer__content{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1.35rem;
  align-items:start;
}

.footer__contact h2{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}

.footer__social_media{
  display:flex;
  gap:.85rem;
  margin-top:1rem;
}

.footer__social_media a{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  transition:transform .16s ease, background .16s ease;
}

.footer__social_media a:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
}

.footer__demo_container{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r);
  padding:1.25rem;
}

.footer__demo_container h5{
  font-size:1.15rem;
  font-weight:800;
  margin-bottom:.35rem;
}

.footer__cta_form span{
  color:rgba(255,255,255,.70);
  text-align:left;
}

.footer__copy_info{
  border-top:1px solid rgba(255,255,255,.10);
  margin-top:2.2rem;
  padding:1.25rem 0;
}

.footer__copy_info .wrapper{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.footer__copy_info img{
  width:140px;
  height:auto;
}

.footer__copyright{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  align-items:flex-end;
  text-align:right;
}

.footer__legal_links a{
  color:rgba(255,255,255,.70);
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.25);
  text-underline-offset:3px;
}

/* Swiper (si está activo) */
.swiper-nav-btn{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(15,23,42,.05);
  border:1px solid rgba(15,23,42,.06);
  color:rgba(15,23,42,.80);
  transition:transform .16s ease, background .16s ease;
}

.swiper-nav-btn:hover{
  transform:translateY(-1px);
  background:rgba(37,99,235,.06);
  border-color:rgba(37,99,235,.18);
  color:rgba(37,99,235,.92);
}

.swiper-pagination-bullet{
  width:8px !important;
  height:8px !important;
  background:rgba(15,23,42,.25) !important;
  opacity:1 !important;
}

.swiper-pagination-bullet-active{
  background:rgba(37,99,235,.85) !important;
}

/* Responsive */
@media (min-width:980px){
  .header .menu{
    display:block;
  }
  .header .sidebar-open{
    display:none;
  }
  .hero .wrapper{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:2.8rem;
  }
  .hero .hero__content{
    align-items:flex-start;
    text-align:left;
    max-width:540px;
    padding-top:3.2rem;
  }
  .hero .hero__cta_form{
    align-items:flex-start;
  }
  .hero .hero__cta_form span{
    text-align:left;
  }
  .customizable__intro{
    max-width:560px;
  }
  .features .wrapper,
  .customizable .wrapper{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .features__intro{
    text-align:left;
    align-items:flex-start;
    max-width:540px;
  }
  .features__list ul{
    grid-template-columns:1fr;
  }
}

@media (max-width:980px){
  .carousel{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .footer__content{
    grid-template-columns:1fr;
  }
  .footer__copyright{
    align-items:flex-start;
    text-align:left;
  }
}

@media (max-width:640px){
  .hero{
    padding:5.6rem 0 3rem 0;
  }
  .hero .hero__title{
    font-size:2.05rem;
  }
  .carousel{
    grid-template-columns:1fr;
  }
  .features__list ul{
    grid-template-columns:1fr;
  }
  .plan_item_ready_to_start{
    flex-direction:column;
    align-items:flex-start;
  }
  .whatsapp-fab{
    width:54px;
    height:54px;
  }
}
