@import url("https://fonts.googleapis.com/css2?family=Merienda:wght@700&family=Quicksand:wght@400;600;700&display=swap");

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --shadow: 0 8px 30px rgba(2, 8, 23, 0.08);
  --primary: #2b8fbf; /* naranja */
  --primary-700: #1c6c91;
  --green: #0ea5a0; /* verde turquesa */
  --gold: #f59e0b; /* acentos dorados */
  --radius: 18px;
  --radius-sm: 12px;

  --cream: #f5f9fa; /* fondo claro azulado */
  --border: #d9e4ea;
  --ink: #233843; /* texto principal más frío */
  --orange: #2b8fbf; /* acento marino */
  --orange-dark: #1c6c91;
  --red: #1c718e; /* títulos o botones */
  --sepia: #4a6572;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Arial, sans-serif;
  line-height: 1.5;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(100vw, 92vw);
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 800;
}
.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.menu {
  display: flex;
  gap: 18px;
  align-items: center;
}
.menu a {
  padding: 8px 12px;
  border-radius: 999px;
}
.menu a:hover {
  background: #f8fafc;
}
.menu .pill {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary-700);
}
.menu-toggle {
  display: none;
}

/* HERO con ola superior */
/* HERO base */
.hero {
  position: relative;
  padding: 0 0 24px;
  background-image: url("https://i0.wp.com/foodandpleasure.com/wp-content/uploads/2022/01/mariscos-polanco-migustoes1.jpg?fit=1280%2C853&ssl=1");
  background-size: cover;
  background-position: center;
  color: #0b1b2a;
  isolation: isolate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      120% 80% at 20% 20%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.3) 45%,
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.15) 40%,
      rgba(255, 255, 255, 0) 100%
    );
  mix-blend-mode: multiply;
}
.hero-inner {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

/* Tarjeta “glass” con borde degradado */
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 28px 28px 24px;
  border-radius: 22px;
 
}


/* Título y acentos */
.kicker {
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #2b8fbf;
  text-transform: uppercase;
  font-size: 12px;
}
.title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  color: #0f1e2b;
}
.title-accent {
  background: linear-gradient(90deg, #6bb8ff, #3d74ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  color: #304553;
  max-width: 60ch;
}

/* CTAs */
.cta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}
.btn.primary {
  background: #2b8fbf;
  color: #fff;
  border: 1px solid #1c6c91;
}
.btn.primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn.ghost {
  background: #ffffff;
  color: #0f1e2b;
  border: 1px solid #e4eef4;
}
.btn.ghost:hover {
  background: #f6fbff;
}

/* Badges flotantes */
.hero-badges {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: clamp(16px, 4vw, 48px);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 12px;
  color: #0f1e2b;
}

/* Fila confianza */
.trust {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: #fff;
}
.trust small {
  font-weight: 700;
}

/* Sello */
.ribbon {
  position: absolute;
  right: -12px;
  top: -12px;
  background: #ff8a3d;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px 12px 12px 10px;
  box-shadow: 0 6px 18px rgba(255, 138, 61, 0.35);
}

/* Ola inferior */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 0;
}
.hero-wave path {
  fill: #fff;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 840px) {
  .hero-inner {
    height: 88vh;
  }
  .hero-card {
    padding: 22px;
  }
  .pill {
    font-size: 11px;
  }
}

.kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.title {
  font-family: "Playfair Display", serif;
  line-height: 1.05;
  margin: 10px 0 12px;
  font-size: 64px;
}
.subtitle {
  color: #334155;
  margin: 0 0 18px;
}
.hero-card .subtitle {
  max-width: 550px;
  color: #fff;
}
.hero-card .title {
  color: #fff;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-700);
}
.btn.ghost {
  background: #fff;
}

.decors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decors svg {
  position: absolute;
  width: 20%;
  object-fit: contain;
  fill: var(--primary-700);
}

.decors svg.tr {
  top: 0;
  right: 0;
}

.decors svg.bl {
  bottom: 0;
  left: 0;
}

.decors svg.br {
  bottom: 0;
  right: 0;
}

/* CATEGORÍAS (cards redondas inspiradas en referencia) */
.categories {
  padding: 75px 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 50px;
}
.cat {
  position: relative;
}

.cat-card {
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cat-card .cat-card-desc {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.833);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: 0.3s;
  text-align: center;
  padding: 50px;
}

.cat-card:hover .cat-card-desc {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

@media (max-width: 840px) {

.cat-card .cat-card-desc {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
}

.cat-card .cat-card-desc h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
}

.cat img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transform: scale(1.05);
  transition: 0.3s;
}

.cat:hover img {
  transform: scale(1);
}
.cat span {
  position: absolute;
  left: 20px;
  top: 20px;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* BANDA DE ESPECIALES con textura */
.wave-top,
.wave-bottom {
  display: block;
  height: 56px;
  width: 100%;
}
.specials {
  position: relative;
  background: radial-gradient(
      60% 120% at 50% -10%,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(180deg, #14b8a6 0%, #0ea5a0 100%);
  color: #042;
}
.specials .container {
  padding: 30px 0;
}
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sp {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  color: #f0fff9;
  backdrop-filter: blur(2px);
}
.sp h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}
.sp p {
  margin: 0 0 8px;
}
.sp .price {
  font-weight: 800;
  color: #fff;
}

/* LISTADO DESTACADOS */
section {
  padding: 28px 0;
}
.section-title {
  margin-bottom: 14px;
}
.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
}
.card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.card-body {
  padding: 30px 25px;
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: rgba(255, 255, 255, 0.9);
  height: calc(100% + 2px);
  width: calc(100% + 2px);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover .card-body {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.card h3 {
  font-size: 28px;
  margin: 0;
  font-family: "Playfair Display", serif;
}
.price {
  font-weight: 800;
  color: var(--primary-700);
}
.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.card-body svg,
.cat-card .cat-card-desc svg {
  fill: #f7eae3;
  display: block;
  position: absolute;
  top: 25%;
  width: 75%;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #475569;
}
.chip--accent {
  background: #e6f7ff;
  border-color: #bfe9ff;
  color: #136a8a;
}
.chip--spicy {
  background: #ffecec;
  border-color: #ffd1d1;
  color: #b91c1c;
}

.price-tag {
  margin-top: 8px;
  display: inline-block;
  font-weight: 900;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #0b0b0b;
}

/* MENÚ */
.menu-section {
  padding: 150px 4vw;
  background: var(--cream);
  margin: 120px 0;
  position: relative;
  overflow: hidden;
}
/* Contenedor general */
.menu-section.menu-poster {
  margin: 120px 0;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) inset;
}

/* Encabezado */
.menu-poster .menu-head {
  text-align: center;
  margin-bottom: 26px;
}
.menu-poster .menu-title {
  font-family: "Merienda", cursive;
  font-size: 44px;
  color: var(--red);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}
.menu-poster .menu-sub {
  font-family: "Merienda", cursive;
  font-size: 20px;
  color: var(--sepia);
  margin: 0 0 16px;
}

/* Ornamentos (florales) */
.menu-ornament {
  display: inline-flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 10px;
}
.menu-ornament svg {
  fill: var(--red);
  opacity: 0.95;
}

/* Botón WhatsApp (opcional) */
.menu-poster .menu-cta {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
}
.menu-poster .menu-cta .btn {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

/* Hoja del menú */
.menu-sheet {
  width: min(1100px, 94vw);
  margin: 26px auto 0;
  border-radius: 18px;
  padding: 28px 24px 18px;
}

/* Grid dos columnas */
.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.menu-group h3 {
  font-family: "Merienda", cursive;
  color: var(--orange-dark);
  font-size: 26px;
  margin: 4px 0 12px;
}

/* Lista de items */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.menu-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
}

/* Nombre + puntos + precio */
.item-line {
  display: flex;
  align-items: baseline;
  width: 100%;
}
.item-name {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.item-dots {
  flex: 1;
  border-bottom: 2px dotted #e6d6c7;
  margin: 0 10px;
  transform: translateY(-2px);
}
.item-price {
  font-family: "Merienda", cursive;
  font-weight: 700;
  color: var(--orange-dark);
}

/* Descripción */
.item-desc {
  margin: 3px 0 0 0;
  font-size: 14px;
  line-height: 1.35;
  font-family: "Playfair Display", serif;
}

/* Separador sutil entre grupos */
.menu-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0e3d6, transparent);
  margin: 10px 0;
}

/* Banda inferior con patrón diamante */
.menu-bottomband {
  margin: 22px -24px -18px;
  padding: 10px 0 0;
}
.menu-diamonds {
  height: 24px;
  width: 100%;
  background: conic-gradient(
        from 45deg at 12px 12px,
        var(--orange) 90deg,
        transparent 0
      ) -12px 0/24px 24px,
    conic-gradient(from -45deg at 12px 12px, var(--orange) 90deg, transparent 0)
      0 0/24px 24px;
  opacity: 0.9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Responsivo */
@media (max-width: 960px) {
  .menu-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .menu-title {
    font-size: 38px;
  }
}
/* GALERÍA */
.masonry {
  margin-top: 50px;
  columns: 3 240px;
  column-gap: 14px;
}
.masonry figure {
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.masonry figure img {
  transition: 0.3s;
}
.masonry figure:hover img {
  transform: scale(1.05);
}

/* MAPA */
.map {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

/* === Ubicación mejorada === */
.location-wrap {
  margin-top: 50px;
}
.map--elevated {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.map--elevated iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}
.map--elevated::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  pointer-events: none;
}

/* Tarjeta flotante sobre el mapa */
.map-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: min(460px, 92%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.12);
  padding: 14px 14px 12px;
}
.map-card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}
.map-card__addr {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 14px;
}
.map-badges {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
}
.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}
.badge--accent {
  background: #fff4ea;
  border-color: #ffd9b6;
  color: #8b5e3c;
}
.map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* === Contacto mejorado === */
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-icon {
  font-size: 22px;
}
.contact-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
}
.contact-card .muted {
  color: #64748b;
  margin: 0 0 6px;
}
.cta-row {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Horarios */
.hours-list {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 4px;
}
.hours-list li.is-today {
  background: #fff8ef;
  border-radius: 8px;
  padding: 6px 8px;
}
.status-pill {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid #c6f6d5;
  background: #ecfdf5;
  color: #065f46;
}
.status-pill[data-open="false"] {
  border-color: #fed7d7;
  background: #fff5f5;
  color: #9b2c2c;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
}
.btn-dark {
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border: 1px solid #0b0b0b;
}
.btn-outline {
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.btn svg {
  flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .map-card {
    position: static;
    width: 100%;
    margin: 12px;
  }
  .map--elevated::after {
    display: none;
  }
}
@media (max-width: 640px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER con ola */
footer {
  position: relative;
  margin-top: 24px;
  background: #0b1220;
  color: #e5e7eb;
}
footer .top-wave {
  display: block;
  height: 60px;
  width: 100%;
}
.footer-inner {
  padding: 26px 0;
}
.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.f-col h4 {
  margin: 0 0 8px;
}
.hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 14px;
  color: #cbd5e1;
}
.footnote {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  color: #94a3b8;
  font-size: 14px;
}

/* FLOAT WA */
.float-whats {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  gap: 10px;
  align-items: center;
}
.float-whats a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #000000;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav .menu {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
  }
}
@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .title {
    font-size: 36px;
  }
  .hours {
    grid-template-columns: 1fr;
  }
}
