/* ==========================================================================
   SBBJ IT SOLUTIONS - THIRUVANANTHAPURAM, KERALA BESPOKE STYLESHEET
   Archetype: capital-architectural-dark
   ========================================================================== */

:root {
  --primary: #2563eb;
  --secondary: #1d4ed8;
  --accent: #f59e0b;
  --dark: #0f172a;
  --light: #eff6ff;
  --border: #bfdbfe;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --hero-bg: linear-gradient(135deg, #090d16 0%, #0f172a 55%, #1e3a8a 100%);
  --cta-bg: linear-gradient(135deg, #090d16 0%, #1e3a8a 100%);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.14);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 44px 0;
  position: relative;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 0.65rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.btn-hero-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.btn-hero-whatsapp {
  background: #16a34a;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.22);
}

.btn-hero-whatsapp:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.btn-tvm-gold {
  background: var(--accent);
  color: #0f172a !important;
  font-weight: 800;
}

.btn-tvm-gold:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

.btn-consultation {
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.56rem 1.15rem;
  border-radius: 7px;
}

.btn-consultation:hover {
  background: var(--secondary);
}

/* ==========================================================================
   Section 1: Top Info Bar & Header
   ========================================================================== */
.top-info-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 6px 0;
}

.top-info-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-info-left, .top-info-right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-info-item a {
  color: #ffffff;
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mobile-menu-btn {
  display: none;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Section 2: Shared & Bespoke Hero Architecture (Strict Contrast)
   ========================================================================== */
.hero-section {
  background: var(--hero-bg);
  padding: 46px 0 42px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin-bottom: 0.95rem;
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.62;
  color: #e2e8f0 !important;
  margin-bottom: 1.45rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

/* Kicker pill styling across all 14 styles */
[class*="hero-kicker-"], .kannur-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  background: rgba(255,255,255,0.12);
  color: #fbbf24;
  border: 1.5px solid rgba(251,191,36,0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hero 1: Alappuzha Backwater Layered */
.alappuzha-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.25rem;
  align-items: center;
}
.alappuzha-stat-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.alappuzha-stat-ribbon .stat-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
}
.stat-pill strong { display: block; color: var(--dark); font-size: 1.05rem; }
.stat-pill span { font-size: 0.76rem; color: var(--text-muted); }
.alappuzha-visual-stack { position: relative; padding: 12px; }
.water-layer-back {
  position: absolute;
  inset: 0 18px 18px 0;
  background: rgba(13, 148, 136, 0.16);
  border-radius: 32px 12px 32px 12px;
}
.water-frame-main {
  position: relative;
  border-radius: 24px 8px 24px 8px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
}
.floating-backwater-badge {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 9px 14px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
}
.floating-backwater-badge i { color: var(--primary); font-size: 1.2rem; }
.floating-backwater-badge strong { display: block; font-size: 0.84rem; color: var(--dark); }
.floating-backwater-badge span { font-size: 0.74rem; color: var(--text-muted); }

/* Hero 2: Ernakulam Architectural Split HUD */
.ernakulam-blueprint-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(3, 105, 161, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(3, 105, 161, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.ernakulam-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
}
.ernakulam-hud-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.hud-metric {
  background: #ffffff; border: 1px solid var(--border); border-left: 3px solid var(--primary);
  padding: 0.7rem 0.9rem; border-radius: 8px;
}
.hud-val { display: block; font-weight: 800; color: var(--dark); font-size: 1rem; }
.hud-lbl { font-size: 0.75rem; color: var(--text-muted); }
.metro-browser-window {
  background: #ffffff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.metro-titlebar {
  background: #082f49; padding: 9px 14px; display: flex; align-items: center; gap: 12px;
}
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights span { width: 9px; height: 9px; border-radius: 50%; background: #38bdf8; }
.traffic-lights span:first-child { background: #f87171; }
.traffic-lights span:nth-child(2) { background: #fbbf24; }
.metro-url { font-size: 0.74rem; color: #cbd5e1; font-family: monospace; }
.metro-viewport { position: relative; }
.metro-hud-overlay {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(8, 47, 73, 0.92); color: #ffffff;
  padding: 7px 13px; border-radius: 8px; font-size: 0.8rem; font-weight: 700;
}

/* Hero 3: Idukki Curved Mountain Mask */
.idukki-mountain-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.idukki-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.leaf-stat {
  background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 14px 4px 14px 4px;
}
.leaf-stat strong { display: block; color: var(--dark); font-size: 1.05rem; }
.leaf-stat small { font-size: 0.75rem; color: var(--text-muted); }
.idukki-mask-col { position: relative; }
.idukki-curved-mask {
  border-radius: 54px 12px 54px 12px; overflow: hidden;
  border: 4px solid #ffffff; box-shadow: var(--shadow-lg);
}
.idukki-elevation-pill {
  position: absolute; bottom: -10px; left: 20px; right: 20px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md);
}
.idukki-elevation-pill i { color: var(--primary); font-size: 1.2rem; }
.idukki-elevation-pill strong { display: block; font-size: 0.84rem; color: var(--dark); }
.idukki-elevation-pill span { font-size: 0.74rem; color: var(--text-muted); }

/* Hero 4: Kannur Coastal Editorial */
.kannur-main-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.kannur-editorial-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.ed-stat {
  background: #ffffff; border-top: 3px solid var(--primary); padding: 0.75rem; border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.ed-stat strong { display: block; color: var(--dark); }
.ed-stat span { font-size: 0.76rem; color: var(--text-muted); }
.kannur-layered-photo { position: relative; padding-bottom: 18px; }
.kannur-offset-frame {
  border-radius: 14px; overflow: hidden; border: 5px solid #ffffff;
  box-shadow: 12px 12px 0 rgba(180, 83, 9, 0.16), var(--shadow-lg);
}
.kannur-caption-card {
  position: relative; margin: -24px 18px 0; background: #ffffff;
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.kannur-caption-card strong { display: block; font-size: 0.86rem; color: var(--dark); }
.kannur-caption-card span { font-size: 0.76rem; color: var(--text-muted); }

/* Hero 5: Kasaragod Asymmetric Bekal Panels */
.kasaragod-asymmetric {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 2.25rem; align-items: center;
}
.bekal-slanted-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 4px solid #ffffff; box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 100% 3%, 97% 100%, 0 97%);
}
.bekal-corner-badge {
  position: absolute; bottom: 14px; left: 14px; background: #172554; color: #ffffff;
  padding: 7px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 700;
}
.kasaragod-spec-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.fort-spec {
  background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 8px;
}
.fort-spec strong { display: block; color: var(--dark); }
.fort-spec span { font-size: 0.75rem; color: var(--text-muted); }

/* Hero 6: Kollam Full-Height Scenic Ashtamudi Overlay */
.hero-kollam { padding: 0; border-bottom: none; }
.kollam-scenic-bg {
  background-size: cover; background-position: center;
  padding: 58px 0;
}
.kollam-fullheight-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: end;
}
.kollam-glass-dock {
  background: rgba(15, 23, 42, 0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; padding: 1.35rem;
  color: #ffffff;
}
.dock-heading { font-weight: 700; color: #fbbf24; font-size: 0.85rem; margin-bottom: 0.85rem; text-transform: uppercase; }
.dock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.dock-item strong { display: block; font-size: 1rem; color: #ffffff; }
.dock-item span { font-size: 0.74rem; color: #cbd5e1; }

/* Hero 7: Kottayam Luxury Editorial Split */
.kottayam-editorial-header { text-align: center; max-width: 820px; margin: 0 auto 1.65rem; }
.kottayam-split-below {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2rem; align-items: center;
}
.kottayam-tri-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.kty-stat {
  background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 8px;
}
.kty-stat strong { display: block; color: var(--dark); }
.kty-stat span { font-size: 0.75rem; color: var(--text-muted); }
.kottayam-double-frame {
  background: #ffffff; padding: 10px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.kottayam-double-frame img { border-radius: 10px; }
.kottayam-frame-tag {
  margin-top: 8px; font-size: 0.82rem; font-weight: 700; color: var(--primary); text-align: center;
}

/* Hero 8: Kozhikode Floating Satellite Mini-Cards */
.kozhikode-floating-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.kozhikode-inline-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.kzd-pill { background: #ffffff; border: 1px solid var(--border); padding: 0.7rem; border-radius: 10px; }
.kzd-pill strong { display: block; color: var(--dark); }
.kzd-pill span { font-size: 0.75rem; color: var(--text-muted); }
.kozhikode-floating-stage { position: relative; padding: 12px; }
.kozhikode-photo-card {
  border-radius: 18px; overflow: hidden; border: 4px solid #ffffff; box-shadow: var(--shadow-lg);
}
.float-satellite-top {
  position: absolute; top: 0; right: 0; background: #0f172a; color: #fbbf24;
  padding: 8px 14px; border-radius: 9999px; font-size: 0.78rem; font-weight: 700; box-shadow: var(--shadow-md);
}
.float-satellite-bottom {
  position: absolute; bottom: 0; left: 0; background: #ffffff; border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow-md);
}
.float-satellite-bottom strong { display: block; font-size: 0.84rem; color: var(--dark); }
.float-satellite-bottom span { font-size: 0.74rem; color: var(--text-muted); }

/* Hero 9: Malappuram Geometric Composition */
.malappuram-geo-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.malappuram-diamond-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.geo-stat-box {
  background: #ffffff; border: 1.5px solid var(--border); padding: 0.75rem; border-radius: 4px 16px 4px 16px;
}
.geo-stat-box strong { display: block; color: var(--dark); }
.geo-stat-box span { font-size: 0.75rem; color: var(--text-muted); }
.geo-clipped-frame {
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.geo-label-strip {
  margin-top: 10px; text-align: center; font-size: 0.84rem; font-weight: 700; color: var(--primary);
}

/* Hero 10: Palakkad Mountain-Pass Bold Display */
.palakkad-pass-layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.25rem; align-items: center;
}
.palakkad-h1 { font-size: clamp(2.1rem, 3.8vw, 3.15rem); letter-spacing: -0.03em; }
.palakkad-panoramic-viewport {
  background: #042f2e; padding: 10px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.palakkad-panoramic-viewport img { border-radius: 10px; }
.palakkad-bottom-hud {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding: 12px 6px 4px;
  color: #ffffff; text-align: center;
}
.pass-stat strong { display: block; color: #facc15; font-size: 0.95rem; }
.pass-stat span { font-size: 0.72rem; color: #cbd5e1; }

/* Hero 11: Pathanamthitta Triple-Layered Forest Stack */
.pathanam-layered-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.pathanam-trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.wood-stat { background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 10px; }
.wood-stat strong { display: block; color: var(--dark); }
.wood-stat span { font-size: 0.75rem; color: var(--text-muted); }
.pathanam-triple-stack { position: relative; padding: 14px; }
.stack-layer-3 { position: absolute; inset: 0 24px 24px 0; background: #bef264; border-radius: 16px; opacity: 0.45; }
.stack-layer-2 { position: absolute; inset: 8px 12px 12px 8px; background: #3f6212; border-radius: 16px; opacity: 0.2; }
.stack-layer-top { position: relative; border-radius: 16px; overflow: hidden; border: 4px solid #ffffff; box-shadow: var(--shadow-lg); }
.stack-tag-pill {
  position: absolute; bottom: 12px; left: 12px; background: #1a2e05; color: #ecfccb;
  padding: 6px 14px; border-radius: 9999px; font-size: 0.78rem; font-weight: 700;
}

/* Hero 12: Thrissur Cultural Temple-Arch Editorial */
.thrissur-gold-rule { height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); position: absolute; top: 0; left: 0; right: 0; }
.thrissur-editorial-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.25rem; align-items: center;
}
.thrissur-royal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.royal-kpi { background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 8px; }
.royal-kpi strong { display: block; color: var(--dark); }
.royal-kpi span { font-size: 0.75rem; color: var(--text-muted); }
.thrissur-arch-showcase { position: relative; text-align: center; }
.gopuram-arch-frame {
  border-radius: 180px 180px 18px 18px; overflow: hidden;
  border: 5px solid #ffffff; box-shadow: var(--shadow-lg);
}
.thrissur-seal-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: -16px; position: relative;
  background: #4c0519; color: #fde68a; padding: 8px 18px; border-radius: 9999px;
  font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow-md);
}

/* Hero 13: Thiruvananthapuram Dark Sapphire Architectural */
.hero-dark-mode { color: #ffffff; border-bottom: none; }
.tvm-architectural-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.25rem; align-items: center;
}
.tvm-dark-telemetry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.tvm-kpi {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.75rem; border-radius: 10px;
}
.tvm-kpi strong { display: block; color: #fbbf24; font-size: 1rem; }
.tvm-kpi span { font-size: 0.75rem; color: #cbd5e1; }
.tvm-glass-frame {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px; border-radius: 16px; box-shadow: var(--shadow-lg); position: relative;
}
.tvm-glass-frame img { border-radius: 10px; }
.tvm-glass-caption {
  margin-top: 10px; display: flex; align-items: center; gap: 10px; color: #ffffff;
}
.tvm-glass-caption i { color: #fbbf24; font-size: 1.15rem; }
.tvm-glass-caption strong { display: block; font-size: 0.84rem; }
.tvm-glass-caption span { font-size: 0.74rem; color: #cbd5e1; }

/* Hero 14: Wayanad Rainforest Collage */
.wayanad-collage-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 2.25rem; align-items: center;
}
.wayanad-mist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.mist-kpi { background: #ffffff; border: 1px solid var(--border); padding: 0.75rem; border-radius: 12px; }
.mist-kpi strong { display: block; color: var(--dark); }
.mist-kpi span { font-size: 0.75rem; color: var(--text-muted); }
.wayanad-collage-media { position: relative; }
.collage-primary-tile {
  border-radius: 24px; overflow: hidden; border: 5px solid #ffffff; box-shadow: var(--shadow-lg);
}
.collage-accent-badge {
  position: absolute; bottom: 14px; right: 14px; left: 14px;
  background: rgba(2, 44, 34, 0.92); color: #ffffff;
  padding: 10px 14px; border-radius: 12px; display: flex; align-items: center; gap: 10px;
}
.collage-accent-badge i { color: #facc15; font-size: 1.15rem; }
.collage-accent-badge strong { display: block; font-size: 0.84rem; }
.collage-accent-badge span { font-size: 0.74rem; color: #d1fae5; }

/* ==========================================================================
   Section 3: Varied Trust Highlight Layouts
   ========================================================================== */
.trust-section { padding: 30px 0; background: #ffffff; border-bottom: 1px solid #f1f5f9; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-sm);
}
.trust-teal-accent-bento .trust-card,
.trust-emerald-highland-banner .trust-card,
.trust-royal-maroon-cards .trust-card {
  border-top: 3px solid var(--primary);
}
.trust-minimal-number-grid .trust-card,
.trust-clean-icon-rows .trust-card,
.trust-slate-sapphire-grid .trust-card {
  flex-direction: row;
  text-align: left;
  align-items: center;
  gap: 0.85rem;
}
.trust-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.trust-card h4 { font-size: 0.96rem; font-weight: 700; color: var(--dark); }
.trust-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* ==========================================================================
   Section 4: Varied About District Layouts
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
.about-reverse .about-grid .about-media { order: -1; }
.about-stacked .about-grid {
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.about-stacked .about-media {
  max-width: 820px;
  margin: 0 auto;
}
.about-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.9rem;
  line-height: 1.24;
}
.about-content p {
  font-size: 0.98rem;
  color: #374151;
  line-height: 1.68;
  margin-bottom: 0.95rem;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.15rem;
}
.about-highlight-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 0.85rem 1rem;
  border-radius: 8px;
}
.about-highlight-box strong { display: block; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.2rem; }
.about-highlight-box span { font-size: 0.82rem; color: var(--text-muted); }
.about-media img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ==========================================================================
   Section 5: Varied Services Layouts (6 Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.services-wide-2col-cards .services-grid {
  grid-template-columns: repeat(2, 1fr);
}
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.services-left-accent-cards .service-card { border-left: 4px solid var(--primary); }
.services-top-border-accent-3col .service-card { border-top: 4px solid var(--primary); }
.services-bottom-gold-accent-3col .service-card { border-bottom: 4px solid var(--accent); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.services-circular-icon-3col .service-icon { border-radius: 50%; }
.service-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.95rem; flex: 1; }
.service-features { list-style: none; }
.service-features li {
  display: flex; align-items: center; gap: 7px; font-size: 0.83rem; color: #334155; margin-bottom: 0.35rem;
}
.service-features li i { color: #16a34a; font-size: 0.78rem; }

/* ==========================================================================
   Section 6: Why Choose Us Grid
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.why-index {
  display: inline-block;
  font-size: 0.8rem; font-weight: 800; color: var(--primary);
  background: var(--light); padding: 3px 10px; border-radius: 9999px; margin-bottom: 0.75rem;
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.45rem; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* ==========================================================================
   Section 7: Popular Towns & Locations
   ========================================================================== */
.towns-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.town-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.town-pill i { color: var(--primary); }

/* ==========================================================================
   Section 8: Development Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-size: 1.55rem; font-weight: 900; color: var(--primary); margin-bottom: 0.4rem;
}
.process-step h4 { font-size: 1.04rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.process-step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   Section 9: Capabilities & Blueprint Showcase
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.portfolio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.portfolio-card img { width: 100%; height: 210px; object-fit: cover; }
.portfolio-info { padding: 1.25rem; }
.portfolio-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; color: var(--primary);
  background: var(--light); padding: 3px 10px; border-radius: 4px; margin-bottom: 0.5rem;
}
.portfolio-info h4 { font-size: 1.08rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.portfolio-info p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   Section 10: Detailed SEO Content + Keywords
   ========================================================================== */
.seo-article-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-sm);
}
.seo-article-content h2 {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 800; color: var(--dark); margin-bottom: 1rem;
}
.seo-article-content h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 1.35rem 0 0.6rem;
}
.seo-article-content p {
  font-size: 0.97rem; color: #374151; line-height: 1.72; margin-bottom: 1rem;
}
.keywords-cloud {
  margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid #e2e8f0;
}
.keywords-cloud h3 { margin-top: 0; font-size: 1.08rem; }
.keywords-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.seo-kw-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--light); color: var(--dark); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
}
.seo-kw-pill i { color: var(--primary); font-size: 0.72rem; }

/* ==========================================================================
   Section 11: Hardened FAQ Accordion
   ========================================================================== */
.faq-accordion-list {
  max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem;
}
.faq-accordion-item {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); overflow: hidden;
}
.faq-accordion-item.active {
  border-color: var(--primary); box-shadow: var(--shadow-sm);
}
.faq-question-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: transparent; text-align: left;
  font-size: 0.98rem; font-weight: 700; color: var(--dark);
}
.faq-chevron { color: var(--primary); transition: transform 0.25s ease; margin-left: 12px; }
.faq-accordion-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer-pane {
  display: none; padding: 0.85rem 1.25rem 1.15rem; font-size: 0.93rem;
  color: #4b5563; line-height: 1.62; border-top: 1px solid #f1f5f9; background: #fafbfc;
}
.faq-accordion-item.active .faq-answer-pane { display: block !important; }

/* ==========================================================================
   Section 12: High-Impact Final CTA
   ========================================================================== */
.final-cta-section {
  padding: 48px 0;
  background: var(--cta-bg);
  color: #ffffff;
  text-align: center;
}
.cta-box { max-width: 780px; margin: 0 auto; }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; color: #ffffff !important; margin-bottom: 0.85rem; }
.cta-box p { font-size: 1.04rem; color: #e2e8f0 !important; margin-bottom: 1.5rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ==========================================================================
   Section 13: Footer (Strictly No Sitemap)
   ========================================================================== */
.site-footer {
  background: #0b1120; color: #94a3b8; padding: 42px 0 22px; font-size: 0.88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-col h4 { font-size: 0.98rem; font-weight: 700; color: #ffffff; margin-bottom: 0.9rem; }
.footer-col p { line-height: 1.58; margin-bottom: 0.85rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #ffffff; }
.footer-contact-item { display: flex; gap: 8px; margin-bottom: 0.55rem; color: #cbd5e1; }
.footer-contact-item i { color: var(--accent); margin-top: 3px; }
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid #1e293b;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
.footer-legal-links { display: flex; gap: 1.15rem; flex-wrap: wrap; }
.footer-legal-links a { color: #94a3b8; }
.footer-legal-links a:hover { color: #ffffff; }

/* ==========================================================================
   Quote Modal & Mobile Drawer
   ========================================================================== */
.quote-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; visibility: hidden; transition: var(--transition);
}
.quote-modal-overlay.open, .quote-modal-overlay.active {
  display: flex !important; opacity: 1 !important; visibility: visible !important;
}
.quote-modal-card {
  background: #ffffff; border-radius: 16px; max-width: 500px; width: 100%;
  padding: 1.85rem; position: relative; box-shadow: var(--shadow-lg);
}
.quote-modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border-radius: 50%; background: #f1f5f9; color: #0f172a; font-size: 1.2rem;
}
.modal-header h3 { font-size: 1.28rem; font-weight: 800; color: var(--dark); margin-bottom: 0.25rem; }
.modal-header p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.quote-form-group { margin-bottom: 0.85rem; }
.quote-form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: #334155; margin-bottom: 0.3rem; }
.quote-form-group input, .quote-form-group select, .quote-form-group textarea {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.9rem;
}
.quote-submit-btn {
  width: 100%; padding: 0.82rem; background: var(--primary); color: #ffffff;
  font-weight: 700; border-radius: 8px; font-size: 0.95rem;
}

.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 290px; height: 100vh;
  background: #ffffff; z-index: 2000; padding: 1.75rem 1.25rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15); transition: right 0.3s ease;
}
.mobile-drawer.open { right: 0 !important; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer-close-btn { width: 34px; height: 34px; border-radius: 50%; background: #f1f5f9; font-size: 1.2rem; }
.drawer-menu { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.drawer-menu a { font-size: 1rem; font-weight: 700; color: #1e293b; }

/* ==========================================================================
   Responsive Media Queries (360px - 1920px Verified)
   ========================================================================== */
@media (max-width: 1024px) {
  .alappuzha-grid, .ernakulam-split, .idukki-mountain-grid, .kannur-main-grid,
  .kasaragod-asymmetric, .kollam-fullheight-layout, .kottayam-split-below,
  .kozhikode-floating-grid, .malappuram-geo-grid, .palakkad-pass-layout,
  .pathanam-layered-grid, .thrissur-editorial-grid, .tvm-architectural-split,
  .wayanad-collage-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }
  .trust-grid, .why-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-info-bar, .nav-menu { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .section { padding: 34px 0; }
  .hero-section { padding: 30px 0 28px; }
  .kollam-scenic-bg { padding: 34px 0; }
  .hero-title { font-size: clamp(1.75rem, 6.5vw, 2.2rem); }
  .section-title { font-size: clamp(1.38rem, 5vw, 1.75rem); }
  h3 { font-size: 1.12rem; }
  body { font-size: 0.94rem; }
  .trust-grid, .services-grid, .why-grid, .process-grid, .portfolio-grid,
  .services-wide-2col-cards .services-grid, .about-highlights,
  .alappuzha-stat-ribbon, .ernakulam-hud-bar, .idukki-stat-row,
  .kannur-editorial-stats, .kasaragod-spec-bar, .dock-stats,
  .kottayam-tri-stats, .kozhikode-inline-metrics, .malappuram-diamond-stats,
  .palakkad-bottom-hud, .pathanam-trust-strip, .thrissur-royal-metrics,
  .tvm-dark-telemetry, .wayanad-mist-stats, .footer-grid {
    grid-template-columns: 1fr;
  }
  .seo-article-wrapper { padding: 1.35rem; }
  .hero-cta-group .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
