/* ===============================
   UMAI SUSHI BAR – STYLE
   Mobile-first refactor
================================== */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --ink: #0c0c0d;
  --deep: #111113;
  --surface: #171718;
  --line: rgba(255, 255, 255, .08);
  --gold: #c9922a;
  --gold-lt: #e3b063;
  --cream: #f0e8da;
  --muted: rgba(240, 232, 218, .55);
  --white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── RESET ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.t-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

.t-body {
  color: var(--muted);
  font-weight: 300;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 480px) {
  .wrap {
    padding: 0 28px;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding: 0 80px;
  }
}

/* ── ANNOUNCEMENT BAR ──────────────────────────────── */
.ann-bar {
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-align: center;
  padding: 9px 16px;
}

.ann-bar strong {
  font-weight: 500;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: .06em;
  font-size: 13px;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  padding: 10px 22px;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 10px 22px;
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .25);
}

.btn-sm {
  font-size: 12px;
  padding: 8px 18px;
}

/* ── STICKY CTA RAIL ────────────────────────────────── */
/* Mobile: 3 icon-buttons + no label */
.cta-rail {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 13, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-rail .label {
  display: none;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

@media (min-width: 600px) {
  .cta-rail {
    padding: 10px 40px;
    gap: 10px;
  }

  .cta-rail .label {
    display: block;
  }
}

/* ── HEADER ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 12, 13, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  opacity: .92;
}

.logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .04em;
}

@media (min-width: 480px) {
  .logo-wrap img {
    width: 36px;
    height: 36px;
  }

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

/* Nav — hidden on mobile, shown on tablet+ */
nav {
  display: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}

nav a:hover {
  color: var(--cream);
}

/* Header CTA — hidden on mobile, shown on sm+ */
.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: flex;
    gap: 8px;
  }
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 92vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.5);
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

@media (min-width: 768px) {
  .hero-bg {
    filter: brightness(.55);
  }

  .hero:hover .hero-bg {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(12, 12, 13, .0) 0%,
      rgba(12, 12, 13, .25) 40%,
      rgba(12, 12, 13, .8) 70%,
      rgba(12, 12, 13, .97) 100%);
}

.hero-content {
  position: relative;
  padding: 60px 0 100px;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    padding: clamp(60px, 8vh, 120px) 0 clamp(80px, 10vh, 140px);
    max-width: 660px;
  }
}

.hero-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 146, 42, .35);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero-tag {
    margin-bottom: 20px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 8vw, 78px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(240, 232, 218, .7);
  font-weight: 300;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-sub {
    margin-top: 20px;
    font-size: 16px;
    max-width: 480px;
  }
}

/* Hero actions — stacked on mobile, row on sm+ */
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 36px;
    gap: 12px;
  }
}

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

@media (min-width: 480px) {
  .hero-actions .btn {
    width: auto;
  }
}

.hero-addr {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240, 232, 218, .4);
}

@media (min-width: 768px) {
  .hero-addr {
    margin-top: 28px;
    font-size: 12px;
  }
}

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section {
    padding: clamp(72px, 10vw, 130px) 0;
  }
}

.section-sm {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .section-sm {
    padding: clamp(48px, 6vw, 80px) 0;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 5vw, 64px);
  }
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.1;
}

/* ── MOMENTS STRIP ──────────────────────────────────── */
/* Mobile: single column stacked */
.moments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .moments {
    grid-template-columns: repeat(3, 1fr);
  }
}

.moment {
  background: var(--surface);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .25s;
}

@media (min-width: 768px) {
  .moment {
    padding: 36px 28px 32px;
  }
}

.moment:hover {
  background: #1d1d1f;
}

.moment h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--cream);
}

.moment p {
  font-size: 14px;
  color: var(--muted);
}

.moment-link {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  transition: gap .2s;
}

.moment:hover .moment-link {
  gap: 10px;
}

/* ── CARDS GRID ─────────────────────────────────────── */
/* Mobile: single column */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .25s;
}

.card:hover {
  border-color: rgba(255, 255, 255, .18);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: brightness(.9);
  transition: filter .4s, transform .6s var(--ease);
}

.card:hover .card-img {
  filter: brightness(1);
  transform: scale(1.02);
}

.card-img-wrap {
  overflow: hidden;
}

.card-body {
  padding: 20px 18px 18px;
}

@media (min-width: 768px) {
  .card-body {
    padding: 28px 24px 24px;
  }
}

.card-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  margin: 8px 0 10px;
}

@media (min-width: 768px) {
  .card-body h3 {
    font-size: 22px;
  }
}

.card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Two-column wide cards — single col on mobile */
.cards-wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .cards-wide {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
  }
}

/* ── HOURS & DELIVERY ───────────────────────────────── */
/* Mobile: single column stacked */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-cell {
  background: var(--surface);
  padding: 28px 22px;
}

@media (min-width: 768px) {
  .info-cell {
    padding: 40px 36px;
  }
}

.info-cell h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 12px 0 18px;
}

@media (min-width: 768px) {
  .info-cell h3 {
    font-size: 28px;
    margin: 14px 0 20px;
  }
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hours-list li {
  font-size: 15px;
  color: var(--muted);
}

.hours-list li strong {
  color: var(--cream);
  font-weight: 400;
}

.hours-note {
  font-size: 12px;
  color: rgba(240, 232, 218, .3);
  margin-top: 14px;
  letter-spacing: .04em;
}

.delivery-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.delivery-btns .btn {
  justify-content: flex-start;
}

/* ── MAP SECTION ─────────────────────────────────────── */
/* Mobile: info first, then map */
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .map-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
  }
}

.map-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  display: block;
  filter: grayscale(40%) contrast(1.1);
}

@media (min-width: 768px) {
  .map-frame iframe {
    height: 380px;
  }
}

.map-info h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.map-info p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.map-info .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: var(--cream);
  font-weight: 300;
  user-select: none;
  transition: color .2s;
}

@media (min-width: 768px) {
  .faq-item summary {
    padding: 22px 0;
  }
}

.faq-item summary:hover {
  color: var(--white);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .3s var(--ease);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .faq-item p {
    padding: 0 0 22px;
    max-width: 680px;
  }
}

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 56px 20px;
}

@media (min-width: 768px) {
  .cta-band {
    padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 80px);
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 7vw, 60px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--gold-lt);
}

.cta-band p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

/* CTA band buttons — stacked on mobile, row on sm+ */
.cta-band-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.cta-band-btns .btn {
  justify-content: center;
}

@media (min-width: 540px) {
  .cta-band-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .cta-band-btns .btn {
    width: auto;
  }
}

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding: 48px 0 96px; /* extra bottom padding for cta-rail */
}

@media (min-width: 768px) {
  footer {
    padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 110px);
  }
}

/* Mobile: single column → 2 cols → 4 cols */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  width: 40px;
  border-radius: 4px;
  margin-bottom: 14px;
  opacity: .85;
}

@media (min-width: 768px) {
  .footer-brand img {
    width: 44px;
    margin-bottom: 16px;
  }
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--cream);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 24px;
    gap: 12px;
  }
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(240, 232, 218, .3);
  letter-spacing: .04em;
}

/* ── FLOATING WHATSAPP ──────────────────────────────── */
/* Hidden on mobile (cta-rail covers it), visible on sm+ */
.float-wa {
  display: none;
}

@media (min-width: 481px) {
  .float-wa {
    display: flex;
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 99;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
    transition: transform .2s var(--ease), box-shadow .2s;
  }

  .float-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, .5);
  }
}

.float-wa svg {
  width: 26px;
  height: 26px;
  fill: white;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  opacity: 0;
  animation: fadeUp .9s var(--ease) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: .1s }
.hero-content > *:nth-child(2) { animation-delay: .25s }
.hero-content > *:nth-child(3) { animation-delay: .38s }
.hero-content > *:nth-child(4) { animation-delay: .5s }
.hero-content > *:nth-child(5) { animation-delay: .6s }

/* ── DELIVERY GATING ─────────────────────────────────── */
.delivery-app-btn.is-closed {
  opacity: .45;
  cursor: not-allowed;
}

/* ── UTILITIES ────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }

/* ── MODAL SYSTEM ────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease;
  padding: 16px;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  z-index: 2;
  transform: scale(.92);
  opacity: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1),
              opacity .3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-content img {
  width: 100%;
  max-width: 486px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  transition: transform .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover {
  transform: scale(1.1);
}