/* ============================================================
   ImmoNL — Properstar-inspired, Pays-Bas focused
   ============================================================ */

:root {
  --green:        #00875A;
  --green-dark:   #006644;
  --green-light:  #E3FCEF;
  --green-mid:    #ABF5D1;
  --navy:         #172B4D;
  --navy-mid:     #253858;
  --orange:       #FF8B00;
  --orange-light: #FFF7E6;
  --white:        #FFFFFF;
  --bg:           #F4F5F7;
  --gray-50:      #FAFBFC;
  --gray-100:     #F4F5F7;
  --gray-200:     #EBECF0;
  --gray-300:     #DFE1E6;
  --gray-400:     #C1C7D0;
  --gray-500:     #8993A4;
  --gray-600:     #6B778C;
  --gray-700:     #505F79;
  --gray-900:     #172B4D;
  --red:          #DE350B;
  --red-light:    #FFEBE6;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    12px;
  --radius-xl:    20px;
  --shadow-xs:    0 1px 2px rgba(9,30,66,.1);
  --shadow-sm:    0 1px 4px rgba(9,30,66,.13);
  --shadow:       0 3px 12px rgba(9,30,66,.13);
  --shadow-lg:    0 8px 32px rgba(9,30,66,.16);
  --shadow-xl:    0 16px 48px rgba(9,30,66,.18);
  --t:            .15s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 99px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--gray-600);
  padding: 5px 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.flag-nl { font-size: 1rem; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
  line-height: 1.4;
}
.btn:active { transform: scale(.98); }
.btn-ghost   { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); color: var(--navy); }
.btn-outline { border: 1.5px solid var(--gray-300); background: transparent; color: var(--gray-700); }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.btn-green  { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 4px 12px rgba(0,135,90,.3); }
.btn-navy   { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e07800; }
.btn-white  { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-sm  { padding: 5px 12px; font-size: .8rem; }
.btn-lg  { padding: 11px 24px; font-size: .95rem; }
.btn-xl  { padding: 13px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-green  { background: var(--green-light); color: var(--green-dark); }
.badge-red    { background: var(--red-light);   color: var(--red); }
.badge-gray   { background: var(--gray-200);    color: var(--gray-700); }
.badge-orange { background: var(--orange-light);color: #974F0C; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  background:
    linear-gradient(to bottom, rgba(23,43,77,.75) 0%, rgba(23,43,77,.55) 50%, rgba(23,43,77,.85) 100%),
    url('https://images.unsplash.com/photo-1534430480872-3498386e7856?w=1600&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Fallback si Unsplash non dispo */
.hero { background-color: var(--navy); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .nl-flag { font-size: .95rem; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  max-width: 760px;
}
.hero-title .accent { color: var(--green-mid); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.65;
}

/* ── Search Panel ── */
.search-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 32px;
}

.search-tabs {
  display: flex;
  gap: 4px;
  padding: 4px 4px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 12px;
}
.search-tab {
  padding: 8px 18px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t), border-color var(--t);
}
.search-tab.active,
.search-tab:hover { color: var(--green); border-bottom-color: var(--green); }

.search-fields {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 4px 8px;
  flex-wrap: wrap;
}

.sf {
  flex: 1 1 180px;
  position: relative;
}
.sf-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1rem;
  pointer-events: none;
}
.sf input,
.sf select {
  width: 100%;
  padding: 10px 12px 10px 32px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  font-family: inherit;
  appearance: none;
}
.sf input:focus,
.sf select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(0,135,90,.12); }

.sf-divider { width: 1px; height: 32px; background: var(--gray-300); flex-shrink: 0; }

.search-btn {
  flex: 0 0 auto;
  padding: 11px 28px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t), box-shadow var(--t);
}
.search-btn:hover { background: var(--green-dark); box-shadow: 0 4px 12px rgba(0,135,90,.35); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { color: rgba(255,255,255,.8); font-size: .88rem; text-align: center; }
.hero-stat strong { color: #fff; font-size: 1.25rem; font-weight: 800; display: block; line-height: 1.2; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.sh { /* section header */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.sh-left h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.sh-left p { color: var(--gray-600); font-size: .9rem; margin-top: 4px; }

/* ============================================================
   LISTING CARDS  (horizontal — Properstar style)
   ============================================================ */
.listings-list { display: flex; flex-direction: column; gap: 16px; }

.lcard {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  text-decoration: none;
  color: inherit;
}
.lcard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}

.lcard-photo {
  position: relative;
  height: 200px;
  background: var(--gray-100);
  overflow: hidden;
  flex-shrink: 0;
}
.lcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.lcard:hover .lcard-photo img { transform: scale(1.05); }
.lcard-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-300);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.lcard-photo-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lcard-photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(23,43,77,.7);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.lcard-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: background var(--t);
}
.lcard-fav:hover { background: #fff; }

.lcard-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.lcard-top { }
.lcard-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.lcard-price span { font-size: .85rem; font-weight: 400; color: var(--gray-500); }
.lcard-title { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.lcard-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .83rem;
  color: var(--gray-600);
}
.lcard-location .city { font-weight: 600; color: var(--green-dark); }

.lcard-specs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.lcard-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--gray-700);
}
.lcard-spec .spec-icon { font-size: .9rem; }

.lcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.lcard-charges { font-size: .78rem; color: var(--gray-500); }
.lcard-date    { font-size: .76rem; color: var(--gray-400); }
.lcard-cta { padding: 6px 16px; font-size: .8rem; }

/* Grid view (alternative) */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gcard {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.gcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.gcard-photo {
  position: relative;
  height: 200px;
  background: var(--gray-100);
  overflow: hidden;
}
.gcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gcard:hover .gcard-photo img { transform: scale(1.05); }
.gcard-photo-empty { width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:var(--gray-300); }
.gcard-badges { position:absolute;top:10px;left:10px;display:flex;gap:5px;flex-wrap:wrap; }
.gcard-fav { position:absolute;top:8px;right:8px;width:30px;height:30px;background:rgba(255,255,255,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;cursor:pointer; }

.gcard-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.gcard-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.gcard-price span { font-size: .8rem; font-weight: 400; color: var(--gray-500); }
.gcard-title { font-size: .9rem; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard-loc { font-size: .82rem; color: var(--gray-600); display:flex;align-items:center;gap:4px; }
.gcard-specs { display:flex;gap:14px;font-size:.8rem;color:var(--gray-700);padding-top:10px;border-top:1px solid var(--gray-100); }
.gcard-specs span { display:flex;align-items:center;gap:4px; }

/* View toggle */
.view-toggle {
  display: flex;
  gap: 2px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.view-btn {
  padding: 5px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  font-size: .9rem;
  transition: background var(--t), color var(--t);
}
.view-btn.active,
.view-btn:hover { background: var(--green); color: #fff; }

/* ============================================================
   CITIES
   ============================================================ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .cities-grid { grid-template-columns: 1fr 1fr; } }

.city-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 150px;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.city-tile-bg {
  position: absolute;
  inset: 0;
  transition: transform .4s ease;
}
.city-tile:hover .city-tile-bg { transform: scale(1.07); }
.city-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,43,77,.75) 0%, rgba(23,43,77,.1) 60%);
}
.city-tile-info {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #fff;
}
.city-tile-info strong { display: block; font-size: .95rem; font-weight: 700; }
.city-tile-info span  { font-size: .75rem; opacity: .85; }

/* City backgrounds */
.bg-amsterdam { background: linear-gradient(135deg,#1a1a2e 0%,#16213e 100%); }
.bg-rotterdam { background: linear-gradient(135deg,#0f3460 0%,#1a5276 100%); }
.bg-denhaag   { background: linear-gradient(135deg,#154360 0%,#1a6a8a 100%); }
.bg-utrecht   { background: linear-gradient(135deg,#1b4332 0%,#2d6a4f 100%); }
.bg-eindhoven { background: linear-gradient(135deg,#4a235a 0%,#7d3c98 100%); }
.bg-groningen { background: linear-gradient(135deg,#1a3a4a 0%,#2e6d8a 100%); }
.bg-tilburg   { background: linear-gradient(135deg,#4a2c2a 0%,#8b4513 100%); }
.bg-default   { background: linear-gradient(135deg,#2c3e50 0%,#3498db 100%); }

.city-emoji { font-size: 2.5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 36px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-item .val { font-size: 2rem; font-weight: 800; color: var(--green-mid); line-height: 1; }
.stat-item .lbl { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 5px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .hiw-grid { grid-template-columns: 1fr 1fr; } }

.hiw-card {
  text-align: center;
  padding: 28px 16px;
}
.hiw-step {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.hiw-icon { font-size: 2rem; margin-bottom: 10px; }
.hiw-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.hiw-card p  { font-size: .83rem; color: var(--gray-600); line-height: 1.7; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-700);
  font-weight: 500;
}
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section { background: var(--green); }
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-inner p  { color: rgba(255,255,255,.85); font-size: .9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 56px 0 0;
  font-size: .85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand-icon {
  width: 26px;
  height: 26px;
  background: var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}
.footer-desc { line-height: 1.8; max-width: 260px; margin-bottom: 20px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  transition: background var(--t);
}
.footer-social a:hover { background: var(--green); }

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { transition: color var(--t); }
.footer-col ul a:hover { color: var(--green-mid); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-bottom a:hover { color: var(--green-mid); }
.nl-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.06);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   ALERTS / FORMS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.alert-success { background: var(--green-light); border: 1px solid var(--green-mid); color: var(--green-dark); }
.alert-danger  { background: var(--red-light); border: 1px solid #ffbdad; color: var(--red); }
.alert-info    { background: #E6F0FF; border: 1px solid #B3D4FF; color: #0747A6; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0,135,90,.12);
}

/* ============================================================
   ADMIN (kept from before, updated colors)
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 252px;
  background: var(--navy);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar-brand {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
}
.sidebar-brand-icon { width: 26px; height: 26px; background: var(--green); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.sidebar-nav { padding: 10px 0; flex: 1; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 500;
  transition: background var(--t), color var(--t);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.9); }
.sidebar-nav a.active { background: rgba(0,135,90,.15); color: var(--green-mid); border-left-color: var(--green); }
.sidebar-nav .nav-icon { width: 18px; text-align: center; font-size: .95rem; }
.sidebar-nav .badge-count { margin-left: auto; background: var(--red); color: #fff; font-size: .68rem; padding: 1px 6px; border-radius: 99px; font-weight: 700; }
.sidebar-divider { height: 1px; background: rgba(255,255,255,.06); margin: 6px 18px; }
.sidebar-footer { padding: 14px 18px; font-size: .75rem; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.06); }

.admin-main { flex: 1; padding: 32px; background: var(--bg); overflow-x: auto; }
.admin-header { margin-bottom: 28px; }
.admin-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.admin-header p  { color: var(--gray-600); font-size: .88rem; margin-top: 4px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.si-green { background: var(--green-light); } .si-navy { background: #E6F0FF; } .si-orange { background: var(--orange-light); } .si-red { background: var(--red-light); }
.stat-val { font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-lbl { font-size: .78rem; color: var(--gray-600); margin-top: 2px; }

.table-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.table-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
.table-card-header h3 { font-weight: 700; font-size: .9rem; color: var(--navy); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--gray-50); padding: 10px 16px; text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: .86rem; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }

.admin-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; max-width: 840px; }
.form-section-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.form-hr { height: 1px; background: var(--gray-200); margin: 24px 0; border: none; }
.upload-area { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 32px; text-align: center; cursor: pointer; transition: border-color var(--t), background var(--t); }
.upload-area:hover { border-color: var(--green); background: var(--green-light); }
.upload-area input[type=file] { display: none; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.thumb-wrap { position: relative; width: 88px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.thumb-remove { position: absolute; top: 3px; right: 3px; background: rgba(222,53,11,.9); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: .65rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.photo-thumb-admin { width: 54px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }
.no-photo-thumb { width: 54px; height: 40px; background: var(--gray-100); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--navy), #1f4068); }
.login-box { background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-xl); }
.login-logo { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.login-logo-icon { width: 28px; height: 28px; background: var(--green); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.login-sub { color: var(--gray-600); font-size: .88rem; margin-bottom: 28px; }

/* Responsive */
@media (max-width: 768px) {
  .lcard { grid-template-columns: 1fr; }
  .lcard-photo { height: 200px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 20px; }
  .form-grid-2, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; }
  .cta-inner { text-align: center; justify-content: center; }
}
