/* ==========================================================================
   REPOSTERÍA JIREH - ESTILOS PRINCIPALES
   Estilo: Tradición Artesanal Tapatía Premium (Alta Repostería Boutique)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta Modo Claro */
  --bg-primary: #FCF9F2;
  --bg-secondary: #F4ECE0;
  --bg-tertiary: #EFE4D2;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(252, 249, 242, 0.85);
  
  --text-primary: #2C1810;
  --text-secondary: #5D3B2E;
  --text-muted: #8C6858;
  --text-light: #FBF6EE;
  
  --accent-gold: #C2763B;
  --accent-gold-light: #E7A96C;
  --accent-gold-dark: #9A5420;
  --accent-caramel: #8C4318;
  --accent-berry: #B31E1E;
  --accent-cream: #FBEFD8;
  
  --border-subtle: #E8D9C5;
  --border-card: rgba(194, 118, 59, 0.15);
  
  --shadow-xs: 0 1px 3px rgba(44, 24, 16, 0.04);
  --shadow-sm: 0 4px 12px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 12px 28px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 20px 48px rgba(44, 24, 16, 0.12);
  --shadow-gold: 0 8px 24px rgba(194, 118, 59, 0.25);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-primary: #120A07;
  --bg-secondary: #1A0E0A;
  --bg-tertiary: #24140E;
  --bg-card: #1E110C;
  --bg-glass: rgba(18, 10, 7, 0.88);
  
  --text-primary: #FAF3EA;
  --text-secondary: #D4B9AB;
  --text-muted: #967C70;
  --text-light: #FAF3EA;
  
  --accent-gold: #DCA05F;
  --accent-gold-light: #F4C48D;
  --accent-gold-dark: #B97C3A;
  --accent-caramel: #BF6A2D;
  --accent-berry: #D43F3F;
  --accent-cream: #2E1B13;
  
  --border-subtle: #382016;
  --border-card: rgba(220, 160, 95, 0.18);
  
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 8px 24px rgba(220, 160, 95, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

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

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

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

/* Contenedores */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

/* Barra Superior de Contacto */
.top-announcement {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* Header & Navegación Principal */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.3rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-normal);
}

.site-header.scrolled .header-inner {
  height: 68px;
}

/* Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05) rotate(-2deg);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-top: 0.15rem;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Acciones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.btn-icon:hover {
  background: var(--bg-secondary);
  color: var(--accent-gold);
  border-color: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

/* Candadito Admin Header */
.btn-admin-lock {
  border-color: var(--border-subtle);
  color: var(--accent-gold);
}

.btn-admin-lock:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(194, 118, 59, 0.25);
}

/* Botón CTA Primario */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-caramel) 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(194, 118, 59, 0.35);
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, var(--accent-cream) 0%, var(--bg-primary) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cream);
  color: var(--accent-gold-dark);
  border: 1px solid var(--border-card);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .hero-eyebrow {
  color: var(--accent-gold-light);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-title .text-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.guarantee-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
}

/* Hero Media / Showcase */
.hero-media-wrapper {
  position: relative;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-media-card:hover img {
  transform: scale(1.03);
}

/* Hueco Reservado de Video */
.video-reserved-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 24, 16, 0.1) 0%, rgba(44, 24, 16, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-caramel);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-play-badge svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.hero-media-card:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFFFFF;
}

.video-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 0.25rem;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Floating Cards en Hero */
.hero-floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: floatSlow 4s ease-in-out infinite;
}

.hero-floating-badge.badge-1 {
  bottom: -20px;
  left: -20px;
}

.hero-floating-badge.badge-2 {
  top: 20px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-cream);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Franja de Métricas y Contadores */
.metrics-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item {
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Secciones Generales */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Filtros de Catálogo */
.catalog-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.tab-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-card);
}

.product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  border: 1px solid rgba(194, 118, 59, 0.2);
  box-shadow: var(--shadow-xs);
}

[data-theme="dark"] .product-badge {
  background: rgba(26, 14, 10, 0.92);
  color: var(--accent-gold-light);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

.product-price-info {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.btn-order-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-order-whatsapp svg {
  width: 16px;
  height: 16px;
  color: #25D366;
}

.btn-order-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-order-whatsapp:hover svg {
  color: #FFFFFF;
}

/* Doble Sección: Eventos vs Reventa a Negocios */
.dual-channel-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-light);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.channel-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.channel-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.channel-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.channel-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.channel-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.channel-action {
  margin-top: auto;
}

/* Galería Artesanal (Fotos Reales del Taller) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--bg-secondary);
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(44, 24, 16, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  color: #FFFFFF;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.gallery-caption-sub {
  font-size: 0.75rem;
  color: var(--accent-gold-light);
}

/* Cobertura en ZMG */
.coverage-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-sm);
}

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.city-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-link {
  margin-bottom: 1.25rem;
}

.footer-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Botón Flotante de WhatsApp */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
  background: #20BA5A;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  animation: pulseRipple 2s infinite;
  pointer-events: none;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Modales */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 10, 7, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
}

/* Formularios */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(194, 118, 59, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-eyebrow, .hero-actions {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-guarantees {
    justify-content: center;
  }
  .hero-media-wrapper {
    max-width: 560px;
    margin: 0 auto;
  }
  .dual-grid {
    grid-template-columns: 1fr;
  }
  .coverage-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem;
  }
  .coverage-cities {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-announcement {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 2.65rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.span-2 {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp-btn span {
    display: none;
  }
  .floating-whatsapp-btn {
    padding: 0.85rem;
  }
}
