/* ==========================================================================
   Kisalaya Builders and Developers — Corporate Theme (Navy & Gold)
   ========================================================================== */

:root {
  /* Kisalaya Blue ramp — structure & authority (60%) */
  --navy-950: #00193a;
  --navy-900: #00193a;
  --navy-800: #012a5c;
  --navy-700: #034da2;
  --navy-600: #1c5cad;
  --navy-500: #4c87c7;

  /* Kisalaya Green ramp — growth & openness (30%) */
  --green-700: #2e6417;
  --green-600: #4e9b2c;
  --green-500: #72bf44;
  --green-300: #a8dc85;
  --green-100: #d6efc5;
  --green-50: #f1f9ec;

  /* Kisalaya Gold ramp — warmth & craft, CTAs only (10%) */
  --gold-600: #a87a0c;
  --gold-500: #d4a017;
  --gold-400: #f0ce6e;
  --gold-300: #f8e9c2;
  --gold-100: #fdf8ec;

  /* Neutrals & surfaces */
  --ink: #12212f;
  --gray-900: #12212f;
  --gray-700: #5a6b7b;
  --gray-500: #5a6b7b;
  --gray-300: #dce4ec;
  --gray-200: #dce4ec;
  --gray-100: #f1f5fa;
  --gray-50: #faf7ef;
  --white: #ffffff;
  --success: #4e9b2c;
  --danger: #c23b3b;

  --font-head: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 25, 58, 0.08), 0 1px 2px rgba(0, 25, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 25, 58, 0.1);
  --shadow-lg: 0 20px 48px rgba(0, 25, 58, 0.16);
  --container-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-alt { background: var(--gray-50); }
.bg-navy { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--gray-200); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold-500); display: inline-block; }
.bg-navy .eyebrow { color: var(--gold-400); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-700); font-size: 1.05rem; }
.bg-navy .section-head p { color: var(--gray-300); }
.section-head.align-left { margin: 0 0 40px; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Topbar */
.topbar {
  background: var(--navy-950);
  color: var(--gray-300);
  font-size: 0.85rem;
}
.topbar .container { max-width: 1440px; display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 16px; overflow-x: auto; }
.topbar-links { display: flex; gap: 22px; flex-shrink: 0; }
.topbar-links a, .topbar-links span { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-300); white-space: nowrap; }
.topbar-links a:hover { color: var(--gold-400); }
.topbar-social { display: flex; gap: 14px; flex-shrink: 0; }
.topbar-social a { color: var(--gray-300); font-size: 0.95rem; }
.topbar-social a:hover { color: var(--gold-400); }

/* Header / Nav */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .container { max-width: 1440px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; padding-left: 14px; border-left: 1px solid var(--gray-200); }
.brand-descriptor { font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy-700); font-weight: 600; white-space: nowrap; }

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 13px; font-weight: 600; font-size: 0.88rem;
  color: var(--navy-800); border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { color: var(--navy-700); }
.main-nav li { position: relative; }
.main-nav .dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); min-width: 240px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; border-top: 3px solid var(--gold-500);
}
.main-nav li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--navy-800); white-space: nowrap; }
.main-nav .dropdown-menu a:hover { background: var(--gray-100); color: var(--gold-600); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); display: block; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, var(--navy-700), var(--navy-950) 70%);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(212,160,23,0.06) 0 2px, transparent 2px 46px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero p { color: var(--gray-300); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--white); color: var(--navy-900);
  border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge i { font-size: 1.6rem; color: var(--gold-600); }
.hero-badge strong { display: block; font-size: 1.15rem; }
.hero-badge span { font-size: 0.78rem; color: var(--gray-500); }

/* Breadcrumb / page header */
.page-header {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0 48px;
}
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--gray-300); margin-top: 12px; }
.breadcrumb a { color: var(--gold-400); }

/* Stats */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card .num { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--gold-400); font-weight: 700; }
.stat-card .lbl { color: var(--gray-300); font-size: 0.9rem; margin-top: 4px; }
.bg-white .stat-card .num { color: var(--navy-800); }
.bg-white .stat-card .lbl { color: var(--gray-700); }

/* Cards grid */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-800); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-500); color: var(--navy-950);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px;
}
.card-badge.status-completed, .card-badge.status-available { background: var(--success); color: var(--white); }
.card-badge.status-ongoing, .card-badge.status-upcoming { background: var(--navy-700); color: var(--white); }
.card-badge.status-sold { background: var(--gray-500); color: var(--white); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body h3 a:hover { color: var(--gold-600); }
.card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--gray-500); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-body p.desc { color: var(--gray-700); font-size: 0.92rem; flex: 1; }
.card-link { font-weight: 700; font-size: 0.88rem; color: var(--gold-600); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.card-link i { transition: transform 0.2s ease; }
.card:hover .card-link i { transform: translateX(4px); }

/* Icon feature card (services / finance highlights) */
.icon-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 30px 26px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.icon-card:hover { border-color: var(--gold-400); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.icon-circle {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.icon-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.icon-card p { color: var(--gray-700); font-size: 0.92rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 16px; }
.usp-badge { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 16px 20px; flex: 1; min-width: 220px; box-shadow: var(--shadow-sm); }
.usp-badge i { color: var(--gold-600); font-size: 1.4rem; }
.usp-badge strong { display: block; font-size: 0.95rem; }
.usp-badge span { font-size: 0.8rem; color: var(--gray-500); }

/* Team */
.team-card { text-align: center; padding: 28px 20px; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 4px solid var(--gold-100); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; }
.team-card .role { color: var(--gold-600); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.team-card p.bio { font-size: 0.88rem; color: var(--gray-700); }
.team-social { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--navy-800); }
.team-social a:hover { background: var(--gold-500); color: var(--white); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; align-items: center; }
.filter-bar select, .filter-bar input[type="text"] {
  padding: 11px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; background: var(--white); color: var(--ink);
}
.filter-bar .btn { padding: 11px 20px; }

/* Detail pages */
.detail-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 32px; aspect-ratio: 16/8; }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.detail-body h2 { font-size: 1.4rem; margin: 28px 0 14px; }
.detail-body p, .detail-body li { color: var(--gray-700); font-size: 1rem; }
.detail-body ul { list-style: none; margin: 14px 0; }
.detail-body ul li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.detail-body ul li::before { content: '\f26b'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--gold-600); }
.detail-body img { border-radius: var(--radius-md); margin: 16px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.gallery-grid img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; cursor: pointer; transition: transform 0.2s ease; }
.gallery-grid img:hover { transform: scale(1.03); }

.side-card { background: var(--gray-50); border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--gray-200); margin-bottom: 24px; }
.side-card h4 { font-size: 1rem; margin-bottom: 16px; }
.side-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--gray-300); font-size: 0.9rem; }
.side-list li:last-child { border-bottom: none; }
.side-list li span:first-child { color: var(--gray-500); }
.side-list li span:last-child { font-weight: 600; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--navy-800); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(168,122,12,0.18); }
.form-group .errorlist { list-style: none; color: var(--danger); font-size: 0.8rem; margin-top: 6px; }
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.92rem; font-weight: 500; }
.alert-success { background: #e6f4ec; color: var(--success); border: 1px solid #b7e0c6; }
.alert-error { background: #fbe9e9; color: var(--danger); border: 1px solid #f0bcbc; }

/* Contact info tiles */
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.contact-tile i { font-size: 1.4rem; color: var(--gold-600); background: var(--gray-100); width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-tile strong { display: block; margin-bottom: 4px; }
.contact-tile p, .contact-tile a { font-size: 0.9rem; color: var(--gray-700); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 8px; }
.cta-banner p { color: var(--gray-300); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--gray-300); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-text { border-left-color: rgba(255,255,255,0.15); }
.footer-brand .brand-descriptor { color: var(--green-300); }
.footer-brand p { margin: 16px 0; font-size: 0.9rem; color: var(--gray-500); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-col .contact-line { display: flex; gap: 10px; font-size: 0.88rem; margin-bottom: 14px; align-items: flex-start; }
.footer-col .contact-line i { color: var(--gold-400); margin-top: 3px; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--gray-500); flex-wrap: wrap; gap: 8px; }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-950); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 400; border: none; cursor: pointer; font-size: 1.1rem;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,25,58,0.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease; padding: 40px;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: var(--white); font-size: 2rem; background: none; border: none; cursor: pointer; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.empty-state i { font-size: 2.4rem; color: var(--gray-300); margin-bottom: 14px; display: block; }

/* Pagination-free simple note */
.tag-pill { display: inline-block; background: var(--gold-100); color: var(--gold-600); font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* Collapse to the off-canvas menu well before the nav row would ever
   have to squeeze — avoids multi-line wrapping on laptop/tablet widths. */
@media (max-width: 1400px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: var(--white); box-shadow: var(--shadow-lg); padding: 90px 24px 24px;
    transition: right 0.3s ease; z-index: 600; overflow-y: auto;
    flex: none; justify-content: flex-start;
  }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
  .main-nav a.nav-link { padding: 13px 14px; font-size: 0.95rem; }
  .main-nav .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; display: none; padding-left: 12px; min-width: 0; }
  .main-nav li.dd-open .dropdown-menu { display: block; }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,25,58,0.5); z-index: 550; }
  .nav-backdrop.is-open { display: block; }
  .nav-cta .btn span { display: none; }
}

@media (max-width: 768px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-banner { padding: 36px; flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pre-payment preview watermark — remove the include in base.html once paid */
.dezmos-watermark {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  overflow: hidden;
}
.dezmos-watermark-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250vw;
  height: 250vh;
  transform: translate(-50%, -50%) rotate(-30deg);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 56px 72px;
}
.dezmos-watermark-grid span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(120, 130, 145, 0.16);
  mix-blend-mode: difference;
  white-space: nowrap;
  user-select: none;
}
