:root{
  --radius-sm: .75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --stroke-1: 1px;

  --shadow-sm: 0 .35rem 1rem rgba(0,0,0,.10);
  --shadow-md: 0 .6rem 1.6rem rgba(0,0,0,.14);
  --shadow-lg: 0 1rem 2.6rem rgba(0,0,0,.22);

  --section-pad: clamp(2.25rem, 4vw, 4.25rem);

  --stick-top: 18px;
  --container-max: 1100px;

  --header-h: 84px;
}

/* LIGHT (primary overridden via vendor CI <style> in base.html) */
:root[data-theme="light"]{
  --c-bg: #ffffff;
  --c-bg-alt: var(--c-bg-alt, #fff7f1);
  --c-surface: #ffffff;
  --c-surface-2: rgba(0,0,0,.02);

  --c-text: #14161a;
  --c-muted: rgba(20,22,26,.70);
  --c-border: rgba(20,22,26,.10);

  --c-hero-text: #ffffff;

  --footer-bg: var(--footer-bg, #0f141a);
  --footer-text: rgba(255,255,255,.90);
  --footer-muted: rgba(255,255,255,.66);
  --footer-border: rgba(255,255,255,.12);
  --footer-pill: rgba(255,255,255,.06);
  --footer-pill-border: rgba(255,255,255,.14);
}

/* DARK */
:root[data-theme="dark"]{
  --c-bg: #0b1016;
  --c-bg-alt: #0d141c;

  --c-surface: #121a24;
  --c-surface-2: rgba(255,255,255,.05);

  --c-text: rgba(255,255,255,.92);
  --c-muted: rgba(255,255,255,.74);
  --c-border: rgba(255,255,255,.16);

  --c-hero-text: #ffffff;

  --footer-bg: #070b10;
  --footer-text: rgba(255,255,255,.90);
  --footer-muted: rgba(255,255,255,.68);
  --footer-border: rgba(255,255,255,.12);
  --footer-pill: rgba(255,255,255,.07);
  --footer-pill-border: rgba(255,255,255,.16);
}

:root[data-theme="light"]{ color-scheme: light; }
:root[data-theme="dark"]{ color-scheme: dark; }

html{ scroll-behavior: smooth; }
body{ background: var(--c-bg); color: var(--c-text); }
img{ max-width:100%; height:auto; }
a{ color: inherit; }
.text-muted{ color: var(--c-muted) !important; }

section[id]{ scroll-margin-top: calc(var(--stick-top) + var(--header-h) + 18px); }

.skip-link{
  position:absolute;
  left:-999px;
  top:.75rem;
  padding:.5rem .75rem;
  background:#000;
  color:#fff;
  z-index:2000;
  border-radius: var(--radius-sm);
}
.skip-link:focus{ left:.75rem; }

.offcanvas{
  background: var(--c-surface);
  color: var(--c-text);
  border-right: var(--stroke-1) solid var(--c-border);
}
:root[data-theme="dark"] .btn-close{ filter: invert(1) grayscale(1); }

.btn-outline-secondary{
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn-outline-secondary:hover{
  background: var(--c-surface-2);
  border-color: var(--c-border);
  color: var(--c-text);
}

/* Header stick */
.site-header{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--stick-top);
  z-index: 1030;
  pointer-events: none;
  transform: translateY(0);
  opacity: 1;
  transition: transform .22s ease, opacity .22s ease;
}
.site-header .navbar{ pointer-events:auto; background: transparent; }

.header-stick{
  max-width: var(--container-max);
  background: rgba(255,255,255,.18);
  border: var(--stroke-1) solid rgba(255,255,255,.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: .55rem .75rem;
  box-shadow: var(--shadow-lg);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
:root[data-theme="dark"] .header-stick{
  background: rgba(18,26,36,.74);
  border-color: rgba(255,255,255,.14);
}

.site-header.is-at-top .header-stick{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.24);
}
:root[data-theme="dark"] .site-header.is-at-top .header-stick{
  background: rgba(18,26,36,.62);
  border-color: rgba(255,255,255,.12);
}

.site-header:not(.is-at-top) .header-stick{
  background: rgba(255,255,255,.94);
  border-color: var(--c-border);
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] .site-header:not(.is-at-top) .header-stick{
  background: rgba(18,26,36,.94);
  border-color: rgba(255,255,255,.16);
}

.site-header.is-hidden{
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
}

.brand-chip{
  background: rgba(255,255,255,.88);
  padding: .30rem .55rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .brand-chip{
  background: rgba(255,255,255,.10);
  border: var(--stroke-1) solid rgba(255,255,255,.14);
}

.btn-menu{
  border: var(--stroke-1) solid rgba(255,255,255,.35);
  color:#fff;
  background: rgba(0,0,0,.18);
  border-radius: var(--radius-pill);
  padding: .45rem .8rem;
}
:root[data-theme="dark"] .btn-menu{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.btn-icon{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: inline-grid;
  place-items: center;
  border: var(--stroke-1) solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.10);
  color: #fff;
}
.site-header:not(.is-at-top) .btn-icon{
  border-color: var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text);
}

.btn-pill{
  border-radius: var(--radius-pill);
  padding: .45rem .85rem;
  font-weight: 900;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.btn-pill--ghost{
  border: var(--stroke-1) solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.12);
  color: #fff;
}
.site-header:not(.is-at-top) .btn-pill--ghost{
  border-color: var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text);
}
:root[data-theme="dark"] .btn-pill--ghost{
  border-color: rgba(255,255,255,.18);
}

.btn-pill--accent{
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  border: 0;
  color: #101215;
}
:root[data-theme="dark"] .btn-pill--accent{ color: #0b0e12; }

@media (max-width: 767.98px){
  .site-header{
    top: 0;
    transform: none !important;
    opacity: 1 !important;
  }
  .header-stick{
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0,0,0,.22);
    border: 0;
    padding: .6rem 1rem;
  }
}

/* Hero layering */
.hero{
  position: relative;
  min-height: min(88vh, 860px);
  display: grid;
  place-items: end start;
  padding-top: calc(var(--stick-top) + var(--header-h));
  color: var(--c-hero-text);
  isolation: isolate;
}
.hero-media{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index: 0;
}
.hero-inner{
  position: relative;
  z-index: 3;
  padding-bottom: clamp(2.25rem, 6vw, 4.75rem);
}
.hero-carousel{
  position:absolute;
  inset:0;
  z-index: 0;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{ height: 100%; }
.hero-carousel img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next{ z-index: 2; width: 10%; }
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon{
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
  opacity: .95;
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 20% 22%, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.62) 72%, rgba(0,0,0,.78) 100%);
}
.hero-panel{ max-width: 780px; }

.hero-logo{
  --logo-sm: 105px;
  --logo-md-min: calc(var(--logo-sm) * 2); /* >= 2x */
  --logo-md-max: calc(var(--logo-sm) * 4); /* <= 4x */

  --logo-radius: 18px;
  --img-radius: 12px;

  width: var(--logo-sm);
  height: auto;                 /* allow non-square ratio */
  border-radius: var(--logo-radius);
  background: white;
  box-shadow: var(--shadow-lg);
  border: var(--stroke-1) solid rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px){
  .hero-logo{
    width: clamp(var(--logo-md-min), 14vw, var(--logo-md-max));
    padding: clamp(0.5rem, 1vw, 1rem);
    --logo-radius: clamp(18px, 1.2vw, 32px);
    --img-radius: clamp(12px, 0.9vw, 24px);
  }
}

.hero-logo__img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;          /* no cropping for non-square logos */
  border-radius: var(--img-radius);
}

.hero-title{
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -.02em;
  margin: 0 0 .75rem 0;
  text-shadow: 0 8px 22px rgba(0,0,0,.58);
}
.hero-lead{
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 1.25rem;
  text-shadow: 0 6px 18px rgba(0,0,0,.58);
}
.btn-primary{
  background: var(--c-primary);
  border-color: var(--c-primary);
  border-radius: var(--radius-pill);
  font-weight: 900;
}
.btn-primary:hover{ filter: brightness(.92); }
.btn-hero-secondary{
  border-radius: var(--radius-pill);
  border: var(--stroke-1) solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 900;
}
.btn-hero-secondary:hover{ background: rgba(255,255,255,.20); }
.btn-hero-tertiary{
  border-radius: var(--radius-pill);
  border: var(--stroke-1) solid rgba(255,255,255,.62);
  background: rgba(0,0,0,.12);
  color: #fff;
  font-weight: 900;
}
.btn-hero-tertiary:hover{ background: rgba(0,0,0,.18); }
.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap: .6rem 1rem;
  margin-top: 1.1rem;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  text-shadow: 0 4px 14px rgba(0,0,0,.58);
}
.hero-meta i{ margin-right: .35rem; }

/* Sections */
.section{ padding-block: var(--section-pad); }
.section--alt{
  background: var(--c-bg-alt);
  border-top: var(--stroke-1) solid rgba(0,0,0,.03);
  border-bottom: var(--stroke-1) solid rgba(0,0,0,.03);
}
:root[data-theme="dark"] .section--alt{ border-color: rgba(255,255,255,.06); }

.block-sep{
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 20%, rgba(0,0,0,.10) 80%, transparent 100%);
  margin-bottom: 1.25rem;
}
:root[data-theme="dark"] .block-sep{
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.14) 20%, rgba(255,255,255,.14) 80%, transparent 100%);
}
.section-head{ margin-bottom: 1.25rem; }
.section-title{ font-weight: 950; letter-spacing: -.01em; margin: 0; }
.section-subtitle{ color: var(--c-muted); margin: .35rem 0 0 0; }

.eyebrow{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--c-muted);
  font-weight: 950;
  margin-bottom: .5rem;
}
.block-title{ font-weight: 950; letter-spacing: -.01em; margin-bottom: .6rem; }
.block-text{ color: var(--c-muted); margin-bottom: 1.1rem; }

.media-img{
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.media-frame{
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--stroke-1) solid var(--c-border);
  background: var(--c-surface);
}
.media-frame iframe{ width: 100%; height: 100%; border: 0; }
.media-cover{ width:100%; height:100%; object-fit: cover; }

.feature-card{
  background: var(--c-surface);
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  height: 100%;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.06);
}
.feature-icon{
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  display:grid;
  place-items:center;
  background: color-mix(in srgb, var(--c-primary) 16%, transparent);
  border: var(--stroke-1) solid color-mix(in srgb, var(--c-primary) 22%, transparent);
  color: var(--c-primary);
  font-size: 1.3rem;
  margin-bottom: .75rem;
}
.feature-title{ font-weight: 950; margin-bottom: .15rem; }
.feature-text{ color: var(--c-muted); font-size: .95rem; }

.checkline{
  display:flex;
  flex-wrap:wrap;
  gap: .6rem 1rem;
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: .95rem;
}
.checkline i{ color: var(--c-primary); margin-right: .35rem; }

.overlap-card{
  position: relative;
  z-index: 2;
  background: var(--c-surface);
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  width: 100%;
}
@media (min-width: 992px){
  .overlap-card{ margin-left: -56px; padding: 1.6rem; }
}

.mini-grid{
  display:flex;
  flex-wrap:wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.mini-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: .35rem .7rem;
  background: var(--c-surface-2);
  color: var(--c-muted);
  font-size: .92rem;
}

.image-frame{
  padding: 14px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  border: var(--stroke-1) solid color-mix(in srgb, var(--c-primary) 18%, transparent);
  box-shadow: 0 .8rem 2rem rgba(0,0,0,.08);
}
.mini-point{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  padding: .95rem 1rem;
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.05);
}
.mini-point i{ color: var(--c-primary); font-size: 1.1rem; margin-top: .15rem; }

.menu-card{
  background: var(--c-surface);
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.06);
  max-width: 760px;
}
.menu-item{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding: .8rem 0;
  border-top: var(--stroke-1) dashed rgba(0,0,0,.14);
}
:root[data-theme="dark"] .menu-item{ border-top-color: rgba(255,255,255,.16); }
.menu-item:first-of-type{ border-top: 0; padding-top: .25rem; }
.price{ font-weight: 950; color: var(--c-primary); white-space: nowrap; }

.form-card, .card-soft{
  background: var(--c-surface);
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.06);
  padding: 1.25rem;
}

.cta-band{
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  align-items:center;
  justify-content: space-between;
  background: var(--c-surface);
  border: var(--stroke-1) solid color-mix(in srgb, var(--c-primary) 18%, transparent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 .35rem 1rem rgba(0,0,0,.06);
}
.btn-accent{
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  border: 0;
  color: #101215;
  border-radius: var(--radius-pill);
  font-weight: 950;
}

.menu-link{
  text-decoration:none;
  font-weight:950;
  padding: .6rem .75rem;
  border-radius: var(--radius-md);
}
.menu-link:hover{ background: var(--c-surface-2); }

.icon-pill{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: var(--radius-pill);
  border: var(--stroke-1) solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  text-decoration:none;
}

.rating-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .55rem .8rem;
  border-radius: var(--radius-pill);
  border: var(--stroke-1) solid var(--c-border);
  background: var(--c-surface);
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.06);
}
.stars i{ color: #f5b301; }

.review-card{
  background: var(--c-surface);
  border: var(--stroke-1) solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.06);
  padding: 1rem;
  display:flex;
  flex-direction: column;
  gap: .75rem;
}
.review-head{ display:flex; align-items:center; gap: .75rem; }
.avatar{
  width: 44px; height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: var(--stroke-1) solid var(--c-border);
}
.thumb{
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: var(--stroke-1) solid var(--c-border);
  margin-left: auto;
}
.review-stars i{ color: #f5b301; }

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: calc(var(--section-pad) * .85) 0;
}
.footer-top{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--stroke-1) solid var(--footer-border);
}
@media (max-width: 991.98px){
  .footer-top{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px){
  .footer-top{ grid-template-columns: 1fr; }
}
.footer-title{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 950;
  color: rgba(255,255,255,.82);
  margin-bottom: .75rem;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: .45rem;
}
.footer-links a{
  color: rgba(255,255,255,.80);
  text-decoration: none;
  display:inline-flex;
  align-items:center;
  gap: .45rem;
  padding: .2rem 0;
}
.footer-links a:hover{ color: #ffffff; }

.footer-note{ color: var(--footer-muted); font-size: .92rem; }

.icon-pill--footer{
  background: var(--footer-pill);
  border-color: var(--footer-pill-border);
  color: var(--footer-text);
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  gap: .6rem;
  justify-content: flex-end;
  padding-top: 1rem;
}
.footer-chip{
  text-decoration:none;
  color: rgba(255,255,255,.78);
  border: var(--stroke-1) solid var(--footer-pill-border);
  background: var(--footer-pill);
  padding: .45rem .75rem;
  border-radius: var(--radius-pill);
  display:inline-flex;
  align-items:center;
  gap: .5rem;
}
.footer-chip:hover{ color:#fff; background: rgba(255,255,255,.12); }
.footer-chip--button{ cursor: pointer; }

@media (prefers-reduced-motion: reduce){
  .site-header{ transition:none; }
}
