/* gastro.page — landing
   Distinct from any restaurant tenant site. Warm minimal SaaS look:
   off-white canvas, deep ink type, coral accent, generous whitespace. */

:root {
  --bg: #FAF7F2;
  --bg-tint: #F1ECE3;
  --ink: #14181B;
  --ink-soft: #4A5258;
  --ink-mute: #828A90;
  --line: #E6DFD3;
  --surface: #FFFFFF;
  --accent: #E85D3C;
  --accent-deep: #C84826;
  --accent-soft: #FFE6DD;
  --emerald: #1F6F4A;
  --emerald-soft: #DCEFE3;
  --shadow-sm: 0 1px 2px rgba(20, 24, 27, .06);
  --shadow-md: 0 8px 24px -8px rgba(20, 24, 27, .12);
  --shadow-lg: 0 24px 60px -20px rgba(20, 24, 27, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --gut: clamp(1.1rem, 4vw, 2.2rem);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--bg-tint);
  padding: .12em .42em;
  border-radius: 6px;
  color: var(--ink);
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-narrow { max-width: 760px; }

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #1E653A;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--accent); color: var(--bg); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: .25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: .7rem .25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-cta {
    margin-top: .6rem;
    text-align: center;
  }
}

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(232, 93, 60, .55);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(232, 93, 60, .14), transparent 60%),
    radial-gradient(45% 40% at 90% 20%, rgba(31, 111, 74, .10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, transparent 100%);
}
.hero-inner { max-width: 880px; }

.eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 1.4rem;
  color: var(--ink);
}
h1 .accent { color: var(--accent); }

.lede {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 2rem;
}

.cta-row {
  display: flex;
  gap: .9rem;
  flex-wrap: nowrap;
  margin-bottom: 2.4rem;
}
@media (max-width: 400px) {
  .cta-row { gap: .55rem; }
  .cta-row .btn { padding: .85rem 1rem; font-size: .9rem; }
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem 2rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: .95rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.4rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* ── Sections ───────────────────────────────────────────────── */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.section-tinted { background: var(--bg-tint); }
.section-cta {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(232, 93, 60, .10), transparent 60%),
    var(--bg);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.4rem);
  text-align: center;
}
.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .8rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .9rem;
  color: var(--ink);
}
.sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ── Showcase ───────────────────────────────────────────────── */

.showcase-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.show-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.show-art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
}
.show-pill {
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.show-card--landser .show-art {
  background:
    linear-gradient(135deg, #2D2A26 0%, #4A413A 100%),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,.04) 8px 9px);
}
.show-card--castello .show-art {
  background:
    linear-gradient(160deg, #6B1E2A 0%, #A2384B 60%, #D89A6E 100%);
}
.show-card--gjakova .show-art {
  background:
    linear-gradient(140deg, #3A1F08 0%, #7A3D14 60%, #C8741E 100%);
}
.show-card--med .show-art {
  background:
    linear-gradient(135deg, #1F4D3C 0%, #2E7A5C 60%, #C0E1B4 100%);
}

.show-body { padding: 1.2rem 1.3rem 1.4rem; }
.show-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 .25rem;
  letter-spacing: -.01em;
}
.show-meta {
  margin: 0 0 .7rem;
  color: var(--ink-mute);
  font-size: .92rem;
}
.show-link {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
}

/* ── Steps ──────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}
.step {
  background: var(--surface);
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: .9rem;
  font-size: 1.1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}
.step p { margin: 0; color: var(--ink-soft); }

/* ── Plans ──────────────────────────────────────────────────── */

.plans {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.plan--pro {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
@media (max-width: 640px) {
  .plan--pro { transform: none; }
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}

.plan-head { margin-bottom: 1.2rem; }
.plan-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 .4rem;
  letter-spacing: -.01em;
}
.plan-price {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: var(--ink-mute);
}
.plan-price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--ink);
  margin-right: .25rem;
}
.plan-tag {
  margin: 0;
  font-size: .9rem;
  color: var(--ink-mute);
}

.plan-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .55rem;
  flex: 1;
}
.plan-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-size: .98rem;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
  transform-origin: left;
}
.plan-list li.muted { color: var(--ink-mute); }
.plan-list li.muted::before {
  border-color: var(--ink-mute);
  width: 10px;
  height: 0;
  border-bottom: 2px solid var(--ink-mute);
  border-left: 0;
  transform: none;
  top: .85em;
}

.plan-cta { width: 100%; }

.plans-note {
  text-align: center;
  margin-top: 1.6rem;
  color: var(--ink-mute);
  font-size: .92rem;
}

/* ── FAQ ────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: .6rem;
}
.faq details {
  background: var(--surface);
  border-radius: var(--radius);
  padding: .2rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-mute);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
}

/* ── Form ───────────────────────────────────────────────────── */

.lead-form {
  background: var(--surface);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.05rem;
}

.lead-form .row {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 540px) {
  .lead-form .row { grid-template-columns: 1fr; }
}

.field { display: grid; gap: .4rem; }
.field > span,
.field > legend {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .95rem;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 60, .15);
}

.field input[type="file"] {
  padding: .45rem .5rem .45rem .55rem;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: .94rem;
}
.field input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .5rem .9rem;
  margin-right: .8rem;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-deep);
}
.field input[type="file"]:focus::file-selector-button {
  border-color: var(--accent);
}

.field-radio {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.radio {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .98rem;
  color: var(--ink-soft);
  cursor: pointer;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.radio input {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 auto;
}
.radio > span { line-height: 1.2; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: .2rem 0 0;
  font-size: .94rem;
  min-height: 1.4em;
}
.form-status.is-ok { color: var(--emerald); }
.form-status.is-err { color: var(--accent-deep); }
.field--hidden { display: none; }

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: #C9D0D5;
  padding: 3rem 0 2.2rem;
}
.site-footer a { color: #C9D0D5; }
.site-footer a:hover { color: var(--accent); }

.footer-inner {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  align-items: start;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.brand--footer .brand-mark { color: rgba(255,255,255,0.88); }
.brand--footer .brand-word { color: #fff; }

.footer-tag {
  margin: .55rem 0 0;
  color: var(--ink-mute);
  font-size: .92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  font-size: .96rem;
}

.footer-meta {
  margin: 0;
  text-align: right;
  color: var(--ink-mute);
  font-size: .9rem;
}
@media (max-width: 760px) {
  .footer-meta { text-align: left; }
}

/* ── Legal pages (prose) ────────────────────────────────────── */

.legal {
  padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-head {
  max-width: 720px;
  margin: 0 auto 2rem;
}
.legal-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: .5rem;
}
.legal-head .sub { color: var(--ink-mute); }

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -.01em;
  margin: 2.4rem 0 .7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.6rem 0 .4rem;
  color: var(--ink);
}
.prose p,
.prose ul,
.prose address {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-style: normal;
}
.prose ul {
  padding-left: 1.4rem;
}
.prose ul li { margin-bottom: .35rem; }
.prose strong { color: var(--ink); }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--accent-deep); }

.todo {
  display: inline-block;
  background: #FFF5C2;
  color: #6B5500;
  padding: .05em .45em;
  border-radius: 4px;
  font-weight: 600;
  font-size: .92em;
}

/* ── Reduced motion ─────────────────────────────────────────── */

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