/* =====================================================
   TECNOMEDIA — PREMIUM CSS
   Design: DESIGN_VARIANCE:8 | MOTION_INTENSITY:6 | VISUAL_DENSITY:4
   Colors: Orange #f19106 · Blue #0214a4
   Font: Outfit (display/body) + JetBrains Mono (mono)
   ===================================================== */

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

:root {
  /* Brand */
  --orange:      #f19106;
  --orange-dim:  #c97700;
  --orange-bg:   rgba(241,145,6,0.08);
  --orange-bdr:  rgba(241,145,6,0.2);
  --blue:        #0214a4;
  --blue-mid:    #0118c0;
  --blue-dark:   #010c6a;
  --blue-bg:     rgba(2,20,164,0.06);
  --blue-bdr:    rgba(2,20,164,0.14);

  /* Neutral (warm zinc) */
  --ink:         #111118;
  --ink-2:       #1e1e2a;
  --zinc-600:    #52525e;
  --zinc-400:    #a1a1aa;
  --zinc-200:    #e4e4e7;
  --zinc-100:    #f4f4f5;
  --zinc-50:     #fafafa;
  --white:       #ffffff;

  /* Type */
  --font:        'Outfit', system-ui, sans-serif;
  --mono:        'JetBrains Mono', 'Courier New', monospace;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  /* Shadows (tinted to bg) */
  --shadow-card:  0 2px 12px -4px rgba(1,8,60,0.08), 0 1px 3px rgba(1,8,60,0.04);
  --shadow-lift:  0 16px 48px -12px rgba(1,8,60,0.14);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-base:    0.3s;
  --dur-slow:    0.5s;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ── BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* Skip to content (accesibilidad) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: normal; }

.mono { font-family: var(--mono); }

/* ── TYPOGRAPHY SCALE ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zinc-400);
  margin-bottom: 16px;
}
.eyebrow--orange { color: var(--orange); }

.accent-orange { color: var(--orange); }
.accent-blue   { color: var(--blue); }
.highlight-orange {
  font-weight: 800;
  color: var(--orange);
  font-size: 1.1em;
  letter-spacing: -0.02em;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn-primary:hover  { background: var(--blue-mid); box-shadow: 0 6px 24px -6px rgba(2,20,164,0.38); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-primary--orange { background: var(--orange); }
.btn-primary--orange:hover { background: var(--orange-dim); box-shadow: 0 6px 24px -6px rgba(193,110,0,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--blue-bdr);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.btn-outline:hover { background: var(--blue-bg); border-color: rgba(2,20,164,0.3); transform: translateY(-1px); }
.btn-outline:active { transform: scale(0.98); }

.btn-outline--blue { color: var(--blue); border-color: var(--blue-bdr); }

/* Nav CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.btn-nav:hover  { background: var(--orange-dim); transform: translateY(-1px); }
.btn-nav:active { transform: scale(0.98); }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--zinc-200);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.nav.scrolled { background: rgba(255,255,255,0.97); }

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--zinc-600);
  letter-spacing: -0.01em;
  transition: color var(--dur-base) var(--ease-out);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width var(--dur-base) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
}
.nav__burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px var(--gutter) 20px;
  border-top: 1px solid var(--zinc-200);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--zinc-600);
  border-bottom: 1px solid var(--zinc-100);
  transition: color var(--dur-base);
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--ink); }
.nav__mobile-link--cta {
  margin-top: 12px;
  color: var(--orange);
  font-weight: 700;
  border-bottom: none;
}

/* ── HERO — Full-screen image ───────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Hero overlay text */
.hero__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 var(--gutter);
  z-index: 2;
  pointer-events: none;
}
.hero__heading {
  font-family: var(--font);
  font-size: clamp(1.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(2, 20, 164, 0.35);
}

/* ── Hero overlay: SophIA logo (red rectangle — top-left) ── */
.hero__sophia-logo {
  position: absolute;
  top: 12%;
  left: 9%;
  z-index: 3;
  width: clamp(120px, 16vw, 240px);
  pointer-events: none;
}
.hero__sophia-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

/* ── Hero overlay: Assistant (white rectangle — center) ──── */
.hero__assistant {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: clamp(6px, 0.8vw, 10px) clamp(8px, 1vw, 14px);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  max-width: 90vw;
}
.hero__assistant-btn {
  flex-shrink: 0;
  padding: clamp(4px, 0.5vw, 8px) clamp(10px, 1.2vw, 18px);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(0.9rem, 1.3vw, 1.12rem);
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  cursor: default;
  white-space: nowrap;
}
.hero__assistant-input {
  padding: clamp(4px, 0.5vw, 8px) clamp(8px, 1vw, 16px);
  background: var(--zinc-100);
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-sm);
  min-width: 0;
}
.hero__assistant-placeholder {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.3vw, 1.18rem);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ── Hero overlay: Benefits (blue rectangle — bottom-center) */
.hero__benefits {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.5vw, 6px);
  background: rgba(2, 20, 164, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: clamp(10px, 1.5vw, 20px) clamp(14px, 2vw, 28px);
  pointer-events: none;
  max-width: 90vw;
}
.hero__benefits-line {
  font-family: var(--font);
  font-size: clamp(0.9rem, 1.3vw, 1.18rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  white-space: nowrap;
}

/* ── Responsive adjustments for hero overlays ────────────── */
@media (max-width: 640px) {
  .hero__sophia-logo {
    top: 9%;
    left: 1%;
    width: 176px;
  }
  .hero__assistant {
    top: 28%;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
  }
  .hero__assistant-input {
    width: 100%;
  }
  .hero__benefits {
    bottom: 6%;
    padding: 8px 12px;
    max-width: none;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__benefits-line {
    white-space: nowrap;
    font-size: 0.92rem;
  }
}

/* Gentle gradient at bottom for smooth transition to white */
.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18));
  pointer-events: none;
}

/* ── INTRO — Left-aligned split ─────────────────────────── */
.intro {
  background: var(--white);
  padding: clamp(72px, 9vw, 112px) 0;
  border-bottom: 1px solid var(--zinc-100);
}
.intro__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.intro__heading {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 24px;
}
.intro__body {
  font-size: 1.05rem;
  color: var(--zinc-600);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 36px;
}
.intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Stats block — right column */
.stats-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--zinc-200);
  padding-left: 48px;
}
.stat { padding: 20px 0; }
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.78rem;
  color: var(--zinc-400);
  letter-spacing: 0.02em;
}
.stat__rule {
  height: 1px;
  background: var(--zinc-200);
}

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee {
  background: var(--blue);
  overflow: hidden;
  padding: 13px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0 24px;
}
.marquee__track .sep {
  color: rgba(255,255,255,0.3);
  padding: 0 4px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SOPHIA SECTION — Dark asymmetric ──────────────────── */
.sophia-section {
  background: var(--blue-dark);
  padding: clamp(80px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
/* Radial glow decoration */
.sophia-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 60vw;
  height: 120%;
  background: radial-gradient(ellipse at 65% 40%, rgba(241,145,6,0.06) 0%, transparent 62%);
  pointer-events: none;
}
.sophia-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.sophia-section__title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 14px;
}
.sophia-section__subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  line-height: 1.5;
}
.sophia-section__lead {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 36px;
}
.sophia-section__lead strong { color: var(--white); font-weight: 600; }

/* Feature list */
.sophia-section__features {
  display: flex;
  flex-direction: column;
}
.sophia-feat {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--dur-base);
}
.sophia-feat:first-child { padding-top: 0; }
.sophia-feat:last-child  { border-bottom: none; padding-bottom: 0; }

.sophia-feat__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(160,190,255,0.9);
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.sophia-feat:hover .sophia-feat__icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.sophia-feat__icon svg { width: 20px; height: 20px; }
.sophia-feat__icon--accent {
  color: var(--orange);
  background: rgba(241,145,6,0.1);
  border-color: rgba(241,145,6,0.22);
}
.sophia-feat:hover .sophia-feat__icon--accent { background: rgba(241,145,6,0.18); }

.sophia-feat__title {
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}
.sophia-feat__text {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}
.sophia-feat__text em { color: rgba(255,255,255,0.85); font-style: italic; }
.sophia-feat__text strong { color: var(--white); font-weight: 600; }

/* ── MODULES — Bento grid ───────────────────────────────── */
.modules {
  background: var(--zinc-50);
  padding: clamp(80px, 10vw, 128px) 0;
}
.modules__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.modules__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(52px, 7vw, 84px);
}
.modules__title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
.modules__lead {
  font-size: 1rem;
  color: var(--zinc-600);
  line-height: 1.75;
}
.modules__lead strong { color: var(--ink); font-weight: 600; }

/* Bento grid: auto 2-col, AI card spans full row */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Base card */
.bento-card {
  background: var(--white);
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(2,20,164,0.16);
}

/* AI featured card */
.bento-card--ai {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background: linear-gradient(140deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-color: transparent;
  padding: clamp(28px, 4vw, 48px);
}
.bento-card--ai:hover {
  box-shadow: 0 20px 56px -12px rgba(1,8,60,0.32);
  border-color: transparent;
}
.bento-card--ai .bento-card__tag {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}
.bento-card--ai .bento-card__title {
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}
.bento-card--ai .bento-card__text {
  color: rgba(255,255,255,0.72);
}
.bento-card--ai .bento-card__text em { color: rgba(255,255,255,0.92); font-style: italic; }

/* AI icon */
.bento-card__icon-wrap { flex-shrink: 0; }
.bento-card__ai-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(241,145,6,0.14);
  border: 1px solid rgba(241,145,6,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.bento-card__ai-icon svg { width: 32px; height: 32px; }

/* Pulse ring decoration on AI card */
.bento-card__pulse-ring {
  position: absolute;
  right: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(241,145,6,0.1);
  pointer-events: none;
}
.bento-card__pulse-ring::after {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(241,145,6,0.07);
}

/* Module icon */
.bento-card__mod-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--blue-bg);
  border: 1px solid var(--blue-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background var(--dur-base);
}
.bento-card__mod-icon svg { width: 20px; height: 20px; }
.bento-card:hover .bento-card__mod-icon { background: rgba(2,20,164,0.1); }

.bento-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-bg);
  border: 1px solid var(--orange-bdr);
  border-radius: 99px;
  padding: 3px 10px;
}
.bento-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}
.bento-card__text {
  font-size: 0.875rem;
  color: var(--zinc-600);
  line-height: 1.72;
}

/* ── PRODUCTS ───────────────────────────────────────────── */
.products {
  background: var(--white);
  padding: clamp(80px, 10vw, 128px) 0;
  border-top: 1px solid var(--zinc-100);
}
.products__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.products__head { margin-bottom: clamp(32px, 4vw, 48px); }
.products__title {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 8px;
}

/* SophIA logo */
.products__logo-wrap {
  margin-bottom: clamp(40px, 5vw, 60px);
  display: flex;
  align-items: center;
  padding: 28px 36px;
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-xl);
  background: var(--zinc-50);
  max-width: 480px;
}
.products__sophia-logo { height: 52px; width: auto; }

/* Product cards — asymmetric 2-col */
.products__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.prod-card {
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.prod-card--featured {
  background: var(--blue-dark);
  border-color: transparent;
}
.prod-card--featured .prod-card__eyebrow { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }
.prod-card--featured .prod-card__title   { color: var(--white); }
.prod-card--featured .prod-card__desc    { color: rgba(255,255,255,0.7); }
.prod-card--featured .prod-card__list li { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.08); }
.prod-card--featured .check              { stroke: var(--orange); }

.prod-card--instituto {
  background: #f19106;
  border-color: transparent;
}
.prod-card--instituto .prod-card__eyebrow { color: #1a1a1a; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.08); }
.prod-card--instituto .prod-card__title   { color: #000; }
.prod-card--instituto .prod-card__desc    { color: #1a1a1a; }
.prod-card--instituto .prod-card__list li { color: #000; border-color: rgba(0,0,0,0.12); }
.prod-card--instituto .check              { stroke: #000; }

.btn-outline--instituto {
  color: #000;
  border-color: rgba(0,0,0,0.4);
}
.btn-outline--instituto:hover {
  background: rgba(0,0,0,0.08);
  border-color: #000;
}

.prod-card__eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange-bdr);
  border-radius: 99px;
  padding: 4px 12px;
  align-self: flex-start;
  background: var(--orange-bg);
}
.prod-card__title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.15;
}
.prod-card__desc {
  font-size: 0.93rem;
  color: var(--zinc-600);
  line-height: 1.7;
}
.prod-card__list {
  display: flex;
  flex-direction: column;
}
.prod-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--zinc-600);
  padding: 10px 0;
  border-bottom: 1px solid var(--zinc-100);
}
.prod-card__list li:last-child { border-bottom: none; }
.check { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--blue); }

/* Feature strip */
.feat-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-lg);
  background: var(--zinc-50);
  padding: 0 8px;
}
.feat-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--zinc-600);
}
.feat-strip__item svg { width: 18px; height: 18px; stroke: var(--blue); flex-shrink: 0; }
.feat-strip__sep {
  width: 1px;
  height: 28px;
  background: var(--zinc-200);
}

/* ── ABOUT — Asymmetric split ───────────────────────────── */
.about {
  background: var(--zinc-50);
  padding: clamp(80px, 10vw, 128px) 0;
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 8px 0 18px;
  line-height: 1.1;
}
.about__body {
  font-size: 1rem;
  color: var(--zinc-600);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 40px;
}
.about__pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--zinc-200);
}
.pillar:last-child { border-bottom: none; }
.pillar__num {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--orange);
  padding-top: 3px;
}
.pillar__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.pillar__text {
  font-size: 0.875rem;
  color: var(--zinc-600);
  line-height: 1.72;
}

/* About image */
.about__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: 0 4px 16px -4px rgba(1,8,60,0.18);
}
.about__badge-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 2px;
}
.about__badge-label {
  font-size: 0.75rem;
  color: var(--zinc-600);
}

/* ── WHY ────────────────────────────────────────────────── */
.why {
  background: var(--white);
  padding: clamp(80px, 10vw, 128px) 0;
  border-top: 1px solid var(--zinc-100);
}
.why__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.why__head { margin-bottom: clamp(48px, 6vw, 72px); }
.why__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.1;
}

/* divide-y style list — Rule 4 anti-card */
.why__list { display: flex; flex-direction: column; }
.why__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--zinc-200);
}
.why__item:last-child { border-bottom: 1px solid var(--zinc-200); }
.why__num {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--zinc-400);
  padding-top: 2px;
}
.why__item-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.why__text {
  font-size: 0.88rem;
  color: var(--zinc-600);
  line-height: 1.72;
  max-width: 52ch;
}
.why__emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--zinc-200);
  justify-content: center;
  flex-shrink: 0;
}
.why__emblem span:first-child {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.why__emblem span:last-child { font-size: 0.65rem; color: var(--zinc-400); }

/* Why tags */
.why__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 200px;
}
.wtag {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--zinc-200);
  color: var(--zinc-600);
}
.wtag--accent {
  background: var(--blue-bg);
  border-color: var(--blue-bdr);
  color: var(--blue);
}

/* Support dots */
.why__dots { display: flex; gap: 8px; align-items: center; }
.wdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
.pulse { animation: pulse 2s ease-in-out infinite; }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--blue);
  padding: clamp(60px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -6%;
  top: -40%;
  width: 50vw;
  height: 200%;
  background: radial-gradient(ellipse at 60% 50%, rgba(241,145,6,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band__title {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.15;
  max-width: 56ch;
  margin-bottom: 10px;
}
.cta-band__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact {
  background: var(--white);
  padding: clamp(80px, 10vw, 128px) 0;
  border-top: 1px solid var(--zinc-100);
}
.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 8px 0 18px;
  line-height: 1.1;
}
.contact__body {
  font-size: 1rem;
  color: var(--zinc-600);
  line-height: 1.75;
  max-width: 48ch;
  margin-bottom: 36px;
}
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--zinc-600);
}
.contact__detail-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); }
.contact__link { color: var(--blue); font-weight: 500; transition: color var(--dur-base); }
.contact__link:hover { color: var(--blue-mid); }

/* Form */
.contact__form-wrap {
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 44px);
}
.contact__form { display: flex; flex-direction: column; gap: 22px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.field__input {
  padding: 11px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  width: 100%;
}
.field__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2,20,164,0.08);
}
.field__input.error { border-color: #dc2626; }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field__optional { font-weight: 400; color: var(--zinc-400); }
.field__textarea { resize: vertical; min-height: 100px; }
.field__helper { font-size: 0.75rem; color: var(--zinc-400); }
.field__error { font-size: 0.75rem; color: #dc2626; min-height: 1.2em; }

.btn-submit {
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  width: 100%;
}
.btn-submit:hover  { background: var(--blue-mid); box-shadow: 0 6px 24px -6px rgba(2,20,164,0.38); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.99); }
.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: #15803d;
  font-weight: 500;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--ink-2);
  padding: 0;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding: clamp(52px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { height: 34px; width: auto; filter: brightness(0.9); }
.footer__tagline {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 36ch;
}
.footer__nav {
  display: flex;
  gap: 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-base);
}
.footer__link:hover { color: rgba(255,255,255,0.9); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.footer__tagline-sm {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  font-family: var(--mono);
}

/* ── SCROLL ANIMATIONS (MOTION_INTENSITY:6) ─────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro__inner { gap: 48px; }
  .about__inner { gap: 48px; }
  .contact__inner { gap: 48px; }
  .sophia-section__inner { gap: 48px; }
}

@media (max-width: 900px) {
  .sophia-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products__grid {
    grid-template-columns: 1fr;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__visual { order: -1; }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__nav { gap: 36px; }
}

@media (max-width: 768px) {
  .nav__links, .btn-nav { display: none; }
  .nav__burger { display: flex; }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-block {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--zinc-200);
    padding-top: 24px;
    gap: 0;
  }
  .stat { padding: 12px 20px 12px 0; }
  .stat__rule { width: 1px; height: auto; align-self: stretch; }

  .bento { grid-template-columns: 1fr; }
  .bento-card--ai { flex-direction: column; align-items: flex-start; }

  .why__item {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  .why__emblem, .why__tags, .why__dots {
    grid-column: 2;
    margin-top: 12px;
  }

  .feat-strip { flex-direction: column; align-items: flex-start; padding: 8px 16px; }
  .feat-strip__sep { width: 100%; height: 1px; }

  .footer__nav { flex-direction: column; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .intro__heading { font-size: 2.4rem; }
  .products__logo-wrap { padding: 20px 24px; }
  .products__sophia-logo { height: 38px; }
}

/* ── WhatsApp floating button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .45);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37, 211, 102, .6);
}
.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.whatsapp-float:active {
  transform: scale(1.04);
}
