:root {
  --blue: #1A47A0;
  --blue-light: #2A5FC0;
  --blue-pale: #EEF3FB;
  --green: #1A7A3C;
  --green-light: #2A9A50;
  --green-pale: #EEF7F2;
  --red: #C8313A;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --text-dark: #0F1A2E;
  --text-mid: #4A5568;
  --text-light: #8A96A8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15,26,46,0.06), 0 1px 2px rgba(15,26,46,0.04);
  --shadow-md: 0 4px 16px rgba(15,26,46,0.08), 0 2px 6px rgba(15,26,46,0.05);
  --shadow-lg: 0 12px 40px rgba(15,26,46,0.12), 0 4px 12px rgba(15,26,46,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,71,160,0.09);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.2px;
}
.logo span { color: var(--green); }
.logo em { font-style: normal; color: var(--text-light); font-weight: 400; font-size: 1rem; }

.nav-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid rgba(26,71,160,0.18);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45) saturate(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(26,71,160,0.72) 0%,
    rgba(15,26,46,0.85) 50%,
    rgba(26,122,60,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 48px 80px 80px;
  animation: fadeUp 0.9s ease both;
}

.hero-flag-bar {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  width: 48px;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}
.hero-flag-bar span {
  flex: 1;
  display: block;
}
.hero-flag-bar span:nth-child(1) { background: #1A47A0; }
.hero-flag-bar span:nth-child(2) { background: #FFFFFF; }
.hero-flag-bar span:nth-child(3) { background: #1A7A3C; }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 300;
}

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}
.notify-input::placeholder { color: rgba(255,255,255,0.5); }
.notify-input:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.15);
}

.notify-btn {
  padding: 13px 26px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.notify-btn:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.hero-note strong { color: rgba(255,255,255,0.8); }

/* ─── ABOUT ─── */
.about {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.about-stats.visible { opacity: 1; transform: none; }

.stat {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.stat.visible { opacity: 1; transform: none; }
.stat:nth-child(1) { transition-delay: 0.05s; }
.stat:nth-child(2) { transition-delay: 0.12s; }
.stat:nth-child(3) { transition-delay: 0.19s; }
.stat:nth-child(4) { transition-delay: 0.26s; }

.stat:nth-child(1), .stat:nth-child(2) {
  border-bottom: 2px solid var(--blue-pale);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ─── INDUSTRIES ─── */
.industries {
  padding: 96px 0 112px;
  background: var(--white);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 52px;
  max-width: 560px;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  opacity: 0;
  transform: translateY(22px);
}
.card.visible {
  opacity: 1;
  transform: none;
}
.card:nth-child(1)  { transition-delay: 0.04s; }
.card:nth-child(2)  { transition-delay: 0.08s; }
.card:nth-child(3)  { transition-delay: 0.12s; }
.card:nth-child(4)  { transition-delay: 0.16s; }
.card:nth-child(5)  { transition-delay: 0.20s; }
.card:nth-child(6)  { transition-delay: 0.24s; }
.card:nth-child(7)  { transition-delay: 0.28s; }
.card:nth-child(8)  { transition-delay: 0.32s; }
.card:nth-child(9)  { transition-delay: 0.36s; }
.card:nth-child(10) { transition-delay: 0.40s; }
.card:nth-child(11) { transition-delay: 0.44s; }
.card:nth-child(12) { transition-delay: 0.48s; }
.card:nth-child(13) { transition-delay: 0.52s; }
.card:nth-child(14) { transition-delay: 0.56s; }

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,71,160,0.18);
}

.card--featured {
  background: var(--white);
  border-color: rgba(26,71,160,0.2);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.card--featured:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,71,160,0.3);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card ul li {
  font-size: 0.8rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}
.card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ─── CTA ─── */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue) 0%, #0F2A6E 50%, #0A4A28 100%);
}

.cta-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-flag {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.cta-flag span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.cta-flag span:nth-child(1) { background: #1A6BD8; }
.cta-flag span:nth-child(2) { background: #FFFFFF; margin: 0 3px; }
.cta-flag span:nth-child(3) { background: #2A9A50; }

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta .notify-form {
  margin: 0 auto;
  justify-content: center;
}

/* ─── FOOTER ─── */
footer {
  background: var(--text-dark);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

footer .logo { color: rgba(255,255,255,0.6); }
footer .logo span { color: rgba(255,255,255,0.5); }

.footer-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 6px;
}

/* ─── BUSINESS FORM ─── */
.business-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 20px;
}

.business-form .form-control {
  margin: 0;
}

.business-form .form-control input[type='text'],
.business-form .form-control input[type='email'],
.business-form .form-control input[type='tel'] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  backdrop-filter: blur(6px);
}

.business-form .form-control input::placeholder {
  color: rgba(255,255,255,0.55);
}

.business-form .form-control input:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.15);
}

.business-form .notify-btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

#business-form {
  scroll-margin-top: 100px;
}

.hidden {
  display: none;
  height: 0;
}

/* ─── RESPONSIVE FORM ─── */
@media (max-width: 768px) {
  .business-form {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .business-form .notify-btn {
    width: 100%;
    justify-self: stretch;
  }
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  opacity: 0;
  z-index: 999;
  border-left: 3px solid var(--green);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.about-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.about-text.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 16px 28px; }
}

@media (max-width: 768px) {
  .hero-content { padding: 60px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards-grid { grid-template-columns: 1fr; }
  nav { padding: 14px 20px; }
  .logo { font-size: 1rem; }
  .container { padding: 0 20px; }
  .notify-form { flex-direction: column; }
  .notify-input, .notify-btn { width: 100%; }
}
