/* =============================================
   ISMAEL AGUA & SODA — v3 Design
   ============================================= */

/* --- @font-face --- */
@font-face {
  font-family: 'CodecPro';
  src: url('../fonts/CodecPro-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CodecPro';
  src: url('../fonts/CodecPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CodecPro';
  src: url('../fonts/CodecPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CodecPro';
  src: url('../fonts/CodecPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --blue:       #0166FF;
  --blue-dark:  #062E83;
  --blue-navy:  #041d57;
  --blue-light: #EEF8FA;
  --white:      #FFFFFF;
  --gray:       #6b7a99;

  --font: 'CodecPro', system-ui, sans-serif;
  --nav-h: 110px;
  --nav-h-scrolled: 88px;
  --radius: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h-scrolled);
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--blue-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 720px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Transparent state (over hero video) */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,29,87,0.5) 0%, transparent 100%);
  transition: opacity var(--transition);
  pointer-events: none;
}

.navbar--scrolled::before { opacity: 0; }

.navbar--scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(6,46,131,0.08), 0 4px 24px rgba(6,46,131,0.06);
}

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 40px;
  gap: 48px;
  transition: height var(--transition);
}

.navbar--scrolled .navbar__inner {
  height: var(--nav-h-scrolled);
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  position: relative;
  display: block;
  height: 200px;
  transition: height var(--transition);
}

.navbar__logo img {
  display: block;
  height: 200px;
  width: auto;
  transition: opacity var(--transition), height var(--transition);
}

.navbar__logo .logo-white { position: relative; opacity: 1; }
.navbar__logo .logo-color { position: absolute; top: 0; left: 0; opacity: 0; }

.navbar--scrolled .navbar__logo { height: 200px; padding-top: 12px; }
.navbar--scrolled .navbar__logo img { height: 200px; }

.navbar--scrolled .logo-white { opacity: 0; }
.navbar--scrolled .logo-color { opacity: 1; }

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-start;
}

.nav-link {
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--white); }

.navbar--scrolled .nav-link { color: var(--blue-dark); }
.navbar--scrolled .nav-link:hover { color: var(--blue); }

/* CTA button */
.btn--nav {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 9px 22px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--nav:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

.navbar--scrolled .btn--nav {
  color: var(--blue-dark);
  border-color: rgba(6,46,131,0.25);
}

.navbar--scrolled .btn--nav:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.navbar--scrolled .hamburger span { background: var(--blue-dark); }

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Neutral dark overlay — no blue tint */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.30) 50%,
    rgba(0, 0, 0, 0.50) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 32px 40px;
  max-width: none;
  margin-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.hero__eyebrow {
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 7.2vw, 6rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero__title em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}

.hero__tagline {
  font-weight: 300;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn--hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue-dark);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--hero:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn--hero svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  animation: heroScroll 2.4s ease-in-out infinite;
}

.hero__scroll svg { width: 20px; height: 20px; }

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.7; }
}

/* =============================================
   HIGHLIGHTS STRIP (after hero) — light version
   ============================================= */
.highlights {
  position: relative;
  background: #fafbfd;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(6,46,131,0.06);
}

.highlights::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(1,102,255,0.05), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(1,102,255,0.04), transparent 50%);
  pointer-events: none;
}

.highlights__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1440px;
  margin: 0 auto;
}

.highlight {
  position: relative;
  padding: 72px 40px 68px;
  border-right: 1px solid rgba(6,46,131,0.08);
  transition: background 0.5s var(--ease);
}

.highlight:last-child { border-right: none; }

.highlight::before {
  content: attr(data-num);
  position: absolute;
  top: 28px;
  right: 32px;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(6,46,131,0.3);
}

.highlight:hover {
  background: rgba(1,102,255,0.035);
}

.highlight__line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 32px;
  transition: width 0.4s var(--ease);
}

.highlight:hover .highlight__line { width: 64px; }

.highlight__title {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--blue-dark);
  margin-bottom: 14px;
  text-transform: none;
}

.highlight__text {
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray);
  letter-spacing: 0.01em;
}

/* =============================================
   ABOUT (Quiénes somos — full-width banner)
   ============================================= */
.about {
  position: relative;
  min-height: 640px;
  padding: 140px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--blue-navy);
}

.about__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 53%;
  background-repeat: no-repeat;
  filter: grayscale(20%) contrast(1.05);
  transform: scale(1.04);
  transition: transform 12s var(--ease);
}

.about:hover .about__bg { transform: scale(1); }

.about__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(4, 29, 87, 0.94) 0%,
      rgba(4, 29, 87, 0.82) 38%,
      rgba(4, 29, 87, 0.35) 70%,
      rgba(4, 29, 87, 0.15) 100%
    );
}

.about__noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(1,102,255,0.25), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(1,102,255,0.18), transparent 55%);
}

.about .container { position: relative; z-index: 2; }

.about__content {
  max-width: 680px;
}

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.about__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.45);
}

.about__title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 36px;
}

.about__title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
}

.about__body {
  max-width: 560px;
  margin-bottom: 52px;
}

.about__text {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}

.about__text:last-child { margin-bottom: 0; }

.about__stats {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 620px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat__num {
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
}

.stat__label {
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.stat__divider {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.18);
}

/* =============================================
   SECTION HEADER (shared)
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
  line-height: 1.1;
}

.section-title em {
  font-style: normal;
  color: var(--blue);
  font-weight: 300;
}

/* =============================================
   PRODUCTS (Agua + Soda — editorial split)
   ============================================= */
.products {
  position: relative;
  padding: 140px 0;
  background: var(--white);
  overflow: hidden;
}

.products::before {
  content: '';
  position: absolute;
  top: 120px; left: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,102,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.products::after {
  content: '';
  position: absolute;
  bottom: 120px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,102,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 160px;
}

.product:last-child { margin-bottom: 0; }

/* Alternating layout */
.product--reverse .product__visual { order: 2; }
.product--reverse .product__content { order: 1; text-align: right; }
.product--reverse .product__label,
.product--reverse .product__cta { justify-self: end; }
.product--reverse .product__label { flex-direction: row-reverse; }
.product--reverse .product__label::before { display: none; }
.product--reverse .product__label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}
.product--reverse .product__divider { margin-left: auto; }
.product--reverse .product__text { margin-left: auto; }

/* Visual column */
.product__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 6;
}

.product:not(.product--reverse) .product__visual { margin-right: auto; }
.product--reverse .product__visual { margin-left: auto; }

.product__number {
  position: absolute;
  top: -56px; right: -36px;
  font-weight: 800;
  font-size: clamp(6rem, 11vw, 11rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(1,102,255,0.22);
  letter-spacing: -0.04em;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.product--reverse .product__number {
  right: auto;
  left: -36px;
}

.product__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.product__accent {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--blue);
  border-radius: 4px;
  z-index: 0;
  transition: transform 0.5s var(--ease);
}

.product--reverse .product__accent {
  right: auto;
  left: -22px;
}

.product:hover .product__accent {
  transform: translate(6px, 6px);
}

.product--reverse:hover .product__accent {
  transform: translate(-6px, 6px);
}

.product__img {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  filter: grayscale(8%);
  z-index: 1;
  box-shadow: 0 28px 64px rgba(6,46,131,0.22);
}

.product__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(4,29,87,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 9px 16px;
  border-radius: 50px;
}

/* Content column */
.product__content {
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.product__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

.product__label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.product__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--blue-dark);
  margin-bottom: 28px;
}

.product__title em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue);
}

.product__divider {
  width: 72px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 28px;
}

.product__text {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 44px;
  max-width: 440px;
}

.product__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: transparent;
  border: 1px solid rgba(6,46,131,0.22);
  border-radius: 50px;
  padding: 15px 32px;
  transition: all var(--transition);
}

.product--reverse .product__cta { align-self: flex-end; }

.product__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.product__cta:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6,46,131,0.22);
}

.product__cta:hover svg {
  transform: translateX(6px);
}

/* =============================================
   DIFERENCIALES (editorial asymmetric)
   ============================================= */
.diferenciales {
  position: relative;
  padding: 140px 0;
  background: #f6f8fc;
  overflow: hidden;
}

.diferenciales__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6,46,131,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,46,131,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.diferenciales__grid {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  align-items: start;
}

/* Intro (left column) — poster card with image */
.diferenciales__intro {
  position: sticky;
  top: 140px;
}

.diferenciales__poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 28px 64px rgba(6,46,131,0.18);
}

.diferenciales__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  filter: grayscale(15%) brightness(0.92);
  z-index: 1;
}

.diferenciales__poster-overlay {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(4,29,87,0.25) 0%,
    rgba(4,29,87,0.55) 45%,
    rgba(4,29,87,0.95) 100%
  );
  z-index: 2;
}

/* Offset blue frame */
.diferenciales__poster-frame {
  position: absolute;
  top: 18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--blue);
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}

.diferenciales__intro:hover .diferenciales__poster-frame {
  transform: translate(-6px, 6px);
}

.diferenciales__poster-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 40px 40px;
}

.diferenciales__poster-content .section-label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.diferenciales__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.diferenciales__title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
}

.diferenciales__lead {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 100%;
  margin-bottom: 28px;
}

.diferenciales__mark {
  display: flex;
  align-items: center;
  gap: 6px;
}

.diferenciales__mark span {
  display: block;
  height: 2px;
  background: var(--white);
}

.diferenciales__mark span:nth-child(1) { width: 48px; }
.diferenciales__mark span:nth-child(2) { width: 16px; opacity: 0.6; }
.diferenciales__mark span:nth-child(3) { width: 6px; opacity: 0.3; }

/* Features list (right column) */
.features {
  display: flex;
  flex-direction: column;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 8px 36px 4px;
  border-top: 1px solid rgba(6,46,131,0.12);
  transition: padding var(--transition), background var(--transition);
  cursor: default;
}

.feature:last-child { border-bottom: 1px solid rgba(6,46,131,0.12); }

.feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateY(-50%);
  transition: width 0.4s var(--ease);
}

.feature:hover { padding-left: 28px; }

.feature:hover::before { width: 16px; }

.feature__num {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  min-width: 64px;
  transition: transform 0.4s var(--ease);
}

.feature:hover .feature__num {
  transform: scale(1.08);
}

.feature__body {
  min-width: 0;
}

.feature__title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--blue-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature__text {
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray);
}

.feature__arrow {
  width: 20px;
  height: 20px;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  flex-shrink: 0;
}

.feature:hover .feature__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   FAQ (cards grid + decorative big question mark)
   ============================================= */
.faq {
  position: relative;
  padding: 140px 0 160px;
  background:
    linear-gradient(180deg, var(--white) 0%, #f2f7ff 100%);
  overflow: hidden;
}

/* Giant decorative "?" watermark */
.faq__decor {
  position: absolute;
  top: 60px;
  right: -80px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.faq__big-q {
  display: block;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(20rem, 42vw, 46rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(1,102,255,0.08);
}

/* Header */
.faq__header {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 80px;
}

.faq__header .section-label { margin-bottom: 16px; }

.faq__title {
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--blue-dark);
  margin-bottom: 22px;
}

.faq__title em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue);
}

.faq__lead {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 520px;
}

/* Cards grid 2x2 */
.faq__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.faq-card {
  position: relative;
  padding: 44px 44px 40px;
  background: var(--white);
  border: 1px solid rgba(6,46,131,0.08);
  border-radius: 6px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

/* Accent strip that grows from left on hover */
.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1,102,255,0.25);
  box-shadow: 0 24px 56px rgba(6,46,131,0.1);
}

.faq-card:hover::before { transform: scaleY(1); }

/* Card header row: num + label */
.faq-card__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
}

.faq-card__num {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}

.faq-card__label {
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 5px 12px;
  border: 1px solid rgba(1,102,255,0.25);
  border-radius: 50px;
}

.faq-card__question {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--blue-dark);
  margin-bottom: 22px;
  letter-spacing: 0;
}

.faq-card__sep {
  width: 40px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 22px;
  transition: width 0.4s var(--ease);
}

.faq-card:hover .faq-card__sep { width: 72px; }

.faq-card__answer {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray);
}

/* CTA banner */
.faq__cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 44px 56px;
  background: var(--blue-dark);
  border-radius: 6px;
  overflow: hidden;
}

.faq__cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,102,255,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.faq__cta-text {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.faq__cta-label {
  display: block;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.faq__cta-title {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--white);
  letter-spacing: 0;
  max-width: 540px;
}

.faq__cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue-dark);
  border: none;
  border-radius: 50px;
  padding: 16px 30px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.faq__cta-btn svg {
  width: 18px;
  height: 18px;
  color: #25D366;
}

.faq__cta-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(1,102,255,0.4);
}

.faq__cta-btn:hover svg { color: var(--white); }

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  position: relative;
  background: var(--blue-navy);
  color: var(--white);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(1,102,255,0.2), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(1,102,255,0.14), transparent 60%);
  pointer-events: none;
}

/* ─── TOP: Brand hero + contact strip ─── */
.site-footer__top {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
}

/* Brand statement */
.footer-hero {
  text-align: center;
  margin-bottom: 56px;
}

.footer-hero__logo {
  height: 260px;
  width: auto;
  margin: -75px auto -25px;
  display: block;
  opacity: 0.95;
}

.footer-hero__title {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-hero__title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.footer-hero__tagline {
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* Contact strip — single inline row */
.footer-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-strip__item a,
.footer-strip__item--static {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer-strip__item a:hover {
  color: var(--white);
}

.footer-strip__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-strip__item a:hover svg {
  color: var(--blue);
}

.footer-strip__item--static svg {
  color: rgba(255,255,255,0.35);
}

.footer-strip__sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ─── BOTTOM: nav + legal ─── */
.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__bottom-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-nav a {
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: inline-block;
}

.footer-nav a:hover { color: var(--white); }

.footer-legal,
.footer-credit {
  font-weight: 300;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--white); }

.footer-credit strong {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =============================================
   WHATSAPP FAB
   ============================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

.whatsapp-fab svg { width: 28px; height: 28px; }

/* =============================================
   FADE-IN
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay { transition-delay: 0.15s; }
.fade-in--delay2 { transition-delay: 0.3s; }
.fade-in--delay3 { transition-delay: 0.45s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .product { gap: 64px; margin-bottom: 120px; }
  .product__number { font-size: 7rem; top: -40px; }

  .diferenciales__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .diferenciales__intro {
    position: static;
    padding-right: 0;
  }
  .diferenciales__poster {
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }
  .diferenciales__poster-frame { left: -14px; top: 14px; }
  .diferenciales__lead { max-width: 520px; }

  .faq__grid { gap: 24px; }
  .faq__cta { padding: 40px 44px; }

  .site-footer__top { padding: 80px 0 64px; }
  .footer-hero { margin-bottom: 48px; }
  .footer-hero__logo { height: 180px; }
}

@media (max-width: 1024px) {
  :root {
    --nav-h: 100px;
    --nav-h-scrolled: 80px;
  }

  .navbar__logo,
  .navbar__logo img { height: 120px; }

  .navbar--scrolled .navbar__logo,
  .navbar--scrolled .navbar__logo img { height: 60px; }

  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: none; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid rgba(6,46,131,0.08); }

  .about { padding: 110px 0; min-height: 560px; }
  .about__stats { gap: 32px; }
  .stat__num { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 80px;
    --nav-h-scrolled: 72px;
  }

  .navbar__inner {
    padding: 10px 20px;
    justify-content: space-between;
  }

  .navbar__logo,
  .navbar__logo img { height: 200px; }

  .navbar--scrolled .navbar__logo { padding-top: 8px; }
  .navbar--scrolled .navbar__logo,
  .navbar--scrolled .navbar__logo img { height: 200px; }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .btn--nav { display: none; }

  /* Fullscreen overlay menu */
  .navbar__links {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 40px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 1001;
  }

  .navbar__links.open {
    opacity: 1;
    visibility: visible;
  }

  .navbar__links .nav-link {
    color: var(--blue-dark);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .navbar__links .nav-link:hover { color: var(--blue); }

  /* Hamburger → blue X when open */
  .hamburger.open span { background: var(--blue); }

  .hero__content {
    margin-left: 0;
    padding: calc(var(--nav-h) + 32px) 24px 80px;
    max-width: 100%;
  }

  .products { padding: 90px 0; }
  .product {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-bottom: 90px;
  }
  .product--reverse .product__visual { order: 1; }
  .product--reverse .product__content {
    order: 2;
    text-align: left;
  }
  .product--reverse .product__label { flex-direction: row; }
  .product--reverse .product__label::before {
    display: block;
    content: '';
    width: 28px;
    height: 1px;
    background: var(--blue);
  }
  .product--reverse .product__label::after { display: none; }
  .product--reverse .product__divider { margin-left: 0; }
  .product--reverse .product__text { margin-left: 0; }
  .product--reverse .product__cta { align-self: flex-start; }

  .product__visual {
    max-width: 100%;
    aspect-ratio: 4/5;
    margin: 0 auto !important;
  }

  .product__number { font-size: 5.5rem; top: -30px; right: -16px; }
  .product--reverse .product__number { left: -16px; right: auto; }

  .diferenciales { padding: 90px 0; }
  .diferenciales__poster { aspect-ratio: 4 / 3; }
  .diferenciales__poster-content { padding: 28px 28px 28px; }
  .feature { gap: 24px; padding: 28px 4px; }
  .feature__num { font-size: 2rem; min-width: 48px; }
  .feature__title { font-size: 1.05rem; }
  .feature__arrow { display: none; }

  .faq { padding: 90px 0 100px; }
  .faq__header { margin-bottom: 56px; }
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 56px;
  }
  .faq-card { padding: 36px 32px 34px; }
  .faq__big-q { font-size: 24rem; }
  .faq__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
    gap: 24px;
  }

  .highlight { padding: 56px 32px; }

  .about {
    padding: 90px 0;
    min-height: auto;
  }
  .about__stats {
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 28px;
  }
  .about__stats .stat__divider { display: none; }
  .stat { flex: 1 1 140px; }
  .stat__num { font-size: 1.7rem; }

  .diferenciales,
  .faq { padding: 80px 0; }

  .site-footer__top { padding: 72px 0 56px; }
  .footer-hero { margin-bottom: 40px; }
  .footer-hero__logo { height: 180px; margin: -50px auto -15px; }

  .footer-strip { flex-direction: column; gap: 0; }
  .footer-strip__sep { width: 40px; height: 1px; }

  .site-footer__bottom-grid {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 0;
  }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
    white-space: normal;
  }
}
