/* ============================================================
   DE VLUCHTHEUVEL — styles.css
   Concept: "Hoog boven het lawaai"
   Palette: nacht, ivoor, mos, amber
   Type: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');

/* ---- Tokens ---- */
:root {
  --night:   #1b2b1f;
  --night2:  #243328;
  --moss:    #3d5c42;
  --moss-lt: #56784c;
  --ivory:   #f5f0e8;
  --ivory2:  #ede7db;
  --paper:   #faf7f2;
  --amber:   #c8a84b;
  --amber-lt:#e2c97a;
  --ink:     #1b2b1f;
  --muted:   #5a6e5e;
  --line-dk: rgba(255,255,255,0.10);
  --line-lt: rgba(27,43,31,0.12);
  --r:       4px;
  --r-lg:    8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Utility ---- */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 14px;
}

.eyebrow.light { color: var(--amber-lt); }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }

p { color: var(--muted); line-height: 1.7; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  border-radius: var(--r);
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--amber);
  color: var(--night);
}
.btn-primary:hover { background: var(--amber-lt); }

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--line-lt);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--moss); color: var(--moss); }

.btn-lg { padding: 18px 36px; font-size: 0.95rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: rgba(27, 43, 31, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-dk);
  transition: padding 0.3s;
}

.site-header.scrolled { padding-top: 14px; padding-bottom: 14px; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: white;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--amber);
  color: var(--night);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav a:hover { color: white; }

.nav-cta {
  background: var(--amber) !important;
  color: var(--night) !important;
  padding: 9px 18px;
  border-radius: var(--r);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--amber-lt) !important; }

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: var(--r);
  padding: 7px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-toggle:hover { border-color: white; color: white; }

/* Mobile menu toggle — hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   HERO — dark, full bleed, typographic
   ============================================================ */
.hero {
  background: var(--night);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Big decorative V — the signature element */
.hero::before {
  content: 'V';
  position: absolute;
  right: -40px;
  bottom: -120px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(320px, 40vw, 560px);
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-location::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  color: white;
  font-weight: 300;
  font-style: italic;
}
.hero h1 em { font-style: normal; font-weight: 600; color: var(--amber); }

.hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 520px;
  margin-top: 24px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dk);
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
}

/* Right column: photo + price card */
.hero-aside {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-img {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-card {
  background: var(--night2);
  border-top: 1px solid var(--line-dk);
  padding: 28px 28px 32px;
}

.hero-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: white;
  line-height: 1;
}
.hero-price sup {
  font-size: 1rem;
  font-weight: 400;
  vertical-align: super;
  margin-right: 2px;
  color: var(--amber);
}
.hero-price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  margin-bottom: 20px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--ivory2);
  border-bottom: 1px solid var(--line-lt);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 64px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}
.trust-bar::-webkit-scrollbar { display: none; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  flex-shrink: 0;
  border-right: 1px solid var(--line-lt);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-item strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

/* ============================================================
   SHARED SECTION SHELL
   ============================================================ */
.section {
  padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 80px);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header p.lead {
  font-size: 1.05rem;
  margin-top: 20px;
  max-width: 580px;
}

/* ============================================================
   INTRO — split layout
   ============================================================ */
.intro {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.intro-text h2 { margin-bottom: 20px; }
.intro-text p { margin-bottom: 28px; }

.intro-img {
  position: relative;
}
.intro-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.intro-img::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--amber);
  border-radius: var(--r-lg);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   USE CASES — alternating strips
   ============================================================ */
.usecase-strip {
  background: var(--paper);
  border-top: 1px solid var(--line-lt);
}

.usecase-strip:nth-child(even) { background: var(--ivory2); }

.usecase-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) clamp(24px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.usecase-inner.flip { direction: rtl; }
.usecase-inner.flip > * { direction: ltr; }

.usecase-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.usecase-body h2 { margin-bottom: 16px; }
.usecase-body > p { margin-bottom: 24px; }

.feature-list {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1px;
  background: var(--amber);
}

.price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--night);
  color: white;
  border-radius: var(--r);
  padding: 10px 18px;
  margin-bottom: 24px;
}
.price-inline strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--amber);
}
.price-inline span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

/* ============================================================
   FORMULES — horizontal table style, not cards
   ============================================================ */
.formules-section {
  background: var(--night);
  padding: clamp(64px, 10vw, 110px) clamp(24px, 6vw, 80px);
}

.formules-section .eyebrow { color: var(--amber-lt); }
.formules-section h2 { color: white; margin-bottom: 48px; }

.formule-table {
  border: 1px solid var(--line-dk);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.formule-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line-dk);
  transition: background 0.15s;
}
.formule-row:last-child { border-bottom: none; }
.formule-row:hover { background: rgba(255,255,255,0.03); }

.formule-row.header-row {
  background: rgba(255,255,255,0.04);
}
.formule-row.header-row span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 16px 24px;
  border-right: 1px solid var(--line-dk);
}
.formule-row.header-row span:last-child { border-right: none; }

.formule-cell {
  padding: 24px;
  border-right: 1px solid var(--line-dk);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.formule-cell:last-child { border-right: none; }

.formule-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: white;
  line-height: 1.2;
}

.formule-who {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.formule-price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
}

.formule-price-unit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.formule-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.formule-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.15s;
}
.formule-cta a:hover { gap: 10px; }
.formule-cta a::after { content: '→'; }

/* ============================================================
   REGIO
   ============================================================ */
.regio-section {
  background: var(--ivory2);
  border-top: 1px solid var(--line-lt);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  padding: clamp(64px, 10vw, 110px) clamp(24px, 6vw, 80px);
}

.regio-text h2 { margin-bottom: 20px; }
.regio-text p { margin-bottom: 28px; }

.distance-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}

.distance-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-lt);
  border-right: 1px solid var(--line-lt);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.distance-item:nth-child(2n) { border-right: none; }
.distance-item:nth-last-child(-n+2) { border-bottom: none; }

.distance-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.distance-item span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
}

/* ============================================================
   VOORZIENINGEN — minimal grid, no icons
   ============================================================ */
.amenities-section {
  background: var(--paper);
  border-top: 1px solid var(--line-lt);
  padding: clamp(64px, 10vw, 110px) clamp(24px, 6vw, 80px);
}

.amenities-section .section-header { margin-bottom: 40px; }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.amenity-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-lt);
  border-right: 1px solid var(--line-lt);
  background: var(--ivory2);
}
.amenity-item:nth-child(4n) { border-right: none; }
/* Last row: remove bottom border */
.amenity-item:nth-last-child(-n+4) { border-bottom: none; }

.amenity-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.amenity-item span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--moss);
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 {
  color: white;
  max-width: 600px;
  font-weight: 300;
  font-style: italic;
}
.cta-banner h2 em { font-style: normal; font-weight: 600; }

.cta-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============================================================
   CONTACTFORMULIER — clean, one-column, large
   ============================================================ */
.contact-section {
  background: var(--night);
  padding: clamp(64px, 10vw, 110px) clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.contact-copy .eyebrow { color: var(--amber-lt); }
.contact-copy h2 { color: white; margin-bottom: 20px; }
.contact-copy > p { color: rgba(255,255,255,0.5); font-size: 1rem; }

.contact-detail-list {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dk);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-detail-list a,
.contact-detail-list p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.contact-detail-list a:hover { color: var(--amber); }

.contact-guarantee {
  margin-top: 36px;
  padding: 20px 22px;
  background: rgba(200, 168, 75, 0.08);
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-radius: var(--r);
}
.contact-guarantee p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.contact-guarantee strong {
  display: block;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Form shell --- */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dk);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}

/* --- Type selector as visual buttons --- */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}

.type-btn {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.type-btn strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
.type-btn span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.type-btn.active {
  background: rgba(200, 168, 75, 0.12);
  border-color: var(--amber);
}
.type-btn.active strong { color: var(--amber); }
.type-btn.active span { color: rgba(200,168,75,0.6); }
.type-btn:hover:not(.active) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* Hidden real select for form submission */
#request_type_hidden { display: none; }

/* --- Field group --- */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 8px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: white;
  line-height: 1.5;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.2); }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(200,168,75,0.06);
}

select option { background: var(--night2); color: white; }

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 16px;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 18px;
  font-size: 0.95rem;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: white;
  margin-bottom: 12px;
}
.form-success p { color: rgba(255,255,255,0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--night2);
  border-top: 1px solid var(--line-dk);
  padding: 36px clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}
.footer-brand strong { font-weight: 400; color: white; }

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--amber); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  width: 100%;
  text-align: center;
  padding-top: 20px;
  margin-top: 12px;
  border-top: 1px solid var(--line-dk);
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--night);
  border-top: 1px solid var(--line-dk);
  padding: 14px 20px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.mobile-cta-bar p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
.mobile-cta-bar p strong { color: white; display: block; font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .formule-row {
    grid-template-columns: 1fr 1fr;
  }
  .formule-row.header-row { display: none; }
  .formule-cell { border-bottom: 1px solid var(--line-dk); }
  .formule-cta { grid-column: span 2; }

  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
  .amenity-item:nth-child(4n) { border-right: 1px solid var(--line-lt); }
  .amenity-item:nth-child(3n) { border-right: none; }
  .amenity-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-lt); }
  .amenity-item:nth-last-child(-n+3) { border-bottom: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--night);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line-dk);
  }
  .nav.open a { padding: 10px 0; font-size: 1rem; color: rgba(255,255,255,0.7); }
  .nav.open .nav-cta { margin-top: 8px; }
  .nav.open .lang-toggle { margin-top: 4px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero::before { display: none; }
  .hero-aside { order: -1; height: 280px; flex-direction: row; }
  .hero-img { flex: 1; }
  .hero-card { width: 200px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }

  .intro,
  .regio-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-img::after { display: none; }

  .usecase-inner,
  .usecase-inner.flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .type-selector { grid-template-columns: 1fr 1fr; }

  .mobile-cta-bar { display: flex; }

  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-item:nth-child(3n) { border-right: 1px solid var(--line-lt); }
  .amenity-item:nth-child(2n) { border-right: none; }
  .amenity-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-lt); }
  .amenity-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 600px) {
  .hero-aside { height: 240px; }
  .hero-card { width: 160px; padding: 18px; }
  .hero-price { font-size: 1.8rem; }

  .trust-bar { padding: 0 16px; }
  .trust-item { padding: 16px 20px; }

  .type-selector { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .formule-row { grid-template-columns: 1fr; }
  .formule-cta { grid-column: span 1; }

  .amenity-grid { grid-template-columns: 1fr 1fr; }

  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   GALERIJ + LIGHTBOX
   ============================================================ */

/* --- Section shell --- */
.gallery-section {
  background: var(--night);
  padding: clamp(64px, 10vw, 110px) clamp(24px, 6vw, 80px);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-section .eyebrow { color: var(--amber-lt); }
.gallery-section h2 {
  color: white;
  margin-top: 10px;
}

/* --- Tab buttons --- */
.gallery-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gtab {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  border-radius: var(--r);
  padding: 9px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.gtab:hover {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.75);
}

.gtab.active {
  background: rgba(200,168,75,0.15);
  border-color: var(--amber);
  color: var(--amber);
}

/* --- Gallery panels --- */
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

/* --- Thumbnail grid ---
   Layout: 1 wide thumb (spans 2 cols) + smaller thumbs beside/below.
   Using CSS grid with named areas for flexibility.
*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}

.gthumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,0.06);
  background: var(--night2);
  cursor: pointer;
  padding: 0;
  display: block;
  /* reset button styles */
  -webkit-appearance: none;
  appearance: none;
}

.gthumb-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.85);
}

.gthumb:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Overlay on hover */
.gthumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,168,75,0.0);
  transition: background 0.25s;
  pointer-events: none;
}
.gthumb:hover::after {
  background: rgba(200,168,75,0.08);
}

/* Zoom icon */
.gthumb::before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200,168,75,0.9);
  color: var(--night);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 44px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
  pointer-events: none;
}
.gthumb:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Caption label */
.gthumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  text-align: left;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.gthumb:hover .gthumb-label,
.gthumb:focus .gthumb-label {
  opacity: 1;
  transform: translateY(0);
}

/* Focus ring */
.gthumb:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* --- LIGHTBOX OVERLAY --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 16, 11, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* enter animation */
  animation: lbFadeIn 0.22s ease both;
}

.lightbox[hidden] { display: none; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Close button */
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s, border-color 0.15s;
}
.lb-close:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* Prev / Next */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s, border-color 0.15s;
}
.lb-nav:hover { background: rgba(200,168,75,0.2); border-color: var(--amber); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

/* Main image stage */
.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 16px 88px;
  min-height: 0;
}

.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  /* slide animation */
  animation: lbSlide 0.18s ease both;
}

@keyframes lbSlide {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Footer: caption + counter */
.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 88px 8px;
  gap: 16px;
}

.lb-caption {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lb-counter {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  white-space: nowrap;
}

/* Thumbnail strip */
.lb-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 88px 28px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  -webkit-overflow-scrolling: touch;
}

.lb-thumbs::-webkit-scrollbar {
  height: 3px;
}
.lb-thumbs::-webkit-scrollbar-track { background: transparent; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.lb-thumb-btn {
  flex-shrink: 0;
  width: 60px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
  cursor: pointer;
  padding: 0;
  background: var(--night2);
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.5;
}

.lb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb-thumb-btn.active {
  border-color: var(--amber);
  opacity: 1;
}

.lb-thumb-btn:hover:not(.active) {
  opacity: 0.8;
  border-color: rgba(255,255,255,0.3);
}

/* --- Responsive gallery --- */
@media (max-width: 900px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-tabs { justify-content: flex-start; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gthumb-wide { grid-column: span 2; }

  /* Show label always on touch */
  .gthumb-label { opacity: 1; transform: none; }
  .gthumb::before { display: none; }

  .lb-stage { padding: 12px 56px; }
  .lb-footer { padding: 10px 56px 6px; }
  .lb-thumbs { padding: 8px 56px 20px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .lb-stage { padding: 8px 48px; }
  .lb-footer { padding: 8px 48px 4px; }
  .lb-thumbs { padding: 6px 48px 16px; }
  .lb-prev { left: 4px; width: 40px; height: 40px; font-size: 1rem; }
  .lb-next { right: 4px; width: 40px; height: 40px; font-size: 1rem; }
  .lb-close { top: 12px; right: 12px; }
}
