/* ============================================================
   Yaby Bebés — main.css
   Estilos principales del tema WordPress
   Paleta: arena suave / tostado / marrón cacao / raíz oscuro
   Tipografía: DM Sans (primaria) + Fraunces (secundaria)
   NOTA: En producción, reemplazar DM Sans por Forma DJR Text
   y Fraunces por Georgia Pro usando @font-face con archivos
   licenciados provistos por el cliente.
   ============================================================ */

/* ── Variables de marca ── */
:root {
  --color-arena-suave: #e8dcd4;
  --color-tostado:     #a0866d;
  --color-marron-cacao:#49362a;
  --color-raiz-oscuro: #21120d;
  --color-blanco:      #ffffff;
  --color-gris:        #e9e8e7;

  --font-primary:   'DM Sans', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ── Reset básico ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  font-weight: 300;
  color: var(--color-marron-cacao);
  background: var(--color-blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Tipografía heredada para Elementor ── */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: var(--font-secondary);
}

/* ─────────────────────────────
   UTILIDADES
───────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.caption {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-tostado);
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 300ms ease;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-raiz-oscuro);
  color: var(--color-blanco);
  border: none;
}
.btn-primary:hover { background: var(--color-marron-cacao); transform: translateY(-2px); color: var(--color-blanco); }
.btn-outline {
  border: 1px solid var(--color-tostado);
  color: var(--color-tostado);
  background: transparent;
}
.btn-outline:hover { background: var(--color-arena-suave); color: var(--color-marron-cacao); }
.btn-light {
  background: var(--color-blanco);
  color: var(--color-raiz-oscuro);
  border: none;
}
.btn-light:hover { background: var(--color-arena-suave); transform: translateY(-2px); }

.btn .arrow { transition: transform 300ms ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Placeholder de imágenes ── */
.placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-secondary);
  font-style: italic;
  color: var(--color-tostado);
  font-size: 14px;
  background: var(--color-arena-suave);
}

/* ─────────────────────────────
   01. HEADER / NAVEGACIÓN
───────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background 300ms ease;
}
header.scrolled { border-bottom-color: var(--color-gris); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  font-family: var(--font-secondary);
  font-size: 26px;
  font-weight: 500;
  color: var(--color-raiz-oscuro);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { font-style: italic; color: var(--color-tostado); font-weight: 400; font-size: 16px; margin-left: 4px; }
/* Logo personalizado de WordPress */
.nav-logo .custom-logo { height: 40px; width: auto; }

/* Menú de WordPress (ul generado por wp_nav_menu) */
.nav ul.nav-menu,
ul.nav-menu {
  display: none;
  gap: 36px;
  list-style: none;
  padding: 0; margin: 0;
}
@media (min-width: 1024px) {
  .nav ul.nav-menu,
  ul.nav-menu { display: flex; }
}
.nav-menu li { position: relative; }
.nav-menu a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-marron-cacao);
  position: relative;
  padding: 4px 0;
  transition: color 300ms ease;
  text-decoration: none;
  display: block;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--color-tostado);
  transition: width 300ms ease;
}
.nav-menu a:hover { color: var(--color-raiz-oscuro); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px; background: transparent;
}
.hamburger span {
  width: 22px; height: 1.5px; background: var(--color-raiz-oscuro);
  transition: all 300ms ease; display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Drawer mobile */
.drawer {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: 80%; max-width: 360px;
  background: var(--color-blanco);
  padding: 100px 32px 40px;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  transition: right 400ms ease;
  z-index: 99;
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer ul { list-style: none; display: flex; flex-direction: column; gap: 24px; padding: 0; margin: 0; }
.drawer a {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--color-raiz-oscuro);
  text-decoration: none;
  display: block;
}
.drawer .btn { margin-top: 32px; width: 100%; justify-content: center; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(33, 18, 13, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 98;
}
.overlay.visible { opacity: 1; pointer-events: auto; }

/* ─────────────────────────────
   02. HERO SLIDER
───────────────────────────── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 76px;
}
@media (max-width: 767px) { .hero { height: 70vh; min-height: 520px; } }

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease;
}
.slide.active { opacity: 1; }

.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

/* Backgrounds de los slides de fallback */
.slide-1 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(33,18,13,0.55) 0%, rgba(33,18,13,0.15) 60%, transparent 100%),
    url('https://images.unsplash.com/photo-1522771930-78848d9293e8?w=1600&q=80');
}
.slide-2 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(33,18,13,0.55) 0%, rgba(33,18,13,0.15) 60%, transparent 100%),
    url('https://images.unsplash.com/photo-1519689680058-324335c77eba?w=1600&q=80');
}
.slide-3 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(33,18,13,0.55) 0%, rgba(33,18,13,0.15) 60%, transparent 100%),
    url('https://images.unsplash.com/photo-1515488764276-beab7607c1e6?w=1600&q=80');
}

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(33,18,13,0.45) 0%, rgba(33,18,13,0.1) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  padding: 0 24px;
  color: var(--color-blanco);
}
@media (min-width: 768px) { .slide-content { padding: 0 80px; } }

.slide-caption {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-arena-suave);
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  transition: all 700ms ease 200ms;
}
.slide.active .slide-caption { opacity: 1; transform: translateY(0); }

.slide-headline {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(30px);
  transition: all 800ms ease 350ms;
}
.slide-headline em { font-style: italic; font-weight: 400; }
.slide.active .slide-headline { opacity: 1; transform: translateY(0); }

.slide-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300; line-height: 1.5; max-width: 460px;
  margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  transition: all 700ms ease 500ms;
}
.slide.active .slide-subtitle { opacity: 1; transform: translateY(0); }

.slide .btn {
  opacity: 0; transform: translateY(20px);
  transition: all 700ms ease 650ms;
  align-self: flex-start;
}
.slide.active .btn { opacity: 1; transform: translateY(0); }

/* Controles */
.hero-controls {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 5;
}
.dot {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 300ms ease;
  border: none;
}
.dot.active { background: var(--color-blanco); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--color-blanco);
  cursor: pointer; transition: all 300ms ease;
  z-index: 5; border-radius: 50%;
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
@media (max-width: 767px) {
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
}

/* ─────────────────────────────
   03. INSTITUCIONAL
───────────────────────────── */
.institutional {
  background: var(--color-arena-suave);
  padding: 72px 0;
  text-align: center;
}
@media (max-width: 767px) { .institutional { padding: 48px 0; } }

.institutional-line {
  width: 48px; height: 1px;
  background: var(--color-tostado);
  margin: 0 auto 24px;
}
.institutional h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 400; line-height: 1.2;
  color: var(--color-raiz-oscuro);
  max-width: 620px; margin: 0 auto 18px;
  letter-spacing: -0.01em;
}
.institutional h2 em { font-style: italic; color: var(--color-marron-cacao); }
.institutional p {
  font-size: 15px; font-weight: 300;
  max-width: 520px; margin: 0 auto;
  color: var(--color-marron-cacao); line-height: 1.55;
}
.institutional p strong { font-weight: 500; }

/* ─────────────────────────────
   04. COLECCIÓN / PRODUCTOS
───────────────────────────── */
.collection { padding: 72px 0; background: var(--color-blanco); }
@media (max-width: 767px) { .collection { padding: 56px 0; } }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 400; color: var(--color-raiz-oscuro);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.section-header p {
  font-size: 14px; font-weight: 300;
  color: var(--color-tostado);
  font-style: italic;
  font-family: var(--font-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1023px) {
  .product-grid {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px; padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-tostado) transparent;
  }
  .product-card { flex: 0 0 65%; scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .product-card { flex: 0 0 75%; }
}

.product-card { position: relative; cursor: pointer; }
.product-image {
  aspect-ratio: 3 / 4;
  background: var(--color-gris);
  overflow: hidden; position: relative;
  margin-bottom: 16px;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }

.product-overlay {
  position: absolute; inset: 0;
  background: rgba(33, 18, 13, 0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 300ms ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay span {
  color: var(--color-blanco); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--color-blanco); padding-bottom: 4px;
}

.product-name {
  font-family: var(--font-primary);
  font-size: 14px; font-weight: 500;
  color: var(--color-raiz-oscuro); margin-bottom: 4px;
}
.product-desc {
  font-family: var(--font-secondary);
  font-style: italic; font-size: 13px; color: var(--color-tostado);
}

.yaby-watermark {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-secondary); font-size: 11px; font-weight: 500;
  color: var(--color-blanco); letter-spacing: 0.05em;
  opacity: 0.85; text-shadow: 0 1px 2px rgba(0,0,0,0.2); z-index: 1;
}

/* ─────────────────────────────
   05. VIDEO
───────────────────────────── */
.video-section { padding: 0; background: var(--color-blanco); }

.video-wrapper {
  position: relative; width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--color-arena-suave);
  overflow: hidden; cursor: pointer;
}
@media (max-width: 767px) { .video-wrapper { aspect-ratio: 16 / 9; } }

.video-poster {
  width: 100%; height: 100%;
  background-image:
    linear-gradient(180deg, rgba(33,18,13,0.1), rgba(33,18,13,0.35)),
    url('https://images.unsplash.com/photo-1555252333-9f8e92e65df9?w=1600&q=80');
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
/* TODO: reemplazar imagen del poster con foto real del cliente */

.play-btn {
  width: 96px; height: 96px;
  background: var(--color-arena-suave);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 400ms ease, background 400ms ease;
  border: none; cursor: pointer;
}
.video-wrapper:hover .play-btn { transform: scale(1.08); background: var(--color-blanco); }
.play-btn svg { color: var(--color-marron-cacao); margin-left: 4px; }
@media (max-width: 767px) {
  .play-btn { width: 72px; height: 72px; }
  .play-btn svg { width: 28px; height: 28px; }
}

/* ─────────────────────────────
   06. CLIENTES
───────────────────────────── */
.clients { padding: 80px 0; background: var(--color-gris); }
@media (max-width: 767px) { .clients { padding: 56px 0; } }

.clients-carousel {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-tostado) transparent;
}
.clients-carousel::-webkit-scrollbar { height: 4px; }
.clients-carousel::-webkit-scrollbar-track { background: transparent; }
.clients-carousel::-webkit-scrollbar-thumb { background: var(--color-tostado); border-radius: 2px; }

.client-card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}
@media (max-width: 1023px) { .client-card { flex: 0 0 65%; } }
@media (max-width: 480px)  { .client-card { flex: 0 0 80%; } }

.client-image {
  aspect-ratio: 4 / 5;
  background: var(--color-arena-suave);
  overflow: hidden; position: relative;
  margin-bottom: 16px; border-radius: 4px;
}
.client-image img { width: 100%; height: 100%; object-fit: cover; }

.client-name {
  font-family: var(--font-primary); font-size: 15px; font-weight: 500;
  color: var(--color-raiz-oscuro); margin-bottom: 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.client-city {
  font-family: var(--font-secondary); font-style: italic;
  font-size: 13px; color: var(--color-tostado);
}
.client-socials { display: flex; gap: 8px; }
.client-socials a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-tostado); transition: color 300ms ease;
}
.client-socials a:hover { color: var(--color-marron-cacao); }

.clients-cta { text-align: center; margin-top: 48px; }

/* ─────────────────────────────
   07. INSTAGRAM / SOCIAL
───────────────────────────── */
.social { padding: 80px 0; background: var(--color-blanco); }
@media (max-width: 767px) { .social { padding: 56px 0; } }

.social-header { text-align: center; margin-bottom: 40px; }
.social-header h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 400; color: var(--color-raiz-oscuro);
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.01em;
}
.social-header p {
  color: var(--color-tostado); font-style: italic;
  font-family: var(--font-secondary); margin-top: 4px; font-size: 14px;
}

.social-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
@media (max-width: 1023px) {
  .social-grid {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px; padding-bottom: 16px;
  }
  .social-item { flex: 0 0 45%; scroll-snap-align: start; }
}
@media (max-width: 480px) { .social-item { flex: 0 0 60%; } }

.social-item {
  aspect-ratio: 4 / 5;
  background: var(--color-arena-suave);
  position: relative; overflow: hidden; cursor: pointer;
  display: block;
}
.social-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.social-item:hover img { transform: scale(1.05); }
.social-overlay {
  position: absolute; inset: 0;
  background: rgba(33, 18, 13, 0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 300ms ease;
}
.social-item:hover .social-overlay { opacity: 1; }
.social-overlay svg { color: var(--color-blanco); }

/* ─────────────────────────────
   08. DISTRIBUIDOR
───────────────────────────── */
.distributor {
  background: var(--color-marron-cacao);
  color: var(--color-arena-suave);
  padding: 120px 0;
}
@media (max-width: 767px) { .distributor { padding: 80px 0; } }

.distributor-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start;
}
@media (min-width: 1024px) {
  .distributor-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.distributor-copy .caption { color: var(--color-tostado); }
.distributor-copy h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; color: var(--color-blanco);
  margin: 16px 0 24px; letter-spacing: -0.01em; line-height: 1.1;
}
.distributor-copy h2 em { font-style: italic; }
.distributor-copy > p {
  font-size: 16px; font-weight: 300; max-width: 480px; margin-bottom: 40px;
}

.benefits { display: flex; flex-direction: column; gap: 24px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(160, 134, 109, 0.25);
}
.benefit:last-child { border-bottom: none; }
.benefit-icon { flex-shrink: 0; width: 36px; height: 36px; color: var(--color-tostado); }
.benefit-text strong {
  font-family: var(--font-primary); font-weight: 500;
  color: var(--color-blanco); display: block; margin-bottom: 4px; font-size: 15px;
}
.benefit-text span { font-size: 14px; font-weight: 300; color: var(--color-arena-suave); opacity: 0.85; }

/* Formulario / tarjeta */
.form-card {
  background: var(--color-arena-suave);
  padding: 40px; border-radius: 6px;
  color: var(--color-marron-cacao);
}
@media (max-width: 480px) { .form-card { padding: 28px; } }

.form-card h3 {
  font-family: var(--font-secondary); font-size: 24px; font-weight: 500;
  color: var(--color-raiz-oscuro); margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em; color: var(--color-marron-cacao); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  font-family: var(--font-primary); font-size: 14px;
  color: var(--color-raiz-oscuro);
  background: var(--color-blanco);
  border: 1px solid transparent; border-radius: 3px;
  transition: border-color 300ms ease;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--color-tostado);
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-microcopy {
  font-size: 12px; font-style: italic;
  color: var(--color-tostado); text-align: center; margin-top: 14px;
  font-family: var(--font-secondary);
}

/* ─────────────────────────────
   09. FOOTER
───────────────────────────── */
footer {
  background: var(--color-raiz-oscuro);
  color: var(--color-arena-suave);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
}

.footer-logo {
  font-family: var(--font-secondary); font-size: 28px; font-weight: 500;
  color: var(--color-blanco); margin-bottom: 16px; letter-spacing: -0.02em;
  display: block;
}
.footer-logo span { font-style: italic; font-size: 16px; color: var(--color-tostado); margin-left: 4px; font-weight: 400; }
.footer-logo .custom-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }

.footer-desc {
  font-size: 14px; font-weight: 300;
  max-width: 380px; margin-bottom: 24px; opacity: 0.85;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232, 220, 212, 0.2);
  border-radius: 50%; color: var(--color-arena-suave);
  transition: all 300ms ease;
}
.footer-socials a:hover { background: var(--color-tostado); border-color: var(--color-tostado); color: var(--color-blanco); }

.footer-col h4 {
  font-family: var(--font-primary); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-tostado); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.footer-col a {
  font-size: 14px; color: var(--color-arena-suave);
  opacity: 0.85; transition: opacity 300ms ease; text-decoration: none;
}
.footer-col a:hover { opacity: 1; color: var(--color-blanco); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(160, 134, 109, 0.2);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: 12px; opacity: 0.75;
}
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: var(--color-arena-suave); text-decoration: none; }
.footer-legal a:hover { color: var(--color-blanco); opacity: 1; }

/* ─────────────────────────────
   ELEMENTOR — Ajustes de integración
───────────────────────────── */
.elementor-section { position: relative; }

/* Fuerzar que el container de Elementor respete el max-width del tema */
.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
}

/* Reset de márgenes en páginas construidas con Elementor */
.elementor-page .site-main { padding-top: 76px; }

/* ─────────────────────────────
   ACCESIBILIDAD
───────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-tostado);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ─────────────────────────────
   ESTILOS DE WORDPRESS (admin bar, etc.)
───────────────────────────── */
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }
