/* =========================================================
   OZIIX – contact.css
   Contactpagina, bouwt voort op style.css (merkkleur --brand)
   ========================================================= */

/* ---------- Pagina & raster ---------- */
.ct { padding: 150px 20px 90px; background: linear-gradient(180deg, #fbfdff 0%, #fff 100%); }
.ct-top { max-width: 1240px; margin: 0 auto 44px; }
.ct-top h1 { margin-top: 4px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
.ct-top p { max-width: 560px; margin-top: 14px; font-size: 1.05rem; }

/* Drie aparte kaders links, samen even hoog als het formulier rechts */
.ct-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; }
.ct-left { display: grid; grid-template-rows: auto auto 1fr; gap: 28px; min-height: 0; }
.ct-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 50px -38px rgba(15, 23, 42, .35); }

.ct-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.ct-hi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--brand); background: var(--brand-soft); }

/* ---------- Contactgegevens ---------- */
.ct-info { padding: 28px 30px; }
.ct-list { display: grid; gap: 18px; margin: 22px 0; }
.ct-list li { display: flex; align-items: center; gap: 14px; }
.ct-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; color: var(--brand); background: var(--brand-soft); transition: background .3s, color .3s; }
.ct-list li:hover .ct-ico { background: var(--brand); color: #fff; }
.ct-list small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; line-height: 1.2; }
.ct-list a { font-weight: 600; color: var(--ink); transition: color .25s; }
.ct-list a:hover { color: var(--brand); }

/* "Liever een berichtje?" onderaan het contactkader */
.ct-msg { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.ct-msg-t { margin-bottom: 14px; line-height: 1.45; }
.ct-msg-t strong { display: block; font-size: 1rem; color: var(--ink); }
.ct-msg-t span { font-size: .9rem; }
.btn-wa { width: 100%; min-height: 52px; background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb558; box-shadow: 0 12px 24px -12px rgba(37, 211, 102, .8); transform: translateY(-2px); }

/* ---------- Openingsuren + live status ---------- */
.ct-hours { padding: 28px 30px 22px; }
.ct-hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ct-hours .ct-h { gap: 8px; margin-bottom: 12px; font-size: 1rem; }
.ct-hours dl { display: grid; gap: 2px; margin: 0; }
.ct-hours dl > div { display: flex; justify-content: space-between; padding: 14px; border-radius: 10px; font-size: .98rem; }
.ct-hours dl > div + div { border-top: 1px solid #f1f5f9; }
.ct-hours dd { margin: 0; font-weight: 600; color: var(--ink); }
.ct-hours .off dd { color: #dc2626; }
.ct-hours .is-today { background: var(--brand-soft); }
.ct-hours .is-today dt { color: var(--ink); font-weight: 700; }

.ct-status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: .82rem; transition: background .4s, color .4s; }
.ct-status .dot { position: relative; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ct-status .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
.ct-status.is-open { background: rgba(22, 163, 74, .1); color: #15803d; }
.ct-status.is-open .dot { background: #16a34a; }
.ct-status.is-soon { background: rgba(245, 158, 11, .14); color: #b45309; }
.ct-status.is-soon .dot { background: #f59e0b; }
.ct-status.is-soon .dot::after { animation-duration: 1.2s; }   /* sneller pulseren: sluit binnenkort */
.ct-status.is-closed { background: rgba(220, 38, 38, .08); color: #b91c1c; }
.ct-status.is-closed .dot { background: #dc2626; }
.ct-status.is-closed .dot::after { animation-duration: 3.2s; }

/* ---------- Kaart ---------- */
.ct-map { min-height: 280px; }
.ct-map iframe { display: block; flex: 1; width: 100%; height: auto; min-height: 220px; border: 0; }
.ct-map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.ct-map-bar span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.ct-map-bar span svg { color: var(--brand); }
.ct-map-bar .btn { padding: 10px 18px; font-size: .88rem; }
.ct-map-bar .btn span { color: inherit; }            /* tekst in de knop blijft wit */

/* ---------- Formulier (vult de volle hoogte, het tekstvak groeit mee) ---------- */
.ct-form { position: relative; display: flex; flex-direction: column; overflow: visible; padding: 34px; border: 1px solid var(--line); box-shadow: 0 24px 50px -38px rgba(15, 23, 42, .35); }
.ct-form h2 { font-size: 1.5rem; font-weight: 800; }
.ct-form .cm-ok { border-radius: inherit; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-form .cm-field input { padding-left: 16px; }
.ct-grow { flex: 1; display: flex; min-height: 110px; }

.cm-field textarea { flex: 1; width: 100%; min-height: 110px; padding: 14px 16px; resize: none; background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; font-size: .95rem; color: var(--ink); transition: border-color .25s, box-shadow .3s, background .25s; }
.cm-field textarea:hover { border-color: #cbd5e1; }
.cm-field textarea:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.cm-field.is-bad textarea { border-color: #ef4444; animation: shake .45s; }
.cm-label .opt { font-weight: 500; color: #94a3b8; letter-spacing: 0; }

.ct-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.ct-note svg { color: var(--brand); }

/* toestemming: kleine, lichte balk */
.ct-consent { align-items: center; gap: 12px; margin-top: 18px; padding: 11px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; font-size: .78rem; line-height: 1.45; color: var(--text); transition: border-color .25s, background .25s; }
.ct-consent:hover { border-color: #cbd5e1; }
.ct-consent .cm-box { margin-top: 0; }
.ct-consent a { color: var(--brand); font-weight: 600; }
.ct-consent.is-bad { border-color: #ef4444; background: #fef2f2; animation: shake .45s; }

/* ---------- Dropdown in sitestijl ---------- */
.ct-sel { position: relative; }
.ct-sel-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 50px; padding: 0 16px; background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: .95rem; color: var(--ink); text-align: left; transition: border-color .25s, box-shadow .3s, background .25s; }
.ct-sel-btn:hover { border-color: #cbd5e1; }
.ct-sel.is-open .ct-sel-btn, .ct-sel-btn:focus-visible { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.ct-sel-btn .ph { color: #94a3b8; }
.ct-sel.is-open .chev { transform: rotate(180deg); }
.ct-sel.is-bad .ct-sel-btn { border-color: #ef4444; animation: shake .45s; }
.ct-sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 260px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .35); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .2s, transform .35s var(--ease), visibility 0s .35s; }
.ct-sel.is-open .ct-sel-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--ease), visibility 0s; }
.ct-sel-list li { padding: 10px 12px; border-radius: 10px; font-size: .93rem; font-weight: 500; color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.ct-sel-list li:hover, .ct-sel-list li:focus-visible { outline: 0; background: var(--brand-soft); color: var(--ink); }
.ct-sel-list li[aria-selected="true"] { background: var(--brand); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ct { padding-top: 130px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-left { grid-template-rows: none; }
  .ct-map { min-height: 300px; }
  .ct-map iframe { flex: none; height: 260px; }
}
@media (max-width: 600px) {
  .ct { padding: 116px 14px 60px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-form, .ct-info, .ct-hours { padding: 24px 20px; }
  .ct-map iframe { height: 240px; }
}