/* ==========================================================================
   Cornelis Zonwering — components.css
   ========================================================================== */

/* --- Topbar --------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(247, 244, 238, .82);
  font-size: var(--step--1);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1;
}
.topbar__item svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--gold-2); }
.topbar__phone { font-weight: 700; color: var(--ivory); transition: color var(--t-fast) var(--ease); }
.topbar__phone:hover { color: var(--gold-2); }
.topbar__hide-sm { display: none; }
@media (max-width: 759px) { .topbar__inner { justify-content: center; } }
@media (min-width: 760px) { .topbar__hide-sm { display: inline-flex; } }

/* --- Navigatie ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(247, 244, 238, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.is-stuck {
  background: rgba(247, 244, 238, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 28px rgba(20, 22, 26, .07);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo img {
  height: 46px;
  width: auto;
  transition: transform var(--t) var(--ease);
}
@media (min-width: 600px) { .nav__logo img { height: 54px; } }
@media (min-width: 900px) { .nav__logo img { height: 64px; } }
.nav__logo:hover img { transform: scale(1.03); }

.nav__links {
  display: none;
  align-items: center;
  gap: clamp(4px, 1.4vw, 18px);
}
@media (min-width: 1180px) { .nav__links { display: flex; } }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 10px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: var(--s-1); flex: 0 0 auto; }
.nav__actions .nav__cta { display: none; }
@media (min-width: 760px) { .nav__actions .nav__cta { display: inline-flex; } }

/* --- Taalschakelaar ------------------------------------------------------- */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .6);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.langswitch:hover { border-color: var(--gold); background: #fff; transform: translateY(-1px); }
.langswitch__flag {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--gold-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
/* op smalle schermen alleen de vlagcode, tekst zit in het mobiele menu */
@media (max-width: 599px) { .langswitch span:not(.langswitch__flag) { display: none; } }
@media (max-width: 599px) { .langswitch { padding: 0 10px; } }

.langswitch--mob {
  justify-content: center;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .08);
  color: var(--ivory);
  min-height: 54px;
}
.langswitch--mob:hover { border-color: var(--gold-2); background: rgba(255, 255, 255, .14); }
.langswitch--mob span:not(.langswitch__flag) { display: inline !important; }
.langswitch--mob .langswitch__flag { background: var(--gold); color: #fff; }

.langswitch--foot {
  min-height: 34px;
  padding: 0 12px;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .08);
  color: var(--ivory);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.langswitch--foot:hover { border-color: var(--gold-2); background: rgba(255, 255, 255, .14); }
.langswitch--foot span:not(.langswitch__flag) { display: inline !important; }
.langswitch--foot .langswitch__flag { height: 18px; min-width: 24px; }

/* Eenmalige hint voor bezoekers met een Duitse browser */
.langhint {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  width: min(560px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line-dark);
  background: rgba(20, 22, 26, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ivory);
  box-shadow: 0 18px 46px rgba(20, 22, 26, .34);
  opacity: 0;
  transform: translate3d(-50%, 14px, 0);
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.langhint.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); pointer-events: auto; }
.langhint__txt { flex: 1 1 auto; font-size: var(--step--1); line-height: 1.45; min-width: 0; }
.langhint .btn { flex: 0 0 auto; }
.langhint__close {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: rgba(247, 244, 238, .6);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.langhint__close:hover { color: var(--ivory); background: rgba(255, 255, 255, .1); }
.langhint__close svg { width: 16px; height: 16px; }
@media (max-width: 599px) {
  .langhint { flex-wrap: wrap; }
  .langhint__txt { flex: 1 1 100%; order: 1; }
  .langhint .btn { flex: 1 1 auto; order: 2; }
  .langhint__close { order: 3; }
}

/* Hamburger */
.burger {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.burger:hover { background: #fff; border-color: rgba(20,22,26,.22); }
@media (min-width: 1180px) { .burger { display: none; } }
.burger__box { width: 20px; height: 14px; position: relative; }
.burger__box span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobiel menu */
.mobilenav {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: calc(var(--s-3) + env(safe-area-inset-top)) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -12px, 0);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobilenav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.mobilenav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: var(--s-5);
}
.mobilenav__top img { height: 48px; width: auto; }
.mobilenav__close {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark);
  color: var(--ivory);
}
.mobilenav__close svg { width: 20px; height: 20px; }
.mobilenav__list { display: flex; flex-direction: column; gap: 2px; }
.mobilenav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 60px;
  padding-block: 10px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--line-dark);
  transition: color var(--t-fast) var(--ease), padding-left var(--t) var(--ease);
}
.mobilenav__list a:hover,
.mobilenav__list a[aria-current="page"] { color: var(--gold-2); padding-left: 8px; }
.mobilenav__list a svg { width: 16px; height: 16px; opacity: .5; flex: 0 0 16px; }
.mobilenav__foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: var(--s-2); }
@media (min-width: 520px) { .mobilenav__foot { grid-template-columns: 1fr 1fr; } }

/* --- Knoppen -------------------------------------------------------------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding-inline: 26px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease),
              color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 134, 43, .28);
}
.btn--gold:hover { background: #a3761f; box-shadow: 0 10px 30px rgba(184, 134, 43, .38); }

.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--ink-3); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--ghost-light { border-color: var(--line-dark); color: var(--ivory); }
.btn--ghost-light:hover { border-color: var(--ivory); background: rgba(255,255,255,.08); }

.btn--sm { --btn-h: 46px; padding-inline: 20px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 419px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .02em;
  color: var(--gold);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --- Badge / pill --------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.pill svg { width: 14px; height: 14px; color: var(--gold); flex: 0 0 14px; }
.pill--light { border-color: var(--line-dark); background: rgba(255,255,255,.08); color: var(--ivory); }
.pill--light svg { color: var(--gold-2); }

/* --- Kaarten -------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  will-change: transform;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: rgba(184,134,43,.35); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); flex: 0 0 auto; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: clamp(20px, 2.4vw, 30px);
  flex: 1 1 auto;
}
.card__body p { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: var(--s-2); }

.card--dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--ivory); }
.card--dark .card__body p { color: rgba(247,244,238,.66); }
.card--dark:hover { border-color: rgba(215,169,79,.45); }

/* Icoonkaart */
.icard {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  height: 100%;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.icard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(184,134,43,.35); }
.icard__ico {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(184,134,43,.16), rgba(215,169,79,.06));
  color: var(--gold);
  margin-bottom: var(--s-1);
}
.icard__ico svg { width: 22px; height: 22px; }
.icard p { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
.icard--dark { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--ivory); }
.icard--dark p { color: rgba(247,244,238,.66); }
.icard--dark .icard__ico { background: rgba(215,169,79,.14); color: var(--gold-2); }
.icard--dark:hover { border-color: rgba(215,169,79,.42); }

/* --- Marquee / logostrip -------------------------------------------------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding-block: var(--s-3);
}
.strip__track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: max-content;
  animation: strip-scroll 34s linear infinite;
  will-change: transform;
}
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes strip-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  opacity: .82;
}
.strip__item svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 18px; }
.strip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 5px; }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* --- Cijfers -------------------------------------------------------------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.04);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.stat:hover { border-color: rgba(215,169,79,.42); background: rgba(255,255,255,.07); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-2);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__label { font-size: var(--step--1); color: rgba(247,244,238,.66); line-height: 1.5; }

/* --- Tijdlijn ------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.timeline__fill {
  position: absolute;
  left: 23px;
  top: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius: 2px;
  transform-origin: top center;
  transform: scaleY(0);
  height: calc(100% - 24px);
  transition: transform 1.4s var(--ease-out);
}
.timeline.is-active .timeline__fill { transform: scaleY(1); }
@media (min-width: 860px) {
  .timeline::before, .timeline__fill { left: 27px; }
}
.tstep {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  padding-block: clamp(18px, 2vw, 26px);
}
@media (min-width: 860px) { .tstep { grid-template-columns: 56px minmax(0, 1fr); } }
.tstep__dot {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}
@media (min-width: 860px) { .tstep__dot { width: 56px; height: 56px; } }
.tstep.vis .tstep__dot { border-color: var(--gold); background: var(--gold); color: #fff; }
.tstep__body { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.tstep__body p { color: var(--muted); font-size: var(--step--1); line-height: 1.65; max-width: 58ch; }

/* --- Accordeon ------------------------------------------------------------ */
.acc { display: grid; gap: var(--s-1); }
.acc__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.acc__item.is-open { border-color: rgba(184,134,43,.4); box-shadow: var(--sh-1); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 64px;
  padding: 16px clamp(18px, 2.2vw, 26px);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.acc__ico {
  position: relative;
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
}
.acc__ico::before, .acc__ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--t) var(--ease);
}
.acc__ico::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc__ico::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.acc__item.is-open .acc__ico::after { transform: translate(-50%, -50%) scaleY(0); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t) var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  padding: 0 clamp(18px, 2.2vw, 26px) 22px;
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.7;
  max-width: 68ch;
}

/* --- Formulier ------------------------------------------------------------ */
.form { display: grid; gap: var(--s-3); }
.form__row { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: var(--step--1); font-weight: 700; letter-spacing: .01em; }
.field > label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: var(--step-0);
  line-height: 1.4;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,134,43,.16);
}
.field__err {
  display: block;
  min-height: 18px;
  font-size: var(--step--2);
  font-weight: 600;
  color: #b3261e;
  line-height: 1.4;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.form__note { font-size: var(--step--2); color: var(--muted); line-height: 1.6; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --- Footer --------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: rgba(247,244,238,.72);
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px) 0;
}
.footer__glow {
  position: absolute;
  left: 50%;
  top: -30%;
  width: min(1100px, 130vw);
  aspect-ratio: 1 / 1;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(circle at 50% 50%, rgba(184,134,43,.22), rgba(184,134,43,0) 62%);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes glow-drift {
  from { transform: translate3d(-50%, 0, 0) scale(1); }
  to   { transform: translate3d(-42%, 4%, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .footer__glow { animation: none; } }
.footer__inner { position: relative; z-index: 1; }
.footer__grid { display: grid; gap: clamp(36px, 5vw, 56px); }
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.footer__logo { height: 78px; width: auto; margin-bottom: var(--s-3); }
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: var(--s-2);
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a, .footer__list li { font-size: var(--step--1); line-height: 1.5; }
.footer__list a { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast) var(--ease); }
.footer__list a:hover { color: var(--gold-2); }
.footer__list svg { width: 15px; height: 15px; color: var(--gold-2); flex: 0 0 15px; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: var(--s-3) calc(var(--s-3) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--2);
  color: rgba(247,244,238,.5);
}
.footer__bottom a:hover { color: var(--gold-2); }
.footer__made { display: inline-flex; align-items: center; gap: 6px; }

/* --- Floating CTA --------------------------------------------------------- */
.floatcta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.floatcta.is-on { opacity: 1; transform: translate3d(0, 0, 0); pointer-events: auto; }
.floatcta__btn {
  position: relative;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(20,22,26,.28);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.floatcta__btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(20,22,26,.34); }
.floatcta__btn svg { width: 25px; height: 25px; }
.floatcta__btn--wa { background: #25d366; }
.floatcta__btn--tel { background: var(--gold); }
.floatcta__btn--top { background: var(--ink); }
.floatcta__btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 12px;
  border-radius: var(--r-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.floatcta__btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 767px) { .floatcta__btn::after { display: none; } }
