/* ============ IntensiveCapFi — style.css ============
   Light brand scheme from the logo: white ground, near-black type,
   royal-blue accent. */
:root {
  --ink: #101116;
  --black: #0d0e12;
  --accent: #3b51e5;
  --accent-dark: #2c40c4;
  --accent-mist: #8ea1f2;
  --accent-soft: #edf0fd;
  --bg-soft: #f5f6fb;
  --muted: #575c70;
  --line: #e5e7f0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(24, 32, 90, 0.08);
  --shadow-lg: 0 24px 60px rgba(24, 32, 90, 0.14);
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Sora', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }
.center { text-align: center; }
.light { color: var(--white); }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.eyebrow.light { color: #c7d0fb; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  font-family: var(--font-body); transition: all 0.18s ease;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px rgba(59, 81, 229, 0.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; flex: none; display: block; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.15s; }
.main-nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--ink); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-cta .btn { padding: 10px 20px; }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(59, 81, 229, 0.1), transparent 60%),
    radial-gradient(700px 420px at -8% 112%, rgba(59, 81, 229, 0.08), transparent 55%),
    var(--white);
  padding: 64px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.hero-eyebrow { color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1.06rem; margin: 18px 0 28px; max-width: 460px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 460px; }
.hero-photo img { width: 100%; height: 280px; object-fit: cover; }
.hero-stats { display: flex; gap: 0; margin-top: 28px; max-width: 460px; border-top: 1px solid var(--line); padding-top: 22px; }
.stat { flex: 1; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 22px; }
.stat-label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
.stat-value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--accent); }

/* ============ Apply card ============ */
.apply-card {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px; position: sticky; top: 94px;
}
.apply-title { font-size: 1.12rem; font-weight: 700; margin-bottom: 16px; }
.progress-wrap { height: 6px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.progress-bar { height: 100%; width: 33.33%; background: var(--accent); border-radius: 99px; transition: width 0.3s ease; }
.step-indicator { font-size: 0.8rem; color: var(--muted); margin: 8px 0 18px; font-weight: 500; }

fieldset { border: none; }
.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 0.95rem; font-family: var(--font-body);
  color: var(--ink); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 81, 229, 0.14);
}
.field .invalid { border-color: #e5484d; }
.field select:invalid { color: var(--muted); }
.input-prefix { position: relative; }
.input-prefix span {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 600; pointer-events: none;
}
.input-prefix input { padding-left: 30px; }

.form-nav { margin-top: 20px; }
.form-nav.split { display: flex; gap: 12px; }
.form-nav.split .btn-primary { flex: 1; }

.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

.form-success { text-align: center; padding: 26px 6px 12px; }
.success-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: 1.6rem; font-weight: 800; display: grid; place-items: center;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.93rem; }
.form-success a { color: var(--accent); font-weight: 600; }
.form-error { margin-top: 14px; font-size: 0.87rem; color: #c62a30; }
.form-error a { text-decoration: underline; }
.form-fineprint { margin-top: 14px; font-size: 0.76rem; color: var(--muted); text-align: center; }
.form-success-inline { margin-top: 12px; color: #1a7f37; font-weight: 600; font-size: 0.92rem; }

/* ============ About ============ */
.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.about-img-main, .about-img-alt { border-radius: var(--radius); box-shadow: var(--shadow); height: 210px; width: 100%; object-fit: cover; }
.about-img-alt { margin-top: 40px; }
.about-goal {
  grid-column: 1 / -1; background: var(--accent); color: var(--white);
  border-radius: var(--radius); padding: 22px 26px; font-weight: 600;
  font-size: 1.02rem; line-height: 1.5; box-shadow: 0 14px 34px rgba(59, 81, 229, 0.3);
  max-width: 360px; justify-self: center; margin-top: -30px; position: relative; text-align: center;
}
.about-goal span { display: block; font-size: 0.78rem; font-weight: 500; opacity: 0.85; margin-bottom: 4px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy .btn { margin-top: 8px; }

/* ============ Process ============ */
.process { background: var(--bg-soft); padding: 96px 0; }
.card-grid { display: grid; gap: 22px; margin-top: 44px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card.slim { padding: 24px 22px; }

/* ============ Services ============ */
.services { padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.services-intro p { color: var(--muted); margin-bottom: 16px; }
.services-intro .btn { margin-top: 8px; }
.services-cards { margin-top: 0; }
.services-cards .card { border: 1px solid var(--line); box-shadow: none; }
.services-cards .card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

/* ============ Testimonials ============ */
.testimonials {
  background: linear-gradient(160deg, var(--accent) 0%, #2536ae 100%);
  padding: 90px 0;
}
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px;
}
.quote-card blockquote { color: var(--ink); font-size: 0.96rem; line-height: 1.6; }
.quote-card figcaption strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.quote-card figcaption span { color: var(--muted); font-size: 0.84rem; }

/* ============ FAQ ============ */
.faq { padding: 96px 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: var(--white); }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px; background: none; border: none;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s; }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(225deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }
.faq-item.open .faq-a { display: block; }
.faq-item.open { border-color: var(--accent); }
.faq-a ul { margin: 12px 0 12px 20px; display: grid; gap: 8px; }

/* ============ Contact ============ */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: var(--ink); }
.contact-copy p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 0.98rem; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px;
}

/* ============ Footer ============ */
.site-footer { background: var(--black); color: #a7abbe; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 340px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 9px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.9rem; }
.footer-legal { padding-top: 22px; font-size: 0.8rem; display: grid; gap: 8px; }
.disclaimer { color: #767b91; max-width: 760px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .apply-card { position: static; }
  .card-grid.three { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo, .hero-stats, .hero-sub { max-width: none; }
}
@media (max-width: 560px) {
  .card-grid.two, .field-row { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero { padding: 44px 0 56px; }
  .about, .process, .services, .faq { padding: 64px 0; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .contact-form { padding: 22px; }
}
