/* ═══════════════════════════════════════════════
   Vacovia — global.css
   Design tokens, typography, layout, components
═══════════════════════════════════════════════ */

@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:wght@300;400;500&display=swap');

/* ── Tokens ── */
:root {
  --navy:       #1A3040;
  --navy-mid:   #243d52;
  --navy-lt:    #3a5870;
  --gold:       #8B6F47;
  --gold-lt:    #C4A97A;
  --gold-xlt:   #e8d9c0;
  --cream:      #F7F3EE;
  --cream-dk:   #EDE6DA;
  --white:      #ffffff;
  --text:       #1A3040;
  --text-mid:   #4a5568;
  --text-lt:    #8a9ab0;
  --border:     rgba(26,48,64,.12);
  --border-mid: rgba(26,48,64,.20);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --ease:       cubic-bezier(.4,0,.2,1);
  --t:          .3s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.2; }
h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.5px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }
p  { line-height: 1.7; }

.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.serif-italic { font-style: italic; }

/* ── Layout ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-pad    { padding: 96px 0; }
.section-pad-lg { padding: 128px 0; }

.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background var(--t) var(--ease), backdrop-filter var(--t) var(--ease);
}
.nav.scrolled {
  background: rgba(26,48,64,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-mark { width: 30px; height: 30px; }
.nav-logo-text { font-family: var(--serif); font-size: 21px; font-weight: 300; letter-spacing: 3px; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 12px; font-weight: 500; letter-spacing: .05em; color: rgba(255,255,255,.7); transition: color var(--t); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background var(--t) !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: all var(--t) var(--ease);
}
.btn i { font-size: 16px; }
.btn-primary  { background: var(--gold);  color: var(--white); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139,111,71,.28); }
.btn-outline  { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline:hover  { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy     { background: var(--navy);  color: var(--white); }
.btn-navy:hover     { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26,48,64,.22); }
.btn-ghost    { background: transparent; color: var(--text); border: 1.5px solid var(--border-mid); }
.btn-ghost:hover    { border-color: var(--navy); background: rgba(26,48,64,.04); }
.btn-lg  { padding: 16px 34px; font-size: 14px; }
.btn-sm  { padding: 8px 16px;  font-size: 12px; }

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-navy   { background: rgba(26,48,64,.08); color: var(--navy); }
.tag-gold   { background: rgba(139,111,71,.12); color: var(--gold); }
.tag-green  { background: #E8F5E9; color: #2E7D32; }
.tag-amber  { background: rgba(139,111,71,.15); color: var(--gold); }
.tag-white  { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }

/* ── USP strip ── */
.usp-strip { background: var(--navy); padding: 40px 0; }
.usp-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.usp-item  { display: flex; align-items: flex-start; gap: 14px; }
.usp-icon  { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--gold-lt); flex-shrink: 0; }
.usp-title { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 3px; }
.usp-desc  { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 152px 0 88px; position: relative; overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.022) 79px, rgba(255,255,255,.022) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.022) 79px, rgba(255,255,255,.022) 80px);
}
.page-hero .section-inner { position: relative; z-index: 1; }
.page-hero-eyebrow { margin-bottom: 16px; }
.page-hero h1 { color: var(--white); max-width: 640px; margin-bottom: 20px; }
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,.58); max-width: 480px; font-weight: 300; line-height: 1.7; }

/* ── Property card ── */
.prop-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: .5px solid rgba(26,48,64,.08); transition: transform var(--t), box-shadow var(--t); cursor: pointer; }
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(26,48,64,.12); }
.prop-img { position: relative; height: 214px; overflow: hidden; }
.prop-img-inner { width: 100%; height: 100%; transition: transform .5s var(--ease); display: flex; align-items: center; justify-content: center; }
.prop-card:hover .prop-img-inner { transform: scale(1.05); }
.prop-badge { position: absolute; top: 13px; left: 13px; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 500; letter-spacing: .08em; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; }
.prop-fav   { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--gold); cursor: pointer; }
.prop-body  { padding: 16px 18px 18px; }
.prop-loc   { font-size: 11px; color: var(--text-lt); display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.prop-name  { font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 10px; line-height: 1.2; }
.prop-meta  { display: flex; align-items: center; justify-content: space-between; }
.prop-price { font-family: var(--serif); font-size: 21px; font-weight: 300; color: var(--navy); }
.prop-price span { font-size: 11px; color: var(--text-lt); font-family: var(--sans); font-weight: 400; }
.prop-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-mid); }

/* ── Destination pills ── */
.dest-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.dest-scroll::-webkit-scrollbar { display: none; }
.dest-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  transition: all var(--t);
}
.dest-pill i { font-size: 15px; color: var(--gold); }
.dest-pill:hover, .dest-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dest-pill:hover i, .dest-pill.active i { color: var(--gold-lt); }

/* ── Testimonial ── */
.testimonial { background: var(--cream-dk); border-radius: var(--radius-lg); padding: 28px 28px 24px; position: relative; }
.testimonial::before { content: '\201C'; font-family: var(--serif); font-size: 72px; color: var(--gold); line-height: 1; position: absolute; top: 12px; left: 20px; opacity: .4; pointer-events: none; }
.testimonial-text { font-family: var(--serif); font-size: 17px; font-style: italic; line-height: 1.7; color: var(--navy); margin-bottom: 18px; padding-top: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; color: var(--white); flex-shrink: 0; }
.testimonial-name { font-size: 13px; font-weight: 500; }
.testimonial-loc  { font-size: 11px; color: var(--text-lt); }

/* ── Feature card (faciliteiten) ── */
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: .5px solid var(--border); transition: all var(--t); position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform var(--t); transform-origin: left; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(26,48,64,.09); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.feature-title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 9px; }
.feature-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ── Access system card ── */
.access-card { border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; text-align: center; background: rgba(255,255,255,.03); transition: all var(--t); cursor: pointer; }
.access-card:hover, .access-card.featured { border-color: rgba(196,169,122,.45); background: rgba(255,255,255,.06); }
.access-icon { font-size: 30px; color: var(--gold-lt); margin-bottom: 11px; }
.access-name { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; color: var(--white); }
.access-desc { font-size: 12px; color: rgba(255,255,255,.38); line-height: 1.5; margin-bottom: 8px; }
.access-price { font-size: 11px; font-weight: 500; color: var(--gold-lt); }

/* ── Compare table ── */
.compare-wrap { border-radius: var(--radius-lg); overflow: hidden; border: .5px solid var(--border); }
.compare-head-row, .compare-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; }
.compare-head { padding: 13px 16px; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: var(--white); }
.compare-cell { padding: 12px 16px; border-bottom: .5px solid var(--border); font-size: 12px; display: flex; align-items: center; }
.compare-cell.center { justify-content: center; }
.compare-cell.hl { background: rgba(139,111,71,.04); }
.compare-row:last-child .compare-cell { border-bottom: none; }
.compare-row:nth-child(even) .compare-cell { background: rgba(247,243,238,.5); }
.compare-row:nth-child(even) .compare-cell.hl { background: rgba(139,111,71,.06); }
.check { color: #27AE60; font-size: 18px; }
.cross { color: #E74C3C; font-size: 18px; }
.partial { color: var(--gold); font-size: 11px; font-weight: 500; }

/* ── Plan card ── */
.plan-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1.5px solid var(--border); transition: all var(--t); position: relative; overflow: hidden; }
.plan-card.featured { border-color: var(--gold); box-shadow: 0 8px 32px rgba(139,111,71,.14); }
.plan-badge { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--white); font-size: 10px; font-weight: 500; letter-spacing: .08em; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.plan-price { font-family: var(--serif); font-size: 46px; font-weight: 300; color: var(--navy); line-height: 1; }
.plan-per   { font-size: 14px; color: var(--text-lt); font-family: var(--sans); }
.plan-note  { font-size: 11px; color: var(--text-lt); margin: 7px 0 22px; }
.plan-feat  { display: flex; align-items: center; gap: 9px; font-size: 13px; padding: 7px 0; border-bottom: .5px solid rgba(26,48,64,.06); }
.plan-feat:last-child { border-bottom: none; }
.plan-feat i { font-size: 15px; flex-shrink: 0; }

/* ── Reseller type card ── */
.reseller-type { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1.5px solid var(--border); transition: all var(--t); }
.reseller-type.featured { border-color: var(--gold); }
.reseller-type:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(139,111,71,.1); }
.reseller-icon { width: 56px; height: 56px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.reseller-name { font-family: var(--serif); font-size: 22px; margin-bottom: 9px; }
.reseller-desc { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; }
.reseller-feat { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-mid); margin-bottom: 5px; }
.reseller-feat i { color: #27AE60; font-size: 14px; }

/* ── Portal screen mockup ── */
.portal-screen { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: .5px solid var(--border); box-shadow: 0 24px 64px rgba(26,48,64,.11); }
.screen-bar { background: var(--navy); padding: 10px 15px; display: flex; align-items: center; gap: 7px; }
.screen-dot { width: 9px; height: 9px; border-radius: 50%; }
.screen-url { font-size: 10px; color: rgba(255,255,255,.38); margin-left: 10px; }
.screen-body { display: flex; min-height: 360px; }
.screen-sidebar { width: 164px; flex-shrink: 0; background: rgba(26,48,64,.03); border-right: .5px solid rgba(26,48,64,.07); padding: 12px 0; }
.screen-sb-header { padding: 10px 13px 13px; border-bottom: .5px solid rgba(26,48,64,.07); margin-bottom: 6px; }
.screen-sb-brand  { font-size: 11px; font-weight: 600; color: var(--navy); }
.screen-sb-role   { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.screen-nav-item  { display: flex; align-items: center; gap: 7px; padding: 6px 13px; font-size: 11px; color: var(--text-mid); }
.screen-nav-item.active { background: rgba(26,48,64,.06); color: var(--navy); font-weight: 500; }
.screen-nav-item i { font-size: 13px; width: 14px; flex-shrink: 0; }
.screen-main { flex: 1; padding: 16px; }
.screen-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 13px; }
.screen-metric { background: rgba(247,243,238,.85); border-radius: 7px; padding: 9px 11px; }
.screen-metric-val { font-family: var(--serif); font-size: 18px; font-weight: 300; color: var(--navy); line-height: 1; }
.screen-metric-lbl { font-size: 9px; color: var(--text-lt); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.screen-content-box { background: rgba(247,243,238,.85); border-radius: 7px; padding: 12px; margin-top: 12px; }
.screen-content-title { font-size: 10px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }

/* ── Role tabs (portaal page) ── */
.role-tabs { display: flex; gap: 0; background: rgba(26,48,64,.07); border-radius: 10px; padding: 3px; margin-bottom: 32px; flex-wrap: wrap; }
.role-tab-btn { flex: 1; min-width: 80px; padding: 9px 14px; border-radius: 7px; border: none; background: none; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--text-lt); transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.role-tab-btn.active { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.role-tab-btn i { font-size: 14px; }

/* ── CTA band ── */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #1f4a60 100%); position: relative; overflow: hidden; }
.cta-band::before { content: 'VACOVIA'; font-family: var(--serif); font-size: 220px; font-weight: 300; color: rgba(255,255,255,.03); position: absolute; right: -10px; bottom: -32px; white-space: nowrap; pointer-events: none; }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,.55); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand-name { font-family: var(--serif); font-size: 26px; font-weight: 300; letter-spacing: 4px; color: var(--white); margin-bottom: 6px; }
.footer-tagline { font-size: 10px; letter-spacing: 5px; color: var(--gold-lt); text-transform: uppercase; margin-bottom: 16px; }
.footer-desc { font-size: 12px; line-height: 1.7; }
.footer-col h4 { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 7px; transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: .5px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: rgba(255,255,255,.35); font-size: 19px; transition: color var(--t); }
.footer-socials a:hover { color: var(--white); }

/* ── Range slider shared ── */
.calc-box { background: rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: 28px; border: .5px solid rgba(255,255,255,.1); }
.calc-box label { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: 6px; }
.calc-box input[type=range] { width: 100%; accent-color: var(--gold-lt); }
.calc-row-vals { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.28); margin-top: 3px; }
.calc-mid { color: var(--gold-lt); font-weight: 500; }
.calc-result-row { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.42); margin-bottom: 5px; }
.calc-total-row { display: flex; justify-content: space-between; align-items: flex-end; }
.calc-total-lbl { font-size: 14px; font-weight: 500; color: var(--white); }
.calc-total-val { font-family: var(--serif); font-size: 34px; font-weight: 300; color: var(--gold-lt); line-height: 1; }
.calc-sep { border: none; border-top: .5px solid rgba(255,255,255,.1); margin: 16px 0; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Fade animations (hero) ── */
@keyframes fadeIn  { from { opacity: 0; }                    to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.fade-in   { animation: fadeIn  .9s var(--ease) both; }
.fade-up   { animation: fadeUp  .8s var(--ease) both; }
.delay-1   { animation-delay: .1s; }
.delay-2   { animation-delay: .22s; }
.delay-3   { animation-delay: .36s; }
.delay-4   { animation-delay: .5s; }
.delay-5   { animation-delay: .68s; }

/* ── Media queries ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usp-inner   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section-inner { padding: 0 24px; }
  .nav { padding: 0 20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .compare-head-row, .compare-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .usp-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-head-row, .compare-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 11px; }
  .compare-head, .compare-cell { padding: 10px 8px; }
}
