/* ============================================================
   DESIGN TOKENS — Paleta Naranja + Beige
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Roboto:wght@400;500;700;900&display=swap');

body, body.seccion-personas {
  --color-primary:      #C95B10;   /* naranja principal */
  --color-primary-dark: #A3400E;   /* naranja oscuro */
  --color-accent:       #F07A20;   /* naranja vibrante */
  --color-accent-light: #FBBF7A;   /* naranja claro */
  --color-bg:           #FDF8F3;   /* beige muy cálido */
  --color-bg2:          #F5EDE0;   /* beige medio */
  --color-bg3:          #EDE0CC;   /* beige pronunciado */
  --color-card:         #FFFFFF;
  --color-text:         #3D2B1F;   /* marrón oscuro */
  --color-muted:        #7A6050;
  --color-gray:         #555555;
  --color-border:       rgba(201,91,16,0.18);
  --shadow-card:        0 4px 16px rgba(0,0,0,0.12);
  --radius-card:        24px;
  --radius-btn:         8px;
  --radius-pill:        20px;
  --font-main:          'Inter', system-ui, -apple-system, sans-serif;
  --font-body:          'Roboto', system-ui, -apple-system, sans-serif;
  --nav-h:              72px;
  --color-nav-scrolled: rgba(60,30,10,.82);
}



/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 0;
  transition: all .4s ease;
}

.nav-wrap {
  margin: 0 20px;
  padding: 8px 20px;
  border-radius: 14px;
  background: rgba(253,248,243,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.6);
  transition: all .4s ease;
}

.site-header.scrolled .nav-wrap {
  background: var(--color-nav-scrolled);
  border-color: rgba(255,255,255,.1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { width: 24px; height: 24px; color: #fff; }

.logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  transition: color .4s;
}

.site-header.scrolled .logo-text { color: #fff; }



/* Menu items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-item > a,
.nav-item > details > summary {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > details > summary:hover {
  background: rgba(201,91,16,.08);
}

.site-header.scrolled .nav-item > a,
.site-header.scrolled .nav-item > details > summary { color: rgba(255,255,255,.9); }

.site-header.scrolled .nav-item > a:hover,
.site-header.scrolled .nav-item > details > summary:hover { background: rgba(255,255,255,.1); }

.nav-item > details > summary::marker,
.nav-item > details > summary::-webkit-details-marker { display: none; }

.chevron {
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-item > details[open] .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  pointer-events: none;
  z-index: 100;
}

.nav-item > details[open] .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s, transform .18s;
  pointer-events: auto;
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: background .15s;
  cursor: pointer;
}

.drop-item:hover {
  background: var(--color-bg2);
  color: var(--color-primary);
}

.drop-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--color-bg3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: background .2s, color .2s;
}

.drop-item:hover .drop-icon {
  background: var(--color-primary);
  color: #fff;
}

/* CTA Buttons nav */
.nav-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.btn-nav-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-primary);
  transition: all .2s;
}

.btn-nav-ghost:hover { background: var(--color-primary); color: #fff; }

.btn-nav-solid {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  padding: 7px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--color-primary);
  transition: all .2s;
}

.btn-nav-solid:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }

.site-header.scrolled .btn-nav-ghost { color: #fff; border-color: #fff; }
.site-header.scrolled .btn-nav-ghost:hover { background: #fff; color: var(--color-primary); }

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

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

.site-header.scrolled .hamburger span { background: #fff; }

@media (max-width: 1120px) {
  .nav-menu, .nav-ctas {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .site-header .nav-selector {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 16px !important;
  }
  .logo-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .nav-wrap {
    margin: 0 10px !important;
    padding: 6px 12px !important;
  }
}

@media (min-width: 1121px) and (max-width: 1280px) {
  .nav-item > a,
  .nav-item > details > summary {
    font-size: 13.5px;
    padding: 6px 8px;
  }
  .btn-nav-ghost,
  .btn-nav-solid {
    font-size: 13px;
    padding: 6px 10px;
  }
  .nav-menu {
    gap: 2px;
  }
  .nav-ctas {
    gap: 6px;
  }
  .nav-selector {
    padding: 2px;
  }
  .nav-selector a {
    font-size: 13px;
    padding: 5px 8px;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9998;
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }



.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-close {
  width: 36px; height: 36px;
  border: none;
  background: var(--color-bg2);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-bg2);
}

.mobile-nav-item > a,
.mobile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
  list-style: none;
  text-decoration: none;
}

.mobile-summary::-webkit-details-marker,
.mobile-summary::marker {
  display: none;
}

.mobile-details .chevron {
  transition: transform .25s ease;
  width: 14px;
  height: 14px;
  color: var(--color-muted);
}

.mobile-details[open] .chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.mobile-submenu {
  list-style: none;
  padding: 4px 0 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  border-radius: 8px;
  background: var(--color-bg);
  transition: all .15s;
}

.mobile-submenu a:hover {
  color: var(--color-primary);
  background: var(--color-bg2);
}

.mobile-ctas {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-ctas a {
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrap {
  padding-top: calc(var(--nav-h) + 28px);
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb a { color: var(--color-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: #bbb; }
.breadcrumb-current { font-weight: 700; color: var(--color-primary); }

@media (max-width: 768px) { .breadcrumb-wrap { display: none; } }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-section {
  display: flex;
  justify-content: center;
  padding: 0 24px 32px;
  margin-top: 84px;
}

.breadcrumb-wrap + .hero-section {
  margin-top: 8px;
}

.hero-inner {
  width: 100%;
  max-width: 1080px;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #1a0d05;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.9) contrast(1.05);
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(20,8,2,.78) 0%, rgba(163,64,14,.18) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 64px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.hero-title {
  font-family: var(--font-main);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
}

.hero-title span { color: var(--color-accent-light); }

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
  max-width: 340px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  transition: transform .15s, box-shadow .15s, background .2s;
  box-shadow: 0 4px 16px rgba(240,122,32,.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,122,32,.5);
  background: #e06c10;
}

.btn-hero-secondary {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s;
}

.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

@media (max-width: 768px) {
  .hero-inner { height: auto; min-height: 340px; }
  .hero-content { padding: 32px 24px; align-items: flex-end; padding-bottom: 36px; }
  .hero-title { font-size: 30px; }
  .hero-btns { gap: 8px; }
  .btn-hero-primary, .btn-hero-secondary { font-size: 13px; padding: 10px 16px; }
}

@media (max-width: 480px) {
  .hero-section { padding: 0 12px 24px; }
  .hero-title { font-size: 26px; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gray);
  margin-bottom: 28px;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--color-muted);
  margin-top: -18px;
  margin-bottom: 28px;
}

/* ============================================================
   CATEGORÍAS GRID (cards simples)
   ============================================================ */
.categorias-section {
  background: var(--color-bg);
  padding: 40px 24px 56px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.categorias-cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cat-card {
  background: var(--color-card);
  width: 320px;
  min-height: 220px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201,91,16,.18);
}

.cat-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--color-accent);
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
  white-space: nowrap;
}

.cat-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-gray);
  margin-bottom: 24px;
  line-height: 1.2;
}

.cat-title strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.cat-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.cat-link:hover { gap: 10px; }

@media (max-width: 768px) {
  .categorias-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 24px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  .categorias-cards::-webkit-scrollbar { display: none; }
  .cat-card {
    flex: 0 0 calc(100% - 8px);
    scroll-snap-align: start;
  }
}

/* ============================================================
   APP BANNER
   ============================================================ */
.app-banner-section {
  padding: 0 24px 40px;
  display: flex;
  justify-content: center;
}

.app-banner-inner {
  width: 100%;
  max-width: 1080px;
  height: 300px;
  background: var(--color-bg2);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* blobs */
.app-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .35;
  pointer-events: none;
  animation: blobFloat1 10s ease-in-out infinite;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.app-blob-1 {
  width: 220px; height: 220px;
  background: var(--color-accent);
  top: -60px; left: 500px;
  animation-name: blobFloat2;
}

.app-blob-2 {
  width: 180px; height: 180px;
  background: var(--color-primary);
  bottom: -40px; right: 160px;
  animation-name: blobFloat3;
}

.app-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 500px;
}

.app-title {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 12px;
}

.app-title span { color: var(--color-primary); }

.app-desc {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 380px;
}

.app-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform .1s, filter .2s;
  box-shadow: 0 4px 12px rgba(201,91,16,.3);
}

.app-badge:hover { transform: translateY(-2px); filter: brightness(1.1); }
.app-badge-icon { font-size: 20px; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-badge-small { font-size: 10px; opacity: .8; font-weight: 400; }
.app-badge-big { font-size: 15px; font-weight: 700; }

.app-phone-wrap {
  position: absolute;
  right: 60px;
  bottom: 0;
  height: 110%;
  display: flex;
  align-items: flex-end;
}

.app-phone-wrap img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.2));
}

@media (max-width: 900px) {
  .app-banner-inner { height: auto; padding: 36px 0; }
  .app-content { padding: 0 24px; }
  .app-phone-wrap { opacity: .25; right: -20px; height: 90%; }
  .app-title { font-size: 26px; }
}

@media (max-width: 560px) {
  .app-banner-section { padding: 0 12px 28px; }
  .app-phone-wrap { display: none; }
  .app-badges { gap: 8px; }
  .app-badge { padding: 8px 12px; }
}

/* ============================================================
   PRODUCTOS TARJETAS (carrusel)
   ============================================================ */
.productos-section {
  background: var(--color-bg);
  padding: 8px 0 56px;
}

.productos-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.productos-header {
  text-align: center;
  margin-bottom: 32px;
}

.productos-header .h2 {
  font-size: 16px;
  color: var(--color-muted);
  font-weight: 400;
  margin-bottom: 6px;
}

.productos-header .h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-gray);
}

.productos-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.productos-grid::-webkit-scrollbar { display: none; }

.prod-card {
  flex: 0 0 300px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  min-height: 560px;
  transition: transform .2s, box-shadow .2s;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201,91,16,.18);
}

.prod-pill {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-accent) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  margin-left: -22px;
  margin-bottom: 16px;
  letter-spacing: .3px;
}

.prod-card small {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 2px;
  display: block;
}

.prod-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-gray);
  margin-bottom: 30px;
  min-height: 54px;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.prod-media {
  width: 100%;
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg2);
  margin-bottom: 14px;
}

.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-features {
  margin: 4px 0 18px 20px;
  padding: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.7;
}

.prod-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  width: 100%;
  padding: 9px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-align: center;
  display: block;
  transition: background .2s, transform .1s;
}

.btn-primary:hover { background: var(--color-primary); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  width: 100%;
  padding: 9px;
  background: transparent;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-align: center;
  display: block;
  transition: background .2s, color .2s;
}

.btn-ghost:hover { background: var(--color-bg2); color: var(--color-primary); border-color: var(--color-primary); }

/* Carousel arrows */
.carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.carousel-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: #fff;
  color: var(--color-accent);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s, opacity .2s;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

.carousel-arrow:disabled { opacity: .3; cursor: default; transform: none; }

@media (max-width: 680px) {
  .prod-card { flex: 0 0 82%; }
  .productos-wrap { padding: 0 16px; }
}

/* ============================================================
   BANNER CTA GRADIENT ANIMADO (Mesh)
   ============================================================ */
.mesh-banner-section {
  padding: 32px 24px 48px;
  background: var(--color-bg);
}

.mesh-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 80px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);

  background: var(--color-bg2);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 80px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.mesh-grad-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, #5C2008 0%, rgba(92,32,8,0) 60%),
              radial-gradient(circle at 80% 20%, #C95B10 0%, rgba(201,91,16,0) 50%),
              radial-gradient(circle at 50% 80%, #7A2800 0%, rgba(122,40,0,0) 60%),
              linear-gradient(135deg, #3D1A00 0%, #7A3A00 100%);
  z-index: 0;
  overflow: hidden;
}

.mesh-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: #fff;
}

.mesh-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.mesh-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 440px;
  text-shadow: 0 1px 5px rgba(0,0,0,.2);
}

.mesh-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.mesh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-dark));
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}

.mesh-cta:hover { color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.mesh-cta:hover::before { opacity: 1; }

/* Dots grid */
.mesh-dots {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  width: 250px;
  height: 250px;
  flex-shrink: 0;
}

.dot-item {
  width: 64px; height: 64px;
  position: relative;
  display: grid;
  place-items: center;
}

.dot-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(253,248,243,.15);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 4px 6px rgba(0,0,0,.15);
  transition: all .5s cubic-bezier(.4,0,.2,1);
}

.dot-icon {
  position: absolute;
  font-size: 24px;
  opacity: 0;
  transition: all .5s;
  transform: scale(.6);
}

.dot-item.active .dot-circle {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(100,40,8,.4);
  transform: scale(1.06);
}

.dot-item.active .dot-icon { opacity: 1; transform: scale(1); }

@media (max-width: 768px) {
  .mesh-banner-inner { flex-direction: column; padding: 40px 28px; gap: 28px; }
  .mesh-title { font-size: 28px; }
  .mesh-dots { width: 100%; max-width: 240px; height: auto; justify-items: center; }
  .dot-item { width: 58px; height: 58px; }
}

/* ============================================================
   BANNER SIMPLE CTA
   ============================================================ */
.simple-cta-section {
  padding: 0 24px 40px;
  display: flex;
  justify-content: center;
}

.simple-cta-inner {
  max-width: 1040px;
  width: 100%;
  background: var(--color-bg2);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .22;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.cta-blob-l {
  width: 200px; height: 200px;
  background: var(--color-accent);
  left: 5%; top: 50%;
  transform: translateY(-50%);
}

.cta-blob-r {
  width: 180px; height: 180px;
  background: var(--color-primary);
  right: 5%; top: 50%;
  transform: translateY(-50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.cta-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.btn-cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--color-accent);
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(240,122,32,.3);
}

.btn-cta:hover { background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }

@media (max-width: 860px) {
  .simple-cta-inner { text-align: left; justify-content: flex-start; }
  .cta-content { text-align: left; }
  .cta-blob-l { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: transparent;
  border-top: 1px solid var(--color-bg3);
}

.footer-main {
  background: linear-gradient(106deg, var(--color-primary) -13%, var(--color-primary-dark) 99%);
  padding: 60px 32px 36px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {}

.footer-logo-text {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: background .2s, transform .1s;
}

.social-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: color .2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-divider {
  max-width: 1180px;
  margin: 22px auto 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.2);
}

.footer-logos-strip {
  max-width: 1180px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logos-strip span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-style: italic;
}

.logo-placeholder {
  background: rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
}

/* Footer legal */
.footer-legal {
  background: var(--color-bg2);
  border-top: 1px solid var(--color-bg3);
}

.footer-legal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.legal-col {
  flex: 1;
  padding: 4px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-col:first-child { padding-left: 0; }
.legal-col:last-child { padding-right: 0; }

.legal-col-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.legal-col-head svg { flex-shrink: 0; color: var(--color-primary); }

.legal-col-head strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
}

.legal-col p {
  font-size: 10.5px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.legal-col p strong { color: var(--color-primary-dark); font-weight: 600; }
.legal-col a { color: var(--color-primary); text-decoration: none; }
.legal-col a:hover { text-decoration: underline; }

.legal-vdiv {
  width: 1px;
  background: var(--color-bg3);
  flex-shrink: 0;
  align-self: stretch;
  margin: 4px 0;
}

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

@media (max-width: 600px) {
  .footer-main { padding: 48px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal-inner { flex-direction: column; gap: 12px; padding: 16px 20px; }
  .legal-col { padding: 0; }
  .legal-vdiv { width: 100%; height: 1px; align-self: auto; margin: 0; }
}

/* ============================================================
   FAB FLOTANTE
   ============================================================ */
.fab-dock {
  position: fixed;
  top: 85%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 38px;
}

.fab-item {
  position: relative;
  width: 188px;
  height: 62px;
  --fab-shift: 132px;
}

.fab-item:hover { --fab-shift: 0px; }

.fab-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 188px;
  height: 62px;
  border-radius: 31px 0 0 31px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  overflow: visible;
  transform: translateX(var(--fab-shift));
  transition: transform .28s ease, box-shadow .2s ease;
}

.fab-item:hover .fab-link { box-shadow: 0 10px 26px rgba(0,0,0,.25); }

.fab-waves {
  position: absolute;
  z-index: 1;
  left: calc(27px + var(--fab-shift));
  top: 50%;
  width: 54px; height: 54px;
  transform: translate(-50%,-50%);
  transition: left .28s ease;
  pointer-events: none;
  overflow: visible;
}

.fab-waves .ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 54px; height: 54px;
  transform: translate(-50%,-50%) scale(.8);
  border-radius: 50%;
  animation: pulseRing 2.2s ease-out infinite;
}

.fab-waves .ring2 { animation-delay: .55s; opacity: .9; }
.fab-waves .ring3 { animation-delay: 1.1s; opacity: .8; }

.fab-waves--green .ring { border: 3px solid rgba(37,211,102,.35); box-shadow: 0 0 10px rgba(37,211,102,.22); }
.fab-waves--orange .ring { border: 3px solid rgba(240,122,32,.35); box-shadow: 0 0 10px rgba(240,122,32,.22); }

@keyframes pulseRing {
  0% { transform: translate(-50%,-50%) scale(.8); opacity: 1; }
  70% { transform: translate(-50%,-50%) scale(1.8); opacity: .12; }
  100% { transform: translate(-50%,-50%) scale(2); opacity: 0; }
}

.fab-icon {
  width: 54px; height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  font-size: 24px;
}

.fab-label {
  position: relative;
  z-index: 3;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  font-size: 18px;
  line-height: 1;
  transition: opacity .25s ease .05s, transform .25s ease .05s;
  color: #fff;
  padding-left: 8px;
}

.fab-item:hover .fab-label { opacity: 1; transform: translateX(0); }

/* FAB WhatsApp */
.fab-wa .fab-link { background: #25D366; }
.fab-wa .fab-icon { background: #1fb255; }

/* FAB Llamada (naranja) */
.fab-call .fab-link { background: var(--color-accent); }
.fab-call .fab-icon { background: var(--color-primary); }

@media (max-width: 480px) {
  .fab-item { width: 50px; height: 50px; --fab-shift: 0px; }
  .fab-link { width: 50px; height: 50px; justify-content: center; border-radius: 25px 0 0 25px; }
  .fab-label { display: none !important; }
  .fab-waves { left: calc(25px + var(--fab-shift)); width: 50px; height: 50px; }
  .fab-waves .ring { width: 50px; height: 50px; }
  .fab-icon { width: 50px; height: 50px; flex: 0 0 50px; font-size: 20px; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 0 20px 20px;
  pointer-events: none;
  transform: translateY(calc(100% + 20px));
  transition: transform .35s cubic-bezier(.34,1.2,.64,1);
}

.cookie-banner.visible { transform: translateY(0); pointer-events: auto; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 -4px 32px rgba(163,64,14,.1), 0 8px 40px rgba(163,64,14,.06);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cookie-icon {
  width: 40px; height: 40px;
  background: rgba(201,91,16,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cookie-text { flex: 1; min-width: 220px; }
.cookie-title { font-size: 14px; font-weight: 700; color: var(--color-primary-dark); margin-bottom: 3px; }
.cookie-desc { font-size: 13px; color: var(--color-muted); line-height: 1.5; }
.cookie-desc a { color: var(--color-primary); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  border: none;
  min-height: 40px;
}

.cookie-btn-primary { background: var(--color-accent); color: #fff; box-shadow: 0 4px 14px rgba(240,122,32,.25); }
.cookie-btn-primary:hover { background: var(--color-primary); transform: translateY(-1px); }
.cookie-btn-secondary { background: #fff; color: var(--color-primary); border: 1.5px solid rgba(201,91,16,.3); }
.cookie-btn-secondary:hover { border-color: var(--color-primary); background: rgba(201,91,16,.05); transform: translateY(-1px); }

@media (max-width: 680px) {
  .cookie-banner { padding: 0 12px 12px; }
  .cookie-inner { padding: 16px 18px; gap: 14px; border-radius: 18px; }
  .cookie-icon { display: none; }
  .cookie-text { min-width: 100%; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; font-size: 13px; }
}

/* ============================================================
   BLOBS ANIMADOS
   ============================================================ */
@keyframes blobFloat1 { 0% { transform: translate3d(0,0,0); } 30% { transform: translate3d(0,16px,0); } 60% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes blobFloat2 { 0% { transform: translate3d(0,0,0); } 30% { transform: translate3d(-14px,16px,0); } 60% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes blobFloat3 { 0% { transform: translate3d(0,0,0); } 30% { transform: translate3d(14px,16px,0); } 60% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,0,0); } }

/* ============================================================
   SCROLL REVEAL UTILITY
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible { opacity: 1; transform: none; }



/* ============================================================
   SVG ICONS STYLING FOR CARDS
   ============================================================ */
.benefit-icon,
.feat-icon,
.value-icon,
.prod-ov-icon,
.channel-icon,
.doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 14px;
  width: fit-content;
}

.benefit-icon svg,
.feat-icon svg,
.value-icon svg,
.prod-ov-icon svg,
.channel-icon svg,
.doc-icon svg {
  stroke: var(--color-primary);
  transition: stroke .2s, transform .2s;
}

.benefit-card .benefit-icon,
.feat-card .feat-icon,
.channel-card .channel-icon,
.value-card .value-icon,
.doc-card .doc-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}



.benefit-card:hover .benefit-icon svg,
.feat-card:hover .feat-icon svg,
.value-card:hover .value-icon svg,
.prod-overview-card:hover .prod-ov-icon svg,
.doc-card:hover .doc-icon svg {
  transform: scale(1.08);
}

/* ============================================================
   GLOBAL PREMIUM CARDS FOR SUBPAGES
   ============================================================ */
.benefit-card, .feat-card, .value-card, .doc-card, .blog-card, .prod-overview-card {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
  border: 1px solid var(--color-border) !important;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1), border-color .4s !important;
  z-index: 1;
  position: relative;
}

.benefit-card, .value-card, .doc-card {
  text-align: center !important;
}

.doc-card a {
  margin: 0 auto !important;
}

.benefit-card:hover, .feat-card:hover, .value-card:hover, .doc-card:hover, .blog-card:hover, .prod-overview-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 16px 40px rgba(201,91,16,0.12) !important;
}



/* ============================================================
   AUTOMATIC AMBIENT BACKGROUND BLOBS FOR SUBPAGES
   ============================================================ */
body.seccion-personas::before {
  content: "";
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,122,32,0.06) 0%, rgba(253,248,243,0) 70%);
  top: 15%; right: -100px;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

body.seccion-personas::after {
  content: "";
  position: fixed;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,91,16,0.04) 0%, rgba(253,248,243,0) 70%);
  bottom: 10%; left: -200px;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.blog-thumb svg {
  color: var(--color-primary);
  stroke: var(--color-primary);
  transition: transform .3s ease;
}

.blog-card:hover .blog-thumb svg {
  transform: scale(1.12);
}
