/* ==========================================================================
   CERRAJERÍA LA PRADERA - DESIGN SYSTEM & MODERN STYLES
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
  /* Paleta Dark Mode Sofisticada */
  --bg-body: #0d1117;
  --bg-surface: #161b22;
  --bg-card: #1c2128;
  --bg-card-hover: #22272e;
  --bg-elevated: #282e38;

  /* Acentos de Color */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-hover: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd57;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  --accent-blue: #38bdf8;
  --status-open: #10b981;
  --status-closed: #f59e0b;

  /* Tipografía y Textos */
  --text-primary: #f0f6fc;
  --text-secondary: #adbac7;
  --text-muted: #768390;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Bordes y Sombras */
  --border-subtle: #30363d;
  --border-focus: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-elevated: 0 20px 35px -5px rgba(0, 0, 0, 0.7);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Espacio extra en móviles para la barra inferior fija */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}

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

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

ul {
  list-style: none;
}

/* Contenedor Universal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.mt-2 { margin-top: 8px; }
.w-100 { width: 100%; }

/* ==========================================================================
   TIPOGRAFÍA Y ENCABEZADOS DE SECCIÓN
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.highlight-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #000000;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fcd34d, var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2ae06d, var(--whatsapp-green));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2fe872, #20ba5a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   ENCABEZADO / NAVBAR
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-accent {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
}

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

.header-phone-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-call-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.btn-call-nav:hover {
  background: var(--gold-primary);
  color: #000000;
}

.btn-call-nav-secondary {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  border-color: rgba(56, 189, 248, 0.35);
}

.btn-call-nav-secondary:hover {
  background: var(--accent-blue);
  color: #000000;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* Menú Móvil Desplegable */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: var(--transition-normal);
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  display: block;
  padding: 8px 0;
}

.mobile-nav-link:hover {
  color: var(--gold-light);
}

.mobile-menu-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 70px;
  background-image: url('images/hero_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.88) 0%,
    rgba(13, 17, 23, 0.94) 50%,
    rgba(13, 17, 23, 1) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Badge de Estado en Vivo (Abierto/Cerrado) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--status-open);
  box-shadow: 0 0 10px var(--status-open);
  position: relative;
}

.status-dot.pulsing::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--status-open);
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.status-badge.closed .status-dot {
  background-color: var(--status-closed);
  box-shadow: 0 0 10px var(--status-closed);
}

.status-badge.closed .status-dot.pulsing::after {
  border-color: var(--status-closed);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Cuadrícula de confianza */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(48, 54, 61, 0.6);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 14px 12px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.trust-item i {
  color: var(--gold-light);
  font-size: 1.15rem;
}

/* ==========================================================================
   COTIZADOR RÁPIDO POR WHATSAPP
   ========================================================================== */

.quote-section {
  padding: 30px 0 70px;
  position: relative;
  z-index: 10;
}

.quote-box {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-card));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.08);
}

.quote-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
}

.quote-header h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.quote-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--gold-light);
}

.custom-select {
  width: 100%;
  background-color: var(--bg-body);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.quote-submit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.quote-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.quote-note i {
  color: var(--status-open);
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */

.services-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
}

.service-card.highlight-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(28, 33, 40, 0.95), var(--bg-surface));
}

.card-icon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
}

.service-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-tag.hot-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--status-open);
  font-size: 0.85rem;
}

.card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN NUESTRO LOCAL ESTABLECIDO
   ========================================================================== */

.local-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.local-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.storefront-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.storefront-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 2px solid var(--border-subtle);
  background-color: #0b0f15;
}

.storefront-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.storefront-image-container:hover .storefront-img {
  transform: scale(1.02);
}

.storefront-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.storefront-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 23, 0.88) 40%, rgba(13, 17, 23, 0.98) 100%);
  color: #f0f6fc;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  z-index: 2;
}

.storefront-caption i {
  color: var(--gold-primary);
}

.storefront-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.storefront-thumb-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--text-primary);
}

.storefront-thumb-btn img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.storefront-thumb-btn .thumb-label {
  display: flex;
  flex-direction: column;
}

.storefront-thumb-btn .thumb-label strong {
  font-size: 0.86rem;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.3;
}

.storefront-thumb-btn .thumb-label span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.storefront-thumb-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 163, 89, 0.08);
}

.storefront-thumb-btn.active {
  border-color: var(--gold-primary);
  background: rgba(212, 163, 89, 0.14);
  box-shadow: 0 0 16px rgba(212, 163, 89, 0.22);
}

.storefront-thumb-btn.active .thumb-label strong {
  color: var(--gold-light);
}

.local-info-col h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.lead-text {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.local-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.highlight-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.highlight-point i {
  color: var(--gold-light);
  font-size: 1.35rem;
  margin-top: 3px;
}

.highlight-point div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-point strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.highlight-point span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.phone-links-cluster {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.phone-highlight {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.phone-highlight:hover {
  color: #ffffff;
}

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

/* ==========================================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--gold-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   SECCIÓN UBICACIÓN Y MAPA
   ========================================================================== */

.location-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: stretch;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.location-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.location-card > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-item i {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-top: 3px;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-item p,
.contact-link {
  color: var(--text-primary);
  font-size: 1.02rem;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--gold-light);
}

.schedule-box {
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: auto;
}

.schedule-box h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
}

.schedule-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.schedule-line:last-child {
  border-bottom: none;
}

.schedule-line span {
  color: var(--text-secondary);
}

.schedule-line strong {
  color: var(--text-primary);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  min-height: 420px;
}

.map-inner-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.map-inner-container iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

.map-direct-bar {
  background: var(--bg-card);
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.map-direct-bar .text-gold {
  color: var(--gold-primary);
  margin-right: 6px;
}

.map-direct-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-direct-links .map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 163, 89, 0.12);
  border: 1px solid rgba(212, 163, 89, 0.35);
  color: var(--gold-light);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.map-direct-links .map-btn:hover {
  background: var(--gold-primary);
  color: #0d1117;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */

.site-footer {
  background: var(--bg-body);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--gold-primary);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col p i {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP & BARRA MÓVIL (STICKY BAR)
   ========================================================================== */

/* Botón flotante para Computadoras de escritorio */
.whatsapp-desktop-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px var(--whatsapp-glow);
  z-index: 990;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-desktop-float:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
}

.float-tooltip {
  position: absolute;
  right: 74px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-desktop-float:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Barra Fija en Celulares (Mobile Sticky Bar) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 999;
  gap: 12px;
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.mobile-bar-btn.btn-call {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #000000;
}

.mobile-bar-btn.btn-call-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--accent-blue);
}

.mobile-bar-btn.btn-call-secondary:hover {
  border-color: var(--accent-blue);
  color: #ffffff;
}

.mobile-bar-btn.btn-wa {
  background: linear-gradient(135deg, #2ae06d, var(--whatsapp-green));
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .local-card-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .storefront-img {
    height: 380px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .btn-call-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 50px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .quote-box {
    padding: 26px 18px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-desktop-float {
    display: none; /* Oculto en móvil a favor de la sticky bar */
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .storefront-img {
    height: 320px;
  }

  .storefront-thumbnails {
    grid-template-columns: 1fr;
  }
}
