
:root {
  /* Stone / cave palette */
  --black: #000000;
  --stone-900: #0f0f11;
  --stone-850: #131316;
  --stone-800: #17171c;
  --stone-700: #1f1f26;
  --stone-600: #2b2b34;
  --stone-500: #3b3b46;

  /* Brand accents */
  --amber: #e5a93c;
  --amber-soft: #f3c978;
  --amber-deep: #b77f22;
  --hop: #3e6b48;
  --hop-light: #5e9a6c;

  /* Ink */
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.70);
  --text-dim: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-display: "Grenze Gotisch", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Metrics */
  --container: 1280px;
  --pad: 20px;
  --header-height: 64px;
  --radius: 18px;
  --radius-sm: 12px;

  /* Noise overlay reused by several sections */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
::selection { background: var(--amber); color: var(--black); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY SCALE
   -------------------------------------------------------------------------- */
.section-title,
.hero__title,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.005em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.section-title {
  font-size: clamp(2.35rem, 10vw, 4.6rem);
}

.section-title em {
  color: var(--amber);
  display: inline-block;
}

.section-title--sm { font-size: clamp(1.9rem, 8vw, 2.8rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.eyebrow__rule {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  flex: none;
}

.section-lead {
  font-size: 1rem;
  color: var(--text);
  margin-top: 20px;
}

.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. STRUCTURE
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
}

main { position: relative; z-index: 1; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--amber);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Visible only to assistive technology. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. ICONS
   -------------------------------------------------------------------------- */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

.btn .icon { width: 17px; height: 17px; }

.btn--primary {
  background: var(--amber);
  color: #180f02;
  box-shadow: 0 10px 34px -14px rgba(229, 169, 60, 0.9);
}
.btn--primary:hover { background: var(--amber-soft); transform: translateY(-2px); }

.btn--outline {
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--outline:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.btn--ghost { color: var(--white); padding: 10px 16px; }
.btn--ghost:hover { color: var(--amber); }

.btn--sm { padding: 12px 18px; min-height: 44px; font-size: 0.74rem; }
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   7. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   8. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader__inner { text-align: center; padding: 0 24px; }
.preloader__logo {
  width: 120px;
  height: auto;
  margin: 0 auto 26px;
  animation: caverna-pulse 2.4s var(--ease-io) infinite;
}
.preloader__bar {
  width: min(220px, 60vw);
  height: 2px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-soft));
  transition: width 0.4s linear;
}
.preloader__text {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
body.is-ready .preloader { opacity: 0; visibility: hidden; }

@keyframes caverna-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   9. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header.is-hidden { transform: translateY(-102%); }

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand img {
  width: auto;
  height: 42px;
  transition: height 0.4s var(--ease);
}
.site-header.is-solid .site-header__brand img { height: 36px; }

.site-nav { display: none; }

.site-nav ul { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--amber); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn--ghost { display: none; }

/* Hamburger */
.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.25s var(--ease), width 0.45s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 13px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--amber); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* --------------------------------------------------------------------------
   10. MOBILE MENU
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }

.mobile-menu__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, #1a1a20 0%, #08080a 62%, #000 100%);
  clip-path: circle(0% at calc(100% - 42px) 32px);
  transition: clip-path 0.75s var(--ease);
}
.mobile-menu.is-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 42px) 32px); }
.mobile-menu__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.mobile-menu__nav {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 30px) var(--pad) 34px;
  overflow-y: auto;
}

.mobile-menu__nav li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.mobile-menu.is-open .mobile-menu__nav li { opacity: 1; transform: none; }

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
}
.mobile-menu__index {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  font-weight: 600;
}
.mobile-menu__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 11vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu__nav a:hover .mobile-menu__label { color: var(--amber); transform: translateX(6px); }

.mobile-menu__foot {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }
.mobile-menu__foot p {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   11. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.float-wpp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  background: var(--hop);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.95);
  transform: translateY(calc(100% + 26px));
  transition: transform 0.6s var(--ease), background-color 0.3s var(--ease);
}
.float-wpp.is-visible { transform: none; }
.float-wpp:hover { background: var(--hop-light); }
.float-wpp span { display: none; }
.float-wpp .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   12. MODAL
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900) 60%, #0a0a0c);
  border: 1px solid var(--line-strong);
  border-radius: 24px 24px 0 0;
  padding: 26px 20px 29px;
  transform: translateY(6%);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
  /* Long style sheets can still outgrow the viewport: keep the scrollbar
     thin and on-brand instead of the browser default. */
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) transparent;
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }

.modal__dialog::-webkit-scrollbar { width: 7px; }
.modal__dialog::-webkit-scrollbar-track { background: transparent; }
.modal__dialog::-webkit-scrollbar-thumb {
  background-color: var(--amber-deep);
  border-radius: 999px;
}
.modal__dialog::-webkit-scrollbar-thumb:hover { background-color: var(--amber); }

.modal__dialog::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
}
.modal__close:hover { border-color: var(--amber); color: var(--amber); transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #08080a, #000);
  padding-top: 54px;
  overflow: hidden;
}

.site-footer__rocks {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 54px;
  line-height: 0;
}
.site-footer__rocks svg { width: 100%; height: 100%; }
.site-footer__rocks path { fill: #14141a; }

.site-footer__inner {
  display: grid;
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 34px;
  position: relative;
  z-index: 1;
}

.site-footer__brand img { width: 112px; height: auto; }
.site-footer__claim {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.site-footer__col h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.site-footer__col li + li { margin-top: 4px; }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.site-footer__col a:hover { color: var(--amber); }
.site-footer__col .icon { width: 16px; height: 16px; }

.site-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.site-footer__hours strong { color: var(--white); font-weight: 500; }

.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-footer__social a:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }
.site-footer__social .icon { width: 19px; height: 19px; }

.site-footer__legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 82px;
  display: grid;
  gap: 10px;
  text-align: center;
}
.site-footer__warn {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.site-footer__copy { font-size: 0.76rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   14. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
