/* El Rincón Marinero — paleta y tipografía derivadas del logo real del negocio
   (timón + ancla, "RINCÓN" coral / "MARINERO" azul marino) y de las fotos de su
   local (paredes turquesa, piso de barro). Elemento firma: marco de "ola" para
   fotos + el timón náutico como separador — nada de hero de foto de fondo a
   pantalla completa ni tipografías genéricas. */

:root {
  --navy: #142642;
  --navy-2: #0d1a2e;
  --coral: #e8503a;
  --coral-2: #c93f2c;
  --coral-3: #a83322;
  --turquoise: #2fb8b0;
  --turquoise-2: #1f8f89;
  --sand: #f6ead2;
  --cream: #fffaf3;
  --ink: #1c2430;
  --muted: #5b6577;
  --line: #e8ddc4;
  --white: #ffffff;

  --display: 'Baloo 2', 'Segoe UI', system-ui, sans-serif;
  --body: 'Karla', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Space Mono', 'Courier New', monospace;

  --radius: 18px;
  --wave: polygon(0% 6%, 4% 4.5%, 8% 3.2%, 12% 2.4%, 16% 2%, 20% 2.4%, 24% 3.2%,
    28% 4.5%, 32% 6%, 36% 7.5%, 40% 8.8%, 44% 9.6%, 48% 10%, 52% 9.6%, 56% 8.8%,
    60% 7.5%, 64% 6%, 68% 4.5%, 72% 3.2%, 76% 2.4%, 80% 2%, 84% 2.4%, 88% 3.2%,
    92% 4.5%, 96% 6%, 100% 7%, 100% 100%, 0% 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

/* ---- Barra flotante de WhatsApp ---- */
.wa-flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--turquoise);
  color: var(--navy);
  padding: .8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 24px rgba(20, 38, 66, .28);
}
.wa-flotante svg { width: 22px; height: 22px; flex: none; }
.wa-flotante:hover { background: #29a49d; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--coral);
}
.nav .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.nav-marca {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
.nav-marca svg { width: 34px; height: 34px; flex: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--coral-2);
  color: var(--white);
  padding: .5rem .9rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--coral-3); }

/* ---- Timón como separador ---- */
.separador-timon { display: flex; justify-content: center; margin: 0; }
.separador-timon svg { width: 40px; height: 40px; }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% -10%, rgba(47, 184, 176, .35), transparent 60%),
    radial-gradient(ellipse 50% 40% at -10% 110%, rgba(232, 80, 58, .25), transparent 60%);
  pointer-events: none;
}
.hero .contenedor {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-top: 2.75rem;
}
@media (min-width: 900px) {
  .hero .contenedor { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 3.5rem; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sand);
  background: rgba(246, 234, 210, .12);
  border: 1px solid rgba(246, 234, 210, .35);
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  font-weight: 700;
}
.hero h1 span { color: var(--coral); }
.hero-tag {
  font-size: 1.1rem;
  color: var(--sand);
  max-width: 42ch;
  margin: 1rem 0 1.6rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primario { background: var(--coral-2); color: var(--white); }
.btn-primario:hover { background: var(--coral-3); }
.btn-secundario { background: transparent; color: var(--cream); border-color: rgba(246, 234, 210, .5); }
.btn-secundario:hover { border-color: var(--cream); }
.btn svg { width: 20px; height: 20px; }

.hero-marco {
  clip-path: var(--wave);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
  transform: rotate(-1.2deg);
}
.hero-marco img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }

.hero-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 234, 210, .2);
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--sand);
}
.hero-datos strong { color: var(--cream); font-family: var(--body); font-weight: 700; display: block; font-size: 1rem; }

/* ---- Secciones genéricas ---- */
section { padding: 3.5rem 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--coral-2);
  margin-bottom: .5rem;
  display: block;
}
.titulo-seccion { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 1.4rem; }

/* ---- Sobre nosotros ---- */
.sobre { background: var(--sand); }
.sobre .contenedor { display: grid; gap: 2rem; }
@media (min-width: 860px) {
  .sobre .contenedor { grid-template-columns: .95fr 1.05fr; align-items: center; }
}
.sobre-marco { clip-path: var(--wave); overflow: hidden; border-radius: 6px; box-shadow: 0 16px 32px rgba(20,38,66,.18); }
.sobre-marco img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.sobre-texto p { font-size: 1.08rem; color: var(--ink); }

/* ---- Galería ---- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .galeria-grid { grid-template-columns: repeat(4, 1fr); } }
.galeria-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 18px rgba(20,38,66,.12);
  position: relative;
}
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-item span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,26,46,.82), transparent);
  color: var(--cream);
  font-size: .78rem;
  padding: 1.4rem .6rem .5rem;
}

/* ---- Menú ---- */
.menu { background: var(--navy-2); color: var(--cream); }
.menu .eyebrow { color: var(--turquoise); }
.menu .titulo-seccion { color: var(--cream); }
.menu-intro {
  max-width: 62ch;
  color: var(--sand);
  font-size: 1rem;
  border-left: 3px solid var(--coral);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.menu-categoria { margin-bottom: 2.4rem; }
.menu-categoria h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.menu-categoria h3::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--coral);
  display: inline-block;
}
.menu-items { display: grid; gap: .9rem; }
@media (min-width: 760px) { .menu-items { grid-template-columns: 1fr 1fr; } }
.menu-item {
  display: flex;
  gap: .9rem;
  background: rgba(246, 234, 210, .06);
  border: 1px solid rgba(246, 234, 210, .14);
  border-radius: 14px;
  padding: .8rem;
  align-items: center;
}
.menu-item img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; flex: none; }
.menu-item-cuerpo { flex: 1; min-width: 0; }
.menu-item h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 0 0 .2rem; color: var(--cream); }
.menu-item p { font-size: .88rem; color: var(--sand); margin: 0 0 .4rem; }
.ticket {
  display: inline-block;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--navy-2);
  background: var(--turquoise);
  padding: .18rem .55rem;
  border-radius: 5px;
  letter-spacing: .02em;
}

/* ---- Reseñas ---- */
.resenas-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .resenas-grid { grid-template-columns: repeat(2, 1fr); } }
.resena {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
}
.resena-estrellas { color: var(--coral); font-size: 1rem; letter-spacing: .12em; margin-bottom: .5rem; }
.resena p { color: var(--ink); font-size: .98rem; margin: 0; }
.resena-fuente { margin-top: .8rem; font-family: var(--mono); font-size: .74rem; color: var(--muted); }

.rating-resumen {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}
.rating-num { font-family: var(--display); font-size: 2.6rem; color: var(--navy); font-weight: 700; }
.rating-meta { font-size: .92rem; color: var(--muted); }
.rating-meta strong { color: var(--coral-2); }

/* ---- Contacto ---- */
.contacto { background: var(--sand); }
.contacto-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contacto-grid { grid-template-columns: 1fr 1fr; } }
.contacto-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 10px 26px rgba(20,38,66,.1);
}
.contacto-fila { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contacto-fila:last-child { margin-bottom: 0; }
.contacto-fila svg { width: 22px; height: 22px; flex: none; color: var(--coral-2); margin-top: .1rem; }
.contacto-fila a { text-decoration: none; color: var(--navy); font-weight: 700; }
.contacto-fila a:hover { text-decoration: underline; }
.contacto-fila .muted { color: var(--muted); font-size: .92rem; }
.horario-tabla { width: 100%; border-collapse: collapse; font-size: .92rem; }
.horario-tabla td { padding: .25rem 0; }
.horario-tabla td:last-child { text-align: right; color: var(--muted); }

.mapa-embed { border-radius: 16px; overflow: hidden; border: 0; width: 100%; height: 280px; }

.redes-fila { display: flex; gap: .7rem; margin-top: 1.2rem; flex-wrap: wrap; }
.red-icono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
}
.red-icono svg { width: 20px; height: 20px; }
.red-icono:hover { background: var(--coral); }

/* ---- Footer ---- */
footer.pie {
  background: var(--navy-2);
  color: var(--sand);
  padding: 2.2rem 0 1.6rem;
  font-size: .85rem;
}
footer.pie .contenedor { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
footer.pie a { color: var(--turquoise); text-decoration: none; }
footer.pie a:hover { text-decoration: underline; }
.pie-redes { display: flex; gap: .6rem; }
.pie-redes .red-icono { width: 36px; height: 36px; background: rgba(246,234,210,.1); }
.pie-redes .red-icono svg { width: 17px; height: 17px; }
.pie-credito { color: rgba(246,234,210,.65); }

/* ---- Utilidades ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
