/* ==========================================================================
   The Commercial Funding — Stylesheet
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-light: #123262;
  --navy-lighter: #1c4173;
  --gold: #d4af37;
  --gold-light: #e8c766;
  --cream: #fbf6ea;
  --cream-dark: #f3e9d2;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 45px rgba(11, 37, 69, 0.14);
  --radius: 10px;
  --container: 1200px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: var(--text-light);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 32px;
  padding-right: 32px;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 100%;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar a { color: var(--text-light); }
.topbar-item { display: flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.locale { display: flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo img { height: 46px; }

.header-phone { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.header-phone .locale { font-weight: 700; gap: 6px; }
.header-phone svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > ul { display: flex; align-items: center; gap: 22px; }
.main-nav a.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover,
.main-nav li.active > a.nav-link { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav a.nav-link svg { width: 11px; height: 11px; transition: transform 0.2s ease; }

.has-dropdown { position: relative; }
.has-dropdown:hover > .nav-link svg,
.has-dropdown.open > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 6px;
  text-transform: none;
}
.dropdown a:hover { background: var(--cream); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy); }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-lighter) 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1100 320'%3E%3Crect x='0' y='190' width='70' height='130' fill='%23163a6b'/%3E%3Crect x='80' y='150' width='55' height='170' fill='%23142f5c'/%3E%3Crect x='145' y='210' width='90' height='110' fill='%23163a6b'/%3E%3Crect x='245' y='120' width='60' height='200' fill='%23112750'/%3E%3Cpolygon points='330,320 330,140 365,90 400,140 400,320' fill='%23163a6b'/%3E%3Crect x='410' y='170' width='75' height='150' fill='%23142f5c'/%3E%3Cellipse cx='560' cy='210' rx='55' ry='110' fill='%23112750'/%3E%3Crect x='630' y='140' width='65' height='180' fill='%23163a6b'/%3E%3Crect x='705' y='200' width='90' height='120' fill='%23142f5c'/%3E%3Crect x='805' y='110' width='55' height='210' fill='%23112750'/%3E%3Crect x='870' y='230' width='100' height='90' fill='%23163a6b'/%3E%3Crect x='980' y='160' width='60' height='160' fill='%23142f5c'/%3E%3Crect x='1050' y='220' width='50' height='100' fill='%23163a6b'/%3E%3Cg fill='%23d4af37' opacity='0.5'%3E%3Crect x='15' y='210' width='8' height='8'/%3E%3Crect x='35' y='210' width='8' height='8'/%3E%3Crect x='15' y='240' width='8' height='8'/%3E%3Crect x='95' y='170' width='8' height='8'/%3E%3Crect x='113' y='170' width='8' height='8'/%3E%3Crect x='425' y='190' width='8' height='8'/%3E%3Crect x='445' y='190' width='8' height='8'/%3E%3Crect x='820' y='140' width='8' height='8'/%3E%3Crect x='838' y='140' width='8' height='8'/%3E%3Crect x='995' y='190' width='8' height='8'/%3E%3Crect x='1013' y='190' width='8' height='8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 900px 220px;
  opacity: 0.35;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: 42px; margin-bottom: 12px; }
.page-hero p { color: var(--text-light); font-size: 16px; max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; font-weight: 600; }
.breadcrumb span { color: var(--text-light); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: #0a2140;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-skyline {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,20,41,0.96) 0%, rgba(9,30,58,0.90) 40%, rgba(11,37,69,0.65) 70%, rgba(11,37,69,0.42) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-content { max-width: 620px; }
.hero-content h1 {
  color: var(--white);
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-content h1 .accent { color: var(--gold); display: block; }
.hero-content p.lead { color: var(--text-light); font-size: 17px; max-width: 480px; margin-bottom: 26px; }
.hero-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.hero-checklist li { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 500; font-size: 15px; }
.hero-checklist svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--cream-dark); border-bottom: 1px solid rgba(11,37,69,0.06); }
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
  max-width: 900px;
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 0 14px; border-left: 1px solid rgba(11,37,69,0.12); }
.trust-item:first-child { border-left: none; }
.trust-item svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13px; color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.trust-item span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }

/* ---------- Section heading ---------- */
.section { padding: 90px 0; }
.section.tight { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before, .section-tag::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 15.5px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-navy .section-head h2, .bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Solutions grid ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.solution-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.solution-icon svg { width: 30px; height: 30px; color: var(--gold); }
.solution-card h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 12px; }
.solution-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; }
.learn-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
.learn-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.learn-more:hover svg { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.why-item { text-align: center; }
.why-icon {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 28px; height: 28px; color: var(--gold); }
.why-item h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
.why-item p { color: var(--text-light); font-size: 13.5px; margin: 0; }

/* ---------- About / Track record / Quote ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.about-col .section-tag { margin-bottom: 10px; }
.about-col h2 { font-size: 26px; margin-bottom: 16px; }
.about-col p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; }

.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.track-item { display: flex; align-items: flex-start; gap: 14px; }
.track-item svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.track-item strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--navy); }
.track-item span { color: var(--text-muted); font-size: 13px; }

.quote-box { background: var(--navy); border-radius: var(--radius); padding: 32px; }
.quote-box h3 { color: var(--white); font-size: 17px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-control {
  width: 100%;
  padding: 13px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 12px;
}
.form-row .form-control { margin-bottom: 0; }
.form-control::placeholder { color: rgba(255,255,255,0.55); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d4af37'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
select.form-control option { color: var(--text-dark); }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ---------- Generic content sections ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col img, .two-col .media-block { border-radius: var(--radius); }
.media-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.media-block svg { width: 90px; height: 90px; color: var(--gold); opacity: 0.9; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
}
.stat-strip .stat { text-align: center; }
.stat-strip strong { display: block; font-family: var(--font-head); font-size: 32px; color: var(--gold); margin-bottom: 6px; }
.stat-strip span { color: var(--text-light); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.values-grid, .industries-grid, .why-detail-grid, .news-grid {
  display: grid;
  gap: 24px;
}
.values-grid { grid-template-columns: repeat(3, 1fr); }
.industries-grid { grid-template-columns: repeat(4, 1fr); }
.why-detail-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }

.value-card, .industry-card, .why-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.value-card:hover, .industry-card:hover, .why-detail-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-card { text-align: center; }
.value-card .solution-icon, .industry-card .solution-icon, .why-detail-card .solution-icon { margin-left: 0; margin-right: auto; }
.industry-card .solution-icon { margin: 0 auto 16px; }
.value-card h3, .industry-card h3, .why-detail-card h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 10px; }
.value-card p, .industry-card p, .why-detail-card p { color: var(--text-muted); font-size: 14px; }

.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--navy-lighter)); display: flex; align-items: center; justify-content: center; }
.news-thumb svg { width: 44px; height: 44px; color: var(--gold); opacity: 0.85; }
.news-body { padding: 22px; }
.news-date { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: block; }
.news-body h3 { font-size: 17px; margin-bottom: 10px; }
.news-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step .num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 13.5px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-item h3::before { content: "Q."; color: var(--gold); font-family: var(--font-head); }
.faq-item p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 0 26px; }

.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-lighter));
  border-radius: var(--radius);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: var(--text-light); margin: 0; font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-card { background: var(--cream); border-radius: var(--radius); padding: 34px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--navy); margin-bottom: 4px; }
.contact-line span, .contact-line a { color: var(--text-muted); font-size: 14.5px; }
.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-lighter), var(--navy));
  display: flex; align-items: center; justify-content: center;
}
.map-embed svg { width: 40px; height: 40px; color: var(--gold); }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form-card .form-control { background-color: var(--white); border: 1px solid var(--border); color: var(--text-dark); }
.contact-form-card .form-control::placeholder { color: var(--text-muted); }
.contact-form-card select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230b2545'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); }

/* ---------- Sign Agreement ---------- */
.agreement-viewer { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: #f4f4f4; }
.agreement-viewer embed, .agreement-viewer iframe { width: 100%; height: 640px; border: none; display: block; }
.agreement-fallback { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.agreement-fallback a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.agreement-not-found { max-width: 600px; margin: 0 auto; text-align: center; padding: 60px 20px; }
.signature-pad-wrap { border: 2px dashed var(--border); border-radius: var(--radius); background: var(--white); position: relative; touch-action: none; }
.signature-pad-wrap canvas { display: block; width: 100%; height: 200px; cursor: crosshair; border-radius: var(--radius); }
.signature-pad-placeholder { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--text-muted); font-size: 14px; pointer-events: none; }
.signature-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.signature-actions .btn-clear { background: none; border: none; color: var(--navy); font-weight: 600; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.agree-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: 14px; color: var(--text-muted); }
.agree-checkbox input { margin-top: 3px; }
.sign-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.sign-status.success { display: block; background: #e8f8ee; color: #1a7a3c; border: 1px solid #b8e6c8; }
.sign-status.error { display: block; background: #fdeaea; color: #b02a2a; border: 1px solid #f3c0c0; }
.sign-status.loading { display: block; background: #f0f4fa; color: var(--navy); border: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-light); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about .logo img { height: 42px; margin-bottom: 12px; }
.footer-about p.tagline { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-social a:hover svg { color: var(--navy); }

.footer-col h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--text-light); }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 13.5px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.6); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .why-detail-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-phone { display: none; }
  .topbar-left .topbar-item.hide-sm { display: none; }
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85vw); background: var(--white); flex-direction: column; align-items: stretch; padding: 90px 24px 24px; box-shadow: var(--shadow-lg); transition: right 0.3s ease; overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav a.nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .has-dropdown .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-top: none; display: none; padding-left: 10px; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .nav-scrim { display: none; position: fixed; inset: 0; background: rgba(11,37,69,0.5); z-index: 150; }
  .nav-scrim.open { display: block; }
}

@media (max-width: 768px) {
  .trust-bar .container { grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: none; }
  .trust-item { border-left: none; padding: 6px 4px; gap: 8px; }
  .trust-item svg { width: 24px; height: 24px; }
  .trust-item strong { font-size: 11px; }
  .trust-item span { font-size: 10.5px; }
  .hero-content h1 { font-size: 34px; }
  .section { padding: 60px 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .why-detail-grid, .news-grid, .industries-grid { grid-template-columns: 1fr 1fr; }
  .process-steps, .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .solutions-grid, .values-grid, .why-detail-grid, .news-grid, .industries-grid, .process-steps, .stat-strip { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 2px; }
  .trust-item svg { width: 20px; height: 20px; }
  .trust-item strong { font-size: 9.5px; }
  .trust-item span { font-size: 9px; }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 480px) {
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
