/*
Theme Name: León Vidrios
Theme URI: https://leonvidrios.com.ar
Author: León Vidrios SRL
Description: Tema oficial de León Vidrios SRL — empresa de vidrios en Salta, Argentina. Diseño moderno y minimalista con paleta rojo bordo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: leon-vidrios
Tags: business, one-page, custom-colors, featured-images, full-width-template
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #18181b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary: #8B0000;
  --primary-hover: #700000;
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --green-wa: #25D366;
  --green-wa-hover: #20bd5a;
  --container: 1200px;
  --radius-sm: 2px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4,h5,h6 { line-height: 1.2; }
.font-serif { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }

/* =============================================
   CONTAINER
   ============================================= */
.lv-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   HEADER
   ============================================= */
#lv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
  padding: 0;
}
#lv-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.lv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.lv-logo { display: flex; align-items: center; }
.lv-logo img {
  height: 112px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s;
  margin: -12px 0;
}
.lv-logo .logo-dark { display: none; }
.lv-logo .logo-light { display: block; }
#lv-header.scrolled .lv-logo .logo-dark { display: block; }
#lv-header.scrolled .lv-logo .logo-light { display: none; }
#lv-header.scrolled .lv-logo img { height: 90px; }

/* Desktop Nav */
.lv-nav { display: flex; align-items: center; gap: 2rem; }
.lv-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.lv-nav a:hover { color: var(--primary); }
#lv-header.scrolled .lv-nav a { color: var(--zinc-700); }
#lv-header.scrolled .lv-nav a:hover { color: var(--primary); }

.lv-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
}
.lv-btn-primary:hover { background: var(--primary-hover); color: #fff; }

/* Mobile toggle */
.lv-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
  transition: color 0.2s;
}
#lv-header.scrolled .lv-mobile-toggle { color: var(--zinc-900); }
.lv-mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile menu */
.lv-mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 1.5rem 0;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--zinc-200);
}
.lv-mobile-menu.open { display: flex; }
.lv-mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--zinc-800);
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
}
.lv-mobile-menu .lv-btn-primary { width: 75%; margin-top: 0.5rem; padding: 0.75rem; }

@media (max-width: 768px) {
  .lv-nav { display: none; }
  .lv-mobile-toggle { display: flex; }
}

/* =============================================
   HERO SLIDER
   ============================================= */
#lv-hero {
  position: relative;
  height: 68vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background: var(--zinc-900);
}
.lv-slider {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.lv-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.lv-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lv-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 1;
}
.lv-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.lv-slide__content-inner {
  padding: 0 3rem;
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lv-slide.active .lv-slide__content-inner {
  opacity: 1;
  transform: translateY(0);
}
.lv-slide__bar {
  width: 48px;
  height: 1px;
  background: var(--primary);
  margin-bottom: 1.5rem;
}
.lv-slide__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lv-slide__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 400px;
}
.lv-slide__cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
  transition: background 0.25s, color 0.25s;
}
.lv-slide__cta:hover { background: #fff; color: var(--zinc-900); }

/* Slider controls */
.lv-slider-prev,
.lv-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.lv-slider-prev:hover,
.lv-slider-next:hover { color: #fff; }
.lv-slider-prev { left: 1.5rem; }
.lv-slider-next { right: 1.5rem; }
.lv-slider-prev svg,
.lv-slider-next svg { width: 20px; height: 20px; }

/* Dots */
.lv-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lv-slider-dot {
  height: 1px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  width: 24px;
  padding: 0;
  transition: width 0.4s, background 0.4s;
}
.lv-slider-dot.active { width: 40px; background: #fff; }
.lv-slider-counter {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  font-weight: 300;
  margin-left: 0.75rem;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#lv-about {
  padding: 6rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.lv-about__deco {
  position: absolute;
  top: 0; right: 0;
  width: 33%;
  height: 100%;
  background: var(--zinc-50);
  transform: skewX(12deg) translateX(80px);
  z-index: 0;
}
.lv-about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.lv-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.lv-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--zinc-900);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.lv-section-title span { color: var(--primary); }
.lv-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 2rem;
}
.lv-about__text {
  color: var(--zinc-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.lv-btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.lv-btn-outline:hover { background: var(--primary); color: #fff; }
.lv-about__img-wrap {
  position: relative;
}
.lv-about__img {
  position: relative;
  z-index: 1;
  border: 8px solid #fff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.lv-about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lv-about__img-accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: 0;
}
.lv-about__img-border {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 128px;
  height: 128px;
  border: 4px solid var(--zinc-200);
  z-index: 0;
}

@media (max-width: 768px) {
  .lv-about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .lv-about__deco { display: none; }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
#lv-services {
  padding: 6rem 0;
  background: var(--zinc-50);
}
.lv-services__header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.lv-services__header .lv-divider { margin: 0 auto; }
.lv-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.lv-service-card {
  background: #fff;
  transition: box-shadow 0.3s;
  position: relative;
  overflow: visible;
}
.lv-service-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.lv-service-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.lv-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.lv-service-card:hover .lv-service-card__img img { transform: scale(1.1); }
.lv-service-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.lv-service-card:hover .lv-service-card__img-overlay { opacity: 0.8; }
.lv-service-card__body {
  padding: 2rem;
  position: relative;
}
.lv-service-card__num {
  position: absolute;
  top: -20px;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.lv-service-card:hover .lv-service-card__num { transform: rotate(12deg); }
.lv-service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 0.75rem;
}
.lv-service-card__desc {
  font-size: 0.9rem;
  color: var(--zinc-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.lv-service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.lv-service-card__link:hover { color: var(--zinc-900); }
.lv-service-card__link svg { width: 16px; height: 16px; }

@media (max-width: 1024px) { .lv-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lv-services__grid { grid-template-columns: 1fr; } }

/* =============================================
   STATS SECTION
   ============================================= */
#lv-stats {
  padding: 5rem 0;
  background: var(--zinc-900);
  position: relative;
}
.lv-stats__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: overlay;
}
.lv-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.lv-stat-card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}
.lv-stat-card:hover { border-color: rgba(139,0,0,0.5); }
.lv-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.lv-stat-label {
  font-size: 0.8rem;
  color: #a1a1aa;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 768px) { .lv-stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================
   CONTACT SECTION
   ============================================= */
#lv-contact {
  padding: 6rem 0;
  background: #fff;
}
.lv-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.lv-contact__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 2rem;
  line-height: 1.3;
}
.lv-contact__title em { font-weight: 300; font-style: italic; }
.lv-contact__info { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem; }
.lv-contact__info-item { display: flex; align-items: flex-start; gap: 1rem; }
.lv-contact__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zinc-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lv-contact__icon svg { width: 20px; height: 20px; }
.lv-contact__info-title { font-weight: 700; color: var(--zinc-900); margin-bottom: 0.25rem; }
.lv-contact__info-text { color: var(--zinc-600); font-size: 0.9rem; line-height: 1.6; }
.lv-contact__info-text strong { color: var(--zinc-900); }
.lv-contact__info-text li { margin-bottom: 0.4rem; }

/* Form */
.lv-form-box {
  background: var(--zinc-50);
  padding: 3rem;
}
.lv-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 1.5rem;
}
.lv-form { display: flex; flex-direction: column; gap: 1.25rem; }
.lv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lv-form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.lv-form__label { font-size: 0.8rem; font-weight: 600; color: var(--zinc-700); }
.lv-form__input,
.lv-form__select,
.lv-form__textarea {
  width: 100%;
  padding: 0 0.875rem;
  height: 48px;
  border: 1px solid var(--zinc-200);
  background: #fff;
  font-size: 0.875rem;
  color: var(--zinc-900);
  font-family: inherit;
  outline: none;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lv-form__input:focus,
.lv-form__select:focus,
.lv-form__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}
.lv-form__textarea { height: 120px; padding-top: 0.75rem; resize: vertical; }
.lv-form__submit {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  border-radius: var(--radius-sm);
}
.lv-form__submit:hover { background: var(--primary-hover); }

@media (max-width: 768px) {
  .lv-contact__grid { grid-template-columns: 1fr; }
  .lv-form__row { grid-template-columns: 1fr; }
  .lv-form-box { padding: 2rem; }
}

/* =============================================
   MAP SECTION
   ============================================= */
#lv-map {
  padding: 5rem 0 6rem;
  background: #fff;
}
.lv-map__header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.lv-map__header .lv-section-label { margin-bottom: 0.75rem; }
.lv-map__header .lv-section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.lv-map__header p { color: var(--zinc-600); font-size: 1rem; line-height: 1.7; }
.lv-map__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: stretch;
}
#lv-leaflet-map {
  width: 100%;
  height: 500px;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lv-map__cards { display: flex; flex-direction: column; gap: 0.75rem; }
.lv-location-card {
  display: block;
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.lv-location-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.lv-location-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.lv-location-card:hover .lv-location-card__label { color: rgba(255,255,255,0.8); }
.lv-location-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--zinc-900);
  margin-bottom: 0.25rem;
}
.lv-location-card:hover .lv-location-card__name { color: #fff; }
.lv-location-card__phone {
  font-size: 0.85rem;
  color: var(--zinc-600);
}
.lv-location-card:hover .lv-location-card__phone { color: rgba(255,255,255,0.8); }
.lv-location-card__link {
  font-size: 0.75rem;
  color: var(--zinc-500);
  margin-top: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lv-location-card:hover .lv-location-card__link { color: rgba(255,255,255,0.7); }

/* Leaflet pin styles */
.lv-pin { background: transparent; border: none; }
.lv-pin__wrap {
  position: relative;
  width: 56px;
  height: 70px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}
.lv-pin__bubble {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lv-pin__bubble img { width: 46px; height: 46px; object-fit: contain; margin-top: 2px; }
.lv-pin__tail {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--primary);
}
.leaflet-popup-content-wrapper { border-radius: 4px; border: 1px solid var(--zinc-200); }
.leaflet-popup-tip { background: #fff; }

@media (max-width: 1024px) {
  .lv-map__grid { grid-template-columns: 1fr; }
  #lv-leaflet-map { height: 400px; }
}

/* =============================================
   FOOTER
   ============================================= */
#lv-footer {
  background: var(--zinc-950);
  color: #fff;
  padding: 4rem 0 2rem;
}
.lv-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.lv-footer__logo { margin-bottom: 1.5rem; }
.lv-footer__logo img { height: 100px; width: auto; margin-left: -12px; }
.lv-footer__desc {
  color: var(--zinc-400);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.lv-footer__socials { display: flex; gap: 0.75rem; }
.lv-footer__social {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.lv-footer__social:hover { background: var(--primary); }
.lv-footer__social svg { width: 16px; height: 16px; }
.lv-footer__col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lv-footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.lv-footer__link {
  font-size: 0.85rem;
  color: var(--zinc-400);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.lv-footer__link svg { width: 12px; height: 12px; }
.lv-footer__link:hover { color: var(--primary); }
.lv-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--zinc-500);
  flex-wrap: wrap;
  gap: 1rem;
}
.lv-footer__bottom-links { display: flex; gap: 1rem; }
.lv-footer__bottom-links a { transition: color 0.2s; }
.lv-footer__bottom-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .lv-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lv-footer__bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   FLOATING CHAT - WHATSAPP
   ============================================= */
#lv-wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
#lv-wa-btn:hover { background: var(--green-wa-hover); transform: scale(1.05); }
#lv-wa-btn svg { width: 28px; height: 28px; }
.lv-wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-wa);
  animation: lv-ping 2s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.2;
}
@keyframes lv-ping {
  0% { transform: scale(1); opacity: 0.25; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

/* WA Popover */
#lv-wa-popover {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9998;
  width: min(320px, calc(100vw - 3rem));
  background: #fff;
  border: 1px solid var(--zinc-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.2s, transform 0.2s;
}
#lv-wa-popover.open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.lv-wa-popover__header {
  background: var(--green-wa);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lv-wa-popover__header svg { width: 24px; height: 24px; flex-shrink: 0; }
.lv-wa-popover__title { font-weight: 600; font-size: 0.875rem; }
.lv-wa-popover__sub { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.lv-wa-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0;
  display: flex;
}
.lv-wa-close svg { width: 20px; height: 20px; }
.lv-wa-popover__body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lv-wa-area-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--zinc-200);
  background: #fff;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.lv-wa-area-btn:hover { border-color: var(--green-wa); background: rgba(37,211,102,0.05); }
.lv-wa-area-btn__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.lv-wa-area-btn__name { font-weight: 600; font-size: 0.875rem; color: var(--zinc-900); }
.lv-wa-area-btn__phone { font-size: 0.75rem; color: var(--zinc-500); }
.lv-wa-area-btn__desc { font-size: 0.75rem; color: var(--zinc-500); line-height: 1.4; }

/* =============================================
   FLOATING CHAT - CHATBOT
   ============================================= */
#lv-chat-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
#lv-chat-btn:hover { background: var(--primary-hover); transform: scale(1.05); }
#lv-chat-btn svg { width: 24px; height: 24px; }

#lv-chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 5.5rem;
  z-index: 9997;
  width: min(384px, calc(100vw - 3rem));
  height: 520px;
  max-height: calc(100vh - 8rem);
  background: #fff;
  border: 1px solid var(--zinc-200);
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s, transform 0.25s;
}
#lv-chat-window.open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.lv-chat__header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lv-chat__header-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lv-chat__header-icon svg { width: 20px; height: 20px; }
.lv-chat__header-name { font-weight: 600; font-size: 0.875rem; }
.lv-chat__header-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lv-chat__online-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.lv-chat__close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0;
  display: flex;
}
.lv-chat__close svg { width: 20px; height: 20px; }
.lv-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  background: var(--zinc-50);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lv-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lv-chat__bubble {
  max-width: 80%;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  white-space: pre-wrap;
}
.lv-chat__bubble--bot {
  background: #fff;
  color: var(--zinc-800);
  border: 1px solid var(--zinc-200);
  align-self: flex-start;
}
.lv-chat__bubble--user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
}
.lv-chat__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
}
.lv-chat__opt-btn {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(139,0,0,0.3);
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.lv-chat__opt-btn:hover { background: var(--primary); color: #fff; }
.lv-chat__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--zinc-200);
  background: #fff;
  flex-shrink: 0;
}
.lv-chat__quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: var(--green-wa);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.6rem 0.25rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.lv-chat__quick-btn:hover { background: var(--green-wa-hover); }
.lv-chat__quick-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =============================================
   ANIMATIONS
   ============================================= */
.lv-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lv-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.lv-fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.lv-fade-in-left.visible { opacity: 1; transform: translateX(0); }
.lv-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.lv-fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* =============================================
   ELEMENTOR COMPATIBILITY
   ============================================= */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget-container { width: 100%; }

.elementor-kit-1 { --primary: #8B0000; }

/* =============================================
   WORDPRESS CORE COMPATIBILITY
   ============================================= */
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-block-image figure { margin: 0; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
}
