/* ============================================================
   Stevie's Original – stivisbar.de
   Cinematic luxury redesign
   Obsidian-Pine #0B110D · Cognac Gold #DCA55A · Cream #F2EBE1
   Bodoni Moda (display) · Outfit (text)
   ============================================================ */

:root {
  --bg: #16181C;
  --surface: #1E2126;
  --surface-2: #262A30;
  --glass: rgba(20, 22, 26, 0.72);
  --text: #F2F3F5;
  --muted: #9CA2AA;
  --accent: #E8B15A;
  --accent-2: #F4C877;
  --border: rgba(242, 243, 245, 0.08);
  --border-2: rgba(242, 243, 245, 0.16);
  --grad: linear-gradient(100deg, #F4C877 0%, #E08C3A 55%, #E8B15A 100%);

  --font-head: "Bodoni Moda", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --container: min(90%, 1360px);
  --radius: 6px;
  --ease: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-lenis { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--accent); color: var(--bg); padding: 12px 20px; border-radius: var(--radius); }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Modern FX layers ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad); z-index: 300; }
.cursor-glow { position: fixed; top: 0; left: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(232,177,90,.15), transparent 62%); mix-blend-mode: screen; opacity: 0; transition: opacity .6s var(--ease); will-change: transform; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 160; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Typography ---------- */
.h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.3rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--text); }
.h2 em, .hero__title em, .footer__name em {
  font-style: italic;
  background: var(--grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.eyebrow { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); display: inline-block; }

.section { padding: clamp(5rem, 10vw, 10rem) 0; position: relative; }
.section--surface { background: var(--surface); }
.section__head { max-width: 720px; margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 18px 36px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease); white-space: nowrap; will-change: transform;
}
.btn > span { position: relative; z-index: 2; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent-2); transform: translateY(101%); transition: transform .5s var(--ease); z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: var(--accent); color: var(--bg); }
.btn--gold:hover { color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--nav { padding: 13px 28px; background: var(--accent); color: var(--bg); font-size: .72rem; }
.btn--light { background: var(--accent); color: var(--bg); }
.btn--block { width: 100%; }
.btn__spinner { width: 16px; height: 16px; border: 2px solid rgba(14,16,20,.35); border-top-color: var(--bg); border-radius: 50%; display: none; animation: spin .7s linear infinite; position: relative; z-index: 2; }
.btn.loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn svg { position: relative; z-index: 2; }
.btn--wa { background: #25D366; color: #08130B; }
.btn--wa::before { background: #1EBE5B; }
.btn--wa:hover { color: #08130B; }

/* ---- Social icons + contact CTA ---- */
.contact__cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.socials { display: flex; gap: 12px; }
.social {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text);
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease-out);
}
.social:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.socials--footer { margin-top: 6px; }
.socials--footer .social { width: 40px; height: 40px; color: var(--muted); }
.socials--footer .social:hover { color: var(--bg); }


/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 26px 0; transition: padding .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.nav__inner { width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled { padding: 14px 0; background: var(--glass); backdrop-filter: blur(14px); border-color: var(--border); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; flex: none; transition: background-color .4s var(--ease), color .4s var(--ease); }
.brand:hover .brand__mark { background: var(--accent); color: var(--bg); }
.brand__text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; letter-spacing: .01em; color: var(--text); }
.brand__logo { height: 46px; width: auto; mix-blend-mode: screen; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { font-size: .82rem; letter-spacing: .04em; color: var(--text); position: relative; opacity: .85; transition: opacity .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--accent); transition: width .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; width: 34px; height: 24px; position: relative; cursor: pointer; z-index: 120; }
.nav__toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav__toggle span:nth-child(1){top:1px;} .nav__toggle span:nth-child(2){top:11px;} .nav__toggle span:nth-child(3){top:21px;}
.nav.open .nav__toggle span:nth-child(1){ transform: translateY(10px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav.open .nav__toggle span:nth-child(3){ transform: translateY(-10px) rotate(-45deg); }

.nav__mobile { display: none; position: fixed; inset: 0; z-index: 110; background: var(--bg); flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 32px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.nav.open .nav__mobile { opacity: 1; pointer-events: auto; }
.nav__mobile a { font-family: var(--font-head); font-size: 2rem; color: var(--text); padding: 10px 0; }
.nav__mobile a:not(.btn) { border-bottom: 1px solid var(--border); width: 100%; }
.nav__mobile .btn { margin-top: 24px; font-family: var(--font-body); font-size: .8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(4rem, 9vw, 8rem); }
.hero::before { content: ""; position: absolute; left: -8%; bottom: -12%; width: 62vw; height: 62vh; background: radial-gradient(circle, rgba(232,177,90,.18), transparent 60%); z-index: 0; pointer-events: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__video.is-ready { opacity: 1; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh; border: 0; pointer-events: none; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,16,20,.62) 0%, rgba(14,16,20,.28) 35%, rgba(14,16,20,.86) 100%); }
.hero__content { width: var(--container); margin: 0 auto; max-width: 1100px; position: relative; z-index: 3; }
.hero__eyebrow { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.hero__title { font-family: var(--font-head); font-weight: 400; font-size: clamp(3rem, 8.5vw, 7rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 30px; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.28rem); font-weight: 300; max-width: 560px; margin-bottom: 42px; color: var(--text); opacity: .9; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__content > * { animation: heroUp 1s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: .1s; }
.hero__content > *:nth-child(2) { animation-delay: .22s; }
.hero__content > *:nth-child(3) { animation-delay: .34s; }
.hero__content > *:nth-child(4) { animation-delay: .46s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--border-2); border-radius: 20px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; background: var(--accent); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0);} 40%{opacity:1;} 80%,100%{opacity:0;transform:translate(-50%,14px);} }

/* ---------- Marquee (trust) ---------- */
.marquee { padding: clamp(2.4rem, 4vw, 3.6rem) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 4rem); font-style: italic; padding: 0 2.5rem; display: flex; align-items: center; gap: 2.5rem; color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee__item.fill { color: var(--accent); -webkit-text-stroke: 0; }
.marquee__item::after { content: "✳"; font-size: .5em; -webkit-text-stroke: 0; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: clamp(4rem, 7vw, 7rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(1.8rem, 3vw, 2.8rem); text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.1rem); color: var(--accent); line-height: 1; }
.stat__label { display: block; font-size: .84rem; letter-spacing: .03em; color: var(--muted); margin-top: 14px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.about__media { grid-column: 1 / span 5; position: relative; }
.mask { overflow: hidden; border-radius: var(--radius); }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__badge { position: absolute; bottom: -20px; right: -14px; background: var(--accent); color: var(--bg); font-family: var(--font-head); font-style: italic; font-size: 1.25rem; padding: 14px 24px; border-radius: var(--radius); }
.about__text { grid-column: 7 / span 6; }
.about__text .h2 { margin-bottom: 28px; }
.about__text p { color: var(--muted); margin-bottom: 20px; max-width: 520px; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.values li { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); border: 1px solid var(--border-2); border-radius: 999px; padding: 9px 17px; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.values li:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.about__intro { max-width: 860px; }
.about__intro .h2 { margin: 4px 0 26px; }
.about__intro p { color: var(--muted); margin-bottom: 20px; max-width: 660px; }
.about__banner { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: clamp(3rem, 6vw, 5rem); height: clamp(340px, 58vh, 640px); overflow: hidden; }
.about__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.about__banner .about__badge { position: absolute; right: clamp(1.2rem, 5vw, 4rem); bottom: clamp(1.2rem, 4vw, 2.4rem); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(4rem, 8vw, 8rem); }
.timeline__item { position: relative; padding-top: 34px; border-top: 1px solid var(--border-2); }
.timeline__year { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; color: var(--accent); display: block; line-height: 1; margin-bottom: 14px; }
.timeline__item p { color: var(--muted); font-size: .95rem; max-width: 300px; }

/* ---------- Services (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 22vw, 280px); gap: 16px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; transition: opacity .5s var(--ease); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,20,0) 30%, rgba(14,16,20,.88) 100%); }
.bento__item:hover img { transform: scale(1.06); }
.bento:hover .bento__item:not(:hover) { opacity: .45; }
.bento__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 2.5vw, 2.2rem); z-index: 2; }
.bento__title { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--text); margin-bottom: 8px; }
.bento__body p { color: var(--muted); font-size: .92rem; max-width: 360px; opacity: 0; max-height: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .5s var(--ease); }
.bento__item:hover .bento__body p { opacity: 1; max-height: 120px; transform: translateY(0); }
.bento__i1 { grid-column: span 2; grid-row: span 2; }
.bento__i2 { grid-column: span 2; }
.bento__i3 { grid-column: span 2; }

/* ---------- Events ---------- */
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4; display: block; }
.event img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,20,0) 40%, rgba(14,16,20,.9) 100%); }
.event:hover img { transform: scale(1.07); }
.event__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px; z-index: 2; }
.event__label h3 { font-family: var(--font-head); font-size: 1.8rem; }
.event__label span { display: block; font-size: .85rem; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.event:hover .event__label span { opacity: 1; transform: translateY(0); }
.event__arrow { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 50%; display: grid; place-items: center; color: var(--text); z-index: 2; transition: background-color .4s var(--ease), color .4s var(--ease); }
.event:hover .event__arrow { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* ---------- Gallery ---------- */
.masonry { columns: 4; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin-bottom: 16px; overflow: hidden; border-radius: var(--radius); }
.masonry__item img { width: 100%; transition: transform 1s var(--ease), filter .8s var(--ease); filter: grayscale(.15) brightness(.92); }
.masonry__item:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }

/* ---------- Testimonials ---------- */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 34px; transition: border-color .5s var(--ease), transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.testi__card:hover { border-color: var(--border-2); transform: translateY(-6px); }
.testi__mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--accent); display: block; margin-bottom: 18px; }
.testi__quote { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--text); margin-bottom: 24px; }
.testi__name { display: block; font-weight: 500; font-size: .9rem; color: var(--text); }
.testi__role { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 860px; margin: 0 auto; }
.accordion { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__head { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--text); padding: 28px 44px 28px 0; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color .3s var(--ease); }
.acc__head:hover { color: var(--accent); }
.acc__icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 18px; height: 2px; background: var(--accent); transition: transform .4s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.active .acc__icon::after { transform: rotate(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc__panel p { padding: 0 0 28px; color: var(--muted); max-width: 640px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -6%; top: -8%; width: 42vw; height: 42vw; background: radial-gradient(circle, rgba(232,177,90,.1), transparent 62%); pointer-events: none; z-index: 0; }
.contact .container { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.contact__lead { color: var(--muted); margin: 26px 0 36px; max-width: 400px; }
.contact__meta { list-style: none; display: grid; gap: 18px; }
.contact__meta li { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 14px; }
.contact__meta span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.contact__meta a, .contact__meta li { color: var(--text); font-size: 1rem; }
.contact__meta a:hover { color: var(--accent); }

.form { background: var(--surface); padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid var(--border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.f-field { position: relative; margin-bottom: 30px; }
.f-field input, .f-field textarea, .f-field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--border-2);
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 16px 0 10px; transition: border-color .3s var(--ease);
}
.f-field textarea { resize: vertical; min-height: 90px; }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus { outline: none; border-color: var(--accent); }
.f-field label { position: absolute; left: 0; top: 16px; color: var(--muted); pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease), letter-spacing .3s var(--ease); }
.f-field input:focus ~ label, .f-field input:not(:placeholder-shown) ~ label,
.f-field textarea:focus ~ label, .f-field textarea:not(:placeholder-shown) ~ label {
  top: -8px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
/* top labels for select + date */
.f-field--top label { position: static; display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.f-field select { color: var(--text); }
.f-field select option { background: var(--surface); color: var(--text); }
.f-field input[type="date"] { color: var(--text); }
.f-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.7) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
.f-field.invalid input, .f-field.invalid textarea { border-color: #c98080; }
.form .g-recaptcha { margin: 8px 0 20px; }
.form__status { margin-top: 16px; font-size: .95rem; min-height: 22px; }
.form__status.ok { color: var(--accent-2); } .form__status.err { color: #e29191; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(4rem, 8vw, 7rem) 0 0; }
.footer__hero { font-family: var(--font-head); font-size: clamp(3rem, 13vw, 11rem); line-height: .9; letter-spacing: -0.02em; color: var(--text); margin-bottom: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__tag { color: var(--muted); font-size: .95rem; max-width: 280px; }
.footer__col h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: .95rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bar { border-top: 1px solid var(--border); }
.footer__bar-inner { width: var(--container); margin: 0 auto; padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--muted); }
.footer__bar-inner a:hover { color: var(--accent); }

/* ---------- Sticky CTA ---------- */
.sticky-cta { position: fixed; bottom: 26px; right: 26px; z-index: 90; background: var(--accent); color: var(--bg); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 15px 26px; border-radius: 999px; box-shadow: 0 16px 40px rgba(0,0,0,.4); opacity: 0; transform: translateY(20px) scale(.95); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .4s var(--ease); }
.sticky-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sticky-cta:hover { background: var(--accent-2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.mask-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.mask-reveal.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Legal pages ---------- */
.legal-page { background: var(--bg); }
.legal-header { position: sticky; top: 0; z-index: 100; background: var(--glass); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 16px 0; }
.legal-header__inner { width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); }
.legal__wrap { max-width: 820px; width: var(--container); margin: 0 auto; }
.legal__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.5rem); color: var(--text); line-height: 1.02; margin-bottom: 44px; }
.legal__h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.55rem; color: var(--accent); margin: 40px 0 14px; }
.legal__block { color: var(--muted); margin-bottom: 10px; }
.legal__block a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__block a:hover { color: var(--accent-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .masonry { columns: 3; }
  .nav__links, .btn--nav { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile { display: flex; }
  .about__media { grid-column: 1 / span 6; }
  .about__text { grid-column: 1 / span 12; }
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__i1, .bento__i2, .bento__i3 { grid-column: span 2; grid-row: span 1; }
  .cards, .events__grid, .testi__grid, .timeline { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about__badge { right: 0; }
}
@media (max-width: 620px) {
  .masonry { columns: 2; column-gap: 12px; }
  .masonry__item { margin-bottom: 12px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .sticky-cta { left: 16px; right: 16px; text-align: center; }
  .footer__bar-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mask-reveal { clip-path: inset(0 0 0 0); }
  .hero__video { display: none; }
}


/* ---- Consent gate (form) ---- */
.consent-gate { border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface-2); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.consent-gate p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.consent-gate .btn { align-self: flex-start; }

/* ---- Cookie consent banner ---- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-2); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .7s var(--ease-out), opacity .5s ease, visibility .5s;
}
.cookie.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie__inner { display: flex; align-items: center; gap: 28px; padding: 22px 26px; max-width: 1360px; margin: 0 auto; }
.cookie__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.cookie__text p { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.cookie__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie__btn { white-space: nowrap; }

@media (max-width: 720px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .cookie__actions { flex-direction: column-reverse; }
  .cookie__actions .btn { width: 100%; }
}
