/* ================================================================
   KLR PROJECTS – SHARED DESIGN SYSTEM v5.0
   Design: Editorial split-layout, vertical gold accent lines
   Fonts: Poppins (display) + DM Sans (body)
   Colors: Deep Forest #1a3e2f + Warm Gold #c8a87b
   ================================================================ */

/* ── CSS VARIABLES ── */
:root {
  --primary:        #1a3e2f;
  --primary-light:  #2a5e4a;
  --primary-dark:   #0d2518;
  --secondary:      #c8a87b;
  --secondary-light:#e5d5b5;
  --secondary-dark: #a8844f;
  --bg-light:       #f4f1ec;
  --bg-white:       #ffffff;
  --bg-off:         #f9f7f3;
  --text-dark:      #1a2626;
  --text-muted:     #56706e;
  --text-light:     #5e7070; /* was #8a9e9c – darkened for WCAG AA contrast compliance */
  --border:         rgba(200,168,123,0.22);
  --border-strong:  rgba(200,168,123,0.45);
  --glass-bg:       rgba(255,255,255,0.72);
  --shadow-xs:      0 2px 8px rgba(26,62,47,0.06);
  --shadow-sm:      0 6px 20px rgba(26,62,47,0.08);
  --shadow-md:      0 12px 32px rgba(26,62,47,0.11);
  --shadow-lg:      0 24px 56px rgba(26,62,47,0.15);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --transition:     transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94),
                    opacity 0.32s ease,
                    background 0.25s ease,
                    border-color 0.2s ease,
                    box-shadow 0.28s ease;
  --font-display:   'Poppins', system-ui, sans-serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --nav-height:     68px;
  /* Signature: vertical gold accent bar */
  --accent-bar:     3px solid var(--secondary);
}

/* ── RESET ── */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: clamp(15px,1vw,16px);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:inherit; }
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Notch-safe areas */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  /* Crisp image rendering cross-browser */
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
}
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { font-family:var(--font-body); background:none; border:none; cursor:pointer; }
button, a { -webkit-tap-highlight-color:transparent; }

/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .anim-fade-up { opacity:1 !important; transform:none !important; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:7px; height:7px; }
::-webkit-scrollbar-track { background:var(--bg-light); }
::-webkit-scrollbar-thumb { background:var(--secondary); border-radius:8px; }
::-webkit-scrollbar-thumb:hover { background:var(--secondary-dark); }

/* ── LAYOUT ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ── TYPOGRAPHY ── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 10px;

  max-width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3.4vw,2.6rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.18;
}

/* Signature element: left vertical bar + offset text layout */
.section-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 44px;
}
.section-head-bar {
  width: 3px;
  min-height: 60px;
  background: linear-gradient(180deg, var(--secondary) 0%, rgba(200,168,123,0.2) 100%);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px;
}
.section-head-text { flex: 1; }
.section-head-text .section-eyebrow { margin-bottom: 8px; }

/* Legacy gold-rule kept for backward compat */
.gold-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  margin-top: 12px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(244,241,236,0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(26,62,47,0.06);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo { display:flex; align-items:center; flex-shrink:0; transition:opacity 0.2s; }
.nav-logo:hover { opacity:0.8; }
.nav-logo img { height:30px; width:auto; }

.nav-links { display:flex; align-items:center; gap:0; }
.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color:var(--primary); background:rgba(26,62,47,0.06); }
.nav-links a.active { color:var(--primary); font-weight:600; }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: var(--primary) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 60px !important;
  font-weight: 600 !important;
  margin-left: 10px;
  font-size: 0.82rem !important;
  box-shadow: 0 4px 14px rgba(26,62,47,0.2);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 7px 20px rgba(26,62,47,0.26) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0 24px;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  /* Smooth open/close */
  transition: max-height 0.32s cubic-bezier(0.16,1,0.3,1), padding 0.32s ease;
}
.nav-mobile.open {
  max-height: calc(100vh - var(--nav-height));
  padding: 14px 24px 26px;
  overflow-y: auto;
}
.nav-mobile ul { display:flex; flex-direction:column; gap:2px; }
.nav-mobile ul a {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-mobile ul a:hover,
.nav-mobile ul a.active {
  background: rgba(26,62,47,0.07);
  color: var(--primary);
  font-weight: 600;
}
.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--primary);
  color: white;
  padding: 13px 20px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 26px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background:var(--primary); color:white; border-color:var(--primary); }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 10px 24px rgba(26,62,47,0.22); }
.btn-secondary { background:var(--secondary); color:var(--primary); border-color:var(--secondary); }
.btn-secondary:hover { background:var(--secondary-dark); color:white; transform:translateY(-2px); }
.btn-outline { background:transparent; color:var(--primary); border-color:var(--border-strong); }
.btn-outline:hover { border-color:var(--primary); background:rgba(26,62,47,0.05); }
.btn-white { background:white; color:var(--primary); border-color:white; }
.btn-white:hover { background:var(--secondary-light); transform:translateY(-2px); }
.btn-lg { padding:13px 32px; font-size:0.92rem; }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-completed { background:rgba(34,197,94,0.12); color:#15803d; border:1px solid rgba(34,197,94,0.25); }
.badge-ongoing   { background:rgba(245,158,11,0.12); color:#b45309; border:1px solid rgba(245,158,11,0.25); }
.badge-upcoming  { background:rgba(99,102,241,0.1);  color:#4338ca; border:1px solid rgba(99,102,241,0.22); }
.badge-gold      { background:rgba(200,168,123,0.14); color:var(--secondary-dark); border:1px solid var(--secondary); }

/* ── PAGE HERO (interior pages) ── */
/* == PAGE HERO — cinematic full-width == */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1); }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,30,20,0.92) 0%, rgba(10,30,20,0.62) 50%, rgba(10,30,20,0.28) 100%),
    linear-gradient(to top, rgba(10,30,20,0.96) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  z-index: 3;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Vertical padding only — horizontal padding comes from .container class */
  padding-top: 72px;
  padding-bottom: 56px;
  /* Extra left padding so text clears the gold accent bar */
  padding-left: 12px;
}
.page-hero .section-eyebrow { color: var(--secondary); margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 3.4rem);  /* starts smaller on mobile */
  font-weight: 600;
  color: white;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 22px;
  flex-wrap: wrap;         /* never overflows on small screens */
  overflow: hidden;
  max-width: 100%;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: rgba(255,255,255,0.28); }
.breadcrumb i { font-size: 0.5rem; opacity: 0.45; }

/* ── CARDS – medium sizing ── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  /* Prevent card from shrinking below its content */
  min-width: 0;
  word-break: break-word;
}
.card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-img {
  height: 210px;
  overflow: hidden;
  background: #c8bfa5;
  position: relative;
}
.card-img img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.8s ease;
}
.card:hover .card-img img { transform:scale(1.05); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
  line-height: 1.25;
}
.card-body p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--secondary-dark);
  transition: gap 0.2s;
}
.card-link:hover { gap: 9px; color:var(--primary); }

/* ── INFO CHIP (specs, stats inline) ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content:'';
  position:absolute;
  inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle fill='rgba(200,168,123,0.06)' cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.cta-section > .container { position:relative; z-index:1; }
.cta-section .section-eyebrow { color:var(--secondary); }
.cta-section .section-title { color:white; }
.cta-section > .container > p {
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  margin: 14px auto 32px;
  max-width: 480px;
  line-height: 1.65;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FORM STYLES ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(200,168,123,0.14);
}
.form-group textarea { resize:vertical; min-height:100px; }
.form-group input.error-input,
.form-group select.error-input,
.form-group textarea.error-input { border-color:#e11d48; }
.form-error { font-size:0.75rem; color:#e11d48; margin-top:4px; }
.form-group input.valid-input,
.form-group select.valid-input,
.form-group textarea.valid-input { border-color:#10b981; }

/* ── FOOTER ── */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,168,123,0.15);
}
.footer-col ul { display:flex; flex-direction:column; gap:8px; }
.footer-col ul a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s;
}
.footer-col ul a:hover { color:var(--secondary); }
.footer-logo { height:30px; width:auto; margin-bottom:14px; }
.footer-brand-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.73rem;
  color: rgba(200,168,123,0.6);
  letter-spacing: 0.04em;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item i { color:var(--secondary); width:14px; flex-shrink:0; }
.footer-contact-item a { color:rgba(255,255,255,0.65); transition:color 0.2s; }
.footer-contact-item a:hover { color:var(--secondary); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
}
.footer-legal p + p { margin-top:4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color:rgba(200,168,123,0.6); }
.footer-bottom a:hover { color:var(--secondary); }

/* ── WA FAB & SCROLL TOP ── */
.wa-fab {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 24px;
  z-index: 900;
  width: 52px; height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  transition: var(--transition);
}
.wa-fab:hover { transform:scale(1.1) translateY(-2px); box-shadow:0 8px 24px rgba(37,211,102,0.45); }

.scroll-top {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom));
  right: 24px;
  z-index: 900;
  width: 40px; height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.scroll-top.visible { display:flex; }
.scroll-top:hover { background:var(--primary-light); transform:translateY(-2px); }

/* ── ANIMATION ── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-fade-up.visible { opacity:1; transform:translateY(0); }
.anim-delay-1 { transition-delay:0.08s; }
.anim-delay-2 { transition-delay:0.16s; }
.anim-delay-3 { transition-delay:0.24s; }
.anim-delay-4 { transition-delay:0.32s; }
.anim-delay-5 { transition-delay:0.40s; }

/* ── SEO SECTION ── */
/* ── SEO SECTION — structured editorial box layout ── */
.seo-section {
  background: var(--primary-dark);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
/* Ambient texture */
.seo-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(200,168,123,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 35% 55% at 100% 50%, rgba(26,62,47,0.5) 0%, transparent 65%);
  pointer-events: none;
}
.seo-section > .container { position: relative; z-index: 1; }

/* ── Top intro row ── */
.seo-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(200,168,123,0.15);
}
.seo-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.seo-eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  display: inline-block;
}
.seo-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: white;
  line-height: 1.12;
  margin-bottom: 14px;
}
.seo-intro-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 680px;
}
.seo-intro-text strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.seo-intro-text a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.seo-intro-text a:hover { color: var(--secondary-light); }

/* ── Cards grid ── */
.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.seo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,168,123,0.13);
  border-radius: 16px;
  padding: 22px 22px 20px;
  transition: background 0.25s, border-color 0.25s;
}
.seo-card:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(200,168,123,0.28);
}
.seo-card-icon {
  width: 38px; height: 38px;
  background: rgba(200,168,123,0.1);
  border: 1px solid rgba(200,168,123,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 0.88rem;
  margin-bottom: 13px;
  flex-shrink: 0;
}
.seo-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 9px;
  line-height: 1.3;
}
.seo-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.78;
  margin: 0;
}
.seo-card p + p { margin-top: 8px; }
.seo-card strong { color: rgba(255,255,255,0.78); font-weight: 600; }
.seo-card a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-card a:hover { color: var(--secondary-light); }

/* Fallback for pages that still use raw h3/p inside seo-section without cards */
.seo-section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 28px 0 9px;
  display: flex; align-items: center; gap: 8px;
}
.seo-section h3::before {
  content: '';
  display: inline-block;
  width: 4px; height: 15px;
  background: var(--secondary);
  border-radius: 2px;
  flex-shrink: 0;
}
.seo-section > .container > p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.88;
}
.seo-section > .container > p + p { margin-top: 10px; }
.seo-section > .container > p strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.seo-section > .container > p a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
  .seo-section { padding: 48px 0 56px; }
  .seo-header { grid-template-columns: 1fr; }
  .seo-cards { grid-template-columns: 1fr; gap: 12px; }
}

.notify-modal {
  position:fixed; inset:0;
  background:rgba(13,37,24,0.75);
  backdrop-filter:blur(12px);
  z-index:3000;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.notify-modal-content {
  background:white; border-radius:var(--radius-xl);
  padding:36px 32px; max-width:400px; width:100%;
  position:relative; text-align:center;
  box-shadow:var(--shadow-lg); border:1px solid var(--border);
}
.notify-modal-close {
  position:absolute; top:12px; right:16px;
  font-size:1.5rem; color:var(--text-muted);
  cursor:pointer; background:none; border:none; line-height:1;
  transition:color 0.2s;
}
.notify-modal-close:hover { color:var(--primary); }
.notify-modal-icon {
  width:56px; height:56px;
  background:rgba(26,62,47,0.08); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; color:var(--primary); margin:0 auto 16px;
}
.notify-modal-content h3 {
  font-family:var(--font-display); font-size:1.4rem;
  font-weight:600; color:var(--primary); margin-bottom:8px;
}
.notify-modal-content > p {
  font-size:0.86rem; color:var(--text-muted); margin-bottom:22px; line-height:1.6;
}
.notify-submit {
  width:100%; padding:13px;
  background:var(--primary); color:white;
  border:none; border-radius:60px;
  font-weight:600; font-size:0.88rem;
  cursor:pointer; transition:var(--transition);
}
.notify-submit:hover { background:var(--primary-light); transform:translateY(-2px); }
.notify-note { font-size:0.7rem !important; color:var(--text-light) !important; margin-top:10px !important; margin-bottom:0 !important; }

/* ── PROMO MODAL ── */
.promo-modal-backdrop {
  position:fixed; inset:0;
  background:rgba(13,37,24,0.8);
  backdrop-filter:blur(14px);
  z-index:3000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity 0.4s ease, visibility 0.4s ease;
  padding:20px;
}
.promo-modal-backdrop.active { opacity:1; visibility:visible; }
.promo-modal-box {
  background:white; border-radius:var(--radius-xl);
  overflow:hidden; width:100%; max-width:500px;
  position:relative; box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
  transform:translateY(28px) scale(0.97);
  transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.promo-modal-backdrop.active .promo-modal-box { transform:translateY(0) scale(1); }
.promo-modal-close {
  position:absolute; top:14px; right:14px;
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.9); color:var(--primary);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:10; border:1px solid var(--border);
  font-size:1rem; transition:var(--transition);
}
.promo-modal-close:hover { background:var(--primary); color:white; transform:rotate(90deg); }
.promo-modal-header-img {
  height:170px;
  background:linear-gradient(135deg,rgba(26,62,47,0.92) 0%,rgba(13,37,24,0.98) 100%), url('images/villa1.webp') no-repeat center/cover;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:20px; color:white; position:relative;
}
.promo-modal-header-img h3 { font-family:var(--font-display); font-size:1.5rem; font-weight:600; margin-bottom:5px; }
.promo-modal-header-img p { font-size:0.84rem; color:var(--secondary-light); letter-spacing:0.04em; text-transform:uppercase; font-weight:500; }
.promo-modal-body { padding:28px; }
.promo-modal-body p { font-size:0.88rem; color:var(--text-muted); text-align:center; margin-bottom:22px; line-height:1.6; }
.modal-success-screen { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:36px 10px; }
.success-icon-check { width:60px; height:60px; border-radius:50%; background:rgba(40,167,69,0.1); color:#28a745; display:flex; align-items:center; justify-content:center; font-size:1.8rem; margin-bottom:18px; animation:scaleBounce 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both; }
.modal-success-screen h4 { font-family:var(--font-display); font-size:1.35rem; color:var(--primary); margin-bottom:7px; }
.modal-success-screen p { font-size:0.88rem; color:var(--text-muted); }
@keyframes scaleBounce { 0%{transform:scale(0);} 100%{transform:scale(1);} }

/* ── SKIP & SR ── */
.skip-link { position:absolute; top:-100%; left:16px; background:var(--primary); color:white; padding:8px 16px; border-radius:0 0 8px 8px; font-size:0.84rem; font-weight:600; z-index:9999; transition:top 0.2s; }
.skip-link:focus { top:0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
  .nav-inner { padding: 0 20px; }
  /* 2-col grids on tablet */
  .projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Prevent horizontal scroll from grid overflow */
  .footer-grid, .highlights-grid, .seo-cards { overflow: hidden; }
  /* Section head bar visible */
  .section-head-bar { display: block !important; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  /* Cards: 2 column max on tablet/large mobile */
  .projects-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .card-img { height: 160px; }
  .card-body { padding: 14px 16px 16px; }
  .card-body h3 { font-size: 1rem; }

  /* ── PAGE HERO ── */
  .page-hero { min-height: 240px; }
  .page-hero-inner { padding-top: 80px; padding-bottom: 28px; padding-left: 8px; }
  .page-hero h1 { font-size: clamp(1.4rem, 5.5vw, 2rem); margin-bottom: 10px; }
  .page-hero p { font-size: 0.88rem; max-width: 100%; }
  .breadcrumb { margin-bottom: 14px; flex-wrap: wrap; }

  /* ── SECTIONS ── */
  .cta-section { padding: 48px 0; }
  .seo-section { padding: 36px 0 44px; }
  .section-head { gap: 12px; }
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .seo-cards { grid-template-columns: 1fr; gap: 12px; }
  .seo-header { grid-template-columns: 1fr; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col h4 { font-size: 0.88rem; }
  .footer-contact-item { font-size: 0.79rem; }

  /* ── CARDS ── */
  .card-img { height: 180px; }

  /* ── HIGHLIGHTS ── */
  .highlights-grid { grid-template-columns: 1fr 1fr !important; }

  /* ── BUTTONS ── */
  .btn { padding: 10px 20px; font-size: 0.83rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.88rem; }

  /* ── FILTER BAR ── */
  .filter-bar { padding: 12px 14px; gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.78rem; }

  /* ── NAVBAR ── */
  .nav-inner { padding: 0 16px; }

  /* ── CTA SECTION ── */
  .cta-section h2.section-title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .cta-buttons { flex-wrap: wrap; gap: 10px; }
  .cta-buttons .btn { flex: 1; min-width: 160px; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Cards: always single column */
  .projects-grid,
  .gallery-grid,
  [class*="grid"] { grid-template-columns: 1fr !important; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .btn-lg { padding: 12px 22px; font-size: 0.86rem; }
  .promo-modal-body { padding: 20px; }
  .page-hero h1 { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  .page-hero::after { width: 3px; }
  .page-hero-inner { padding-top: 76px; padding-bottom: 24px; padding-left: 6px; }
  .breadcrumb { font-size: 0.65rem; }
  .highlights-grid { grid-template-columns: 1fr !important; }
  .nav-inner { padding: 0 14px; }
  .nav-logo img { height: 26px; }
}

/* ── 320px minimum — very small phones ── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .nav-inner { padding: 0 12px; }
  .nav-logo img { height: 24px; }
  .page-hero h1 { font-size: 1.15rem; }
  .page-hero-inner { padding-top: 72px; padding-bottom: 20px; padding-left: 4px; }
  .btn { font-size: 0.78rem; padding: 9px 16px; }
  .btn-lg { font-size: 0.82rem; padding: 10px 18px; }
  .section-title { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* ── ACCESSIBILITY: Links distinguishable without color ── */
.article-body a,
.blog-article a,
.seo-section a,
.page-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── ACCESSIBILITY: Footer h4 now h3 — update styles ── */
.footer-col h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}