/* ============================================================
   Originate Soft — Real Estate Software Development Company
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --parchment: #f8fafc;
  --parchment-2: #ffffff;
  --paper: #ffffff;
  --brass: #d97706;
  --brass-dark: #b45309;
  --verdigris: #0284c7;
  --verdigris-dark: #0369a1;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ink-text: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 12px;
}

.eyebrow.light {
  color: var(--brass);
}

/* ============================================================
   Signature Modern Card
   ============================================================ */
.spec-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.spec-box:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.spec-box::before,
.spec-box::after,
.spec-box .tick-br,
.spec-box .tick-bl {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--brass);
  pointer-events: none;
}

.spec-box::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
  border-top-left-radius: 8px;
}

.spec-box::after {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--brass);
  border-right: 2px solid var(--brass);
  border-top-right-radius: 8px;
}

.spec-box .tick-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
  border-bottom-left-radius: 8px;
}

.spec-box .tick-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--brass);
  border-right: 2px solid var(--brass);
  border-bottom-right-radius: 8px;
}

/* ============================================================
   Site Header / Navigation
   ============================================================ */
.site-header {
  background: #ffffff;
  padding: 12px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  z-index: 1030;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

.footer-brand img {
  max-height: 40px;
  width: auto;
  display: inline-block;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
}

.logo-text b {
  color: var(--brass);
}

.footer-logo-text {
  font-size: 20px;
  margin-bottom: 14px;
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item-link {
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-item-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brass);
}

.nav-cta-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  transition: all 0.2s ease;
  margin-left: 12px;
  display: inline-block;
}

.nav-cta-btn:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  font-size: 22px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* ============================================================
   Hero Banner Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  background: #02050b url('../images/real-estate-hero-bg.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

/* Content container */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  padding: 120px 32px 70px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 36px;
}

.hero-content {
  max-width: 620px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
}

.hero-badge-square {
  width: 7px;
  height: 7px;
  background: #22c55e;
  display: inline-block;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Heading */
.hero h1 {
  font-family: var(--font-body);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 17.5px;
  font-weight: 600;
  color: #e5901c;
  margin: 0 0 18px;
  line-height: 1.45;
  max-width: 600px;
}

/* Sub-text */
.hero-sub {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 590px;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* CTAs */
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.hero .btn {
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero .btn-primary {
  background: #d97706;
  color: #0f172a;
  font-weight: 600;
  border: 1px solid #d97706;
  box-shadow: none;
}

.hero .btn-primary:hover {
  background: #b45309;
  border-color: #b45309;
  color: #ffffff;
  transform: translateY(-2px);
}

.hero .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-chips .chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.hero-chips .chip:hover {
  border-color: #d97706;
  color: #ffffff;
  background: rgba(217, 119, 6, 0.1);
}

/* Graphic visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-graphic-wrap {
  width: 100%;
  max-width: 720px;
  position: relative;
}

.hero-graphic-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.65));
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brass);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--brass-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  font-weight: 600;
}

.btn-dark:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-blue {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #0284c7;
  font-weight: 600;
}

.btn-blue:hover {
  background: #0369a1;
  border-color: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-ghost {
  border-color: var(--muted-light);
  color: var(--parchment);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--parchment);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
}

.chips {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
  border: 1px solid var(--line-dark);
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(22, 48, 79, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--brass);
  color: var(--parchment);
}

/* ============================================================
   Why Us Strip
   ============================================================ */
.why {
  background: #0b132b;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.why .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why .item {
  border-left: 3px solid var(--brass);
  padding-left: 16px;
}

.why .item h3 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}

.why .item p {
  color: #94a3b8;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Standard Section Styling
   ============================================================ */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.25;
}

.section-head p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}

/* ============================================================
   Catalog Grid
   ============================================================ */
.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cat-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--verdigris-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.cat-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.cat-card p {
  color: var(--muted);
  font-size: 14px;
  flex-grow: 1;
  margin: 0 0 14px;
}

.cat-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--ink-text);
  font-size: 13.5px;
}

.cat-card ul li {
  margin-bottom: 5px;
}

.cat-card a.link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brass-dark);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cat-card a.link:hover {
  color: var(--brass);
}

/* ============================================================
   Pillars (Alternating)
   ============================================================ */
.pillar {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.pillar.tint {
  background: var(--parchment-2);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pillar h2 {
  font-size: 28px;
  margin-bottom: 6px;
  line-height: 1.25;
}

.pillar .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--verdigris-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.pillar p.desc {
  color: var(--muted);
  margin: 14px 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.feature-list li {
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass-dark);
  font-weight: bold;
}

.keyword-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--verdigris-dark);
  background: rgba(31, 111, 92, 0.08);
  padding: 5px 10px;
  border-radius: 12px;
}

/* Pillar Visual Image */
.pillar-visual {
  margin-bottom: 22px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(15, 32, 56, 0.1);
  background: #ffffff;
}

.pillar-visual-img {
  width: 100%;
  height: auto;
  display: block;
}



.benefits-block {
  margin-top: 22px;
}

.benefits-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verdigris-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  font-size: 14px;
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verdigris);
  font-weight: bold;
}

.pillar-cta {
  margin-top: 22px;
}

.pillar-cta a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--brass-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-dark);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pillar-cta a:hover {
  color: var(--brass);
  border-color: var(--brass);
}

/* ============================================================
   Marketplace Pillar Specifics
   ============================================================ */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  background: var(--ink);
  padding: 26px 22px;
  overflow-x: auto;
  border-radius: 2px;
}

.flow-node {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--parchment);
  text-align: center;
  border: 1px solid var(--brass);
  padding: 12px 14px;
  min-width: 96px;
  flex-shrink: 0;
  background: rgba(22, 48, 79, 0.6);
}

.flow-node .role {
  display: block;
  font-size: 9px;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.flow-arrow {
  color: var(--brass);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 6px;
}

.flow-hub {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  text-align: center;
  background: var(--brass);
  padding: 14px 16px;
  min-width: 96px;
  flex-shrink: 0;
  font-weight: 600;
}

.actors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.actor {
  font-family: var(--font-mono);
  font-size: 11.5px;
  border: 1px dashed var(--line);
  padding: 6px 12px;
  border-radius: 2px;
  color: var(--muted);
  background: var(--paper);
}

.split-wrap {
  margin-top: 26px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.split-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
  height: 100%;
}

.split-box .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  background: var(--verdigris);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.split-box.alt .tag {
  background: var(--brass-dark);
}

.split-box h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.split-box p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.split-box ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
}

.split-box ul li {
  margin-bottom: 5px;
}

/* ============================================================
   CRM Dashboard Frame
   ============================================================ */
.dash-frame {
  background: var(--ink);
  border: 1px solid var(--ink-2);
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 2px;
}

.dash-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.dash-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-light);
  opacity: 0.5;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-tile {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  padding: 12px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--parchment);
  border-radius: 2px;
}

.dash-tile .k {
  display: block;
  font-size: 9px;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

/* ============================================================
   Channel / Solution Mini Grids
   ============================================================ */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 14px;
}

.mini-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 12px;
  text-align: center;
  border-radius: 2px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-tile:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
}

.mini-tile .ic {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.mini-tile span.name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-text);
  display: block;
}

/* ============================================================
   Process Section
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.step {
  border-top: 2px solid var(--brass);
  padding-top: 14px;
}

.step .n {
  font-family: var(--font-mono);
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 600;
}

.step h4 {
  font-size: 15px;
  margin: 6px 0 6px;
}

.step p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Technology Stack & Industries
   ============================================================ */
.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.stack-row span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 2px;
  color: var(--ink-text);
  transition: border-color 0.2s ease;
}

.stack-row span:hover {
  border-color: var(--brass);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.industry {
  background: var(--ink);
  color: var(--parchment);
  padding: 20px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  text-align: center;
  border: 1px solid var(--ink-2);
  border-radius: 2px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
}

/* ============================================================
   FAQ Section
   ============================================================ */
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--brass-dark);
  font-weight: 600;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "–";
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 14.5px;
  max-width: 760px;
  line-height: 1.6;
}

/* ============================================================
   Final CTA & Contact Form Section
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
}

.final-cta .wrap {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--parchment);
  font-size: 32px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.25;
}

.final-cta p {
  color: var(--muted-light);
  margin: 16px auto 0;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.6;
}

.final-cta .ctas {
  justify-content: center;
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Contact form section */
.contact-section {
  padding: 72px 0;
  background: var(--parchment-2);
  border-top: 1px solid var(--line);
}

.contact-card-wrapper {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(15, 32, 56, 0.04);
}

.contact-card-wrapper h3 {
  font-size: 22px;
  margin-bottom: 24px;
  text-align: center;
}

/* ============================================================
   Angular (Materialize-based) contact form overrides
   Scoped to .contact-card-wrapper — fixes grid, floating labels,
   inputs, select, reCAPTCHA and submit button.
   ============================================================ */
.contact-card-wrapper app-root,
.contact-card-wrapper app-contactus,
.contact-card-wrapper router-outlet { display: block; }

/* Responsive flex grid — replaces Materialize .row / .col */
.contact-card-wrapper .row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 0 18px; margin: 0; width: 100%;
}
.contact-card-wrapper .row .row { margin: 0; }
.contact-card-wrapper .row .row .input-field { padding: 0; }
.contact-card-wrapper .col { box-sizing: border-box; min-width: 0; }
.contact-card-wrapper .col.s12 { flex: 1 1 100%; max-width: 100%; }
.contact-card-wrapper .col.s8  { flex: 1 1 calc(66.6667% - 9px); }
.contact-card-wrapper .col.s4  { flex: 1 1 calc(33.3333% - 9px); }
@media (min-width: 601px) {
  .contact-card-wrapper .col.m6 { flex: 1 1 calc(50% - 9px); max-width: calc(50% - 9px); }
  .contact-card-wrapper .col.m5 { flex: 1 1 calc(41% - 9px); max-width: calc(41% - 9px); }
  .contact-card-wrapper .col.m7 { flex: 1 1 calc(59% - 9px); max-width: calc(59% - 9px); }
  .contact-card-wrapper .col:has(.row) { flex-basis: 100%; max-width: 100%; }
}
@media (max-width: 600px) {
  .contact-card-wrapper .col { flex: 1 1 100% !important; max-width: 100% !important; }
}

/* Floating label field container */
.contact-card-wrapper .input-field {
  position: relative; margin: 0 0 28px;
}
.contact-card-wrapper .input-field > label {
  position: absolute; top: 14px; left: 16px;
  color: var(--muted); font-size: 0.92rem; font-weight: 500;
  font-family: var(--font-body);
  pointer-events: none; transition: all 0.18s ease;
  transform-origin: left top; background: transparent;
}
.contact-card-wrapper .input-field > label.active,
.contact-card-wrapper .input-field > input:focus + label,
.contact-card-wrapper .input-field > textarea:focus + label {
  top: -9px; left: 12px; font-size: 0.72rem; font-weight: 600;
  color: var(--brass-dark); background: var(--paper); padding: 0 6px;
}

/* Inputs & textarea */
.contact-card-wrapper input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.contact-card-wrapper textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-text);
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
  box-sizing: border-box;
  height: auto;
  line-height: 1.5;
}
.contact-card-wrapper input:focus,
.contact-card-wrapper textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(180, 132, 42, 0.15);
}
.contact-card-wrapper textarea { min-height: 130px; resize: vertical; }

/* ng-select country dropdown */
.contact-card-wrapper .ng-select .ng-select-container {
  border: 1.5px solid var(--line) !important;
  border-radius: 2px !important;
  min-height: 50px !important;
  box-shadow: none !important;
  padding-left: 6px;
  font-family: var(--font-body);
  background: var(--paper) !important;
}
.contact-card-wrapper .ng-select.ng-select-focused .ng-select-container {
  border-color: var(--brass) !important;
  box-shadow: 0 0 0 3px rgba(180, 132, 42, 0.15) !important;
}
.contact-card-wrapper .ng-select .ng-dropdown-panel {
  border-radius: 2px; border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15,32,56,0.12);
}
.contact-card-wrapper .ng-select .ng-option.ng-option-marked,
.contact-card-wrapper .ng-select .ng-option.ng-option-selected {
  background: rgba(31, 111, 92, 0.08) !important;
  color: var(--verdigris-dark) !important;
}

/* reCAPTCHA */
.contact-card-wrapper re-captcha,
.contact-card-wrapper .g-recaptcha { display: block; margin: 6px 0 22px; }

/* Submit button */
.contact-card-wrapper .btn,
.contact-card-wrapper button[type='submit'] {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #B4842A 0%, #966C1E 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 15px 32px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(180, 132, 42, 0.3) !important;
  transition: all 0.25s ease !important;
  height: auto !important;
  line-height: 1.4 !important;
  text-align: center;
}

.contact-card-wrapper .btn:hover:not(:disabled),
.contact-card-wrapper button[type='submit']:hover:not(:disabled) {
  background: linear-gradient(135deg, #c99834 0%, #aa7c25 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(180, 132, 42, 0.45) !important;
  color: #ffffff !important;
}

.contact-card-wrapper button[type='submit']:disabled,
.contact-card-wrapper .btn:disabled {
  background: #E8E5DD !important;
  color: #8C8880 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  border: 1px solid #D6D2C7 !important;
}

/* Error / success helper text */
.contact-card-wrapper .helper-text,
.contact-card-wrapper .red-text { color: #c0392b !important; font-size: 0.82rem; }
.contact-card-wrapper .green-text { color: var(--verdigris) !important; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 20px;
  text-align: center;
  border-radius: 2px;
}

.contact-info-icon {
  font-size: 26px;
  color: var(--brass);
  margin-bottom: 10px;
}

.contact-info-card h5 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-info-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-info-card a {
  color: var(--ink-text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info-card a:hover {
  color: var(--brass);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 60px 0 28px;
  border-top: 1px solid var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  font-size: 20px;
  margin-top: 6px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--parchment);
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background: var(--brass);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--parchment);
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

.footer-nav a {
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--parchment);
}

.footer-sep {
  margin: 40px 0 24px;
  border-color: rgba(245, 241, 231, 0.1);
}

.footer-bottom {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #c99834;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 992px) {
  .catalog {
    grid-template-columns: 1fr 1fr;
  }
  .why .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px;
    gap: 14px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: none;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-cta-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .hero-inner {
    padding: 120px 24px 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-badge {
    justify-content: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .ctas {
    justify-content: center;
  }
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  .hero-inner {
    padding: 100px 20px 48px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .catalog {
    grid-template-columns: 1fr;
  }
  .why .wrap {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .final-cta h2 {
    font-size: 26px;
  }
}
