/* Socoll - Réplica estilo Levain Bakery | B2B Insumos de Repostería */

:root {
  --navy: #1e3a5f;
  --navy-dark: #0f2744;
  --cream: #f8f5f0;
  --cream-dark: #ede8e0;
  --white: #ffffff;
  --brown: #5c4033;
  --brown-light: #8b7355;
  --gold: #c9a227;
  --mustard: #d89e2b;
  --mustard-dark: #c28620;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --border: #e5e0d8;
  --shadow: rgba(30, 58, 95, 0.08);
  /** Enlaces de contacto en pie oscuro (mismo tono correo «Política de despachos») */
  --footer-link-accent: #7dd3fc;
  --footer-link-accent-hover: #bae6fd;
  --transition: 0.3s ease;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.85;
}

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

/* ========== TOP BAR (Announcement) ========== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner > .logo {
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  max-width: 100%;
}

.logo .logo-image {
  display: block;
  max-height: 48px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

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

.nav-dropdown {
  position: relative;
}

/* Puente invisible para que el cursor no pierda el :hover al bajar al submenú */
@media (min-width: 769px) {
  .nav-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    height: 14px;
    z-index: 119;
  }
}

.nav-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.nav-dropdown-label:hover {
  color: var(--navy);
}

.nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.75;
}

.nav-dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 260px;
  max-height: min(70vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.15);
  border: 1px solid var(--border);
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  z-index: 120;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  color: var(--text);
}

.nav-dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--navy);
}

.nav-dropdown-menu .nav-dropdown-all a {
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

/* Categorías de producto agrupadas (menú Productos) */
.nav-cat-group {
  list-style: none;
  margin: 0;
  padding: 6px 0 2px;
  border-bottom: 1px solid var(--border);
}

.nav-cat-group:last-of-type {
  border-bottom: none;
}

.nav-cat-group-title {
  display: block;
  padding: 4px 18px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  opacity: 0.9;
}

.nav-cat-group-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
}

.nav-cat-group-list li a {
  display: block;
  padding: 6px 18px 6px 22px;
  font-size: 0.88rem;
  color: var(--text);
}

.nav-cat-group-list li a:hover {
  background: var(--cream);
  color: var(--navy);
}

.nav-contact-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--mustard);
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter var(--transition), transform var(--transition);
}

.btn-header-cta:hover {
  opacity: 1;
  filter: brightness(0.96);
  color: var(--white) !important;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }
}

.btn-cart {
  position: relative;
  padding: 8px 12px;
  font-size: 1.1rem;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2a4a6f 100%);
  color: var(--white);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 28px;
}

.hero--has-photo::before {
  opacity: 0.35;
}

/* Hero portada: fondo blanco, imagen + texto (brief PDF) */
.hero.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  text-align: left;
  background: var(--white);
  color: var(--text);
}

.hero.hero--split::before {
  display: none;
}

.hero-split-media {
  min-height: 320px;
  background: var(--cream-dark);
}

.hero-split-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.hero-split-img--cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-split-placeholder {
  min-height: 380px;
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-split-content {
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.hero.hero--split h1 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

.hero.hero--split .hero-actions {
  justify-content: flex-start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-hero-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-hero-secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  opacity: 1;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}

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

.btn-mustard {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: var(--mustard);
  border-radius: 4px;
  border: 2px solid var(--mustard);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-mustard:hover {
  opacity: 1;
  background: var(--mustard-dark);
  border-color: var(--mustard-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-mustard--wide {
  width: 100%;
  text-align: center;
}

.btn-hero-outline {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 4px;
}

.btn-hero-outline:hover {
  opacity: 1;
  background: var(--navy);
  color: var(--white);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 4px;
}

.btn-whatsapp:hover {
  opacity: 1;
  border-color: var(--navy);
}

/* Botón flotante WhatsApp (todas las páginas) — siempre esquina inferior derecha, verde marca */
.socoll-wa-float {
  position: fixed !important;
  left: auto !important;
  top: auto !important;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 100090;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fe077 0%, #25d366 45%, #128c7e 100%);
  color: #fff !important;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.socoll-wa-float:hover {
  opacity: 1 !important;
  color: #fff !important;
  transform: scale(1.06);
  box-shadow:
    0 8px 28px rgba(18, 140, 126, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.socoll-wa-float:focus-visible {
  outline: 2px solid #0d6b61;
  outline-offset: 3px;
}

.socoll-wa-float svg {
  display: block;
}

.socoll-wa-float svg,
.socoll-wa-float svg path {
  fill: #fff !important;
}

@media (min-width: 769px) {
  .socoll-wa-float {
    width: 64px;
    height: 64px;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: max(28px, env(safe-area-inset-bottom, 0px));
    z-index: 100090;
    box-shadow:
      0 10px 32px rgba(18, 140, 126, 0.38),
      0 4px 14px rgba(0, 0, 0, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }

  .socoll-wa-float svg {
    width: 32px;
    height: 32px;
  }
}

.btn-product-view {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--mustard);
  border-radius: 4px;
}

.btn-product-view:hover {
  opacity: 1;
  background: var(--mustard-dark);
  color: var(--white);
}

.socoll-home .product-footer {
  justify-content: stretch;
}

.socoll-home .product-footer .btn-product-view {
  flex: 1;
}

.btn-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* ========== MARQUEE TRUST BADGES (estilo Levain) ========== */
.trust-marquee {
  background: var(--navy);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.trust-marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content,
.marquee-content-duplicate {
  display: inline-flex;
  gap: 60px;
  padding: 0 30px;
}

.trust-marquee span {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-wrapper {
    animation: none;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 40px;
    padding: 0 20px;
  }

  .marquee-content-duplicate {
    display: none !important;
  }
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  padding: 64px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
}

.products-section-sub {
  margin: 8px 0 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 640px;
}

.link-all {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.products-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--navy);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.products-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-badge.seasonal {
  background: var(--brown);
}

.product-image {
  aspect-ratio: 1;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.img-placeholder {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--brown-light);
  text-align: center;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.btn-add-cart {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}

.btn-add-cart:hover {
  background: var(--navy-dark);
  transform: scale(1.02);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
}

.slider-dots button.active {
  background: var(--navy);
  width: 24px;
}

/* ========== SPLIT SECTIONS ========== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  align-items: center;
}

.split-left .split-image { order: 1; }
.split-left .split-content { order: 2; }
.split-right .split-image { order: 2; }
.split-right .split-content { order: 1; }

.split-image {
  min-height: 400px;
}

.img-bg {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.img-bg.baking {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--brown-light) 100%);
  background-image: linear-gradient(135deg, rgba(139, 115, 85, 0.2) 0%, rgba(92, 64, 51, 0.3) 100%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%238b7355' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
}

.img-bg.img-bg--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.img-bg.partner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.split-content {
  padding: 64px 48px;
}

.split-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.split-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Bloque "Tu socio" — texto claro + panel navy */
.split-partner {
  background: var(--cream);
}

.split-partner .split-content {
  background: var(--cream);
  order: 1;
}

.split-partner .split-navy-panel {
  order: 2;
  min-height: 400px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2a4a6f 100%);
}

.split-partner.split-section {
  grid-template-columns: 1fr 1fr;
}

/* ========== CATEGORIES / GIFT SOLUTIONS ========== */
.categories-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.categories-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.category-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-dark);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h3 {
  padding: 24px 32px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.category-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 0 32px;
}

.category-link {
  padding: 0 32px 32px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ========== BRAND STORY ========== */
.brand-story {
  padding: 80px 24px;
  background: var(--white);
}

.brand-story-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.brand-story-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.brand-story-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.btn-catalog-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 4px;
  margin-top: 8px;
}

.btn-catalog-link:hover {
  opacity: 0.85;
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}

.newsletter-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter-section .newsletter-lead,
.newsletter-section p {
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  background: var(--white);
  color: var(--navy);
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 4px;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--cream);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--cream);
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-contactar {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.btn-contactar:hover {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
}

.btn-contactar--solid {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  cursor: pointer;
  font-family: inherit;
}

.btn-contactar--solid:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.socoll-contact-form {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: left;
}

.socoll-contact-form__lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px !important;
}

.socoll-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.socoll-field {
  margin: 0;
}

.socoll-field--full {
  grid-column: 1 / -1;
}

.socoll-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.socoll-field .required {
  color: #b83232;
}

.socoll-field input,
.socoll-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--white);
}

.socoll-field textarea {
  resize: vertical;
  min-height: 120px;
}

.socoll-contact-form__submit {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  text-align: center;
}

.socoll-alert-wrap {
  max-width: 560px;
  margin: 0 auto 24px;
}

.socoll-alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.socoll-alert--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.socoll-alert--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

/* ========== PORTADA PDF: beneficios, compradores, proceso, precios ========== */
.socoll-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.socoll-benefits {
  padding: 72px 0;
  background: var(--white);
}

.socoll-benefits h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.3;
}

.socoll-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.socoll-benefits-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.5;
}

.socoll-benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mustard);
}

.socoll-buyers {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
}

.socoll-buyers h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.socoll-buyers-tags {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.socoll-buyers-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.socoll-process {
  padding: 72px 0;
  background: var(--cream);
}

.socoll-process h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}

.socoll-process-steps {
  max-width: 520px;
  margin: 0 auto 32px;
  padding-left: 24px;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.socoll-process-steps li {
  margin-bottom: 10px;
}

.socoll-process-cta-wrap {
  text-align: center;
  margin: 0;
}

.socoll-pricing-lead {
  padding: 80px 24px;
  background: #f4f4f4;
}

.socoll-pricing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.socoll-pricing-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 32px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.socoll-pricing-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}

.socoll-pricing-lead-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
  line-height: 1.55;
}

.socoll-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.socoll-pricing-grid .socoll-field {
  margin: 0;
}

.socoll-pricing-grid .socoll-field--full {
  grid-column: 1 / -1;
}

.socoll-pricing-actions {
  margin: 24px 0 12px !important;
  text-align: center;
}

.socoll-pricing-wa {
  margin: 0 !important;
  text-align: center;
}

.footer-contact-block {
  text-align: left;
}

.footer-contact-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.footer-contact-lines {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.footer-contact-lines a {
  opacity: 0.92;
}

.footer-contact-lines a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact-sep {
  opacity: 0.6;
}

.footer-contact-email {
  margin: 0;
  font-size: 0.95rem;
}

.footer .footer-contact-email a,
.footer .footer-contact-policy a {
  color: var(--footer-link-accent);
  opacity: 0.96;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer .footer-contact-email a:hover,
.footer .footer-contact-policy a:hover {
  color: var(--footer-link-accent-hover);
  opacity: 1;
  text-decoration: underline;
}

.footer-instagram-handle {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.footer-instagram-handle a {
  opacity: 0.9;
  text-decoration: underline;
}

/* ========== CART DRAWER ========== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.cart-close {
  font-size: 1.75rem;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 0;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 6px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 0.85rem;
  align-self: flex-start;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 16px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: background var(--transition);
}

.btn-checkout:hover {
  background: var(--navy-dark);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 64px 24px 32px;
}

.footer--minimal {
  padding: 40px 24px 32px;
}

.footer--minimal .footer-bottom {
  padding-top: 0;
  border-top: none;
  margin-bottom: 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .footer-grid.socoll-footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.footer-follow {
  text-align: right;
}

.footer-follow-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.95;
}

.footer-instagram {
  display: inline-flex;
  color: var(--white);
  opacity: 0.92;
  line-height: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-instagram:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer-instagram svg {
  display: block;
}

.footer-copy {
  margin: 0;
  width: 100%;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-bottom .logo {
  color: var(--white);
}

.footer-bottom .logo .logo-image {
  max-height: 40px;
}

.footer-bottom .logo .logo-text {
  color: var(--white);
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-follow {
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 101;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a,
  .nav-dropdown-label {
    font-size: 1.1rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--cream);
    margin-top: 8px;
    border-radius: 4px;
    padding: 4px 0;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu {
    max-height: none;
    overflow-y: visible;
  }

  .nav-contact-link {
    width: 100%;
    padding: 4px 0;
  }

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

  .socoll-pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero.hero--split {
    grid-template-columns: 1fr;
  }

  .hero-split-content {
    padding: 40px 24px 56px;
    order: 2;
  }

  .hero-split-media {
    order: 1;
  }

  .btn-header-cta {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }

  .slider-btn {
    display: none;
  }

  .products-track {
    overflow-x: auto;
  }

  .product-card {
    flex: 0 0 260px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-left .split-image,
  .split-left .split-content,
  .split-right .split-image,
  .split-right .split-content {
    order: unset;
  }

  .split-content {
    padding: 40px 24px;
  }

  .img-bg {
    min-height: 280px;
  }

  .cart-drawer {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 80px;
  }

  .trust-marquee span {
    font-size: 0.8rem;
  }

  .product-card {
    flex: 0 0 220px;
  }
}
