/* ============================================================
   Tala Lab — Global Stylesheet
   ============================================================ */

/* --- Self-hosted Inter (variable font) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Design Tokens --- */
:root {
  --color-primary: #0f172a;
  --color-accent: #10b981;
  --color-accent-dark: #059669;
  --color-accent-light: #d1fae5;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2rem);
  --nav-height: 64px;
  --transition: 0.2s ease;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

p {
  color: var(--color-text);
  line-height: 1.75;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-dark);
}

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

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__logo-text strong {
  font-weight: 700;
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-accent);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
}

/* Mobile overlay nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  padding: 2rem var(--container-pad);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__mobile a:hover {
  color: var(--color-accent);
}

.nav__mobile .btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4.5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Hero two-column layout */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

/* Pixel mosaic */
.hero__mosaic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mosaic canvas {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.0625rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.68;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

/* ============================================================
   STATS SECTION (dark bg)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stat__number {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

/* ============================================================
   PRODUCT SHOWCASE (home)
   ============================================================ */
.product-intro__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.product-intro h2 {
  margin-bottom: 1.25rem;
}

.product-intro p {
  color: var(--color-text-light);
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.feature-list li .check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-list li .check svg {
  width: 11px;
  height: 11px;
  color: white;
}

/* ============================================================
   SCREENSHOT
   ============================================================ */
.screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-accent-dark);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: #f0fdf4;
  border-color: #f0fdf4;
  color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 4.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer__brand img {
  height: 106px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.125rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.72;
}

.footer__col h4 {
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.75;
  max-width: 580px;
}

/* ============================================================
   VIGIA PAGE — HERO
   ============================================================ */
.vigia-hero {
  background-color: var(--color-bg-dark);
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
  overflow: hidden;
}

.vigia-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.vigia-hero::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.vigia-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vigia-hero__logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}

.vigia-hero__title {
  color: var(--color-white);
  font-size: clamp(2.25rem, 5vw, 3.375rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.vigia-hero__subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.vigia-hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   AUDIENCE CARDS (Vigía page)
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all 0.25s ease;
}

.audience-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.audience-card__emoji {
  font-size: 2.25rem;
  margin-bottom: 0.875rem;
  line-height: 1;
}

.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.audience-card p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  transition: all 0.25s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.68;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-white);
  color: var(--color-text);
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-info {
  padding-top: 0.5rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Stagger delays */
.animate-in:nth-child(2) {
  transition-delay: 0.08s;
}

.animate-in:nth-child(3) {
  transition-delay: 0.16s;
}

.animate-in:nth-child(4) {
  transition-delay: 0.24s;
}

.animate-in:nth-child(5) {
  transition-delay: 0.32s;
}

.animate-in:nth-child(6) {
  transition-delay: 0.40s;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-text-light);
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ============================================================
   BENTO GRID — Automatización en acción
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  align-items: start;
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.4);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card__label {
  padding: 1.375rem 1.5rem 0.75rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.bento-card__icon {
  width: 34px;
  height: 34px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  margin-bottom: 0.625rem;
}

.bento-card__icon svg {
  width: 16px;
  height: 16px;
}

.bento-card__label h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.bento-card__label p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.bento-card__bg {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  max-height: 250px;
}

.bento-card__mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to top, #ffffff 20%, transparent);
  z-index: 3;
  pointer-events: none;
}

.bento-card__cta {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  z-index: 4;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.bento-card__cta:hover {
  color: var(--color-accent-dark);
  gap: 0.5rem;
}

/* — Marquee — */
.bento-marquee {
  padding: 0.5rem 0.75rem 0;
  overflow: hidden;
  height: 250px;
}

.bento-marquee__track {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: bento-scroll-up 22s linear infinite;
}

@keyframes bento-scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.bento-event {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-shrink: 0;
}

.bento-event__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.bento-event__text {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.3;
}

/* — Notifications — */
.bento-notif-wrap {
  padding: 0.5rem 1.25rem 0;
  overflow: hidden;
  height: 250px;
}

.bento-notif-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-notif {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  max-height: 70px;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.35s ease, padding 0.35s ease;
}

.bento-notif--enter {
  opacity: 0;
  transform: translateX(-14px);
}

.bento-notif--exit {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.bento-notif--success {
  border-left: 3px solid #10b981;
}

.bento-notif--info {
  border-left: 3px solid #3b82f6;
}

.bento-notif--warn {
  border-left: 3px solid #f59e0b;
}

.bento-notif__icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.bento-notif--success .bento-notif__icon {
  background: #d1fae5;
  color: #059669;
}

.bento-notif--info .bento-notif__icon {
  background: #dbeafe;
  color: #2563eb;
}

.bento-notif--warn .bento-notif__icon {
  background: #fef3c7;
  color: #d97706;
}

.bento-notif__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.bento-notif__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-notif__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-notif__time {
  font-size: 0.7rem;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* — Beam / Integration — */
.bento-beam-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  overflow: hidden;
  max-height: 250px;
}

.bento-beam-svg {
  width: 100%;
  height: auto;
  max-height: 195px;
}

.beam-path {
  animation: beam-flow 2s linear infinite;
}

@keyframes beam-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -28;
  }
}

.beam-pulse {
  animation: beam-pulse 2.5s ease-out infinite;
}

@keyframes beam-pulse {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

/* — Calendar — */
.bento-cal-wrap {
  padding: 0.625rem 1.25rem 0;
  overflow: hidden;
  max-height: 250px;
}

.bento-cal__header {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.bento-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.bento-cal__dayname {
  font-size: 0.6rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-light);
  padding-bottom: 3px;
  text-transform: uppercase;
}

.bento-cal__cell {
  font-size: 0.7rem;
  text-align: center;
  padding: 3px 1px;
  border-radius: 4px;
  color: var(--color-text);
  line-height: 1.2;
}

.bento-cal__cell--today {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-weight: 700;
}

.bento-cal__cell--report {
  font-weight: 600;
}

.bento-cal__dot {
  display: block;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  margin: 1px auto 0;
}

.bento-cal__legend {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-top: 0.625rem;
  justify-content: center;
}

/* ============================================================
   SECTION INTRO SPLIT — texto + logo
   ============================================================ */
.section-intro-split {
  display: flex;
  gap: 4rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.section-intro-split__text {
  flex: 1;
}

.section-intro-split__text .section-header__eyebrow {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.section-intro-split__text h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.section-intro-split__text p {
  color: var(--color-text-light);
  font-size: 1.0625rem;
}

.section-intro-split__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-intro-split__logo img {
  height: 100%;
  width: auto;
  max-width: 240px;
  max-height: 200px;
  object-fit: contain;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card {
    min-height: auto;
  }

  .vigia-hero__inner {
    grid-template-columns: 1fr;
  }

  .vigia-hero__visual {
    display: none;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__mosaic {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section-intro-split {
    flex-direction: column;
    gap: 2rem;
  }

  .section-intro-split__logo img {
    max-height: 140px;
    margin: 0 auto;
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   AUTOMATIZACIONES — Dashboard visual
   ============================================================ */
.autom-visual {
  perspective: 800px;
}

.autom-dashboard {
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.08);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.autom-dashboard:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.autom-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.autom-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.autom-dash-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.autom-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.autom-metric-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.autom-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.autom-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.autom-badge.up {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Bar chart */
.autom-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  padding: 0 0.25rem;
}

.autom-bar {
  flex: 1;
  background: rgba(16, 185, 129, 0.22);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.autom-bar.active {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.autom-bar span {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.autom-bar.active span {
  color: white;
}

/* Pipeline */
.autom-pipeline {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.autom-pipe-step {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.autom-pipe-step.done {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.autom-pipe-step.running {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
  animation: pulse-running 1.5s ease-in-out infinite;
}

@keyframes pulse-running {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }

  50% {
    box-shadow: 0 0 8px 2px rgba(245, 158, 11, 0.3);
  }
}

.autom-pipe-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  flex-shrink: 0;
}