:root{
  --navy: #0E3654;
  --navy-deep: #082439;
  --blue: #2E7FB8;
  --blue-light: #EAF3FA;
  --paper: #FBFCFD;
  --ink: #12202B;
  --ink-soft: #4C5D68;
  --line: #DCE6EC;
  --wa: #22A559;
  --wa-deep: #1B8A49;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, .brand{ font-family: 'Space Grotesk', 'Inter', sans-serif; }

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

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header{
  padding: 26px 0 0;
}
.header-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.brand{
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
  display:flex;
  align-items:center;
  gap:8px;
}
.brand-mark{
  width: 11px;
  height: 11px;
  background: var(--blue);
  border-radius: 3px;
  display:inline-block;
  transform: rotate(45deg);
}
.eyebrow-tag{
  font-size: 0.78rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  display:none;
}
@media (min-width: 640px){
  .eyebrow-tag{ display:inline-block; }
}

/* Hero */
.hero{
  padding: 56px 0 8px;
}
.eyebrow{
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1{
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 22px;
  max-width: 15ch;
}
h1 em{
  font-style: normal;
  color: var(--blue);
}
.lede{
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 34px;
}

.cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  text-decoration:none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px 26px;
  border-radius: 10px;
  box-shadow: 0 10px 24px -8px rgba(34,165,89,0.55);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta:hover{
  background: var(--wa-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(27,138,73,0.6);
}
.cta svg{ width:20px; height:20px; flex-shrink:0; }
.cta-note{
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Photo */
.photo-block{
  position: relative;
  margin: 48px 0 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(8,36,57,0.35);
}
.photo-block img{
  width:100%;
  height: clamp(260px, 42vw, 460px);
  object-fit: cover;
}
.kpi-chip{
  position:absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 12px 24px -10px rgba(8,36,57,0.35);
  font-size: 0.82rem;
  line-height: 1.3;
}
.kpi-chip .num{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-deep);
  display:block;
}
.kpi-chip .label{ color: var(--ink-soft); }
.kpi-2{ left: 20px; bottom: 20px; }

/* Features */
.features{
  display:grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 68px;
}
@media (min-width: 720px){
  .features{ grid-template-columns: repeat(3, 1fr); }
}
.feature{
  border-top: 2px solid var(--blue);
  padding-top: 16px;
}
.feature h3{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--navy-deep);
}
.feature p{
  margin:0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Videos */
.videos{
  padding: 8px 0 68px;
}
.videos-title{
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 14px;
  max-width: 34ch;
}
.video-carousel{
  margin-top: 28px;
  overflow: hidden;
}
.video-track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.video-card{
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(8,36,57,0.35);
  scroll-snap-align: start;
  background: #000;
}
.video-card iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (min-width: 640px){
  .video-card{ width: 260px; }
}

.video-card-article{
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -140px 90px -40px rgba(8,36,57,0.95);
  color: #EAF2F8;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
  gap: 10px;
}
.article-tag{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7FB8E0;
}
.article-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.article-link{
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.article-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 48px;
}
@media (min-width: 640px){
  .article-grid{ grid-template-columns: 1fr 1fr; }
}
.article-card{
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -160px 100px -40px rgba(8,36,57,0.95), 0 20px 40px -24px rgba(8,36,57,0.35);
  color: #EAF2F8;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  border-radius: var(--radius);
  padding: 24px 22px;
  gap: 10px;
}

.video-card-instagram{
  background: #fff;
  overflow-y: auto;
}
.video-card-instagram iframe{
  width: 100% !important;
}

/* Footer / closing CTA */
footer{
  background: var(--navy-deep);
  color: #EAF2F8;
  padding: 52px 0 40px;
  margin-top: 40px;
}
footer .foot-row{
  display:flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
@media (min-width: 720px){
  footer .foot-row{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
footer h2{
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #fff;
}
footer p{
  margin:0;
  color: #A9C1D2;
  font-size: 0.95rem;
  max-width: 42ch;
}
.foot-brand{
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #7C97AA;
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}

/* WhatsApp button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.whatsapp-button:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

/* Para celulares */
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button svg {
    width: 50px !important;
    height: 50px !important;
  }
}
