/* ==========================================================
   LIVLIN · styles.css
   Diseño orgánico-naturalista - Responsive - Accesible
   Paleta: #7ADAA5, #239BA7, #E1AA36, #112E4D, #FAF9F4, #F6F3E9
   Tipografías: Poppins (UI) + Merriweather (titulares)
   ========================================================== */

/* ---------- 1. Variables y reset ---------- */
:root {
  --pink: #FF37D5;
  --pink-soft: #ff8de8;
  --pink-glow: rgba(255, 55, 213, 0.15);
  --green-light: #7ADAA5;
  --green-dark: #4FB87E;
  --teal: #239BA7;
  --teal-dark: #1A7783;
  --amber: #E1AA36;
  --amber-soft: #F4D78A;
  --text: #112E4D;
  --text-soft: #2A4868;
  --bg: #FAF9F4;
  --cream: #F6F3E9;
  --card: #FFFFFF;
  --muted: #506477;
  --border: #E5E2D5;
  --shadow-soft: 0 4px 20px rgba(17, 46, 77, 0.06);
  --shadow-medium: 0 8px 32px rgba(17, 46, 77, 0.10);
  --shadow-strong: 0 16px 48px rgba(17, 46, 77, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 2. Tipografía ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: 'Poppins', sans-serif; font-weight: 600; }

p { color: var(--text-soft); }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 640px;
}

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

section {
  padding: clamp(48px, 12vw, 96px) 0;
  position: relative;
}

@media (max-width: 768px) {
  section { padding: clamp(40px, 10vw, 64px) 0; }
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(32px, 6vw, 56px);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: white;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
  border-color: var(--teal);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ---------- 5. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 249, 244, 0.98);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-logo .nav-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  display: block;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a::after {
  content: '▾';
  font-size: 0.65em;
  margin-left: 4px;
  opacity: 0.5;
  transition: var(--transition);
}

.nav-item-dropdown:hover > a::after {
  opacity: 1;
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 0;
  list-style: none;
  box-shadow: var(--shadow-strong);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(8px);
}

/* Hover trigger for desktop */
.nav-item-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Invisible bridge so menu doesn't close when moving mouse */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

/* Flecha */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  z-index: 1;
}

.dropdown-menu li {
  width: 100%;
  display: block;
  margin: 0;
}

.dropdown-menu a {
  padding: 11px 22px;
  font-size: 0.88rem;
  color: var(--text) !important;
  display: block;
  width: 100%;
  text-align: left;
  font-weight: 400;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(122, 218, 165, 0.12), transparent);
  color: var(--teal) !important;
  border-left-color: var(--teal);
}

.dropdown-menu a::after {
  display: none !important;
}


/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    overflow-y: auto;
    max-height: calc(100vh - 76px);
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { font-size: 1.05rem; padding: 12px 0; width: 100%; }

  .nav-item-dropdown > a::after { display: inline-block; }

  .dropdown-menu {
    position: static;
    display: none;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(35, 155, 167, 0.06);
    border-left: 3px solid var(--green-light);
    padding: 6px 0 6px 16px;
    margin: 4px 0 8px;
    min-width: auto;
    opacity: 1;
    pointer-events: auto;
    border-radius: 0 8px 8px 0;
  }

  .dropdown-menu::before { display: none; }
  .nav-item-dropdown::after { display: none; }
  .nav-item-dropdown:hover .dropdown-menu { display: none; transform: none !important; left: auto !important; }
  .nav-item-dropdown.active .dropdown-menu { display: block; transform: none !important; left: auto !important; }
  .nav-item-dropdown.active > a::after {
    transform: rotate(180deg);
    opacity: 1;
  }
  .dropdown-menu a {
    font-size: 0.95rem;
    padding: 11px 0;
    border-left: none;
    color: var(--text) !important;
    font-weight: 500;
  }
  .dropdown-menu a:hover { background: transparent; color: var(--teal) !important; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 218, 165, 0.08) 0%, rgba(35, 155, 167, 0.05) 50%, rgba(225, 170, 54, 0.08) 100%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 40px; }
}

.hero-content .eyebrow {
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.85;
  z-index: 2;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--green-light);
  opacity: 0.7;
  z-index: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat .num {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

/* ---------- 7. Problema ---------- */
.problema {
  background: var(--bg);
  text-align: center;
}

.problema-content {
  max-width: 780px;
  margin: 0 auto;
}

.problema h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 28px;
}

.problema p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.problema strong {
  color: var(--text);
  font-weight: 600;
}

.flow-process {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding: 28px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}

.flow-arrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
}

@media (max-width: 700px) {
  .flow-process { font-size: 0.85rem; }
  .flow-step { font-size: 0.85rem; }
}

/* ---------- 8. Servicios ---------- */
.servicios {
  background: var(--cream);
}

.servicio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 0;
}

.servicio-card:last-child { margin-bottom: 0; }

.servicio-card.reverse .servicio-image {
  order: 2;
}

.servicio-card.reverse .servicio-text {
  order: 1;
}

@media (max-width: 900px) {
  .servicio-card { grid-template-columns: 1fr; gap: 32px; }
  .servicio-card.reverse .servicio-image { order: 0; }
  .servicio-card.reverse .servicio-text { order: 0; }
}

.servicio-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.servicio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.servicio-card:hover .servicio-image img {
  transform: scale(1.04);
}

.servicio-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(17, 46, 77, 0.4), transparent);
}

.servicio-num {
  font-family: 'Merriweather', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.servicio-text .eyebrow {
  margin-bottom: 12px;
}

.servicio-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}

.servicio-text > p {
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.servicio-bullets {
  list-style: none;
  margin-bottom: 28px;
}

.servicio-bullets li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.servicio-bullets li:last-child { border-bottom: none; }

.servicio-bullets li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  transform: translateY(-50%);
}

.servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
  transition: var(--transition);
}

.servicio-link:hover {
  color: var(--teal-dark);
  gap: 14px;
}

/* ---------- 9. Espiral del proceso ---------- */
.proceso {
  background: var(--bg);
  text-align: center;
}

.spiral-wrap {
  max-width: 880px;
  margin: 60px auto 0;
  position: relative;
}

.spiral-svg {
  width: 100%;
  height: auto;
}

.spiral-step-text {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: left;
}

.spiral-step-card {
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.spiral-step-card .num {
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.spiral-step-card h4 {
  margin: 6px 0 8px;
  font-size: 1rem;
}

.spiral-step-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}



/* ---------- 10. Audiencias ---------- */
.audiencias {
  background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
}

.audiencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.audiencia-card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.audiencia-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-medium);
}

.audiencia-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 50%;
  font-size: 1.6rem;
}

.audiencia-card:nth-child(2) .audiencia-icon { background: var(--amber-soft); }
.audiencia-card:nth-child(3) .audiencia-icon { background: #c8e9d3; }
.audiencia-card:nth-child(4) .audiencia-icon { background: #d3eef0; }
.audiencia-card:nth-child(5) .audiencia-icon { background: #f5e3b8; }
.audiencia-card:nth-child(6) .audiencia-icon { background: #b8e1da; }

.audiencia-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.audiencia-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- 11. Herramientas digitales ---------- */
.herramientas {
  background: var(--bg);
}

.tool-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding: 32px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.tool-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.tool-card.coming-soon {
  background: linear-gradient(135deg, var(--cream) 0%, #f9f1d9 100%);
}

@media (max-width: 800px) {
  .tool-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

.tool-screen {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tool-screen.mockup {
  overflow: visible;
  background: transparent;
  padding: 0;
}

.tool-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
}

.tool-screen .screen-main {
  width: 85%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: translateX(-10%);
  transition: var(--transition);
}

.tool-screen .screen-mobile {
  position: absolute;
  bottom: -5%;
  right: 5%;
  width: 25%;
  height: auto;
  aspect-ratio: 9 / 19;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  z-index: 2;
  box-shadow: var(--shadow-strong);
  transition: var(--transition);
}

.tool-card:hover .screen-main {
  transform: translateX(-8%) scale(1.02);
}

.tool-card:hover .screen-mobile {
  transform: translateY(-5px) scale(1.05);
}

@media (max-width: 800px) {
  .tool-screen .screen-main {
    width: 95%;
    transform: translateX(-5%);
  }
  .tool-screen .screen-mobile {
    width: 22%;
    bottom: -2%;
    right: 2%;
  }
}

.tool-text .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--green-light);
  color: #1a4d2e;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.badge-teal { background: #d3eef0; color: var(--teal-dark); }
.badge-amber { background: var(--amber-soft); color: #6b4c0e; }
.badge-coming { background: var(--amber); color: var(--text); }

.tool-text h3 {
  margin-bottom: 12px;
}

.tool-text p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tool-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.tool-meta strong {
  color: var(--text);
  font-weight: 600;
}

.tool-features {
  list-style: none;
  margin-bottom: 18px;
}

.tool-features li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.tool-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
}

.tool-link:hover {
  color: var(--teal-dark);
  gap: 12px;
}

.tool-link.disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.subsection-title {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 80px 0 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--amber);
  display: inline-block;
}

/* Tool Details (Leer más) */
details.tool-details {
  margin-top: 16px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

details.tool-details > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--teal);
  list-style: none;
  position: relative;
  padding-left: 20px;
}

details.tool-details > summary::-webkit-details-marker {
  display: none;
}

details.tool-details > summary::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  transition: transform 0.2s;
}

details.tool-details[open] > summary::before {
  transform: rotate(90deg);
}

details.tool-details[open] {
  background: white;
  box-shadow: var(--shadow-soft);
}

.details-content {
  margin-top: 16px;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.details-content h5 {
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.details-content p {
  margin-bottom: 12px;
}

.details-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-soft);
}

.details-content ul li {
  margin-bottom: 4px;
}

.tool-commercial {
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 500;
  background: var(--cream);
  padding: 10px;
  border-radius: 4px;
  border-left: 3px solid var(--amber);
}

/* ---------- 12. Recursos ---------- */
.recursos {
  background: var(--cream);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.recurso-card {
  padding: 32px 28px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.recurso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--teal));
}

.recurso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.recurso-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.recurso-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.recurso-card p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- 13. Contacto + Quién es LivLin ---------- */
.contacto {
  background: var(--text);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 170, 54, 0.15) 0%, transparent 60%);
  z-index: 0;
}

.contacto::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 218, 165, 0.10) 0%, transparent 60%);
  z-index: 0;
}

.contacto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contacto h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.contacto p {
  color: rgba(246, 243, 233, 0.8);
  margin-bottom: 28px;
}

.contacto-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contacto-actions .btn {
  justify-content: flex-start;
  padding: 14px 24px;
  background: rgba(246, 243, 233, 0.08);
  color: var(--cream);
  border: 1px solid rgba(246, 243, 233, 0.2);
  border-radius: var(--radius-sm);
}

.contacto-actions .btn:hover {
  background: var(--amber);
  color: var(--text);
  border-color: var(--amber);
}

.contacto-actions .btn-primary {
  background: var(--amber);
  color: var(--text);
  border-color: var(--amber);
  font-weight: 600;
}

.contacto-actions .btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.francis-card {
  background: rgba(246, 243, 233, 0.05);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 243, 233, 0.15);
  backdrop-filter: blur(8px);
}

.francis-photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.francis-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.francis-name {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 6px;
}

.francis-role {
  color: var(--green-light);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.francis-bio {
  color: rgba(246, 243, 233, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- 14. Footer ---------- */
footer {
  background: #0A1F35;
  color: rgba(246, 243, 233, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 {
  font-family: 'Merriweather', serif;
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(246, 243, 233, 0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h5 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(246, 243, 233, 0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--green-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(246, 243, 233, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(246, 243, 233, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 15. Selector de idioma flotante ---------- */
.lang-switch {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--card);
  border-radius: 100px;
  padding: 6px;
  display: flex;
  gap: 4px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border);
}

.lang-switch button {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 100px;
  transition: var(--transition);
}

.lang-switch button.active {
  background: var(--text);
  color: var(--cream);
}

.lang-switch button:hover:not(.active) {
  color: var(--text);
  background: var(--cream);
}

/* ====================== APP GALLERY ====================== */
.app-gallery {
  margin-top: 60px;
  padding: 80px 0;
  background: rgba(0,0,0,0.02);
  border-radius: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: white;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Browser window look for screenshots */
.browser-mockup {
  border-top: 25px solid #e0e0e0;
  position: relative;
  border-radius: 8px 8px 0 0;
}

.browser-mockup::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
}

/* responsive gallery */
@media (max-width: 768px) {
  .app-gallery {
    padding: 40px 0;
    border-radius: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- 16. Animaciones fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 17. Páginas internas (servicios) ---------- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 218, 165, 0.08) 0%, transparent 60%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.page-hero .lead {
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.page-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-medium);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  min-height: clamp(400px, 70vh, 600px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px; /* Offset navbar */
}

.service-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 54, 34, 0.85) 0%, rgba(26, 54, 34, 0.6) 40%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.service-hero-bg .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-hero-bg h1 {
  color: white;
  margin-bottom: clamp(16px, 2vw, 24px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.service-hero-bg .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  padding: clamp(4px, 1vw, 8px) clamp(8px, 2vw, 12px);
  border-radius: clamp(4px, 1vw, 8px);
}

.service-hero-bg .lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

@media (max-width: 1024px) {
  .service-hero-bg {
    aspect-ratio: 16 / 10;
    min-height: clamp(380px, 60vh, 500px);
  }
  .service-hero-bg::before {
    background: linear-gradient(to right, rgba(26, 54, 34, 0.8) 0%, rgba(26, 54, 34, 0.5) 50%, rgba(0,0,0,0.1) 100%);
  }
}

@media (max-width: 768px) {
  .service-hero-bg {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: auto;
  }
  .service-hero-bg::before {
    background: linear-gradient(to bottom, rgba(26, 54, 34, 0.6) 0%, rgba(26, 54, 34, 0.9) 100%);
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* Service detail boxes */
.service-block {
  background: var(--card);
  padding: 36px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
}

.service-block.outlined {
  background: transparent;
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.service-block h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-block h3 .emoji {
  font-size: 1.6rem;
}

.audience-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.audience-group {
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.audience-group h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.audience-group p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.outcome-list {
  list-style: none;
  margin-top: 12px;
}

.outcome-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-soft);
}

.outcome-list li:last-child { border: 0; }

.outcome-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--green-light);
  color: #1a4d2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.flow-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, var(--cream), #fffaeb);
  border-radius: var(--radius);
  margin-top: 16px;
}

.flow-mini-step {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  background: var(--card);
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.flow-mini-step.current {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.flow-mini-arrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
}

.cta-block {
  background: var(--text);
  color: var(--cream);
  padding: 48px 36px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 48px;
}

.cta-block h3 {
  color: var(--cream);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.cta-block p {
  color: rgba(246, 243, 233, 0.8);
  margin-bottom: 24px;
}

.cta-block .btn {
  background: var(--amber);
  color: var(--text);
  font-weight: 600;
}

.cta-block .btn:hover {
  background: var(--green-light);
}

.service-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.service-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: var(--transition);
}

.service-nav a:hover {
  background: var(--text);
  color: var(--cream);
  transform: translateX(4px);
}

.service-nav a.prev:hover {
  transform: translateX(-4px);
}

/* ---------- 18. Recursos page ---------- */
.recurso-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  background: var(--card);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
  align-items: start;
}

@media (max-width: 800px) {
  .recurso-detail { grid-template-columns: 1fr; }
}

.recurso-cover {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--green-light), var(--teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.recurso-cover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

.recurso-cover.amber {
  background: linear-gradient(135deg, var(--amber), #d4862c);
}

.recurso-detail-text h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.recurso-detail-text .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.recurso-detail-text p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ---------- 19. Utilidades ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

[hidden] { display: none !important; }

/* ---------- 20. Print ---------- */
@media print {
  .navbar, .lang-switch, .nav-toggle { display: none; }
}

/* ---------- 21. Showcase de Funcionalidades ---------- */
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .feature-item {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .feature-item .feature-image {
    order: 2 !important;
  }
  .feature-item .feature-text {
    order: 1 !important;
  }
  .feature-text .servicio-bullets {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 500px;
  }
}

.feature-image .browser-mockup img {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-item:hover .feature-image .browser-mockup img {
  transform: scale(1.02);
}

/* ========== NUEVOS ESTILOS - OVERHAUL ========== */

/* Dimension grid (10 dimensiones) */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dimension-item {
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.dimension-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-soft);
}

.dimension-number {
  font-family: 'Merriweather', serif;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.dimension-item h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.dimension-item p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Methodology phases */
.methodology-phases {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.methodology-phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.methodology-phase:last-child { border-bottom: none; }

.phase-number {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  padding-top: 4px;
}

.phase-content h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}

.phase-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.phase-list {
  list-style: none;
  padding: 0;
}

.phase-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.88rem;
  color: var(--muted);
}

.phase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 700px) {
  .methodology-phase { grid-template-columns: 1fr; gap: 12px; }
  .phase-number { font-size: 1.8rem; }
}

/* Outcome cards */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(12px, 2vw, 20px);
}

.outcome-card {
  padding: 28px 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.outcome-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.outcome-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 16px;
}

.outcome-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.outcome-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* Who it's for - clean grid */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.for-whom-card {
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.for-whom-card h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
}

.for-whom-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(16px, 3vw, 28px);
}

.project-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-gallery-item:hover img { transform: scale(1.04); }

/* Platform tool cards (MEL section) */
.platform-tool {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 64px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.platform-tool:last-child { margin-bottom: 0; }

.platform-tool-header {
  padding: 32px 40px 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.platform-tool-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.platform-tool-tag.tag-live {
  background: #e8f5ec;
  border-color: var(--green-dark);
  color: #1a4d2e;
}

.platform-tool-tag.tag-custom {
  background: #fdf3e0;
  border-color: var(--amber);
  color: #6b4c0e;
}

.platform-tool-header-text { flex: 1; }

.platform-tool-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.platform-tool-header p {
  font-size: 0.97rem;
  color: var(--text-soft);
  margin: 0;
}

.platform-tool-body {
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .platform-tool-body { grid-template-columns: 1fr; gap: 28px; }
  .platform-tool-header { padding: 24px; }
  .platform-tool-body { padding: 24px; }
}

.platform-tool-info h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  margin-top: 20px;
}

.platform-tool-info h5:first-child { margin-top: 0; }

.platform-tool-info p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.platform-func-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-func-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.platform-func-list li:last-child { border-bottom: none; }

.platform-func-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* Tool gallery in MEL */
.tool-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.tool-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
}

.tool-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.tool-gallery-item:hover img { transform: scale(1.03); }


/* Featured tools (3 apps on MEL) */
.featured-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.featured-tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.featured-tool-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.featured-tool-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-tool-card-body {
  padding: 24px;
}

.featured-tool-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.featured-tool-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Anchor section title */
/* ===== ADVANCED TOOLS LAYOUT ===== */
.tools-with-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.tools-sidebar {
  position: sticky;
  top: 90px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.tools-sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.tools-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: var(--transition);
  margin-bottom: 4px;
  text-decoration: none;
}
.tools-sidebar-link:hover,
.tools-sidebar-link.active {
  background: var(--cream);
  color: var(--teal);
}
.tools-sidebar-link .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tag-dot.live { background: #4caf76; }
.tag-dot.custom { background: var(--amber); }
@media (max-width: 900px) {
  .tools-with-sidebar { grid-template-columns: 1fr; }
  .tools-sidebar { position: static; }
}

.tool-section {
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.tool-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.tool-header {
  margin-bottom: 28px;
}
.tool-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  margin-top: 10px;
}
.tool-header .lead {
  font-size: 1rem;
  color: var(--text-soft);
}
.tool-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}
@media (max-width: 700px) {
  .tool-info-grid { grid-template-columns: 1fr; }
}
.tool-info-block h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.tool-info-block p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
}
.tool-func-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-func-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.tool-func-list li:last-child { border-bottom: none; }
.tool-func-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.tool-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.tool-img-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tool-img-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}
.tool-img-grid .img-wide {
  grid-column: 1 / -1;
}
.tool-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.anchor-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
  display: block;
}

/* ============================================================
   REDESIGN 2026 — New Components
   ============================================================ */

/* --- Nav CTA variant --- */
/* Nav CTA - Primary Action Button */
.nav-cta-green {
  background: var(--teal);
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(35, 155, 167, 0.2);
  transition: var(--transition);
}
.nav-cta-green:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(35, 155, 167, 0.3);
  color: white !important;
}
.nav-cta-green::after { display: none !important; }

/* --- Hero dual CTA --- */
.hero-trust-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}
.trust-tag::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-light);
}

/* --- Problem cards --- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.problem-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.problem-card p { font-size: 0.9rem; color: var(--muted); }

/* --- Process timeline --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--green-light), var(--teal), var(--amber));
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:nth-child(2) .process-num { border-color: var(--teal); }
.process-step:nth-child(3) .process-num { border-color: var(--teal); background: var(--teal); color: white; }
.process-step:nth-child(4) .process-num { border-color: var(--amber); }
.process-step:nth-child(5) .process-num { border-color: var(--amber); }
.process-step:hover .process-num { transform: scale(1.15); box-shadow: var(--shadow-medium); }
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 768px) {
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-timeline::before { display: none; }
}
@media (max-width: 480px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* --- Audience split cards --- */
.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 768px) { .audience-split { grid-template-columns: 1fr; } }

.audience-big-card {
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  transition: var(--transition);
}
.audience-big-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.audience-big-card.hogares {
  background: linear-gradient(135deg, #e8f7ef 0%, #d1f0e0 100%);
  border: 1px solid #b3e8c9;
}
.audience-big-card.organizaciones {
  background: linear-gradient(135deg, #e6f4f7 0%, #cce9ef 100%);
  border: 1px solid #99d4de;
}
.audience-big-card .card-icon { font-size: 3rem; }
.audience-big-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--text);
  margin-bottom: 8px;
}
.audience-big-card p { font-size: 1rem; color: var(--text-soft); max-width: 380px; }
.audience-big-card .card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.audience-big-card .card-features li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}
.audience-big-card .card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- Featured tool cards (Home) --- */
.tools-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 900px) { .tools-trio { grid-template-columns: 1fr; } }

.tool-trio-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.tool-trio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.tool-trio-card .tool-mockup {
  height: 200px;
  overflow: hidden;
  background: var(--cream);
}
.tool-trio-card .tool-mockup img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.tool-trio-card:hover .tool-mockup img { transform: scale(1.05); }
.tool-trio-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.tool-trio-body .eyebrow { margin-bottom: 10px; }
.tool-trio-body h4 { font-size: 1.1rem; margin-bottom: 10px; }
.tool-trio-body p { font-size: 0.9rem; color: var(--muted); flex: 1; margin-bottom: 20px; }

/* --- Why LivLin grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-3px); }
.why-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.why-card h4 { margin-bottom: 8px; font-size: 1rem; }
.why-card p { font-size: 0.88rem; color: var(--muted); }

/* --- Final CTA banner --- */
.cta-final-banner {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 96px 24px;
}
.cta-final-banner h2 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-final-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; }

/* --- Page hero (inner pages) --- */
.page-hero-slim {
  padding: 140px 0 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero-slim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122,218,165,0.1) 0%, rgba(35,155,167,0.06) 100%);
}
.page-hero-slim .container { position: relative; z-index: 1; }
.page-hero-slim h1 { margin-bottom: 20px; }
.page-hero-slim .lead { margin-bottom: 32px; }

/* --- Hogares grid --- */
.activations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 1024px) { .activations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .activations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .activations-grid { grid-template-columns: 1fr; } }

.activation-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 28px) clamp(16px, 3vw, 24px);
  text-align: center;
  transition: var(--transition);
}
.activation-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); border-color: var(--green-light); }
.activation-item .act-icon { font-size: 2.2rem; margin-bottom: 12px; }
.activation-item h4 { font-size: 1rem; margin-bottom: 8px; }
.activation-item p { font-size: 0.85rem; color: var(--muted); }

/* --- Deliverables --- */
.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.deliverables-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-soft);
}
.deliverables-list li span.check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* --- FAQ --- */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  cursor: pointer;
}
.faq-question .faq-arrow {
  font-size: 1.2rem;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer p { font-size: 0.95rem; color: var(--muted); padding-bottom: 20px; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* --- Photo gallery --- */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 1024px) { .project-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .project-gallery { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-medium); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* --- Split grid (two column layout) --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: start;
}
@media (max-width: 1024px) {
  .split-grid { gap: clamp(28px, 5vw, 48px); }
}
@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 32px); }
}

/* --- Org services blocks --- */
.org-services {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vw, 64px);
  margin-top: clamp(32px, 6vw, 48px);
}
.org-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}
.org-service-block.reverse .org-service-text { order: 2; }
.org-service-block.reverse .org-service-visual { order: 1; }
@media (max-width: 1024px) {
  .org-service-block { gap: clamp(28px, 5vw, 48px); }
}
@media (max-width: 768px) {
  .org-service-block { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 32px); }
  .org-service-block.reverse .org-service-text,
  .org-service-block.reverse .org-service-visual { order: 0; }
}
.org-service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 4/3;
}
.org-service-visual img { width: 100%; height: 100%; object-fit: cover; }
.org-service-text .eyebrow { margin-bottom: 12px; }
.org-service-text h3 { margin-bottom: 16px; }
.org-service-text p { margin-bottom: 24px; font-size: 0.98rem; }

/* --- MEL examples grid --- */
.mel-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.mel-example-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.mel-example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.mel-example-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mel-example-body { padding: 16px 18px; }
.mel-example-body h5 { font-size: 0.95rem; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.mel-example-body p { font-size: 0.82rem; color: var(--muted); }

/* --- Herramientas featured section --- */
.tool-featured-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.tool-featured-section:last-child { border-bottom: none; }
.tool-featured-section.reverse .tool-featured-visual { order: 2; }
.tool-featured-section.reverse .tool-featured-text { order: 1; }
@media (max-width: 768px) {
  .tool-featured-section { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .tool-featured-section.reverse .tool-featured-visual,
  .tool-featured-section.reverse .tool-featured-text { order: 0; }
}
.tool-featured-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.tool-featured-visual img { width: 100%; display: block; }
.tool-featured-text .eyebrow { margin-bottom: 14px; }
.tool-featured-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.tool-featured-text p { margin-bottom: 24px; font-size: 0.98rem; }
.tool-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.tool-features-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
}
.tool-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

/* --- Sobre Livlin --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.pillar-icon { font-size: 2.5rem; margin-bottom: 16px; }
.pillar-card h4 { margin-bottom: 12px; }
.pillar-card p { font-size: 0.9rem; color: var(--muted); }

/* --- Founder card --- */
.founder-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .founder-section { grid-template-columns: 1fr; gap: 40px; } }
.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 3/4;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-text .eyebrow { margin-bottom: 12px; }
.founder-text h2 { margin-bottom: 6px; }
.founder-role {
  font-size: 1rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 24px;
}
.founder-text p { margin-bottom: 16px; font-size: 0.98rem; }

/* --- Contact form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(35,155,167,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Contact info blocks --- */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-info-item h5 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--muted); }

/* --- Stagger animations --- */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* --- Section with bg variants --- */
.section-dark { background: var(--text); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-cream { background: var(--cream); }
.section-white { background: white; }

/* ==========================================================
   PREMIUM VISUAL ENHANCEMENTS
   ========================================================== */

/* --- Image Lightbox Overlay --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 46, 77, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

/* --- Clickable images --- */
.tool-img-grid img,
.tool-mockup img,
.feature-image img,
.browser-mockup img,
.mel-example-card img,
.tool-featured-visual img,
.page-hero-image img,
img[data-lightbox] {
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.tool-img-grid img:hover,
.tool-mockup img:hover,
.feature-image img:hover,
.browser-mockup img:hover,
.mel-example-card img:hover,
.tool-featured-visual img:hover,
img[data-lightbox]:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(17, 46, 77, 0.18);
}

/* --- Enhanced tool-img-grid to show full images --- */
.tool-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.tool-img-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
  background: white;
}

.tool-img-grid img.img-wide {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .tool-img-grid { grid-template-columns: 1fr; }
}

/* --- MEL Example Cards Enhanced --- */
.mel-example-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.mel-example-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.mel-example-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mel-example-card:hover img {
  transform: scale(1.06);
}

.mel-example-card .mel-example-body {
  padding: 20px;
}

/* --- Premium card glass effect --- */
.audience-big-card {
  position: relative;
  overflow: hidden;
}

.audience-big-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(122, 218, 165, 0.06), transparent 50%);
  pointer-events: none;
  transition: var(--transition);
}

.audience-big-card:hover::before {
  background: radial-gradient(circle at 30% 30%, rgba(122, 218, 165, 0.12), transparent 50%);
}

/* --- Tool featured sections enhanced --- */
.tool-featured-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border);
  background: white;
}

.tool-featured-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --- Enhanced buttons with subtle gradients --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* --- Section transitions & grain texture --- */
section {
  position: relative;
}

/* --- Premium navbar glassmorphism --- */
.navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(250, 249, 244, 0.88) !important;
  border-bottom: 1px solid rgba(229, 226, 213, 0.6);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(17, 46, 77, 0.08);
}

/* --- Why-card hover lift --- */
.why-card {
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* --- Tool trio cards premium --- */
.tool-trio-card {
  transition: var(--transition);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
}

.tool-trio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--green-light);
}

.tool-trio-card .tool-mockup {
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.tool-trio-card .tool-mockup img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-trio-card:hover .tool-mockup img {
  transform: scale(1.05);
}

.tool-trio-body {
  padding: 28px;
}

.tool-trio-body .eyebrow {
  margin-bottom: 10px;
}

.tool-trio-body h4 {
  margin-bottom: 12px;
}

.tool-trio-body p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* --- Tools trio grid --- */
.tools-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .tools-trio { grid-template-columns: 1fr; gap: 24px; }
}

/* --- CTA final banner premium --- */
.cta-final-banner {
  background: linear-gradient(135deg, var(--text) 0%, #1a3d5c 40%, var(--teal-dark) 100%);
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-final-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 218, 165, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-final-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 170, 54, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-final-banner h2 {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-final-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 16px auto 32px;
  position: relative;
  z-index: 1;
}

.cta-final-banner .eyebrow {
  position: relative;
  z-index: 1;
}

.cta-final-banner .btn {
  position: relative;
  z-index: 1;
}

/* --- Page hero slim premium --- */
.page-hero-slim {
  background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 60%, rgba(35, 155, 167, 0.04) 100%);
  padding: clamp(80px, 15vw, 140px) 24px clamp(48px, 10vw, 80px);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .page-hero-slim { padding: clamp(64px, 12vw, 100px) 24px clamp(40px, 8vw, 64px); }
}

.page-hero-slim::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.page-hero-slim h1 {
  margin-bottom: 16px;
}

.page-hero-slim .lead {
  max-width: 620px;
  font-size: 1.1rem;
}

/* --- Smooth scroll + reveal polish --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Stagger delays (work with .fade-in.visible) --- */
.stagger-1.fade-in { transition-delay: 0.08s; }
.stagger-2.fade-in { transition-delay: 0.16s; }
.stagger-3.fade-in { transition-delay: 0.24s; }
.stagger-4.fade-in { transition-delay: 0.32s; }

/* ==========================================================
   IMPROVEMENTS 2026 v2
   ========================================================== */

/* --- Flat navbar: direct links, no Servicios dropdown --- */
/* Herramientas keeps a small dropdown for tool subpages */
.nav-links > li > a.nav-link-active {
  color: var(--teal);
}
.nav-links > li > a.nav-link-active::after {
  width: 100%;
}

/* --- Why-card: distinct icon background per card --- */
.why-card:nth-child(1) .why-icon { background: rgba(122,218,165,0.2); }
.why-card:nth-child(2) .why-icon { background: rgba(35,155,167,0.15); }
.why-card:nth-child(3) .why-icon { background: rgba(225,170,54,0.18); }
.why-card:nth-child(4) .why-icon { background: rgba(122,218,165,0.12); }

/* --- Problem card: colored left accent per card --- */
.problem-card:nth-child(1) { border-top: 3px solid var(--teal); }
.problem-card:nth-child(2) { border-top: 3px solid var(--amber); }
.problem-card:nth-child(3) { border-top: 3px solid var(--green-dark); }
.problem-card:nth-child(4) { border-top: 3px solid var(--teal-dark); }

/* --- Activation items: colored icon circle per item --- */
.activation-item:nth-child(1) .act-icon { background: rgba(122,218,165,0.18); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.activation-item:nth-child(2) .act-icon { background: rgba(225,170,54,0.18); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.activation-item:nth-child(3) .act-icon { background: rgba(35,155,167,0.15); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.activation-item:nth-child(4) .act-icon { background: rgba(17,46,77,0.08); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.activation-item:nth-child(5) .act-icon { background: rgba(122,218,165,0.15); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.activation-item:nth-child(6) .act-icon { background: rgba(225,170,54,0.12); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }

/* --- Hero background blob decorators --- */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--green-light), transparent);
  top: -100px; right: -80px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal), transparent);
  bottom: -60px; left: -60px;
  animation-delay: 3s;
}
.hero-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--amber), transparent);
  top: 40%; right: 30%;
  animation-delay: 5s;
  opacity: 0.2;
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* --- Hero stats enhanced --- */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal);
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

/* --- MEL context label (Organizaciones) --- */
.mel-context-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,170,54,0.12);
  border: 1px solid rgba(225,170,54,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b4c0e;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* --- Tool number badge (Herramientas) --- */
.tool-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  margin-bottom: 16px;
}

/* --- Founder bio enhanced (Sobre) --- */
.founder-intersections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 28px;
}
.founder-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
}
.founder-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* --- Sobre: 4-pillar grid --- */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 900px) {
  .pillars-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .pillars-grid-4 { grid-template-columns: 1fr; }
}

/* --- GitHub contact icon --- */
.contact-info-icon.github-icon {
  font-size: 1.2rem;
  letter-spacing: -0.05em;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* --- Footer GitHub link --- */
.footer-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(246,243,233,0.06);
  color: rgba(246,243,233,0.65) !important;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(246,243,233,0.1);
  transition: var(--transition);
}
.footer-social-link:hover {
  background: rgba(122,218,165,0.12);
  color: var(--green-light) !important;
  border-color: rgba(122,218,165,0.3);
}

/* ==========================================================
   IMAGE CAROUSEL
   ========================================================== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--cream);
}

.carousel-caption {
  padding: 20px 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.carousel-caption h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.carousel-caption p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-100%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.carousel-arrow:hover {
  background: var(--text);
  color: white;
  transform: translateY(-100%) scale(1.08);
  box-shadow: var(--shadow-medium);
}

.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  background: white;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.15);
}

.carousel-dot:hover {
  border-color: var(--teal);
}

@media (max-width: 640px) {
  .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .carousel-caption { padding: 14px 16px; }
  .carousel-caption h5 { font-size: 0.88rem; }
  .carousel-caption p { font-size: 0.82rem; }
}

/* ==========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  background: #20BA5A;
}

.whatsapp-float:active {
  transform: scale(1.04);
}

/* Tooltip */
.whatsapp-float::before {
  content: 'Escríbeme por WhatsApp';
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-medium);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  opacity: 1;
}

/* Pulse animation */
.whatsapp-float .wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 18px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float::before,
  .whatsapp-float::after { display: none; }
}

/* ==========================================================
   INSTAGRAM VIDEO EMBED
   ========================================================== */
.ig-embed-section {
  text-align: center;
}

.ig-embed-wrap {
  max-width: 540px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border);
  background: white;
}

.ig-embed-wrap iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  display: block;
}

.ig-embed-text {
  max-width: 600px;
  margin: 28px auto 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .ig-embed-wrap iframe { min-height: 520px; }
  .ig-embed-text { font-size: 1rem; }
}

/* --- Footer Logo (Image + Text) --- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--bg); /* Light color for dark footer */
}

.footer-logo img {
  height: 36px;
  width: auto;
}

/* ==========================================================
   13. SPLASH BANNER HERO
   ========================================================== */
.splash-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #0f2415;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
}

.splash-banner.splash-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
}

/* Background image layer - always covers full screen */
.splash-right {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.splash-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 54, 34, 0.92) 0%, rgba(26, 54, 34, 0.55) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 2;
  pointer-events: none;
}

.splash-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.splash-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.splash-slide.active { opacity: 1; }
.splash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Content container - fits exactly in viewport */
.splash-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 3vh, 40px) 5% clamp(16px, 2.5vh, 32px);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  overflow: hidden;
}

/* Logo */
.splash-logo-wrap {
  z-index: 2;
  margin-bottom: clamp(8px, 1.5vh, 24px);
  flex-shrink: 0;
}
.splash-logo {
  height: clamp(40px, 6vh, 90px);
  width: auto;
  filter: brightness(0) invert(1);
}

/* Title */
.splash-title-wrap {
  z-index: 10;
  margin-bottom: clamp(10px, 2vh, 32px);
  max-width: 800px;
  flex-shrink: 0;
}
.splash-title {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 0;
  margin-left: 0;
  font-size: clamp(1.3rem, 2.5vw, 2.6rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 95%;
}

/* Eyebrow label */
.splash-eyebrow {
  display: block;
  font-weight: 700;
  color: #a8cfb6;
  margin-bottom: clamp(6px, 1vh, 14px);
  font-size: clamp(0.8rem, 1vw, 1.1rem);
}

/* Two-column content area - takes remaining space */
.splash-columns-wrap {
  display: flex;
  gap: clamp(20px, 3vw, 60px);
  max-width: 1000px;
  margin-bottom: clamp(10px, 2vh, 32px);
  align-items: flex-start;
  z-index: 10;
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.splash-col-left {
  flex: 0 0 auto;
  max-width: 340px;
}
.splash-col-right {
  flex: 1;
}

/* Benefits list - compact 2-col grid on all screens */
.splash-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 0.8vh, 12px) clamp(8px, 1vw, 16px);
  margin-top: clamp(6px, 1vh, 14px);
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.5vw, 12px);
  font-size: clamp(0.72rem, 0.85vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.3;
}
.benefit-icon {
  width: clamp(14px, 1.5vw, 22px);
  height: clamp(14px, 1.5vw, 22px);
  opacity: 0.9;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(85%) sepia(21%) saturate(541%) hue-rotate(81deg) brightness(93%) contrast(92%);
}

/* Nosotros block */
.nosotros-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: clamp(6px, 1vh, 14px);
}
.nosotros-icon-wrapper {
  background: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.nosotros-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(1251%) hue-rotate(90deg) brightness(97%) contrast(93%);
}

/* Rotator text */
.nosotros-rotator-texts {
  position: relative;
  width: 100%;
}
.rotator-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  color: white;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  pointer-events: none;
}
.rotator-text.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.highlight-green {
  color: #a8cfb6;
}

/* 3 CTA buttons - center of splash, below title */
.splash-cta-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  z-index: 10;
  position: relative;
  margin-bottom: clamp(10px, 2vh, 24px);
  flex-shrink: 0;
}

.splash-btn-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  background: white;
  color: #0f2415;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid white;
}

.splash-btn-segment img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(1251%) hue-rotate(90deg) brightness(97%) contrast(93%);
}

.splash-btn-segment:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  color: #0f2415;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.splash-btn-segment--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  color: white;
}

.splash-btn-segment--outline img {
  filter: brightness(0) invert(1);
}

.splash-btn-segment--outline:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: white;
}

.splash-btn-enter {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  padding: 8px 4px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.splash-btn-enter:hover {
  color: rgba(255,255,255,0.9);
}

/* Footer - now only dots */
.splash-footer-wrap {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(4px, 0.6vh, 10px);
  flex-shrink: 0;
  padding-top: clamp(4px, 1vh, 12px);
}
.splash-dots {
  display: flex;
  gap: 6px;
}
.splash-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.splash-dot.active {
  background: #9ebf5f;
  transform: scale(1.3);
}

/* ---- MOBILE SPLASH ---- */
@media (max-width: 900px) {
  .splash-banner {
    height: 100dvh;
    height: 100vh;
  }
  .splash-right::after {
    background: linear-gradient(180deg, rgba(15, 36, 21, 0.88) 0%, rgba(15, 36, 21, 0.75) 40%, rgba(15, 36, 21, 0.92) 100%) !important;
  }
  .splash-container {
    height: 100dvh;
    height: 100vh;
    padding: clamp(14px, 2.5vh, 28px) 20px clamp(12px, 2vh, 24px);
    gap: 0;
  }
  .splash-logo {
    height: clamp(32px, 5vh, 48px);
  }
  .splash-logo-wrap {
    margin-bottom: clamp(4px, 1vh, 12px);
  }
  .splash-title-wrap {
    margin-bottom: clamp(6px, 1.2vh, 16px);
    max-width: 100%;
  }
  .splash-title {
    font-size: clamp(1.15rem, 4.5vw, 1.6rem) !important;
    line-height: 1.2 !important;
    padding: 0;
  }
  .splash-eyebrow {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    margin-bottom: clamp(4px, 0.8vh, 10px);
  }
  .splash-columns-wrap {
    flex-direction: column;
    gap: clamp(8px, 1.5vh, 18px);
    margin-bottom: 0;
  }
  .splash-col-left,
  .splash-col-right {
    width: 100%;
    flex: unset;
    max-width: 100%;
  }
  .splash-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3px, 0.6vh, 8px) clamp(8px, 2vw, 14px);
    margin-top: clamp(4px, 0.8vh, 10px);
  }
  .benefit-item {
    font-size: clamp(0.68rem, 2.2vw, 0.85rem) !important;
    gap: 5px !important;
    line-height: 1.2;
  }
  .benefit-icon {
    width: clamp(12px, 3vw, 16px) !important;
    height: clamp(12px, 3vw, 16px) !important;
  }
  .nosotros-block {
    margin-top: clamp(4px, 0.8vh, 8px);
    gap: 8px;
  }
  .nosotros-icon-wrapper {
    width: 24px;
    height: 24px;
  }
  .nosotros-icon {
    width: 14px;
    height: 14px;
  }
  .rotator-text {
    font-size: clamp(0.85rem, 3.2vw, 1.1rem) !important;
    line-height: 1.25 !important;
  }
  .splash-cta-wrap {
    gap: 8px;
    margin-bottom: clamp(8px, 1.5vh, 16px);
  }
  .splash-btn-segment {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .splash-btn-enter {
    font-size: 0.78rem;
  }
  .splash-footer-wrap {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-top: auto;
    padding-top: clamp(6px, 1vh, 12px);
  }
  .splash-subtext {
    font-size: clamp(0.6rem, 2vw, 0.72rem);
  }
}

/* ---- VERY SHORT SCREENS (landscape phones, small laptops) ---- */
@media (max-height: 650px) {
  .splash-container {
    padding: 10px 5% 8px;
  }
  .splash-logo {
    height: clamp(28px, 5vh, 40px);
  }
  .splash-logo-wrap {
    margin-bottom: 4px;
  }
  .splash-title {
    font-size: clamp(1rem, 3vh, 1.4rem) !important;
    line-height: 1.15 !important;
  }
  .splash-title-wrap {
    margin-bottom: 6px;
  }
  .splash-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 3px;
  }
  .splash-columns-wrap {
    margin-bottom: 6px;
  }
  .splash-benefits-list {
    gap: 2px 8px;
    margin-top: 4px;
  }
  .benefit-item {
    font-size: 0.7rem !important;
    gap: 4px !important;
  }
  .benefit-icon {
    width: 12px !important;
    height: 12px !important;
  }
  .rotator-text {
    font-size: 0.85rem !important;
  }
  .nosotros-block {
    margin-top: 4px;
  }
  .splash-footer-wrap {
    gap: 3px;
    padding-top: 4px;
  }
}

/* SECTION HEADER */
.problem-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}
.problem-icon-top {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}
.problem-icon-top img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(18%) saturate(1450%) hue-rotate(90deg) brightness(96%) contrast(89%); /* Dark green */
}
.problem-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.problem-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* CARDS WRAPPER */
.new-problem-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.new-problem-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin-top: 20px; /* Leave space for icon if needed */
}
.card-image-wrapper {
  position: relative;
  height: 140px;
  border-radius: 12px 12px 0 0;
  overflow: visible;
}
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.card-icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid white;
  z-index: 2;
}
.card-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.card-content {
  padding: 36px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-content p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}
.card-divider {
  height: 1px;
  background: #eaeaea;
  margin-bottom: 16px;
  margin-top: auto;
}
.impact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8cc63f; /* Lighter green */
  margin-bottom: 8px;
  display: block;
}
.card-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-content ul li {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.card-content ul li::before {
  content: '•';
  color: #8cc63f;
  font-weight: bold;
}

/* ARROW DIVIDER */
.section-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}
.line-left, .line-right {
  height: 1px;
  background: #d6d2c4;
  flex: 1;
  max-width: 200px;
}
.arrow-down-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #d6d2c4;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 16px;
}
.arrow-down-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

/* SOLUTION SECTION */
/* SOLUTION SECTION - HERO WITH BACKGROUND */
.solution-hero-bg {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: clamp(600px, 85vh, 1000px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 56px;
  padding: clamp(60px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 46, 77, 0.75) 0%, rgba(35, 155, 167, 0.6) 100%);
  z-index: 1;
}

.solution-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 1100px;
  padding: clamp(40px, 5vw, 60px);
}

.solution-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 24px;
}

.solution-title .highlight-green {
  color: #a8e6c2;
}

.solution-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 32px;
}
/* solution-btn consolidated into .btn-primary */
.btn-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.solution-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.solution-item {
  text-align: center;
}

.solution-item .sol-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.solution-item .sol-icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.solution-item h4 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.solution-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Responsive solution section */
@media (max-width: 1024px) {
  .solution-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-top: 48px;
  }

  .solution-hero-bg {
    min-height: clamp(500px, 75vh, 800px);
    padding: clamp(50px, 6vw, 80px);
  }
}

@media (max-width: 768px) {
  .solution-items-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .solution-hero-bg {
    min-height: clamp(450px, 70vh, 700px);
    padding: clamp(40px, 5vw, 60px);
  }

  .solution-hero-overlay {
    background: linear-gradient(135deg, rgba(17, 46, 77, 0.8) 0%, rgba(35, 155, 167, 0.7) 100%);
  }

  .solution-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .solution-desc {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 24px;
  }

  .solution-item h4 {
    font-size: 1.05rem;
  }

  .solution-item p {
    font-size: 0.9rem;
  }
}

/* PARALLAX SECTION WRAPPER - Imagen fija desde hero hasta especialización */
.parallax-section-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: clamp(60px, 8vw, 100px) 0;
}

.parallax-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17, 46, 77, 0.35) 0%, rgba(35, 155, 167, 0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

/* PARALLAX HERO */
.parallax-hero {
  position: relative;
  z-index: 2;
  min-height: clamp(500px, 65vh, 650px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 8vw, 100px) 0;
}

.parallax-hero-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.parallax-hero-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 28px;
}

.parallax-hero-content h2 .highlight-green {
  color: #a8e6c2;
}

.parallax-hero-content p {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 40px;
}

.parallax-hero-content .btn {
  margin-top: 16px;
}

/* PARALLAX GROUPS - Semi-transparent sobre la imagen */
.parallax-group {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 8vw, 100px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  margin: clamp(32px, 4vw, 48px) auto;
  border-radius: 12px;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.parallax-group:nth-child(2) {
  background: rgba(255, 255, 255, 0.92);
}

.parallax-group:nth-child(3) {
  background: rgba(255, 255, 255, 0.92);
}

.group-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 64px);
}

.group-header .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.group-header h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

/* ITEMS GRID */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.item-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-card:hover {
  box-shadow: 0 8px 24px rgba(35, 155, 167, 0.12);
  transform: translateY(-4px);
  border-color: rgba(35, 155, 167, 0.2);
}

.item-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f0fdf7 0%, #e8f8f3 100%);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid rgba(35, 155, 167, 0.15);
}

.item-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(30%) sepia(25%) saturate(1400%) hue-rotate(170deg) brightness(95%) contrast(87%);
}

.item-card h4 {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.item-card p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .parallax-section-wrapper {
    background-attachment: scroll;
  }

  .parallax-group {
    margin: clamp(24px, 3vw, 36px) auto;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .items-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .item-card {
    padding: 28px 20px;
  }

  .parallax-section-wrapper {
    background-attachment: scroll;
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .parallax-hero {
    min-height: clamp(400px, 60vh, 500px);
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .parallax-hero-content h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    margin-bottom: 20px;
  }

  .parallax-hero-content p {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    margin-bottom: 28px;
  }

  .parallax-group {
    padding: clamp(40px, 6vw, 60px);
    margin: clamp(16px, 2vw, 24px) 16px;
    border-radius: 8px;
  }

  .group-header {
    margin-bottom: clamp(36px, 5vw, 48px);
  }

  .group-header h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  }

  .item-card h4 {
    font-size: 1rem;
  }

  .item-card p {
    font-size: 0.9rem;
  }

  .item-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .item-icon img {
    width: 26px;
    height: 26px;
  }
}

/* FOOTER BAR */
.solution-bottom-bar {
  background: #eef5ee;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.bar-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(18%) saturate(1450%) hue-rotate(90deg) brightness(96%) contrast(89%);
}
.bar-right {
  display: flex;
  gap: 16px;
}
.bar-right img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .new-problem-cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .solution-section {
    grid-template-columns: 1fr;
  }
  .solution-img {
    display: none;
  }
}
@media (max-width: 768px) {
  .new-problem-cards-wrapper {
    grid-template-columns: 1fr;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .solution-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================================
   NUEVOS ESTILOS PARA INDEX (SERVICIOS, METODOLOGÍA, ALINEACIÓN, CTA)
   ============================================================ */

/* SERVICIOS CARDS */
/* ── Desafíos → Soluciones cards ── */
.desafios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.desafio-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.desafio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--teal);
}

.desafio-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.desafio-icon img {
  width: 22px;
  height: 22px;
}

.desafio-card h4 {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.desafio-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.desafio-service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(35,155,167,0.09);
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}

.desafio-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition: var(--transition);
}

.desafio-link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .desafios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .desafios-grid { grid-template-columns: 1fr; }
}

.new-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.new-svc-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.new-svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.svc-card-top {
  display: grid;
  grid-template-columns: 100px 1fr;
  height: 160px;
}
.svc-card-icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.svc-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.svc-icon-circle img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.svc-card-img {
  width: 100%;
  height: 100%;
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-card-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-content h4 {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.svc-card-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 32px;
}
.svc-card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-card-link:hover {
  text-decoration: underline;
}

/* METODOLOGÍA */
.meth-section-container {
  display: grid;
  grid-template-columns: 35% 65%;
  background: #fdfaf4;
  border: 1px solid #dcd4c5;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}
.meth-left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
}
.meth-left h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.meth-left p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
}
.meth-left-img {
  margin-top: auto;
  align-self: flex-start;
  max-width: 100%;
  border-radius: 12px;
  margin-left: -40px;
  margin-bottom: -40px;
}
.meth-right {
  padding: 60px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.meth-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.meth-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.meth-line {
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #c2d8c2;
  z-index: 1;
}
.meth-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.meth-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  background: white;
  border: 4px solid #fdfaf4; /* to hide line behind it */
}
.meth-circle img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.meth-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.meth-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.meth-desc {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ALINEACIÓN ESTRATÉGICA */
/* ALIGNMENT SECTION - HERO WITH BACKGROUND IMAGE */
.align-hero-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: clamp(600px, 85vh, 1000px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 60px;
  padding: clamp(60px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 46, 77, 0.7) 0%, rgba(35, 155, 167, 0.5) 100%);
  z-index: 1;
}

.align-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.align-hero-header {
  max-width: 800px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  color: white;
}

.align-hero-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.align-hero-header h2 .highlight-green {
  color: #a8e6c2;
}

.align-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.align-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.align-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.align-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.align-icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.align-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.align-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* CTA FINAL */
.new-cta-box {
  display: grid;
  grid-template-columns: 35% 65%;
  background: #0d2b1a; /* Dark green */
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}
.new-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.new-cta-content {
  padding: 60px 40px 40px;
  display: flex;
  flex-direction: column;
  color: white;
}
.new-cta-leaf {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.new-cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: white;
}
.new-cta-content p {
  font-size: 1rem;
  color: #c2d8c2;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.new-cta-footer {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}
.cta-footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-footer-item img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.cta-footer-item span {
  font-size: 0.8rem;
  color: #c2d8c2;
  line-height: 1.3;
}

@media (max-width: 1200px) {
  .meth-section-container, .new-cta-box {
    grid-template-columns: 1fr;
  }
  .meth-left-img {
    display: none;
  }
  .new-cta-img {
    height: 300px;
  }
}
@media (max-width: 900px) {
  .new-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .new-services-grid {
    grid-template-columns: 1fr;
  }
  .meth-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .meth-line {
    display: none;
  }
  .align-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .align-hero-section {
    min-height: clamp(500px, 75vh, 800px);
    padding: clamp(50px, 6vw, 80px);
  }

  .align-hero-header {
    margin-bottom: clamp(40px, 4vw, 60px);
  }

  .align-hero-header h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .new-cta-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .meth-steps, .align-grid, .new-cta-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .align-hero-section {
    min-height: clamp(450px, 70vh, 700px);
    padding: clamp(40px, 5vw, 60px);
  }

  .align-hero-overlay {
    background: linear-gradient(135deg, rgba(17, 46, 77, 0.8) 0%, rgba(35, 155, 167, 0.65) 100%);
  }

  .align-hero-header h2 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
  }

  .align-item h4 {
    font-size: 1.05rem;
  }

  .align-item p {
    font-size: 0.9rem;
  }
}

/* ============================================================
   HERO INTEGRATED (NEW)
   ============================================================ */
.hero-integrated {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 40px;
  background: var(--bg);
  overflow: hidden;
}

.hero-integrated-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
  z-index: 0;
}

.hero-integrated-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-integrated-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, var(--bg) 15%, rgba(250, 249, 244, 0.85) 40%, transparent 100%);
}

.hero-integrated-container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-integrated-content {
  max-width: 650px;
}

.hero-integrated-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.hero-integrated-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.highlight-green-light {
  color: #8cc63f;
}

.hero-integrated-desc {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-integrated-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}


.hero-integrated-bottom {
  background: #F6F3E9;
  border-radius: 20px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.hi-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hi-card-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(18%) saturate(1450%) hue-rotate(90deg) brightness(96%) contrast(89%);
}

.hi-card-content h4 {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hi-card-content p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1200px) {
  .hero-integrated-bottom {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .hero-integrated {
    padding-top: 120px;
  }
  .hero-integrated-bg {
    width: 100%;
  }
  .hero-integrated-overlay {
    background: linear-gradient(to bottom, rgba(250, 249, 244, 0.95) 0%, rgba(250, 249, 244, 0.98) 60%, rgba(250, 249, 244, 0.7) 100%);
  }
  .hero-integrated-bottom {
    grid-template-columns: 1fr;
  }
  .hero-integrated-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   MOBILE RESPONSIVENESS AND CARD REFINEMENT
   ============================================================ */
@media (max-width: 900px) {
  /* Navbar refinements for premium feel */
  .navbar {
    padding: 10px 0;
  }

  .nav-toggle {
    margin-right: 8px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 244, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 32px !important;
    gap: 4px !important;
    border-bottom: 1px solid rgba(229, 226, 213, 0.8) !important;
    box-shadow: 0 16px 32px rgba(17, 46, 77, 0.08) !important;
    max-height: calc(100vh - 70px);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.05rem !important;
    padding: 14px 0 !important;
    width: 100%;
    color: var(--text) !important;
    border-bottom: 1px solid rgba(17, 46, 77, 0.04);
    display: inline-block;
    transition: var(--transition);
  }

  .nav-links a:hover,
  .nav-links a.nav-link-active {
    color: var(--teal) !important;
    border-bottom-color: var(--teal);
  }

  .nav-links a.nav-cta-green {
    border-bottom: none !important;
    margin-top: 16px;
    padding: 12px 28px !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: auto !important;
    max-width: 240px;
    border-radius: 100px;
  }

  /* Card layouts and grid controls */
  .solution-left {
    grid-template-columns: 1fr !important;
  }

  .solution-img {
    display: none !important;
  }

  /* Force outcomes grids and list elements to stack nicely */
  .outcomes-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Inline styled grid overrides for mobile */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Spacing */
  section {
    padding: 50px 0 !important;
  }

  /* Typography scale down to prevent overflowing */
  h1, .hero-integrated-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }

  .lead {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  
  /* Split grid helper class */
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
