* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #9fd5d1 0, #9fd5d1 45%, #9fd5d1 100%);
  color: #022b3a;
  line-height: 1.6;
}

:root {
  --azul-oscuro: #022b3a;
  --azul-medio:  #1f7a8c;
  --azul-claro:  #b3e0f2;
  --acento:      #ffd166;
  --acento-osc:  #f8b934;
  --blanco:      #ffffff;
}

/* HEADER / NAVBAR */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 43, 58, 0.98);
  backdrop-filter: blur(10px);
}
.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--blanco);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-links a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 0.1rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--acento);
  transition: width 0.2s ease-out;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Botón hamburguesa para móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* BOTONES */

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--acento) 0, var(--acento-osc) 100%);
  color: #2a1900;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--blanco);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/* ----------------------------- */
/*   HERO CON VIDEO DE FONDO     */
/* ----------------------------- */

.hero-video {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* El video ocupa todo */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Capa oscura encima para mejorar contraste */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

/* Contenido visual encima */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0.8rem auto 1.2rem auto;
  color: #f2f8ff;
}

.btn-hero {
  margin-top: 2rem;
  padding: 12px 28px;
  border-radius: 8px;
  background: #0b4f6c;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* Logo flotante estilo premium */
.logo-flotante {
  width: 190px;
  margin-bottom: 1rem;
  animation: flotacion 3s ease-in-out infinite;
  background: transparent !important;   /* fuerza transparencia */
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .btn-hero {
    margin-top: 1.6rem;
  }
}


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



/* SECCIONES GENERALES */

section {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
  text-align: center;
  color: var(--azul-oscuro);
}
.subtitulo {
  text-align: center;
  font-size: 0.95rem;
  color: #58687a;
  margin-bottom: 1.7rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.menu-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn-chip {
  border-radius: 999px;
  border: 1px solid rgba(31, 122, 140, 0.4);
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  color: #174054;
}

.btn-chip:hover {
  background: #e3f5ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 40, 70, 0.15);
}

.btn-chip.active {
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-oscuro));
  color: #ffffff;
  border-color: rgba(2, 43, 58, 0.9);
  box-shadow: 0 6px 14px rgba(2, 43, 58, 0.35);
}

/* ============================ */
/*        SECCIÓN NOSOTROS      */
/* ============================ */

.bloque-nosotros {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  /* fondo con más vida */
  background: radial-gradient(circle at top, #c8f2f5, #8bd3da);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

/* Título más contrastante */
.nosotros-contenido h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: #064352;
}

/* Texto principal un poco más oscuro */
.nosotros-texto-principal {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #275666;
}

/* Tarjetas con más relieve y color */
.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.nosotros-item {
  background: linear-gradient(145deg, #043746, #075365);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid rgba(185, 244, 255, 0.4);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* Títulos de las tarjetas bien legibles */
.nosotros-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: #ffffff;
}

/* Texto de tarjetas en blanco roto para mejor lectura */
.nosotros-item p {
  margin: 0;
  font-size: 0.96rem;
  color: #e3f6fb;
}

/* Frase final más discreta pero elegante */
.nosotros-frase {
  text-align: center;
  font-style: italic;
  margin-top: 0.8rem;
  font-size: 1.35rem;       /* 🔥 antes ~0.95rem */
  line-height: 1.4;
  color: #1f4e58;           /* tono más elegante */
  font-weight: 500;
}



/* CARDS MENÚ */

.card {
  background: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 40, 70, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(180, 205, 225, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card-body {
  padding: 1rem 1.1rem 1.1rem;
}
.card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-oscuro);
}
.card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.card-header-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.card-header-line h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--azul-oscuro);
}

.card-header-line .precio {
  font-weight: 700;
  color: var(--azul-medio);
  white-space: nowrap;
}

.card-body .descripcion {
  font-size: 0.9rem;
  color: #485566;
}

.precio {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--azul-medio);
  font-size: 1rem;
}
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 36px rgba(10, 30, 55, 0.22);
  border-color: rgba(31, 122, 140, 0.9);
}
.card:hover img {
  transform: scale(1.04);
}
.tag-tipo {
  display: inline-block;
  background: linear-gradient(135deg, #6c757d, #495057); /* default gris elegante */
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin: 0.45rem 0.55rem 0 0.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
/* Recomendado */
.tag-tipo.tag-recomendado {
  background: linear-gradient(135deg, #ffb100, #ff7b00);
}

/* Picante */
.tag-tipo.tag-picante {
  background: linear-gradient(135deg, #ff4b5c, #c91833);
}

/* Del mar */
.tag-tipo.tag-del-mar {
  background: linear-gradient(135deg, #1f7a8c, #0b4f6c);
}

/* Clásico */
.tag-tipo.tag-clásico,
.tag-tipo.tag-clasico {
  background: linear-gradient(135deg, #6f42c1, #4b2c88);
}

/* Nuevo */
.tag-tipo.tag-nuevo {
  background: linear-gradient(135deg, #20c997, #0f9d76);
}


/* ESPECIALIDADES */

.especialidades {
  display: grid;
  gap: 1rem;
}
.especialidad-item {
  background: var(--blanco);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-left: 4px solid var(--azul-medio);
}
.especialidad-item h3 {
  margin-bottom: 0.3rem;
  color: var(--azul-oscuro);
  font-size: 1.02rem;
}
.especialidad-item p {
  font-size: 0.9rem;
  color: #4c5a68;
}

/* ============================ */
/*          GALERÍA             */
/* ============================ */

.bloque-galeria {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
}

#galeria h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

#galeria .subtitulo {
  text-align: center;
  margin-bottom: 1.8rem;
}

/* Grid tipo Pinterest */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efecto al pasar el mouse */
.galeria-item::after {
  content: "Click para acercar...";
  position: absolute;
  bottom: 10px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #f5faff;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.galeria-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Modal / Lightbox */
.galeria-modal {
  position: fixed;
  inset: 0;
  display: none;                 /* oculto por defecto */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.galeria-modal.activo {
  display: flex;
}

.galeria-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.galeria-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.galeria-modal-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

/* Botón cerrar */
.galeria-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.8);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}


/* ============================ */
/*      OPINIONES / REVIEWS     */
/* ============================ */

.bloque-opiniones {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  background: radial-gradient(circle at top, #0b6c74, #03252c);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(0,0,0,0.45);
}

#opiniones h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.subtitulo-opiniones {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #e4f7fb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  letter-spacing: 0.4px;
}


/* Grid de tarjetas */
.opiniones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

/* Tarjeta individual */
.opinion-card {
  position: relative;
  display: flex;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 18px;
  background: rgba(1, 21, 28, 0.78);
  border: 1px solid rgba(189, 244, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  color: #e8f7fb;
}

/* Comillas decorativas */
.opinion-comillas {
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(189, 244, 255, 0.55);
  font-family: "Georgia", serif;
  margin-top: -4px;
}

/* Contenido de la opinión */
.opinion-contenido {
  flex: 1;
}

.estrellas {
  color: #ffd76a;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

/* Texto de la opinión */
.opinion-texto {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #dff4fa;
}

/* Autor y tag */
.opinion-autor {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
}

.opinion-nombre {
  font-weight: 600;
  color: #ffffff;
}

.opinion-tag {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11, 179, 199, 0.2);
  border: 1px solid rgba(157, 245, 255, 0.55);
  color: #b7f3ff;
}

/* Responsive */
@media (max-width: 768px) {
  .bloque-opiniones {
    padding: 2.4rem 1.1rem;
  }

  .opinion-card {
    padding: 1rem 1rem 1.1rem;
  }
}


/* CONTACTO */

.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
}
.contacto-datos p {
  margin-bottom: 0.4rem;
  font-size: 0.94rem;
  color: #3d4c5c;
}
iframe {
  width: 100%;
  border: none;
  border-radius: 14px;
  min-height: 260px;
  box-shadow: 0 10px 22px rgba(10, 30, 55, 0.18);
}
.instagram-btn {
  background: #d6249f; /* color Instagram */
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.35);
}
.instagram-btn:hover {
  background: #e940ae;
  box-shadow: 0 10px 22px rgba(214, 36, 159, 0.5);
  transform: translateY(-2px);
}
/* Subtítulo de la sección de contacto (más llamativo) */
.subtitulo-contacto {
  font-size: 1.35rem;          /* 🔥 más grande */
  font-weight: 600;            /* más presencia */
  color: #e8fdff;              /* turquesa claro premium */
  text-shadow: 0 0 10px rgba(0, 190, 255, 0.45),
               0 2px 6px rgba(0,0,0,0.35); /* profundidad */
  letter-spacing: 0.5px;       /* elegante */
  margin-bottom: 2rem;         /* más espacio abajo */
}



/* FORM WHATSAPP */

.whatsapp-form {
  background: linear-gradient(135deg, #ffffff 0, #f3f9ff 100%);
  border-radius: 16px;
  border: 1px solid rgba(185, 210, 230, 0.9);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(10, 30, 55, 0.08);
  max-width: 650px;
  margin: 0 auto;
}
.whatsapp-form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  color: #233344;
}
.whatsapp-form input,
.whatsapp-form textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(160, 190, 210, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  border-color: var(--azul-medio);
  box-shadow: 0 0 0 2px rgba(31,122,140,0.2);
}
.whatsapp-form textarea {
  min-height: 90px;
}

/* ADMIN / LOGIN */

.admin-section h2 {
  text-align: left;
}
.admin-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th,
.admin-table td {
  border: 1px solid #dde6ef;
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.admin-table th {
  background: #e5f4fb;
  font-weight: 600;
}
.inline-form {
  display: inline-block;
}
.orden-num {
  font-size: 0.75rem;
  margin-top: 0.2rem;
  text-align: center;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.admin-form label {
  font-size: 0.8rem;
  font-weight: 600;
}
.admin-form input,
.admin-form textarea,
admin-form select {
  width: 100%;
  padding: 0.3rem 0.4rem;
  border-radius: 5px;
  border: 1px solid #aac8d8;
  font-size: 0.85rem;
}
.admin-form textarea {
  min-height: 60px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: normal;
}
.admin-actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.4rem;
}

.btn-small {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
}

.admin-nuevo {
  background: #e5f4fb;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid #c8e4f3;
}
.admin-lista {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid #dde6ef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.login-section {
  max-width: 500px;
}
.login-form {
  background: #ffffff;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #dde6ef;
  box-shadow: 0 8px 20px rgba(10, 30, 55, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.login-form label {
  font-size: 0.85rem;
  font-weight: 600;
}
.login-form input {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #aac8-d8;
  font-size: 0.9rem;
}
.login-error {
  background: #ffe0e0;
  color: #8b0000;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ffb0b0;
  font-size: 0.85rem;
}

/* FOOTER */

footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  margin-top: 2.5rem;
}
footer span#year {
  font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 70vh;
    padding: 4rem 1rem 3rem;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(2, 43, 58, 0.98);
    flex-direction: column;
    padding: 0.6rem 1rem 0.9rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.18s ease-out;
  }
  .nav-links.open {
    max-height: 260px;
  }
}

@keyframes heroGlow {
  0% {
    background: radial-gradient(circle at top, rgba(0,132,180,0.78), rgba(0,26,45,0.9));
  }
  50% {
    background: radial-gradient(circle at 20% 0, rgba(72,202,228,0.9), rgba(0,26,45,0.95));
  }
  100% {
    background: radial-gradient(circle at 80% 10%, rgba(0,132,180,0.9), rgba(0,10,30,0.98));
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* VISTA TIPO CARTA – chip "Todos" */
/* ============================= */

#menu.view-carta .menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#menu.view-carta .menu-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

#menu.view-carta .menu-item:last-child {
  border-bottom: none;
}

#menu.view-carta .menu-item img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 0.15rem;
}

#menu.view-carta .card-body {
  padding: 0;
  flex: 1;
}

#menu.view-carta .card-header-line {
  border-bottom: 1px dotted rgba(0,0,0,0.18);
  padding-bottom: 0.1rem;
  margin-bottom: 0.25rem;
}

#menu.view-carta .card-header-line h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

#menu.view-carta .card-header-line .precio {
  font-size: 0.95rem;
}

#menu.view-carta .card-body .descripcion {
  font-size: 0.83rem;
  color: #4c5b68;
}

/* En modo carta, ocultamos visiblemente la etiqueta para dejarlo limpio */
#menu.view-carta .tag-tipo {
  display: none;
}

/* ============================ */
/*    SECCIÓN ESPECIALIDADES    */
/* ============================ */

#especialidades {
  margin-top: 3rem;
}

/* =============================== */
/*      ESPECIALIDAD DEL DÍA       */
/* =============================== */

.esp-dia-card {
  display: flex;
  gap: 1.2rem;
  background: radial-gradient(circle at top left, #ffffff, #d7ebfa);
  border-radius: 20px;
  padding: 1.3rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(7, 76, 109, 0.23);
  box-shadow: 0 14px 30px rgba(0,0,0,0.20);
}

.esp-dia-img-wrap img {
  width: 145px;
  height: 145px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.30);
}

.esp-dia-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ETIQUETA */
.esp-dia-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #0b4f6c, #167fa5);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* NOMBRE DEL PLATILLO — MÁS GRANDE Y GOURMET */
.esp-dia-body h3 {
  margin: 0;
  font-size: 1.55rem;          /* 🔥 Antes 1.25rem */
  line-height: 1.3;
  font-weight: 800;
  color: #063c53;
  letter-spacing: 0.015em;
}

/* DESCRIPCIÓN */
.esp-dia-body p {
  margin: 0.45rem 0;
  color: #3e5361;
  font-size: 1rem;             /* 🔥 Antes 0.95rem */
  font-weight: 400;
}

/* PRECIO — MÁS GRANDE Y DESTACADO */
.esp-dia-precio {
  margin-top: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;          /* 🔥 Antes 1.1rem */
  color: #0b4f6c;
  letter-spacing: 0.02em;
}

/* =============================== */
/*    CARRUSEL DE ESPECIALIDADES   */
/* =============================== */
.especialidades-carousel {
  position: relative;
  margin-top: 0.8rem;
  overflow: hidden;
}

.especialidades-track {
  display: flex;
  transition: transform 0.4s ease;
}

.especialidad-card {
  min-width: 100%;
  display: flex;
  gap: 1rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  position: relative;
  border: 1px solid rgba(7, 76, 109, 0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.especialidad-img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.especialidad-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.especialidad-body h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--azul-oscuro);
}

.especialidad-body p {
  margin: 0.35rem 0;
  color: #4e6070;
  font-size: 0.92rem;
}

.precio-esp {
  margin-top: 0.35rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--azul-medio);
}

/* Etiqueta dentro del carrusel */
.especialidad-card .tag-tipo {
  position: absolute;
  top: 10px;
  right: 12px;
}

/* Botones del carrusel */
.esp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(2, 43, 58, 0.8);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.esp-nav:hover {
  background: rgba(2, 43, 58, 1);
  transform: translateY(-50%) scale(1.05);
}

.esp-prev {
  left: 4px;
}

.esp-next {
  right: 4px;
}

/* Responsive */
@media (max-width: 600px) {
  .esp-dia-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .esp-dia-img-wrap img {
    width: 100%;
    height: 170px;
  }

  .especialidad-card {
    flex-direction: column;
  }

  .especialidad-img {
    width: 100%;
    height: 170px;
  }

  .esp-nav {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}


/* ============================ */
/*            FOOTER           */
/* ============================ */

.site-footer {
  background: radial-gradient(circle at top, #031a20, #010c0f);
  color: #e3f4f8;
  padding: 2.2rem 1.5rem 1.4rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(170, 220, 232, 0.25);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
}

/* Columna marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo {
  width: 140px;
  max-width: 60%;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

.footer-lema {
  margin: 0;
  font-size: 0.95rem;
  color: #b7dfe9;
}

/* Títulos de columna */
.footer-col h4 {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
  color: #ffffff;
}

/* Links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a,
.footer-link {
  color: #d7f4ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-link:hover {
  text-decoration: underline;
  color: #fbb040;
}

/* Texto de contacto */
.footer-text {
  margin: 0 0 0.4rem 0;
  font-size: 0.9rem;
}

/* Franja inferior */
.footer-bottom {
  border-top: 1px solid rgba(120, 173, 187, 0.35);
  margin-top: 1.8rem;
  padding-top: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  color: #9cc5d1;
}

/* Responsive footer */
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 1.8rem 1.2rem 1.1rem;
  }

  .footer-logo {
    width: 120px;
  }
}

/* ========================================= */
/*       AJUSTES RESPONSIVE (MÓVIL)          */
/* ========================================= */

@media (max-width: 768px) {

  /* Hero: texto más compacto y centrado */
  .hero-content h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-content p {
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
    margin: 0 auto 1rem;
  }

  .logo-flotante {
    width: 150px;
    margin-bottom: 0.6rem;
  }

  .btn-hero {
    font-size: 0.95rem;
    padding: 0.55rem 1.3rem;
  }

  /* Secciones contenedoras un poco más compactas */
  .bloque-nosotros,
  .bloque-galeria,
  .bloque-contacto,
  .bloque-opiniones {
    padding: 2.2rem 1.2rem;
    margin: 0 auto 2rem auto;
  }

    .grid.menu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);  /* 👈 1 sola columna bien */
    gap: 0.9rem;
  }

  .card.menu-item {
    max-width: 100%;
  }

  .card.menu-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* Especialidad del día: layout vertical */
  .esp-dia-card {
    flex-direction: column;
  }

  .esp-dia-img-wrap {
    max-width: 100%;
  }

  /* Carrusel de especialidades: más margen lateral pequeño */
  .especialidades-carousel {
    padding: 0.5rem 0.3rem 0.3rem;
  }

  /* Galería ya está en auto-fit, solo un poco de respiración */
  .galeria-grid {
    gap: 0.8rem;
  }

  /* Opiniones: tarjetas full width */
  .opiniones-grid {
    grid-template-columns: 1fr;
  }

  /* Contacto: ya lo pusimos en una columna, solo texto más legible */
  .contacto-datos {
    padding: 1.2rem 1.1rem;
  }

  .contacto-datos p {
    font-size: 0.9rem;
  }

  /* Formulario WhatsApp: ancho completo y cómodo */
  #whatsapp {
    padding: 2.2rem 1.2rem;
  }

  .whatsapp-form input,
  .whatsapp-form textarea {
    width: 100%;
    font-size: 0.95rem;
  }

  .whatsapp-form textarea {
    min-height: 130px;
  }

  /* Footer: ya está en 1 columna, solo compactar */
  .site-footer {
    padding: 1.8rem 1.1rem 1.1rem;
  }

  .footer-inner {
    gap: 1.1rem;
  }

  .footer-text,
  .footer-links a {
    font-size: 0.88rem;
  }
}

/* Ajustes extra para pantallas muy pequeñas */
@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .subtitulo,
  .subtitulo-contacto,
  .subtitulo-opiniones {
    font-size: 0.95rem;
  }

  .opinion-texto {
    font-size: 0.9rem;
  }

  .btn-contacto,
  .instagram-btn {
    width: 100%;
    justify-content: center;
  }
}
