:root{
  --bg:#ffffff;
  --text:#0e141b;
  --muted:#5b6774;
  --line:#e6e9ee;
  --primary:#1f6fe5;
  --primary2:#0b3a99;
  --teal:#0b8f7a;
  --shadow:0 12px 30px rgba(0,0,0,.12);
  --radius:16px;
  --container:1160px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}

.topbar{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.topbar__text{
  text-align:center;
  padding:10px 0;
  font-weight:600;
  font-size:14px;
  color:#222;
}

.header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.header__inner{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:10px}
.brand__logo{height:48px;width:auto}

.navToggle{
  margin-left:auto;
  display:none;
  width:44px;height:40px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px;
}
.navToggle span{
  display:block;height:2px;background:#111;border-radius:2px;
}
.navToggle span+span{margin-top:6px}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:18px;
}
.nav__link{
  font-weight:600;
  font-size:14px;
  color:#1b2733;
  padding:10px 8px;
  border-radius:10px;
}
.nav__link:hover{background:rgba(31,111,229,.08)}
.nav__link.is-active{
  color:#1b2733;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}
.nav__dropdown{position:relative}
.nav__link--btn{
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
}
.chev{
  width:8px;height:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  margin-top:-2px;
  opacity:.8;
}
.nav__menu{
  position:absolute;
  top:44px;
  left:0;
  min-width:220px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px;
  display:none;
}
.nav__menu a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  font-weight:600;
  font-size:13px;
  color:#1b2733;
}
.nav__menu a:hover{background:rgba(31,111,229,.08)}
.nav__dropdown.is-open .nav__menu{display:block}

.header__right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}
.social{display:flex;align-items:center;gap:10px}
.social__a{
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:999px;
  color:#111;
}
.social__a:hover{background:rgba(0,0,0,.06)}
.social__a svg{width:18px;height:18px;fill:currentColor}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
}
.btn--primary{
  background:var(--primary);
  color:#fff;
  box-shadow:0 8px 24px rgba(31,111,229,.28);
}
.btn--primary:hover{background:#1a63cf}
.btn--wa{
  background:#0ea37f;
  color:#fff;
}
.btn--wa:hover{background:#0b8f7a}
.btn__icon{display:grid;place-items:center}
.btn__icon svg{width:18px;height:18px;fill:currentColor}

.hero{
  position:relative;
  overflow:hidden;
  background:#0b1118;
  color:#fff;
}
.hero__bgWrap{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.hero__bgVideo{
  position:absolute;
  top:-12%;
  left:-22%;
  height:124%;
  width:78%;
  object-fit:cover;
  opacity:.85;
  filter:saturate(1.05) contrast(1.08);
  transform:scale(1.02);
  /* recorte curvo vertical como en la captura */
  clip-path: ellipse(74% 110% at 28% 50%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:-40px -40px -40px -40px;
  background:
    radial-gradient(900px 400px at 20% 40%, rgba(56,182,255,.20), transparent 55%),
    radial-gradient(700px 400px at 55% 60%, rgba(31,111,229,.22), transparent 60%),
    radial-gradient(520px 420px at 15% 70%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.80) 100%);
  pointer-events:none;
  z-index:1;
}
.hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:center;
  padding:56px 0;
  min-height:520px;
}
.hero__copy h1{
  margin:0 0 16px 0;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.hero__copy p{
  margin:0 0 24px 0;
  max-width:560px;
  color:rgba(255,255,255,.86);
  font-weight:500;
  line-height:1.5;
}
.hero__ctaRow{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.hero__proof{
  display:flex;
  align-items:center;
  gap:12px;
}
.stars{
  font-size:16px;
  letter-spacing:2px;
  color:#fff;
  opacity:.95;
}
.hero__proofText{
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.84);
  max-width:340px;
}
.hero__visual{
  justify-self:end;
  width:min(520px, 100%);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  position:relative;
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  border:1px solid rgba(255,255,255,.12);
}
.hero__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,0) 70%);
}
.hero__visual img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}

.section{padding:42px 0;background:#fff}
.section--cards{border-top:1px solid var(--line)}
.section--soft{background:#f7f9fc;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section__title{
  text-align:center;
  font-size:34px;
  letter-spacing:-.02em;
  margin:0 0 22px 0;
}
.pageHero{
  background:#0b1118;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.pageHero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(56,182,255,.20), transparent 55%),
    radial-gradient(700px 420px at 70% 55%, rgba(14,163,127,.18), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.72) 100%);
  pointer-events:none;
}
.pageHero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:center;
  padding:48px 0;
}
.pageHero h1{
  margin:0 0 12px 0;
  font-size:40px;
  line-height:1.1;
  letter-spacing:-.02em;
}
.pageHero p{
  margin:0 0 18px 0;
  color:rgba(255,255,255,.86);
  font-weight:600;
  max-width:620px;
  line-height:1.5;
}
.pageHero__img{
  justify-self:end;
  width:min(520px, 100%);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.12);
}
.pageHero__img img{width:100%;height:100%;object-fit:cover}

.bullets{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:10px;
}
.bullet{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.bullet__title{font-weight:900;margin:0 0 6px 0}
.bullet__text{margin:0;color:var(--muted);font-weight:600;line-height:1.45}

.h3{
  font-size:22px;
  margin:0 0 10px 0;
  letter-spacing:-.01em;
}
.kicker{
  font-weight:900;
  color:#1b2733;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  opacity:.75;
}
.grid3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.miniCard{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  background:#fff;
}
.miniCard__title{font-weight:900;margin:0 0 8px 0}
.miniCard__text{margin:0 0 12px 0;color:var(--muted);font-weight:600;line-height:1.45}
.miniCard__actions{display:flex;gap:10px;flex-wrap:wrap}
.btn--ghost{
  background:transparent;
  border:1px solid rgba(31,111,229,.35);
  color:#1f6fe5;
}
.btn--ghost:hover{background:rgba(31,111,229,.08)}

.contactStrip{
  background:#0b1118;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.contactStrip__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:start;
  padding:34px 0;
}
.contactStrip__title{
  margin:0 0 10px 0;
  font-size:30px;
  letter-spacing:-.02em;
}
.contactStrip__text{
  margin:0;
  color:rgba(255,255,255,.78);
  font-weight:600;
  max-width:560px;
}
.contactStrip__card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,.04);
}
.contactStrip__kicker{font-weight:900;opacity:.85;margin-bottom:10px;text-transform:lowercase}
.contactStrip__item{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid rgba(255,255,255,.10)}
.contactStrip__item:first-of-type{border-top:0}
.contactStrip__label{color:rgba(255,255,255,.70);font-weight:700}
.contactStrip__item a{color:#fff;font-weight:800}
.contactStrip__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(0,0,0,.10);
}
.card__img{
  height:140px;
  background:#f3f6fb;
}
.card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.card__body{padding:16px 16px 18px}
.card__title{font-weight:800;font-size:16px;margin-bottom:6px}
.card__text{color:var(--muted);font-weight:600;font-size:13px;line-height:1.45}

.section--videoIntro{padding-top:28px;padding-bottom:34px}
.videoIntro{max-width:980px;text-align:center}
.videoIntro__title{
  margin:0 0 12px 0;
  font-size:38px;
  letter-spacing:-.02em;
}
.videoIntro__text{
  margin:0 auto 18px auto;
  color:var(--muted);
  font-weight:600;
  line-height:1.6;
  max-width:860px;
}
.btn--outlineDark{
  background:#fff;
  border:1px solid #111;
  color:#111;
  padding:12px 26px;
}
.btn--outlineDark:hover{background:rgba(0,0,0,.04)}

.section--yt{padding-top:30px}
.ytGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:26px;
}
.yt__frame{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 34px rgba(0,0,0,.10);
  background:#000;
}
.yt__frame iframe{
  width:100%;
  aspect-ratio: 16 / 9;
  border:0;
  display:block;
}
.yt__cta{
  display:block;
  margin:14px auto 0 auto;
  width:max-content;
  padding:10px 20px;
  border:1px solid #111;
  border-radius:999px;
  font-weight:700;
  background:#fff;
  color:#111;
}
.yt__cta:hover{background:rgba(0,0,0,.04)}

/* Galería */
.gallery{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:#0b1118;
}
.gallery__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.55;
  filter:saturate(1.05) contrast(1.08);
  transform:scale(1.02);
}
.gallery::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 480px at 50% 10%, rgba(0,0,0,.20), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.60) 40%, rgba(0,0,0,.76) 100%);
  pointer-events:none;
}
.gallery__inner{
  position:relative;
  z-index:2;
  padding:58px 0 52px;
  text-align:center;
}
.gallery__title{
  margin:0 0 10px 0;
  font-size:34px;
  letter-spacing:-.02em;
}
.gallery__subtitle{
  margin:0 auto 26px auto;
  max-width:640px;
  color:rgba(255,255,255,.78);
  font-weight:600;
  line-height:1.6;
}
.galleryGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.galleryItem{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 46px rgba(0,0,0,.35);
  background:rgba(255,255,255,.04);
}
.galleryItem img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}

/* Blog */
.postGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.postCard{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.postCard:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(0,0,0,.10);
}
.postCard__img{height:200px;background:#f3f6fb}
.postCard__img img{width:100%;height:100%;object-fit:cover}
.postCard__body{padding:16px}
.postCard__meta{color:var(--muted);font-weight:700;font-size:12px;margin-bottom:8px}
.postCard__title{font-weight:900;font-size:16px;line-height:1.25;margin-bottom:8px}
.postCard__excerpt{color:var(--muted);font-weight:600;line-height:1.45}

.post{
  max-width:900px;
  margin:0 auto;
}
.post__meta{
  color:var(--muted);
  font-weight:700;
  margin:6px 0 18px 0;
}
.post__hero{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 34px rgba(0,0,0,.10);
  margin:16px 0 22px 0;
}
.post__hero img{width:100%;height:auto;display:block}
.post h1{font-size:38px;letter-spacing:-.02em;margin:0}
.post h2{font-size:24px;letter-spacing:-.01em;margin:26px 0 10px 0}
.post h3{font-size:18px;margin:18px 0 8px 0}
.post p{color:#1b2733;font-weight:500;line-height:1.75}
.post ul{padding-left:18px}
.post li{margin:6px 0;color:#1b2733;font-weight:500;line-height:1.65}
.post__ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.post__img{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  margin:14px 0;
}
.post__img img{width:100%;height:auto;display:block}
.post__note{
  background:#f6f8fb;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  color:var(--muted);
  font-weight:600;
}

/* Nosotros */
.aboutWrap{max-width:980px;margin:0 auto}
.aboutSplit{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.aboutCard{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.aboutText{margin:10px 0 0 0;color:#1b2733;font-weight:500;line-height:1.75}
.aboutMedia{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:18px;
  align-items:center;
}
.aboutMedia__img{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 34px rgba(0,0,0,.10);
  background:#fff;
}
.aboutMedia__img img{width:100%;height:100%;object-fit:cover;display:block}
.aboutList{margin:10px 0 0 0;padding-left:18px}
.aboutList li{margin:8px 0;line-height:1.65}
.aboutCta{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}

.aboutParallax{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  background-image: var(--aboutParallaxBg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.aboutParallax::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.22);
}
.aboutParallax__inner{
  position:relative;
  z-index:2;
  padding:90px 0;
  display:flex;
  justify-content:center;
}
.aboutParallax__card{
  width:min(760px, 100%);
  background:rgba(245,245,245,.92);
  border-radius:8px;
  padding:34px 40px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}
.aboutParallax__title{
  margin:0 0 14px 0;
  font-size:34px;
  letter-spacing:-.02em;
  text-align:center;
}
.aboutParallax__text{
  margin:0;
  color:#111;
  font-weight:500;
  line-height:1.65;
}
.ytNote{
  margin:16px 0 0 0;
  color:var(--muted);
  font-weight:600;
  text-align:center;
}

.footer{
  background:#0b1118;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer__inner{
  padding:44px 0;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
}
.footer__brand p{
  margin:10px 0 0 0;
  color:rgba(255,255,255,.78);
  font-weight:600;
  max-width:420px;
}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:22px;
}
.footer__title{font-weight:800;margin:4px 0 10px 0}
.footer a{
  display:block;
  padding:6px 0;
  color:rgba(255,255,255,.82);
  font-weight:600;
}
.footer a:hover{color:#fff}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.08);
}
.footer__bottomInner{
  padding:16px 0;
  color:rgba(255,255,255,.65);
  font-weight:600;
  font-size:13px;
}

.chatFab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:64px;height:64px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:transparent;
  padding:0;
  z-index:60;
}
.chatFab__ring{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.2));
  box-shadow:0 18px 36px rgba(0,0,0,.18);
}
.chatFab__avatar{
  position:absolute;
  inset:6px;
  border-radius:999px;
  background:linear-gradient(145deg, #f1f3ff, #ffffff);
  display:grid;
  place-items:center;
  border:1px solid rgba(0,0,0,.08);
}
.chatFab__avatar svg{width:28px;height:28px;fill:#6b6f88}

/* Responsive */
@media (max-width: 980px){
  .header__right{gap:10px}
  .social{display:none}
  .hero__grid{grid-template-columns:1fr;min-height:unset;padding:44px 0}
  .hero__visual{justify-self:stretch;clip-path:none}
  .hero__copy h1{font-size:38px}
  .hero__bgVideo{
    left:0;
    top:0;
    width:100%;
    height:100%;
    clip-path:none;
    opacity:.55;
  }
  .cards{grid-template-columns:1fr;max-width:760px;margin:0 auto}
  .card__img{height:170px}
  .videoIntro__title{font-size:32px}
  .ytGrid{grid-template-columns:1fr}
  .postGrid{grid-template-columns:1fr}
  .gallery__inner{padding:44px 0 42px}
  .galleryGrid{grid-template-columns:1fr;gap:14px}
  .galleryItem img{height:260px}
  .aboutSplit{grid-template-columns:1fr}
  .aboutMedia{grid-template-columns:1fr}
  .aboutParallax{background-attachment: scroll; min-height:unset}
  .aboutParallax__inner{padding:54px 0}
  .aboutParallax__card{padding:22px 18px}
  .aboutParallax__title{font-size:26px}
  .pageHero__grid{grid-template-columns:1fr}
  .pageHero__img{justify-self:stretch}
  .pageHero h1{font-size:34px}
  .bullets{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .contactStrip__grid{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .navToggle{display:block}
  .nav{
    position:fixed;
    top:0;right:0;
    height:100vh;
    width:min(92vw, 360px);
    background:#fff;
    border-left:1px solid var(--line);
    transform:translateX(102%);
    transition:transform .2s ease;
    padding:92px 18px 18px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    margin-left:0;
    z-index:70;
  }
  .nav.is-open{transform:translateX(0)}
  .nav__link{padding:12px 12px}
  .nav__menu{
    position:static;
    display:none;
    box-shadow:none;
    border:1px solid var(--line);
    margin:6px 0 4px 0;
  }
  .nav__dropdown.is-open .nav__menu{display:block}
  .header__right{margin-left:0}
}


