/* ===== VARIABLES ===== */
:root {
  --azul: #1a2744;
  --azul-oscuro: #0d1b2a;
  --azul-medio: #1e3a5f;
  --azul-claro: #2a4a7f;
  --dorado: #d4a843;
  --dorado-claro: #f0c866;
  --dorado-oscuro: #b8892e;
  --blanco: #ffffff;
  --blanco-suave: #f0f4f8;
  --crema: #fafbfc;
  --texto: #0d1b2a;
  --texto-suave: #4a5568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--texto); background: var(--blanco); }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== ANUNCIO ===== */
.anuncio-bar {
  background: var(--dorado);
  color: var(--azul-oscuro);
  text-align: center;
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--azul-oscuro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--dorado);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.nav-logo span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--dorado);
  text-transform: uppercase;
}

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--dorado); }

.nav-btn {
  background: var(--dorado);
  color: var(--azul-oscuro);
  border: none;
  padding: 9px 22px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}
.nav-btn:hover { background: var(--dorado-claro); }

.nav-btn-outline {
  background: transparent;
  border: 1.5px solid var(--dorado);
  color: var(--dorado);
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
}
.nav-btn-outline:hover { background: var(--dorado); color: var(--azul-oscuro); }

.nav-acciones { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; background: none; border: none; color: var(--blanco); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: url('../img/hero.jpeg') center/cover no-repeat;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.92) 0%,
    rgba(26,39,68,0.85) 50%,
    rgba(30,58,95,0.80) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201,168,76,0.4);
  z-index: 1;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; padding: 2rem; }

.hero-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content h1 span { color: var(--dorado); }

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--dorado);
  margin: 1.2rem auto;
}

.hero-sub {
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dorado);
  font-size: 1.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BOTONES ===== */
.btn-primary {
  background: var(--dorado);
  color: var(--azul-oscuro);
  padding: 13px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { background: var(--dorado-claro); transform: translateY(-2px); }

.btn-secondary {
  border: 2px solid var(--dorado);
  color: var(--dorado);
  padding: 13px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--dorado); color: var(--azul-oscuro); transform: translateY(-2px); }

/* ===== STATS ===== */
.stats-bar {
  background: var(--dorado);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { text-align: center; display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; color: var(--azul-oscuro); font-family: 'Playfair Display', serif; }
.stat span { font-size: 11px; color: var(--azul-oscuro); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stat-divider { width: 1px; height: 40px; background: rgba(7,58,90,0.3); }

/* ===== GENERAL ===== */
section { padding: 5rem 0; }

h2 { font-size: 2.3rem; color: var(--azul-oscuro); text-align: center; margin-bottom: 0.5rem; }

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--dorado);
  margin: 0.8rem auto 1rem;
}

.subtitulo { text-align: center; color: var(--texto-suave); margin-bottom: 3rem; font-size: 0.92rem; font-style: italic; }

/* ===== NOSOTROS ===== */
.nosotros { background: var(--azul-oscuro); }
.nosotros h2 { color: var(--dorado); }
.nosotros .subtitulo { color: rgba(255,255,255,0.65); }

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.nosotros-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  color: var(--blanco);
}

.nosotros-card:hover {
  border-color: var(--dorado);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.nosotros-card h3 {
  color: var(--dorado);
  margin: 1rem 1.2rem 0.4rem;
  font-size: 1.1rem;
}

.nosotros-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  padding: 0 1.2rem 1.2rem;
}

/* ===== GALERÍA ===== */
.galeria { background: var(--azul-oscuro); padding: 5rem 0; }
.galeria h2 { color: var(--dorado); }
.galeria .subtitulo { color: rgba(255,255,255,0.6); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.galeria-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s;
  border: 1px solid rgba(201,168,76,0.2);
  display: block;
}

.galeria-grid img:first-child {
  grid-column: span 2;
  height: 280px;
}

.galeria-grid img:hover {
  transform: scale(1.02);
  border-color: var(--dorado);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ===== CERTIFICACIONES (limpio, solo imagen) ===== */
.certificaciones { background: var(--crema); }
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

.cert-card {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-img {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 10px 30px rgba(212,168,67,0.3);
}

.cert-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  background: #f5f0e6;
  padding: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== CAFETERÍA ===== */
.cafeteria { background: var(--azul-oscuro); }
.cafeteria h2 { color: var(--dorado); }
.cafeteria .subtitulo { color: rgba(255,255,255,0.6); }

.cafeteria-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cafeteria-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(201,168,76,0.4);
}

.cafeteria-info { display: flex; flex-direction: column; gap: 1.2rem; }

.info-item {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border-left: 4px solid var(--dorado);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon { font-size: 1.5rem; margin-top: 2px; }
.info-item strong { display: block; color: var(--dorado); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.info-item p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ===== CONTACTO ===== */
.contacto { background: var(--crema); }

.form-contacto {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-contacto input,
.form-contacto textarea {
  padding: 13px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  background: var(--blanco);
  color: var(--texto);
  transition: border 0.3s;
}

.form-contacto input:focus,
.form-contacto textarea:focus { border-color: var(--azul); }

.form-contacto input::placeholder,
.form-contacto textarea::placeholder { color: #aaa; }

.form-contacto button { border: none; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 15px; }

/* ===== FOOTER ===== */
.footer {
  background: #041f33;
  color: var(--blanco);
  text-align: center;
  padding: 3rem 1rem;
  border-top: 2px solid var(--dorado);
}

.footer-logo { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--dorado); font-weight: 700; letter-spacing: 2px; }
.footer-sub { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-divider { width: 50px; height: 2px; background: var(--dorado); margin: 1rem auto; }
.footer-tags { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== CARRITO ===== */
.btn-carrito {
  background: transparent;
  border: 1.5px solid var(--dorado);
  color: var(--dorado);
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s;
}
.btn-carrito:hover { background: var(--dorado); color: var(--azul-oscuro); }

.contador {
  background: var(--dorado);
  color: var(--azul-oscuro);
  border-radius: 50%;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== MODALES ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-contenido {
  background: var(--azul-oscuro);
  border: 1px solid var(--dorado);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-header h3 { color: var(--dorado); font-size: 1.3rem; }

.btn-cerrar { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; transition: color 0.3s; }
.btn-cerrar:hover { color: var(--dorado); }

.modal-contenido input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
}
.modal-contenido input::placeholder { color: rgba(255,255,255,0.4); }
.modal-contenido input:focus { border-color: var(--dorado); }

.carrito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}
.carrito-item strong { color: var(--blanco); font-size: 14px; display: block; }
.carrito-item span { color: rgba(255,255,255,0.5); font-size: 12px; }

.carrito-controles { display: flex; align-items: center; gap: 8px; }
.carrito-controles button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--blanco);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.carrito-controles button:hover { background: var(--dorado); color: var(--azul-oscuro); }
.btn-eliminar { background: rgba(200,0,0,0.2) !important; }

.modal-footer { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.total-carrito { color: var(--blanco); font-size: 16px; }
.total-carrito span { color: var(--dorado); font-weight: 700; font-size: 20px; }

/* ===== NOTIFICACIÓN ===== */
.notificacion {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--azul-oscuro);
  color: var(--blanco);
  border: 1px solid var(--dorado);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
  pointer-events: none;
}
.notificacion.show { opacity: 1; transform: translateY(0); }

/* ===== ANIMACIONES ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--azul-oscuro); padding: 1rem 2rem; gap: 1rem; border-top: 1px solid var(--dorado); }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }
  .navbar { position: relative; }
  .hero-content h1 { font-size: 2.6rem; }
  .stats-bar { gap: 1rem; }
  .stat-divider { display: none; }
  .cafeteria-contenido { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-grid img:first-child { grid-column: span 2; }
  .productos-grid { grid-template-columns: 1fr; }
  .cert-img { width: 90px; height: 90px; }
}
/* ===== BOTÓN ADMIN SECRETO ===== */
.btn-admin-secreto {
  display: inline-block;
  color: rgba(255,255,255,0.1);
  font-size: 12px;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-admin-secreto:hover {
  color: var(--dorado);
  transform: scale(1.2);
}
/* ===== MEJORAS TARJETAS PRODUCTOS ===== */
.productos {
  background: linear-gradient(180deg, #f0f4f8 0%, #fafbfc 100%);
}

.productos h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-medio));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.producto-card {
  background: linear-gradient(145deg, #0d1b2a, #1a2744);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 4px 20px rgba(13,27,42,0.3);
}

.producto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado), var(--dorado-claro), var(--dorado));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.producto-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 50px rgba(13,27,42,0.5), 0 0 30px rgba(212,168,67,0.15);
  border-color: rgba(212,168,67,0.6);
}

.producto-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.producto-card:hover .producto-img {
  transform: scale(1.05);
}

.producto-info {
  padding: 1.8rem;
}

.producto-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.tradicional { background: rgba(201,168,76,0.15); color: var(--dorado); border: 1px solid var(--dorado); }
.gourmet     { background: rgba(139,26,26,0.3); color: #ffb3b3; border: 1px solid #c0392b; }
.especial    { background: rgba(61,26,107,0.3); color: #d4a8ff; border: 1px solid #7d3c98; }
.mezcla      { background: rgba(26,92,46,0.3); color: #a8ffbe; border: 1px solid #27ae60; }
.premium     { background: rgba(21,58,107,0.3); color: #a8c8ff; border: 1px solid #1565c0; }
.coffeefem   { background: rgba(173,20,87,0.3); color: #ffa8c8; border: 1px solid #ad1457; }

.producto-card h3 {
  font-size: 1.4rem;
  color: var(--blanco);
  margin-bottom: 0.6rem;
  font-family: 'Playfair Display', serif;
}

.perfil {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.scaa {
  font-size: 11px;
  color: var(--dorado);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.precios {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.precio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.precio-row:last-child { border-bottom: none; }
.precio-row span { color: rgba(255,255,255,0.55); font-size: 13px; }
.precio-row strong { color: var(--dorado-claro); font-size: 16px; font-weight: 700; }

.precio-nota {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.btns-producto {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-producto {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--dorado);
  border: 1.5px solid rgba(212,168,67,0.5);
  padding: 10px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-producto::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: var(--dorado);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.btn-producto:hover::before {
  width: 300px;
  height: 300px;
}

.btn-producto:hover {
  color: var(--azul-oscuro);
  border-color: var(--dorado);
}

.btn-producto span {
  position: relative;
  z-index: 1;
}

/* ===== MEJORAS HERO ===== */
.hero-content h1 {
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-tag {
  animation: fadeInUp 0.8s ease;
}

.hero-sub {
  animation: fadeInUp 1.2s ease;
}

.hero-btns {
  animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MEJORAS NAVBAR ===== */
.navbar {
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

/* ===== MEJORAS NOSOTROS ===== */
.nosotros {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 50%, #0d1b2a 100%);
}

.nosotros-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.nosotros-card:hover {
  background: rgba(212,168,67,0.08);
  border-color: rgba(212,168,67,0.6);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nosotros-card:hover .card-img {
  transform: scale(1.05);
}

/* ===== MEJORAS STATS ===== */
.stats-bar {
  background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado), var(--dorado-claro), var(--dorado), var(--dorado-oscuro));
  background-size: 200% 100%;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stat strong {
  font-size: 2rem;
}

/* ===== MEJORAS FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #0a1520, #050d14);
  border-top: 2px solid var(--dorado);
}

.footer-logo {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--dorado-oscuro), var(--dorado-claro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== MEJORAS SECCIÓN DIVIDER ===== */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  margin: 0.8rem auto 1rem;
}

/* ===== MEJORAS CONTACTO ===== */
.contacto {
  background: linear-gradient(135deg, #0d1b2a, #1a2744);
}

.form-contacto input,
.form-contacto textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--blanco);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: var(--dorado);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 20px rgba(212,168,67,0.15);
}

.form-contacto input::placeholder,
.form-contacto textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

/* ===== SCROLL SUAVE ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== WHATSAPP MEJORADO (legado, oculto por social-float) ===== */
@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 35px rgba(37,211,102,0.8); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
}
/* ===== HERO MEJORADO ===== */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(13,27,42,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.hero-tag {
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  backdrop-filter: blur(10px);
  padding: 6px 20px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 5.5rem;
  line-height: 1.0;
  margin-bottom: 0.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero-divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  margin: 1.5rem auto;
}

.hero-sub {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.btn-primary {
  padding: 15px 35px;
  font-size: 15px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(212,168,67,0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(212,168,67,0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  padding: 15px 35px;
  font-size: 15px;
  border-radius: 30px;
}

/* ===== ANUNCIO BAR MEJORADO ===== */
.anuncio-bar {
  background: linear-gradient(90deg, var(--dorado-oscuro), var(--dorado), var(--dorado-claro), var(--dorado), var(--dorado-oscuro));
  background-size: 300% 100%;
  animation: gradientMove 4s ease infinite;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* ===== NAVBAR MEJORADO ===== */
.navbar {
  padding: 1rem 3rem;
}

.nav-logo {
  font-size: 1.7rem;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dorado);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
/* ===== FONDO FLORES - APLICADO A TODA LA PÁGINA ===== */

/* Body con fondo flores por defecto */
body {
  background: url('../img/fondo-flores.png') center/cover fixed;
  background-color: #0d1b2a;
}

/* Secciones con fondo oscuro semi-transparente que deja ver las flores */
.nosotros,
.cafeteria,
.certificaciones,
.galeria,
.contacto,
.productos,
.stats-bar + section {
  position: relative;
}

/* Secciones oscuras (azul) - overlay semi-transparente para ver el fondo */
.nosotros {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

.cafeteria {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

.galeria {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

.certificaciones {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

.contacto {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

/* Sección productos (fondo crema) - con overlay más claro */
.productos {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

/* Texto del título de productos ahora en claro */
.productos h2 {
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.productos .subtitulo {
  color: rgba(255, 255, 255, 0.65);
}

/* Stats bar sin fondo imagen */
.stats-bar {
  position: relative;
  z-index: 2;
}

/* Footer con fondo flores */
.footer {
  background: rgba(5, 13, 20, 0.95) url('../img/fondo-flores.png') center/cover fixed !important;
  border-top: 2px solid var(--dorado);
}

/* Anuncio bar sólido (arriba) */
.anuncio-bar {
  position: relative;
  z-index: 10;
}

/* Navbar sólido */
.navbar {
  background: rgba(13, 27, 42, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Contacto: ajustar colores de form para fondo oscuro */
.contacto .form-contacto input,
.contacto .form-contacto textarea {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(212, 168, 67, 0.35) !important;
  color: var(--blanco) !important;
}

.contacto .form-contacto input::placeholder,
.contacto .form-contacto textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.contacto h2 {
  color: var(--dorado) !important;
}

.contacto .subtitulo {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Certificaciones: ajustar colores */
.certificaciones h2 {
  color: var(--dorado) !important;
}

.certificaciones .subtitulo {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ===== BOTONES FLOTANTES REDES SOCIALES ===== */
.social-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-btn:hover {
  transform: scale(1.15);
}

.social-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: pulse 2s infinite;
}

.social-btn.facebook {
  background: #1877f2;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.5);
}

.social-btn.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  box-shadow: 0 4px 20px rgba(221, 42, 123, 0.5);
}


/* ===== VENTA DE CAFÉ EN VERDE ===== */
.cafe-verde {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 50%, #0d1b2a 100%);
  padding: 3.5rem 0;
}

.cv-card {
  border: 1.5px solid rgba(212,168,67,0.5);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.3fr;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.cv-bloque {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.cv-bloque:last-child { border-right: none; }

/* Bloque info */
.cv-info h3 {
  color: var(--dorado);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.cv-info p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* Bloques de contacto (teléfono / correo) */
.cv-contacto-bloque {
  align-items: center;
  text-align: center;
  gap: 6px;
}

.cv-icon-grande {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212,168,67,0.12);
  color: var(--dorado);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cv-label {
  color: var(--dorado);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cv-valor {
  color: var(--blanco);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.cv-valor:hover { color: var(--dorado); }

.cv-valor-correo {
  font-size: 13px;
  font-weight: 500;
  word-break: break-word;
}

/* Bloque servicios */
.cv-servicios-bloque { justify-content: center; }

.cv-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cv-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 600;
}

.cv-lista li small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 3px;
}

.cv-check {
  color: var(--dorado);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Botones debajo de la tarjeta */
.cv-btns-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.cv-btns-wrap .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 992px) {
  .cv-card { grid-template-columns: 1fr 1fr; }
  .cv-bloque:nth-child(2) { border-right: none; }
  .cv-bloque { border-bottom: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 600px) {
  .cv-card { grid-template-columns: 1fr; }
  .cv-bloque { border-right: none; }
}

/* ===== MAPA CAFETERÍA ===== */
.cv-mapa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dorado);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.3s;
}

.cv-mapa-link:hover { color: var(--dorado-claro); text-decoration: underline; }

.cv-mapa-contenedor {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(212,168,67,0.4);
  filter: grayscale(15%) contrast(1.05);
}

.cv-mapa-contenedor iframe {
  display: block;
  width: 100%;
}

/* ===== MIEL ===== */
.miel {
  background: rgba(13, 27, 42, 0.88) url('../img/fondo-flores.png') center/cover fixed !important;
}

.miel h2 {
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.miel .subtitulo {
  color: rgba(255, 255, 255, 0.65);
}

.producto-badge.miel {
  background: rgba(184,134,11,0.2);
  color: #ffd966;
  border: 1px solid #d4a843;
}
/* ===== VERIFICACIÓN Y PERFIL DEL CLIENTE ===== */

.btn-link-modal {
  background: transparent;
  border: none;
  color: var(--dorado);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  text-decoration: underline;
}

.modal-perfil-contenido {
  width: 100%;
  max-width: 760px;
  color: white;
}

#perfil-contenido {
  color: white;
}

.perfil-estado,
.perfil-sin-pedidos {
  padding: 1.2rem;
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.perfil-datos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.perfil-dato {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.perfil-dato-ancho {
  grid-column: 1 / -1;
}

.perfil-dato span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
}

.perfil-dato strong {
  display: block;
  color: white;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.cuenta-verificada {
  color: #72d98b !important;
}

.cuenta-pendiente {
  color: #ffd166 !important;
}

.perfil-separador {
  height: 1px;
  background: rgba(212, 168, 67, 0.25);
  margin: 1.5rem 0;
}

.perfil-subtitulo {
  color: var(--dorado);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.perfil-pedidos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perfil-pedido-card {
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 14px;
  padding: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

.perfil-pedido-encabezado,
.perfil-pedido-totales {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.perfil-pedido-encabezado strong {
  display: block;
  color: var(--dorado);
}

.perfil-pedido-encabezado div > span,
.perfil-pedido-card small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.perfil-pedido-estado {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--dorado);
  background: rgba(212, 168, 67, 0.13);
  font-size: 11px;
  font-weight: 700;
}

.perfil-pedido-items {
  list-style: none;
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.perfil-pedido-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.perfil-pedido-totales {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.perfil-pedido-totales strong {
  color: white;
}

.btn-cerrar-sesion-perfil {
  width: 100%;
  margin-top: 1.2rem;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 100, 100, 0.45);
  color: #ff9b9b;
  background: rgba(255, 70, 70, 0.08);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cerrar-sesion-perfil:hover {
  color: white;
  background: rgba(255, 70, 70, 0.25);
}

@media (max-width: 620px) {
  .modal-perfil-contenido {
    padding: 1.2rem;
  }

  .perfil-datos-grid {
    grid-template-columns: 1fr;
  }

  .perfil-dato-ancho {
    grid-column: auto;
  }

  .perfil-pedido-items li,
  .perfil-pedido-totales {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ===== EDITAR PERFIL ===== */

.btn-editar-perfil {
  width: 100%;
  margin-top: 1rem;
  padding: 11px 16px;
  border: 1px solid rgba(212, 168, 67, 0.55);
  border-radius: 10px;
  color: var(--dorado);
  background: rgba(212, 168, 67, 0.08);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-editar-perfil:hover {
  color: var(--azul-oscuro);
  background: var(--dorado);
}

.form-editar-perfil {
  padding: 1.2rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.form-editar-perfil h4 {
  margin-bottom: 0.5rem;
  color: var(--dorado);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.perfil-aviso-correo {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.6;
}

.perfil-edicion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.perfil-edicion-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.perfil-campo-ancho {
  grid-column: 1 / -1;
}

.perfil-edicion-grid input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 9px;
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  font-family: 'Poppins', sans-serif;
}

.perfil-edicion-grid input:focus {
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.perfil-edicion-acciones {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 1.2rem;
}

.perfil-edicion-acciones button {
  padding: 10px 18px;
  border-radius: 9px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.btn-cancelar-perfil {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.btn-cancelar-perfil:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 620px) {
  .perfil-edicion-grid {
    grid-template-columns: 1fr;
  }

  .perfil-campo-ancho {
    grid-column: auto;
  }

  .perfil-edicion-acciones {
    flex-direction: column-reverse;
  }

  .perfil-edicion-acciones button {
    width: 100%;
  }
}