/* TEN Apartments - publieke site (prototype). Huisstijlkleuren afgeleid van het bestaande logo. */
:root {
  --ten-navy: #243659; --ten-navy-900: #172440; --ten-sand: #c4a98d; --ten-sand-100: #f6f1eb; --ten-sand-200: #ece2d6;
  --ten-ocean: #1f6f8b; --ten-ink: #1d2433; --ten-muted: #5d6677; --ten-ok: #2e7d4f; --ten-busy: #c8553d;
  --bs-primary: var(--ten-navy); --bs-primary-rgb: 36, 54, 89; --bs-link-color: var(--ten-ocean); --bs-link-hover-color: var(--ten-navy);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --bs-body-color: var(--ten-ink);
  --radius: 14px;
}
body { background: #fff; font-size: 1.0rem; }
h1, h2, h3, .display-font { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: .2px; color: var(--ten-navy); }
.btn-primary { --bs-btn-bg: var(--ten-navy); --bs-btn-border-color: var(--ten-navy); --bs-btn-hover-bg: var(--ten-navy-900); --bs-btn-hover-border-color: var(--ten-navy-900);
  --bs-btn-active-bg: var(--ten-navy-900); --bs-btn-disabled-bg: #8a93a6; --bs-btn-disabled-border-color: #8a93a6; }
.btn-sand { background: var(--ten-sand); color: var(--ten-navy-900); border: 0; font-weight: 600; }
.btn-sand:hover { background: #b6987a; color: #fff; }
.btn-outline-primary { --bs-btn-color: var(--ten-navy); --bs-btn-border-color: var(--ten-navy); --bs-btn-hover-bg: var(--ten-navy); --bs-btn-hover-border-color: var(--ten-navy); }
.text-sand { color: var(--ten-sand) !important; } .bg-sand { background: var(--ten-sand-100) !important; } .text-navy { color: var(--ten-navy) !important; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--ten-sand); }
.section { padding: 72px 0; } .section-sm { padding: 40px 0; }
@media (max-width: 767px) { .section { padding: 48px 0; } }

/* prototype-banner */
.proto-bar { background: var(--ten-navy-900); color: #cfd6e4; font-size: .78rem; text-align: center; padding: 4px 12px; }
.proto-bar a { color: var(--ten-sand); }

/* header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #eee; }
.site-header .navbar-brand img { height: 44px; }
.site-header .nav-link { font-weight: 500; color: var(--ten-ink); }
.site-header .nav-link.active, .site-header .nav-link:hover { color: var(--ten-ocean); }
.lang-switch .dropdown-toggle { font-weight: 600; text-transform: uppercase; }

/* hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 36, 64, .78) 0%, rgba(23, 36, 64, .35) 60%, rgba(23, 36, 64, .1) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; max-width: 720px; }
.hero .lead { max-width: 560px; color: #e9edf5; }
.searchbox { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: var(--ten-ink); }
.searchbox .form-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ten-muted); margin-bottom: 2px; font-weight: 600; }
.searchbox .form-control, .searchbox .form-select { border: 0; padding-left: 0; font-weight: 600; }
.searchbox .col-field { border-right: 1px solid #eee; padding: 4px 14px; }
@media (max-width: 991px) { .searchbox .col-field { border-right: 0; border-bottom: 1px solid #eee; } }

/* usp */
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp .ico { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--ten-sand-100); color: var(--ten-navy); display: grid; place-items: center; font-size: 1.3rem; }
.usp h3 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; margin: 0 0 4px; color: var(--ten-ink); }
.usp p { margin: 0; color: var(--ten-muted); font-size: .92rem; }

/* kaarten */
.apt-card { border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(23, 36, 64, .08); transition: transform .2s, box-shadow .2s; height: 100%; }
.apt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(23, 36, 64, .16); }
.apt-card .ratio img { object-fit: cover; }
.apt-card .ratio > .badge-dest { position: absolute; top: 12px; left: 12px; width: auto; height: auto; background: rgba(255, 255, 255, .92); color: var(--ten-navy); font-weight: 600; }
.apt-card .card-title { font-family: "DM Serif Display", serif; font-size: 1.35rem; color: var(--ten-navy); }
.apt-card .facts { color: var(--ten-muted); font-size: .88rem; }
.apt-card .price { font-size: 1.25rem; font-weight: 700; color: var(--ten-navy); }
.apt-card .price small { font-weight: 400; color: var(--ten-muted); font-size: .8rem; }

/* bestemmingen */
.dest-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: #fff; display: flex; align-items: flex-end; padding: 24px; background-size: cover; background-position: center; }
.dest-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 36, 64, .85), rgba(23, 36, 64, 0) 65%); }
.dest-tile > * { position: relative; } .dest-tile h3 { color: #fff; }

/* long stay band */
.band { background: var(--ten-navy); color: #e8ecf4; border-radius: 24px; overflow: hidden; }
.band h2 { color: #fff; }

/* galerij */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; position: relative; overflow: hidden; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .more { position: absolute; right: 12px; bottom: 12px; }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } .gallery a:nth-child(n+4) { display: none; } }
/* Minder dan 5 foto's (bv. een nieuw appartement, BO-51): geen lege vakken */
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g2 { grid-template-columns: 2fr 1fr; } .gallery.g2 a { grid-row: span 2; }
.gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery.g4 a:nth-child(4) { grid-column: span 2; }
@media (max-width: 767px) { .gallery.g1, .gallery.g2, .gallery.g3 { grid-template-columns: 1fr; grid-template-rows: 260px; } .gallery.g1 a, .gallery.g2 a, .gallery.g3 a { grid-column: auto; grid-row: auto; } .gallery.g2 a:nth-child(n+2), .gallery.g3 a:nth-child(n+2) { display: none; } }

.fact { text-align: center; padding: 14px 6px; border: 1px solid var(--ten-sand-200); border-radius: 12px; height: 100%; }
.fact i { font-size: 1.4rem; color: var(--ten-ocean); } .fact div { font-weight: 700; } .fact small { color: var(--ten-muted); }
.amen-groups { columns: 2; column-gap: 16px; }
.amen-group { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 16px; padding: 16px 18px 12px; background: #fff; border: 1px solid var(--ten-sand-200); border-radius: 12px; }
.amen-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; color: var(--ten-ink); }
.amen-ico { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ten-sand-100); color: var(--ten-navy); display: grid; place-items: center; font-size: 1rem; }
.amen-list { list-style: none; padding: 0; margin: 0; }
.amen-list li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; line-height: 1.4; font-size: .95rem; }
.amen-list li + li { border-top: 1px solid #f1ece5; }
.amen-list i { flex: 0 0 auto; color: var(--ten-ocean); margin-top: 1px; }
@media (max-width: 575px) { .amen-groups { columns: 1; } }
.prose h3 { font-size: 1.35rem; margin-top: 1.2rem; } .prose h4 { font-family: "Inter", sans-serif; font-size: 1.05rem; font-weight: 700; margin-top: 1rem; }
.poi { display: flex; justify-content: space-between; border-bottom: 1px dashed #e5e5e5; padding: 6px 0; font-size: .95rem; }
.poi span:last-child { color: var(--ten-muted); white-space: nowrap; }
.rule { display: flex; gap: 10px; align-items: center; padding: 6px 0; } .rule i { color: var(--ten-ocean); font-size: 1.1rem; }

/* boekingswidget */
.book-card { position: sticky; top: 96px; border: 0; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(23, 36, 64, .14); }
.book-card .rate { font-size: 1.6rem; font-weight: 700; color: var(--ten-navy); }
.quote-line { display: flex; justify-content: space-between; font-size: .95rem; padding: 3px 0; }
.quote-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid #e6e6e6; margin-top: 6px; padding-top: 8px; }

/* kalender */
.cal-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cal h4 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; text-align: center; text-transform: capitalize; }
.cal table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 2px; }
.cal th { font-size: .72rem; color: var(--ten-muted); text-align: center; font-weight: 600; }
.cal td { height: 48px; text-align: center; vertical-align: middle; border-radius: 8px; cursor: pointer; font-size: .9rem; position: relative; user-select: none; }
.cal td small { display: block; font-size: .64rem; color: var(--ten-muted); line-height: 1; }
.cal td.free:hover { background: var(--ten-sand-100); outline: 1px solid var(--ten-sand); }
.cal td.past { color: #c2c2c2; cursor: default; } .cal td.past small { visibility: hidden; }
.cal td.booked { color: #b9b9b9; text-decoration: line-through; cursor: not-allowed; background: repeating-linear-gradient(135deg, #f6f6f6, #f6f6f6 4px, #fff 4px, #fff 8px); }
.cal td.booked small { visibility: hidden; }
.cal td.sel { background: var(--ten-navy); color: #fff; } .cal td.sel small { color: #d6dcea; }
.cal td.range { background: #dfe6f3; }
.cal td.empty { cursor: default; }
.legend span { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-size: .85rem; color: var(--ten-muted); }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid #ddd; }

/* checkout */
.steps { display: flex; gap: 8px; counter-reset: s; }
.steps .st { flex: 1; padding: 10px; border-radius: 10px; background: #f3f4f7; font-weight: 600; color: var(--ten-muted); font-size: .9rem; }
.steps .st.on { background: var(--ten-navy); color: #fff; } .steps .st.done { background: #dfe6f3; color: var(--ten-navy); }
.summary-card { border: 0; border-radius: var(--radius); background: var(--ten-sand-100); }
.pay-box { border: 2px dashed var(--ten-sand); border-radius: var(--radius); background: #fff; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .03em; }

/* footer */
.site-footer { background: var(--ten-navy-900); color: #c3cbd9; padding: 56px 0 24px; margin-top: 64px; font-size: .92rem; }
.site-footer h4 { font-family: "Inter", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ten-sand); }
.site-footer a { color: #e2e7f0; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { height: 54px; filter: brightness(0) invert(1); opacity: .9; }

/* cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; z-index: 1080; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.translation-note { font-size: .85rem; }
.breadcrumb { font-size: .85rem; } .breadcrumb a { text-decoration: none; }
.faq .accordion-button { font-weight: 600; } .faq .accordion-button:not(.collapsed) { background: var(--ten-sand-100); color: var(--ten-navy); }
.modal-gallery .carousel-item img { max-height: 78vh; object-fit: contain; width: 100%; background: #000; }
.font-sans { font-family: "Inter", system-ui, sans-serif !important; color: var(--ten-ink) !important; }
.accordion-header { font-family: "Inter", system-ui, sans-serif; font-size: 1rem; }
