/*
 * Starter styles for the public site. Replace freely, or build your own CSS with any tool
 * (Tailwind, Sass, Vite...) and reference the output in views/layouts/landing.php.
 *
 * Rebranding: change the tokens below (light + dark). Everything else, including the module
 * stylesheets (assets/modules/<module>/*.css), reads from them.
 *
 * Shape rule: interactive controls (buttons, chips, badges) are pill-shaped, form inputs use
 * --radius, panels/images/cards use --radius-lg.
 */
:root {
  color-scheme: light dark;
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-surface-2: #f1f1f3;
  --color-text: #18181b;
  --color-muted: #5f5f69;
  --color-line: #e4e4e7;
  --color-line-strong: #c9c9d0;
  --color-primary: #c2410c;
  --color-primary-hover: #9a3412;
  --color-primary-text: #ffffff;
  --color-primary-soft: #fdf0e9;
  --color-link: #b13c0b;
  --color-success: #067647;
  --color-success-soft: #e8f7ef;
  --color-danger: #b42318;
  --color-danger-soft: #fdeceb;
  --color-footer-bg: #18181b;
  --color-footer-text: #c9c9d0;
  --shadow-panel: 0 1px 2px rgb(24 24 27 / .04), 0 8px 24px rgb(24 24 27 / .06);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #111113;
    --color-surface: #19191c;
    --color-surface-2: #222226;
    --color-text: #f4f4f5;
    --color-muted: #a8a8b3;
    --color-line: #2e2e34;
    --color-line-strong: #45454d;
    --color-primary: #fb923c;
    --color-primary-hover: #fdba74;
    --color-primary-text: #1c0a02;
    --color-primary-soft: #2a1a10;
    --color-link: #fdba74;
    --color-success: #4ade80;
    --color-success-soft: #0f2a1a;
    --color-danger: #f87171;
    --color-danger-soft: #2d1414;
    --color-footer-bg: #0b0b0d;
    --color-footer-text: #a8a8b3;
    --shadow-panel: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

/* base (also restores what a CSS reset such as Tailwind's preflight removes) */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:where(h1, h2, h3, h4) { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
:where(p, ul, ol, dl, blockquote, pre, table) { margin-block: 0 1em; }
:where(ul, ol) { padding-left: 1.4em; }
:where(ul) { list-style: disc; } :where(ol) { list-style: decimal; }
:where(small) { font-size: .875em; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
::selection { background: var(--color-primary); color: var(--color-primary-text); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--color-text); color: var(--color-bg); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--color-muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; color: var(--color-muted); max-width: 65ch; }
.page-title { margin-bottom: 8px; }
.page-intro { color: var(--color-muted); max-width: 65ch; margin-bottom: 32px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer; background: transparent; color: inherit;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-primary:disabled { opacity: 1; background: var(--color-surface-2); color: var(--color-muted); }
.btn-primary { background: var(--color-primary); color: var(--color-primary-text); }
.btn-primary:hover:not(:disabled) { background: var(--color-primary-hover); }
.btn-secondary { border-color: var(--color-line-strong); color: var(--color-text); }
.btn-secondary:hover:not(:disabled) { border-color: var(--color-text); }
.btn-link { padding: 4px 0; min-height: 0; border: 0; border-radius: 0; font-weight: 500; color: var(--color-muted); text-decoration: underline; text-underline-offset: .18em; }
.btn-link:hover { color: var(--color-text); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* alerts */
.alert { padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; border: 1px solid transparent; }
.alert-success { background: var(--color-success-soft); color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 25%, transparent); }
.alert-error { background: var(--color-danger-soft); color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 25%, transparent); }

/* forms: label above control, helper/error below */
:where(input:not([type=checkbox], [type=radio], [type=hidden], [type=submit], [type=range], [type=file]), select, textarea) {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-weight: 400; color: var(--color-text);
  background: var(--color-surface); border: 1px solid var(--color-line-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s; }
:where(textarea) { min-height: 96px; resize: vertical; }
:where(input, select, textarea)::placeholder { color: var(--color-muted); opacity: 1; }
:where(input, select, textarea):hover { border-color: var(--color-muted); }
:where(input, select, textarea):focus-visible { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent); }
:where(input, select, textarea)[aria-invalid="true"] { border-color: var(--color-danger); }
:where(select) { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input[type=checkbox], input[type=radio] { accent-color: var(--color-primary); width: 18px; height: 18px; margin: 0; flex: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.field__label { display: block; font-weight: 600; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field__hint { font-size: .85rem; color: var(--color-muted); font-weight: 400; }
.field-error { color: var(--color-danger); font-size: .85rem; font-weight: 500; }
.checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.checkbox input { margin-top: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--color-line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--color-text); text-decoration: none; }
.site-logo img { max-height: 40px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--color-text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { background: var(--color-surface-2); }
.site-nav .is-active > a { color: var(--color-primary); }
.site-nav li { position: relative; }
.site-nav li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 6px; flex-direction: column; gap: 0;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow-panel); }
.site-nav li ul a { border-radius: 6px; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: flex; }
.site-header__actions { display: flex; gap: 8px; align-items: center; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--color-line-strong);
  border-radius: 999px; color: var(--color-text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cart-link:hover { border-color: var(--color-text); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: var(--color-text); }
.nav-toggle span:last-child, .nav-toggle span:last-child::before, .nav-toggle span:last-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; content: ""; border-radius: 2px; }
.nav-toggle span:last-child { top: 21px; } .nav-toggle span:last-child::before { top: -7px; left: 0; } .nav-toggle span:last-child::after { top: 7px; left: 0; }

/* footer */
.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 64px 0 28px; margin-top: 72px; font-size: .95rem; }
.site-footer a { color: #fafafa; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer__name { display: block; color: #fafafa; font-size: 1.15rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 48px; padding-top: 20px; font-size: .85rem; }
.social-links { display: flex !important; flex-wrap: wrap; gap: 16px !important; margin-top: 16px !important; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }

/* sections */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(460px, 78dvh, 780px);
  padding: 96px 0 72px; color: #fafafa; overflow: hidden;
  background: linear-gradient(to top, rgb(12 12 14 / .78), rgb(12 12 14 / .2) 70%), var(--hero-bg, linear-gradient(160deg, #3f3f46, #18181b)) center / cover; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero__inner { max-width: var(--container); }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; margin: 0 0 16px; }
.hero__subtitle { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 48ch; color: rgb(250 250 250 / .88); margin: 0 0 28px; }
.hero .btn-primary { background: #fafafa; color: #18181b; }
.hero .btn-primary:hover { background: #e4e4e7; }
.page-header { padding-top: 56px; }
.prose { max-width: 70ch; }
.prose :where(h2, h3) { margin-top: 1.6em; }
.prose :where(img) { border-radius: var(--radius-lg); }
.image-text { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.image-text--right { grid-template-columns: 1fr 1.1fr; }
.image-text--right img { order: 2; }
.image-text img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.cta { background: var(--color-primary-soft); }
.cta .container { display: grid; justify-items: start; gap: 4px; }
.cta h2 { max-width: 22ch; }
.cta p { color: var(--color-muted); max-width: 60ch; }
.cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; margin-top: 32px; }
.feature { border-top: 2px solid var(--color-text); padding-top: 20px; }
.feature__icon { font-size: 1.75rem; line-height: 1; margin-bottom: 14px; }
.feature h3 { font-size: 1.125rem; margin-bottom: 6px; }
.feature p { color: var(--color-muted); margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 6px; }
.card__icon { font-size: 28px; }
.faq details { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--color-muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--color-muted); margin: 0 0 20px; max-width: 65ch; }
.opening-hours .hours-table { margin-top: 16px; }
.hours-table { border-collapse: collapse; min-width: min(100%, 380px); }
.hours-table th, .hours-table td { text-align: left; padding: 10px 32px 10px 0; border-bottom: 1px solid var(--color-line); font-weight: 400; }
.hours-table th { color: var(--color-muted); }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 700; color: var(--color-text); }
.hours-exceptions { padding-left: 1.2em; }
.open-state { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .875rem; }
.open-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-state.is-open { background: var(--color-success-soft); color: var(--color-success); }
.open-state.is-closed { background: var(--color-danger-soft); color: var(--color-danger); }
.contact-info .card a { font-weight: 500; }

/* empty states, pagination, breadcrumb, chips */
.empty-state { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 56px 24px;
  border: 1px dashed var(--color-line-strong); border-radius: var(--radius-lg); background: var(--color-surface); }
.empty-state__title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.empty-state__text { color: var(--color-muted); margin: 0 0 12px; max-width: 48ch; }
.error-page { text-align: center; }
.error-page__code { font-size: 64px; font-weight: 800; margin: 0; color: var(--color-muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 48px 0 0; justify-content: center; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--color-line); color: var(--color-text); text-decoration: none; font-weight: 500; }
.pagination a:hover { border-color: var(--color-text); }
.pagination span { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--color-muted); margin: 0 0 20px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-text); text-decoration: underline; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border: 1px solid var(--color-line-strong); border-radius: 999px; color: var(--color-text);
  text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.chip:hover { border-color: var(--color-text); }
.chip[aria-current] { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price del { color: var(--color-muted); font-weight: 400; margin-right: 6px; }
.price--sale [data-price-value] { color: var(--color-danger); }
.badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
  background: var(--color-primary); color: var(--color-primary-text); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 800px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-header__inner { gap: 12px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-line); padding: 12px 20px 20px; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav li ul { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 12px; background: none; }
  .grid-2, .grid-3, .grid-4, .image-text, .image-text--right, .form-row { grid-template-columns: 1fr; }
  .image-text--right img { order: 0; }
  .section { padding: 48px 0; }
  .hero { padding: 72px 0 48px; }
}

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