/* ==========================================================================
   LA COMALERÍA · MEMELAS DE AUTOR
   Hoja de estilos principal - Modern Artisan & Gastronomic Luxury
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta cromática principal */
  --bg-main: #0c0d10;
  --bg-secondary: #13151b;
  --bg-card: #181a22;
  --bg-card-hover: #1f222d;
  --bg-surface-glass: rgba(19, 21, 27, 0.75);
  
  /* Acentos de fuego, maíz y tierra */
  --primary: #c85a32;
  --primary-hover: #db683e;
  --primary-glow: rgba(200, 90, 50, 0.28);
  
  --accent-gold: #e5b869;
  --accent-gold-hover: #f3c77d;
  --accent-gold-glow: rgba(229, 184, 105, 0.2);
  
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #22bf5b;
  
  /* Textos y contrastes */
  --text-main: #f8f8fb;
  --text-muted: #a4a9b6;
  --text-dim: #6d7281;
  
  /* Bordes y sombras */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(229, 184, 105, 0.3);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(229, 184, 105, 0.15);
  --shadow-primary: 0 8px 30px rgba(200, 90, 50, 0.25);

  /* Tipografías */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transiciones y radios */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --max-width: 1240px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET Y BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

/* --------------------------------------------------------------------------
   3. UTILIDADES Y CONTENEDORES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  margin-bottom: 14px;
  background: rgba(229, 184, 105, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. BOTONES Y COMPONENTES REUTILIZABLES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a94420 100%);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #b84c25 100%);
  box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  transform: translateY(-2px);
  color: var(--accent-gold);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline-gold {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--bg-main);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. HEADER Y NAVEGACIÓN
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), 
              border-color var(--transition-normal), 
              backdrop-filter var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary) 100%);
  border-radius: 50%;
  color: var(--bg-main);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
}

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

.logo-text .title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.logo-text .subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

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

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 24px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-normal);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. SECCIÓN HERO
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(200, 90, 50, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(229, 184, 105, 0.08) 0%, transparent 50%),
              var(--bg-main);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  background-image: url('https://images.unsplash.com/photo-1599974579688-8dbdd335c77f?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) contrast(1.2);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 13, 16, 0.7) 0%, rgba(12, 13, 16, 0.95) 85%, var(--bg-main) 100%);
  z-index: 2;
}

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

.hero-content {
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(229, 184, 105, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Badges de Confianza / Trust Pillars */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   7. SECCIÓN PROCESO ARTESANAL / FILOSOFÍA
   -------------------------------------------------------------------------- */
.craft-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.craft-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  position: relative;
}

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

.craft-step {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(229, 184, 105, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.craft-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.craft-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN PRODUCTOS / CATÁLOGO
   -------------------------------------------------------------------------- */
.products-section {
  background-color: var(--bg-main);
}

/* Filtros por Categoría */
.category-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

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

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

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

.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 68%; /* Aspect Ratio ~ 16:11 */
  overflow: hidden;
  background-color: #1e212b;
}

.product-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-content {
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-action {
  width: 100%;
}

.btn-card-order {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(229, 184, 105, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-card-order:hover {
  background: var(--accent-gold);
  color: var(--bg-main);
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   9. SECCIÓN CONTACTO Y UBICACIÓN
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna Izquierda: Información Directa */
.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 40px 36px;
}

.info-header {
  margin-bottom: 30px;
}

.info-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.info-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(200, 90, 50, 0.12);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.info-details p, .info-details span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.whatsapp-highlight-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(37, 211, 102, 0.03) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.whatsapp-highlight-box h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.whatsapp-highlight-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.social-links-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.social-links-wrap span {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  color: var(--accent-gold);
  border-color: var(--border-gold);
  transform: translateY(-3px);
  background: rgba(229, 184, 105, 0.1);
}

/* Columna Derecha: Formulario & Mapa */
.contact-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 40px 36px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-form-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-status {
  display: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 14px;
}

.form-status.success {
  display: block;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #6ef195;
}

.form-status.error {
  display: block;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff858d;
}

/* --------------------------------------------------------------------------
   10. MAPA INTERACTIVO / CARD DE UBICACIÓN
   -------------------------------------------------------------------------- */
.map-container {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  position: relative;
}

.map-embed {
  width: 100%;
  height: 340px;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
}

.map-cta-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #07080a;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .brand-logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

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

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

.footer-schedule p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.cloudflare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 128, 32, 0.08);
  border: 1px solid rgba(243, 128, 32, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: #f38020;
  font-size: 0.78rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. ANIMACIONES SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-main);
    flex-direction: column;
    padding: 36px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    box-shadow: var(--shadow-lg);
  }

  .nav-actions .btn-whatsapp {
    display: none; /* Se visualiza dentro del menú móvil o floating */
  }

  .hero {
    padding-top: calc(var(--header-height) + 20px);
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .feature-item {
    justify-content: center;
    text-align: left;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
