/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #77B154;
  --green-dark: #5E8E3E;
  --green-light: #E8F5E0;
  --red: #BD1930;
  --red-dark: #9A1525;
  --red-light: #FDE8EC;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-grey: #F0F2F5;
  --mid-grey: #8892A0;
  --text: #1A1A2E;
  --text-light: #4A4A6A;
  --dark: #160A0E;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === COMPLIANCE STRIP === */
.compliance-strip {
  background: var(--dark);
  color: var(--white);
  font-size: 0.75rem;
  padding: 8px 0;
  text-align: center;
  line-height: 1.5;
}
.compliance-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
}
.compliance-strip a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
}
.compliance-strip .sep {
  color: var(--mid-grey);
  opacity: 0.5;
}
@media (max-width: 768px) {
  .compliance-strip .sep { display: none; }
  .compliance-strip { font-size: 0.7rem; padding: 6px 0; }
}

/* === HEADER === */
.site-header {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(189,25,48,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark-img { 
  height: 42px;
  width: auto;
  flex-shrink: 0; 
}.logo-text { display: none; }

/* Nav */
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--white); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .main-nav, .site-header .btn-primary { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { height: 60px; }
  
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--red-dark);
    padding: 20px 24px;
    gap: 16px;
  }
  .main-nav.open a { font-size: 1rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(119,177,84,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(119,177,84,0.45);
  transform: translateY(-1px);
}
.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(119,177,84,0.35); }
  50% { transform: scale(1.05); box-shadow: 0 8px 28px rgba(119,177,84,0.55); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-6px); }
  30%, 70% { transform: translateX(6px); }
}
.shake {
  animation: shake 0.5s ease-in-out;
}

/* === HERO === */
.hero {
  padding: 32px 0 40px;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  text-align: center;
}
.hero-content {
  max-width: 640px;
  margin: 0 auto 24px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Pre-form */
.pre-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.pre-form-fields .form-group {
  flex: 1;
  min-width: 0;
}
.pre-form-fields .form-group:first-child {
  flex: auto;
}
.pre-form .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.pre-form .form-group .req {
  color: var(--red);
}
.pre-form select,
.pre-form input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  appearance: auto;
}
.pre-form select:focus,
.pre-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(119,177,84,0.15);
}
.btn-full {
  width: 100%;
  font-size: 1.05rem;
}
.pre-form-note {
  font-size: 0.7rem;
  color: var(--mid-grey);
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}
.rep-example {
  background: var(--light-grey);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.5;
  text-align: center;
}

/* Amount button grid (replaces select dropdown) */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.amount-btn {
  display: block;
  width: 100%;
  padding: 13px 10px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.amount-btn:hover {
  border-color: var(--green);
  background: var(--green-light);
}
.amount-btn.selected {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}
.amount-btn.amount-other {}
.amount-other-select {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  margin-top: 10px;
  appearance: auto;
  -webkit-appearance: auto;
}

/* ---- Hero trust row ---- */
.hero-trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-trust-row .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}
.trust-icon { font-size: 1rem; }

@media (max-width: 640px) {
  .hero { padding: 24px 0 32px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-form-card { padding: 20px 18px; }
  .pre-form-fields { gap: 14px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 1.45rem; }
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--dark);
  padding: 28px 0;
}
.trust-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.tl-icon { font-size: 1.6rem; }
.trust-logo-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
}
.trust-logo-item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
  .trust-logos { gap: 24px; }
  .trust-logo-item { min-width: 130px; }
}

/* === SECTIONS === */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-head .kicker {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-head h1,
.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* === HOW IT WORKS === */
.how-it-works { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-img {
  margin: 0 auto 20px;
  border-radius: var(--radius);
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* === WHY US === */
.why-us { background: var(--off-white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 60px 0;
  text-align: center;
}
.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.footer-links-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-links-col a:hover { color: var(--green); }
.footer-social {
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--green); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}
.footer-legal p { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === GLASS EFFECT === */
.glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }
.faq-section { padding: 80px 0; background: var(--off-white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.faq-q .chevron {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mid-grey);
  transition: transform var(--transition);
}
.faq-item.open .faq-q .chevron { transform: rotate(45deg); color: var(--green); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* === CONTACT PAGE === */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-detail .cd-icon { font-size: 1.4rem; }
.contact-detail strong { display: block; margin-bottom: 2px; }
.contact-detail span { font-size: 0.9rem; color: var(--text-light); }
.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.contact-form-card .form-group { margin-bottom: 16px; }
.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(119,177,84,0.12);
}
.contact-form-card textarea { min-height: 120px; resize: vertical; }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .faq-section, .contact-section, section { padding: 50px 0; }
  .section-head h1,
.section-head h2 { font-size: 1.7rem; }
}

/* === APPLY PAGE === */
.apply-section {
  padding: 40px 0 60px;
  background: var(--off-white);
  min-height: 80vh;
}
.apply-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: visible;
}

/* === APPLY PAGE UTILITY === */
.form-error {
  background: var(--red-light);
  border: 1px solid rgba(189,25,48,0.35);
  color: var(--red);
  font-size: 13px;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: none;
}
.form-error.show { display: block; }
.fine-print {
  font-size: 11.5px;
  color: var(--mid-grey);
  margin-top: 16px;
  line-height: 1.5;
  text-align: center;
  padding: 0 24px 20px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  color: var(--text-light);
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
  color: var(--text);
}

/* Countdown timer */
.countdown-timer {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  #applyCard {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

