:root {
  --brown: #4b2b16;
  --cocoa: #28180e;
  --chile: #b92f22;
  --cream: #fff7ed;
  --gold: #f5b041;
  --maize: #f2c15d;
  --orange: #c94a23;
  --sand: #f9dfad;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(40, 24, 14, 0.16);
  --slide-overlay: linear-gradient(
    90deg,
    rgba(40, 24, 14, 0.84),
    rgba(40, 24, 14, 0.5),
    rgba(40, 24, 14, 0.28)
  );
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cocoa);
  background:
    radial-gradient(circle at top left, rgba(245, 176, 65, 0.26), transparent 34rem),
    linear-gradient(180deg, var(--cream) 0%, #fffaf4 44%, var(--white) 100%);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img,
iframe {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: hidden;
  color: var(--cream);
  background: rgba(40, 24, 14, 0.96);
  border-bottom: 1px solid rgba(245, 176, 65, 0.25);
  box-shadow: 0 18px 55px rgba(40, 24, 14, 0.18);
  backdrop-filter: blur(16px);
}

.header-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%),
    linear-gradient(225deg, var(--gold) 25%, transparent 25%);
  background-position:
    0 0,
    10px 0;
  background-size: 20px 20px;
}

.nav-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--orange);
  background: var(--cream);
  border: 2px solid rgba(245, 176, 65, 0.7);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 900;
}

.logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: var(--cream);
}

.logo-fallback {
  position: relative;
  z-index: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  display: block;
  color: var(--white);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.05;
  font-weight: 900;
}

.brand-address {
  display: block;
  margin-top: 5px;
  color: rgba(255, 247, 237, 0.78);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.phone-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  color: var(--gold);
  border: 1px solid rgba(245, 176, 65, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 900;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.phone-pill:hover {
  color: var(--cocoa);
  background: var(--gold);
}

.nav-links {
  display: flex;
  padding: 4px;
  color: rgba(255, 247, 237, 0.86);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  overflow: hidden;
}

.hero-slider,
.slide,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-slider {
  background:
    var(--slide-overlay),
    url("public/hero-mariscos.png") center / cover no-repeat;
}

.slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1000ms ease;
}

.slide.is-active {
  opacity: 1;
}

.fallback-slide {
  background:
    var(--slide-overlay),
    url("public/hero-mariscos.png") center / cover no-repeat;
}

.hero-glow {
  background: radial-gradient(circle at 18% 22%, rgba(245, 176, 65, 0.24), transparent 34rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 32px;
  padding: 10px 16px;
  color: var(--gold);
  background: rgba(40, 24, 14, 0.5);
  border: 1px solid rgba(245, 176, 65, 0.4);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 0.95;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 36px;
  color: rgba(255, 247, 237, 0.9);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  font-weight: 600;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  color: var(--cocoa);
  background: var(--gold);
}

.btn-gold:hover {
  background: var(--maize);
}

.btn-orange {
  color: var(--white);
  background: var(--orange);
}

.btn-orange:hover {
  background: var(--chile);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  color: var(--cocoa);
  background: var(--white);
}

.btn-dark {
  color: var(--white);
  background: var(--cocoa);
}

.btn-dark:hover {
  background: var(--brown);
}

.btn-light {
  color: var(--cocoa);
  background: var(--cream);
  border: 1px solid rgba(201, 74, 35, 0.25);
}

.btn-light:hover {
  border-color: var(--orange);
  background: rgba(245, 176, 65, 0.25);
}

.hero-cards {
  max-width: 672px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-card {
  padding: 18px;
  color: rgba(255, 247, 237, 0.86);
  background: rgba(40, 24, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 800;
}

.hero-card strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.slide-dots {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.dot.is-active {
  width: 36px;
  background: var(--gold);
}

.menu-section {
  position: relative;
  padding: 96px 20px;
  background: var(--cream);
}

.menu-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  background: linear-gradient(to bottom, rgba(40, 24, 14, 0.1), transparent);
}

.menu-card {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.menu-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(245, 176, 65, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(194, 74, 35, 0.08), transparent 45%);
}

.menu-panel,
.menu-copy {
  position: relative;
  z-index: 1;
  padding: 48px;
}

.menu-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--cocoa);
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-panel .section-kicker {
  color: var(--gold);
}

.menu-panel h2,
.contact-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 900;
}

.menu-panel p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 247, 237, 0.85);
  font-size: 16px;
  line-height: 1.75;
}

.menu-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-copy p {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(40, 24, 14, 0.75);
  font-size: 18px;
  line-height: 1.75;
}

.menu-copy .btn {
  width: fit-content;
}

.contact-section {
  padding: 96px 20px;
  background: var(--white);
}

.contact-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.contact-shell > .contact-intro,
.contact-cards {
  min-width: 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-intro p:not(.section-kicker) {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(40, 24, 14, 0.7);
  font-size: 18px;
  line-height: 1.75;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 20px;
  background: var(--cream);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(40, 24, 14, 0.08);
}

.contact-card p {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--cocoa);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.contact-card span {
  display: block;
  margin-top: 12px;
  color: rgba(40, 24, 14, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.map-frame,
.contact-bar {
  grid-column: 1 / -1;
}

.map-frame {
  overflow: hidden;
  padding: 8px;
  background: var(--cocoa);
  border: 1px solid rgba(245, 176, 65, 0.25);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 448px;
  border: 0;
  border-radius: 24px;
}

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  color: rgba(255, 247, 237, 0.82);
  background: var(--cocoa);
  border-radius: 24px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.contact-bar span:last-child {
  color: var(--gold);
}

@media (max-width: 980px) {
  .nav-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions {
    justify-content: space-between;
  }

  .menu-card,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    padding: 14px;
  }

  .brand {
    gap: 12px;
  }

  .logo-wrap {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-address {
    font-size: 12px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-pill,
  .nav-links {
    width: 100%;
  }

  .nav-links {
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    padding-inline: 10px;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 154px);
  }

  .hero-content {
    padding: 64px 20px 88px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .menu-section,
  .contact-section {
    padding: 72px 16px;
  }

  .menu-card,
  .map-frame {
    border-radius: 24px;
  }

  .menu-panel,
  .menu-copy {
    padding: 32px 24px;
  }

  .contact-bar {
    display: block;
  }

  .contact-bar span:last-child {
    display: block;
    margin-top: 8px;
  }
}
