/* HAKA Hospitality — shared stylesheet */
:root {
  --ink: #17211d;
  --muted: #60716a;
  --line: #d9e2de;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --teal: #007f73;
  --coral: #d94f3d;
  --mustard: #d6a226;
  --green: #2f8f57;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--paper);
  padding-bottom: 68px; /* room for mobile bar */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Nav ───────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--line);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}
.nav-links a {
  color: #31423b;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: .15s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  padding: 9px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 0;
  font-weight: 700;
  font-size: 15px;
  color: #31423b;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a.active { color: var(--teal); }
.mobile-nav .btn { margin-top: 10px; text-align: center; justify-content: center; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--teal); box-shadow: 0 8px 18px rgba(0,127,115,.2); }
.btn-primary:hover { background: #00695f; }
.btn-secondary { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.14); }
.btn-secondary:hover { background: rgba(255,255,255,.24); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-dark { background: #17211d; color: #fff; }
.btn-dark:hover { background: #222f28; }

/* ── Layout ────────────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: 72px 22px; }
.section.soft { background: var(--soft); }
.section.dark { background: #17211d; color: #fff; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > *:first-child { order: 2; }
.split.flip > *:last-child { order: 1; }

/* ── Typography ────────────────────────────────────────── */
.kicker {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 8px;
}
h1 { font-size: clamp(34px, 5.5vw, 68px); line-height: 1.01; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -.01em; }
h3 { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.2; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; color: #31423b; font-weight: 700; font-size: 14px; }
.card li { padding: 7px 0; border-top: 1px solid #edf2ef; }
.card .learn-more { display: inline-block; margin-top: 16px; color: var(--teal); font-weight: 800; font-size: 14px; }
.card .learn-more:hover { text-decoration: underline; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}
.icon-box.teal { background: var(--teal); }
.icon-box.coral { background: var(--coral); }
.icon-box.mustard { background: var(--mustard); }
.icon-box.green { background: var(--green); }

/* ── Check list ────────────────────────────────────────── */
.check-list { display: grid; gap: 12px; margin: 20px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; color: #31423b; font-weight: 700; font-size: 15px; }
.tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  margin-top: 1px;
}

/* ── CTA bands ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal), #1a4a44);
  color: #fff;
  border-radius: 12px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.84); font-size: 17px; }

.store-band {
  background: linear-gradient(135deg, #17211d, #007f73);
  color: #fff;
  border-radius: 12px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(23,33,29,.14);
}
.store-band h3 { font-size: clamp(20px, 2.8vw, 28px); margin: 0 0 8px; }
.store-band p { margin: 0; color: rgba(255,255,255,.84); font-size: 16px; }

/* ── Media frames ──────────────────────────────────────── */
.media-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 50px rgba(23,33,29,.1);
}
.media-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.media-frame.contain { background: #10241f; padding: 20px; }
.media-frame.contain img { object-fit: contain; background: #10241f; }

/* ── Slideshow ─────────────────────────────────────────── */
.slide-box {
  position: relative;
  overflow: hidden;
  background: #10241f;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 22px 50px rgba(23,33,29,.14);
  min-height: 360px;
}
.slide-item {
  position: absolute;
  inset: 20px;
  opacity: 0;
  transition: opacity .9s ease;
}
.slide-item.active { opacity: 1; }
.slide-item img { width: 100%; height: 100%; object-fit: contain; }

/* ── Hero (home) ───────────────────────────────────────── */
.home-hero {
  background: #17211d;
  color: #fff;
  overflow: hidden;
}
.home-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
/* mobile: slideshow always on top */
.home-hero-inner > *:first-child { order: 1 !important; }
.home-hero-inner > *:last-child  { order: 2 !important; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.1);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.home-hero h1 { color: #fff; max-width: 600px; margin-bottom: 18px; }
.home-hero .lead { color: rgba(255,255,255,.86); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.proof strong { display: block; font-size: 26px; line-height: 1; color: #fff; }
.proof span { display: block; margin-top: 5px; color: rgba(255,255,255,.64); font-size: 13px; font-weight: 700; }

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  background: #17211d;
  color: #fff;
  padding: 60px 22px 72px;
}
.page-hero-inner { max-width: 1180px; margin: 0 auto; }
.page-hero .kicker { color: rgba(255,255,255,.55); }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 54px); max-width: 680px; margin: 12px 0 16px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 600px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }

/* ── Process steps ─────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  border-top: 4px solid var(--teal);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--coral);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── Gallery ───────────────────────────────────────────── */
.gallery-band {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111a17;
  padding: 18px 0;
}
.gallery-band:hover .film-strip { animation-play-state: paused; }
.film-strip {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: filmMove var(--film-dur, 60s) linear infinite;
  padding: 0 16px;
}
.film-frame {
  flex-shrink: 0;
  width: 240px;
  background: #1f2a26;
  border-radius: 8px;
  padding: 16px 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .2s;
}
.film-frame:hover { border-color: rgba(255,255,255,.22); }
.film-frame img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; }
@keyframes filmMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Gallery grid (gallery page) ──────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.gallery-thumb {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--soft);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-thumb:hover img { transform: scale(1.04); }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.88);
  z-index: 2000;
}
.lightbox.open { display: flex; }
.lightbox-dialog { position: relative; max-width: min(1100px, 96vw); }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lightbox-close {
  position: absolute;
  top: -14px; right: -14px;
  width: 36px; height: 36px;
  border: 0; border-radius: 8px;
  background: #fff; color: #111;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

/* ── Contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.contact-panel {
  background: #17211d;
  color: #fff;
  border-radius: 12px;
  padding: 32px;
}
.contact-panel p { color: rgba(255,255,255,.76); margin: 12px 0 0; font-size: 16px; }
.contact-line { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-line strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.46); margin-bottom: 5px; }
.contact-line a { color: #fff; font-weight: 700; }
.contact-line a:hover { text-decoration: underline; }
.contact-line p { margin: 0; color: rgba(255,255,255,.76); font-size: 15px; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.form-alert { margin-bottom: 18px; padding: 12px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.form-alert.success { color: #155f38; background: #e7f6ed; border: 1px solid #b9e2c9; }
.form-alert.error { color: #8a2b22; background: #fdecea; border: 1px solid #f3b7af; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; color: #31423b; font-weight: 800; font-size: 13px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--teal);
  outline-offset: -1px;
  border-color: var(--teal);
}
textarea { min-height: 120px; resize: vertical; }

/* ── WhatsApp float ────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 88px;
  right: 18px;
  z-index: 200;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37,211,102,.55);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (min-width: 961px) {
  .wa-float { bottom: 28px; right: 28px; }
  /* desktop: flip hero — text left, slideshow right */
  .home-hero-inner > *:first-child { order: 2 !important; }
  .home-hero-inner > *:last-child  { order: 1 !important; }
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: #17211d;
  color: #e7efeb;
  padding: 28px 22px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}
.footer-brand { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.footer-copy { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.75); font-weight: 700; transition: .15s; }
.footer-links a:hover { color: #fff; }
.footer-legal { text-align: right; color: rgba(255,255,255,.45); font-size: 12px; }

/* ── Mobile bottom bar ─────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 6px 4px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.mobile-bar-links { display: flex; justify-content: space-around; }
.mbl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  min-width: 52px;
}
.mbl svg { width: 22px; height: 22px; stroke: currentColor; }
.mbl.active { color: var(--teal); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .home-hero-inner { grid-template-columns: 1fr; padding: 56px 22px 64px; }
  .slide-box { min-height: 260px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip > * { order: unset; }
  .process, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band, .store-band { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
  .mobile-bar { display: block; }
}

@media (max-width: 560px) {
  body { padding-bottom: 60px; }
  .section { padding: 52px 16px; }
  .page-hero { padding: 44px 16px 56px; }
  .home-hero-inner { padding: 48px 16px 56px; }
  .hero-proof { grid-template-columns: 1fr 1fr; gap: 14px; }
  .process, .grid-4 { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .card, .step, .contact-form, .contact-panel { padding: 20px; }
  .cta-band { padding: 22px; }
  .film-frame { width: 180px; }
  .film-frame img { height: 130px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox { padding: 12px; }
  .lightbox img { max-height: 82vh; }
  .lightbox-close { top: 6px; right: 6px; }
  .brand span { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .store-band { grid-template-columns: 1fr; gap: 16px; }
}
