/* ==========================================================
   Santa Maria Food Truck – Tänavatoit OÜ
   Colours come straight off a taco: salsa, pickled onion,
   cheese sauce, lime, warm tortilla – plus the chalkboard.
   ========================================================== */
:root {
  --salsa: #d52b1e;
  --salsa-dark: #b0200f;
  --onion: #c0267a;
  --cheese: #ffc531;
  --lime: #8fbf2f;
  --tortilla: #fff6ea;
  --board: #1f2724;
  --chalk: #f4f1ea;
  --ink: #2a1d17;
  --muted: #6b5d55;
  --paper: #ffffff;
  --line: #efe4d6;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --section: clamp(72px, 9vw, 120px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--onion); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--f-hand);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--salsa);
  margin-bottom: .6rem;
}
.eyebrow--onion { color: var(--onion); }
.eyebrow--lime { color: var(--lime); }
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -.015em;
  line-height: 1.04;
  margin-bottom: 1.25rem;
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.6em;
  font: 700 1rem/1 var(--f-body);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--salsa { background: var(--salsa); color: #fff; box-shadow: 0 8px 20px -8px rgba(213,43,30,.7); }
.btn--salsa:hover { background: var(--salsa-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.top.is-solid { box-shadow: 0 6px 24px -12px rgba(42,29,23,.25); border-color: var(--line); }
.top__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 12px var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name {
  font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; color: var(--salsa);
}
.brand__sub {
  font-weight: 700; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink);
  margin-top: 4px; padding-left: 2px;
}

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav__list a:hover { background: var(--tortilla); color: var(--salsa); }
.nav__list a[aria-current] { color: var(--salsa); }
.nav__list .nav__cta { background: var(--salsa); color: #fff; margin-left: 8px; padding-inline: 20px; }
.nav__list .nav__cta:hover { background: var(--salsa-dark); color: #fff; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; }
.top__call { display: none; }
.ext { display: inline-block; vertical-align: -.1em; flex: none; }

@media (max-width: 880px) {
  .nav__toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: var(--tortilla); border: 0; color: var(--ink); cursor: pointer; border-radius: 10px;
  }
  .nav__bars, .nav__bars::before, .nav__bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s ease;
  }
  .nav__bars { position: relative; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -6px; }
  .nav__bars::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* full-screen sheet under the header */
  .nav__list {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .nav__list.is-open { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav__list > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
  .nav__list.is-open > li { opacity: 1; transform: none; }
  .nav__list.is-open > li:nth-child(2) { transition-delay: .04s; }
  .nav__list.is-open > li:nth-child(3) { transition-delay: .08s; }
  .nav__list.is-open > li:nth-child(4) { transition-delay: .12s; }
  .nav__list.is-open > li:nth-child(5) { transition-delay: .16s; }
  .nav__list.is-open > li:nth-child(6) { transition-delay: .2s; }
  .nav__list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 2px; border-radius: 0;
    font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.01em;
  }
  .nav__list a:hover, .nav__list a[aria-current] { background: none; color: var(--salsa); }
  .nav__list > li:nth-child(5) { border-bottom: 0; padding-top: 20px; }
  .nav__list .nav__cta {
    justify-content: center; margin: 0; padding: 16px; border-radius: 999px;
    font-family: var(--f-body); font-size: 1.1rem;
  }
  .nav__list .nav__meta { border-bottom: 0; margin-top: auto; padding-top: 28px; display: grid; gap: 4px; }
  .nav__list .nav__meta a {
    display: block; padding: 8px 2px;
    font-family: var(--f-body); font-weight: 700; font-size: 1.05rem;
  }
  .nav__meta small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 881px) { .nav__meta { display: none; } }
@media (max-width: 880px) {
  .top__call {
    display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px;
    border-radius: 10px; background: var(--salsa); color: #fff;
    font-weight: 700; font-size: .95rem; text-decoration: none;
  }
  .top__call:active { background: var(--salsa-dark); }
}
@media (max-width: 360px) { .top__call span { display: none; } .top__call { padding: 0 14px; } }

/* ---------- Hero: photo mosaic + round badge ---------- */
.hero {
  position: relative;
  padding: 12px 12px 0;
}
.hero__mosaic {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);
  grid-template-rows: repeat(2, minmax(0,1fr));
  gap: 12px;
  height: clamp(572px, calc(var(--app-h, 100svh) - var(--header-h)), 992px);
  padding-bottom: 12px;
}
.hero__mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 16px; }
.hero__mosaic .m1 { grid-row: 1 / 3; object-position: 50% 30%; }
.hero__mosaic .m2 { grid-column: 2; grid-row: 1; }
.hero__mosaic .m3 { grid-column: 2; grid-row: 2; object-position: 50% 40%; }
.hero__mosaic .m4 { grid-column: 3; grid-row: 1 / 3; object-position: 50% 20%; }

.hero__badge {
  position: absolute; left: 50%; top: calc(50% + 6px); transform: translate(-50%, -50%);
  width: min(560px, 46vw); aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255,255,255,.55), 0 30px 70px -20px rgba(42,29,23,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 clamp(40px, 5vw, 72px);
  animation: pop .7s cubic-bezier(.2,.8,.2,1.15) both .1s;
}
.hero__badge::before {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  border: 2px dashed rgba(213,43,30,.35); pointer-events: none;
}
.hero__eyebrow { font-family: var(--f-hand); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--onion); margin-bottom: .5rem; transform: rotate(-3deg); }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.02em;
  color: var(--salsa);
  margin-bottom: 1rem;
}
.hero__lede { font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--muted); max-width: 26em; margin-bottom: 1.4rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.92); } }

/* ---------- Perks strip ---------- */
.perks { padding: clamp(48px, 7vw, 80px) 0 0; }
.perks__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
/* subgrid keeps icons, titles and texts on the same lines across items */
.perks__list li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.perks__list li > * { align-self: start; }
.perks svg {
  width: 52px; height: 52px; margin: 0 auto 12px;
  fill: none; stroke: var(--salsa); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.perks h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin-bottom: .3rem; }
.perks p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- About ---------- */
.about { padding: var(--section) 0; }
.about__grid { display: grid; gap: clamp(40px, 6vw, 88px); grid-template-columns: 1.2fr .8fr; align-items: center; }
.about__text p:not(.eyebrow):not(.lead):not(.chalk-line) { color: var(--muted); }
.chalk-line {
  font-family: var(--f-hand); color: var(--onion);
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05;
  margin: 1.6rem 0 1.4rem; transform: rotate(-2deg); transform-origin: left;
}
.contact-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-chips li { flex: 0 1 auto; }
.contact-chips a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-chips svg { flex: none; width: 24px; height: 24px; color: var(--salsa); }
.contact-chips a:hover { border-color: var(--salsa); transform: translateY(-2px); }
.contact-chips small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); line-height: 1.2; }

.about__photo { margin: 0 0 0 auto; position: relative; z-index: 0; max-width: 460px; }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--cheese); border-radius: 6px; z-index: -1; }
.about__photo img { border-radius: 6px; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; box-shadow: 0 30px 60px -24px rgba(42,29,23,.45); }
.about__photo figcaption {
  position: absolute; left: -20px; bottom: 32px;
  background: var(--ink); color: rgba(255,255,255,.8);
  padding: 12px 18px; border-radius: 4px; font-size: .9rem; line-height: 1.3;
}
.about__photo strong { font-family: var(--f-hand); font-weight: 400; font-size: 1.45rem; display: block; color: var(--cheese); }

/* ---------- Street Foodie band ---------- */
.foodie { padding: 0 var(--gutter); }
.foodie__inner {
  max-width: var(--wrap); margin-inline: auto;
  background: var(--salsa); color: #fff; border-radius: 28px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.foodie__inner > div { max-width: 620px; }
.foodie__kicker { font-family: var(--f-hand); font-size: 1.5rem; margin-bottom: .2rem; color: #ffe08a; }
.foodie__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.foodie p:last-child { margin: 0; opacity: .92; }
.foodie .wrap { padding-inline: clamp(24px, 5vw, 64px); }

/* ---------- Offer / chalkboard ---------- */
.offer { padding: var(--section) 0; margin-top: var(--section); background: var(--tortilla); }
.offer__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.offer__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }

.board {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.07), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.05), transparent 50%),
    var(--board);
  color: var(--chalk);
  border-radius: 14px;
  border: 12px solid #6b4a32;
  box-shadow: inset 0 0 60px rgba(0,0,0,.45), 0 30px 50px -25px rgba(42,29,23,.55);
  padding: clamp(26px, 4.5vw, 50px);
}
.board__hello { font-family: var(--f-hand); font-size: 1.5rem; color: var(--lime); margin-bottom: 1.1rem; transform: rotate(-2deg); transform-origin: left; }
.board__title { font-family: var(--f-hand); font-weight: 400; font-size: clamp(2.2rem, 4vw, 2.9rem); color: #fff; margin: 0 0 .6rem; line-height: 1; }
.board__title::after {
  content: ""; display: block; width: 3.2em; height: 6px; margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M2 5c20-4 40-4 58-1s40 2 58-2' fill='none' stroke='%23ffc531' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left / contain;
}
.board__list { margin-bottom: 1.8rem; }
.board__list li {
  font-family: var(--f-hand); font-size: clamp(1.35rem, 2.3vw, 1.6rem); line-height: 1.15;
  padding: .45em 0 .45em 1.4em; position: relative;
  border-bottom: 1px dashed rgba(244,241,234,.16);
}
.board__list li::before { content: "✱"; position: absolute; left: 0; top: .5em; font-size: .8em; color: var(--cheese); }
.board__list li span { display: block; font-family: var(--f-body); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,241,234,.6); margin-top: .25em; }
.board__foot { font-family: var(--f-hand); font-size: 1.15rem; color: rgba(244,241,234,.7); margin: 0; }

.offer__photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: 0 30px 50px -25px rgba(42,29,23,.5); }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(48px, 7vw, 80px); }
.way { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -28px rgba(42,29,23,.5); transition: transform .3s ease; }
.way:hover { transform: translateY(-4px); }
.way img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.way__body { padding: 22px 24px 26px; }
.way h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; margin-bottom: .5rem; }
.way p { color: var(--muted); margin: 0; font-size: 1rem; }

.events { margin-top: clamp(48px, 7vw, 80px); text-align: center; }
.events__title { font-family: var(--f-hand); font-weight: 400; font-size: 2rem; color: var(--onion); margin-bottom: 1rem; }
.events__list {
  max-width: 980px; margin: 0 auto 1.5rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.45;
}
.events__list li { display: inline; }
.events__list li + li::before { content: "/"; margin: 0 .45em; color: var(--salsa); font-weight: 400; opacity: .55; }
.events__where { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { padding: 0 0 var(--section); }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-head .lead { max-width: 640px; color: var(--muted); margin: 0; }

.gallery-teaser { padding: var(--section) 0; }
.gallery-teaser__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.gallery-teaser__head .h2 { margin: 0; }
.gallery-teaser__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-teaser__grid a { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 5; }
.gallery-teaser__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-teaser__grid a:hover img { transform: scale(1.05); }

.cta-band { background: var(--tortilla); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery__grid { columns: 3 280px; column-gap: 14px; }
.gallery__grid li { break-inside: avoid; margin-bottom: 14px; }
.gallery__grid a { display: block; border-radius: 10px; overflow: hidden; background: var(--tortilla); }
.gallery__grid img { width: 100%; transition: transform .5s ease; }
.gallery__grid a:hover img { transform: scale(1.04); }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20,14,11,.94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82dvh; width: auto; object-fit: contain; border-radius: 10px; align-self: end; }
.lightbox__cap { padding: 14px 72px 24px; text-align: center; margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s ease;
}
.lightbox__btn:hover { background: var(--salsa); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; background: var(--tortilla); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--salsa); font-size: 1.8rem; font-weight: 500; line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; background: var(--board); color: var(--chalk); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact .h2 { color: #fff; }
.contact__list { margin: 2rem 0; }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(244,241,234,.14); }
.contact__list dt { color: rgba(244,241,234,.6); font-size: .95rem; padding-top: .3em; }
.contact__list dd { margin: 0; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.4rem); word-break: break-word; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--cheese); }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.links a {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: rgba(244,241,234,.06); border: 1px solid rgba(244,241,234,.14);
  transition: background-color .2s ease, border-color .2s ease;
}
.links a:hover { background: rgba(244,241,234,.12); border-color: rgba(244,241,234,.3); }
.links__icon { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; }
.links__icon--fb { background: #1877f2; color: #fff; }
.links__icon--sm { background: var(--salsa); }
.links__text { display: flex; flex-direction: column; line-height: 1.25; font-size: .88rem; color: rgba(244,241,234,.6); min-width: 0; }
.links__text strong { font-size: 1.05rem; color: #fff; }
.links__arrow { margin-left: auto; color: rgba(244,241,234,.5); transition: transform .2s ease, color .2s ease; }
.links a:hover .links__arrow { transform: translate(2px, -2px); color: var(--cheese); }

.inquiry { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.inquiry__title { font-family: var(--f-display); font-weight: 800; font-size: 2rem; margin-bottom: 1.2rem; color: var(--salsa); }
.field-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 14px; }
.field { display: block; margin-bottom: 14px; min-width: 0; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--tortilla);
  transition: border-color .2s ease, background-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--salsa); background: #fff; box-shadow: 0 0 0 3px rgba(213,43,30,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.inquiry__error { color: var(--salsa-dark); font-weight: 600; font-size: .95rem; }
.inquiry__note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.inquiry__error a { color: inherit; }
.inquiry__ok { color: #2f6b1f; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.inquiry__done { outline: none; }
.inquiry__done p:not(.inquiry__ok) { color: var(--muted); }
.inquiry__done a { color: var(--ink); font-weight: 600; }
.inquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.foot { background: #171d1b; color: rgba(244,241,234,.7); padding: 56px 0 48px; font-size: .95rem; }
.foot__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.foot p { margin: 0; }
.foot a { text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.foot a:hover { color: #fff; }
.foot__brand { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.foot__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 1.02rem; }
.foot__contact span { opacity: .35; }
.foot__fb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(244,241,234,.08); color: #fff; margin-top: 4px; }
.foot__fb:hover { background: #1877f2; }
.foot__small { font-size: .85rem; opacity: .6; padding-top: 16px; margin-top: 6px; border-top: 1px solid rgba(244,241,234,.12); width: 100%; max-width: 420px; }
.foot__tag { font-size: .9rem; opacity: .7; max-width: 420px; text-wrap: balance; }


/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[style*="--d"] { transition-delay: var(--d); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .offer__grid, .faq__inner, .contact__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .ways { grid-template-columns: 1fr; }
  .way { display: grid; grid-template-columns: 40% 1fr; }
  .way img { height: 100%; aspect-ratio: auto; }
  .offer__photo { max-height: 520px; }
  .perks__list { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .gallery-teaser__grid { grid-template-columns: repeat(2, 1fr); }
  .about__photo { margin: 0 18px 18px 0; }

  /* hero: photos on top, badge overlaps below */
  .hero { display: flex; flex-direction: column; min-height: calc(var(--app-h, 100svh) - var(--header-h) - 1px); padding-bottom: clamp(24px, calc(var(--app-h, 100svh) * .15), 128px); }
  .hero__mosaic { flex: 1 1 0; height: auto; min-height: 160px; max-height: calc(var(--app-h, 100svh) * .5); padding-bottom: 0; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)); }
  .hero__mosaic .m1 { grid-row: 1 / 3; grid-column: 1; }
  .hero__mosaic .m2 { grid-column: 2; grid-row: 1; }
  .hero__mosaic .m3 { grid-column: 2; grid-row: 2; }
  .hero__mosaic .m4 { display: none; }
  .hero__badge {
    position: relative; left: auto; top: auto; transform: none;
    width: min(100%, 560px); aspect-ratio: auto; border-radius: 28px;
    margin: -64px auto 0; padding: 36px 24px 32px;
    box-shadow: 0 24px 50px -24px rgba(42,29,23,.45);
    animation: none;
  }
  .hero__badge::before { border-radius: 20px; inset: 10px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 0; }
  .brand__name { font-size: 1.4rem; }
  .hero__mosaic { gap: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__photo figcaption { left: 12px; bottom: 16px; }
  .way { display: block; }
  .way img { aspect-ratio: 16 / 10; height: auto; }
  /* compact form: pairs stay side by side, tighter spacing */
  .contact { padding: 56px 0 64px; }
  .contact__grid { gap: 32px; }
  .inquiry { padding: 20px 16px 18px; border-radius: 16px; margin-inline: -4px; }
  .inquiry__title { font-size: 1.6rem; margin-bottom: .8rem; }
  .field-row { gap: 0 10px; }
  .field { margin-bottom: 10px; }
  .field span { font-size: .82rem; margin-bottom: 4px; }
  .field input, .field textarea { padding: 10px 12px; border-radius: 10px; font-size: 16px; }
  .field input[type="date"] { min-height: 46px; }
  .field textarea { min-height: 84px; }
  .inquiry__note { font-size: .8rem; }
  .contact__list div { grid-template-columns: 1fr; gap: 2px; }
  .contact-chips li { flex: 1 1 100%; }
  .links { grid-template-columns: 1fr; }
  .perks svg { width: 44px; height: 44px; }
  .perks h3 { font-size: 1.1rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__cap { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Short phones (iPhone SE, small Androids): keep the headline card and both buttons on the first screen */
@media (max-width: 960px) {
  .is-short .hero { padding-bottom: clamp(16px, calc(var(--app-h, 100svh) * .14), 100px); }
  .is-short .hero__mosaic { min-height: 110px; }
  .is-short .hero__badge { margin-top: -48px; padding: 22px 18px 20px; }
  .is-short .hero__eyebrow { font-size: 1.2rem; margin-bottom: .3rem; }
  .is-short .hero__title { font-size: 2rem; margin-bottom: .6rem; }
  .is-short .hero__lede { font-size: .95rem; margin-bottom: 1rem; }
  .is-short .hero__actions { gap: 8px; }
  .is-short .hero__actions .btn { min-height: 46px; padding-block: .65em; }
}


/* Privacy page */
.legal { padding-bottom: clamp(56px, 8vw, 96px); }
.legal__inner { max-width: 760px; }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.2rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.legal h4 { font-weight: 700; font-size: 1.02rem; margin: 1.2rem 0 .4rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal p { margin: 0 0 .8rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--salsa); }
.inquiry__note a { color: inherit; }
.foot__small a { text-decoration: underline; }

/* Consent bar */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 640px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background: #171d1b; color: rgba(244,241,234,.85);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.55);
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; font-size: .92rem; line-height: 1.45; }
.consent__text a { color: #fff; }
.consent__btn { flex: none; min-height: 44px; padding-inline: 22px; }
@media (max-width: 520px) {
  .consent { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* Two-tone wordmark: "Tako" in salsa red, "mobiil" in ink */
.brand__name { color: var(--ink); }
.brand__tako { color: var(--salsa); }
.foot__brand .brand__tako { color: #ff6b5e; }

/* About: single call to action */
.about__cta { margin-top: 4px; }

/* Consent checkbox in the inquiry form */
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: .92rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--salsa); cursor: pointer; }
.consent-check a { color: var(--ink); }
