:root {
  --accent: #1652f0;
  --accent-hover: #3d74ff;
  --black: #0a0a0a;
  --white: #ffffff;
  --light-grey: #f7f7f5;
  --mid-grey: #57595c;
  --line: #e3e3e0;
  --face: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--face); color: var(--black); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--face); font-weight: 800; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* HEADER */
.header {
  background: var(--black);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(22,82,240,0.18);
  height: 68px;
}
.header .wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.header .wordmark span { color: var(--accent-hover); }
.header .wordmark-icon { color: #fff; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  display: inline-block; padding: 11px 20px; background: var(--accent); color: #fff !important;
  border-radius: 9px; font-size: 13px; font-weight: 800; letter-spacing: 0.3px; text-decoration: none;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 8px; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: flex-start; padding: 8px 24px 24px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
}

/* PAGE HERO (interior pages) */
.page-hero {
  background: var(--black);
  background-image: radial-gradient(ellipse at 70% 0%, rgba(22,82,240,0.14) 0%, transparent 55%);
  padding: 64px 24px 72px; text-align: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(22,82,240,0.14); border: 1px solid rgba(22,82,240,0.4);
  color: var(--accent-hover); font-weight: 700;
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 24px;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 48px); font-weight: 800; color: #fff;
  line-height: 1.12; max-width: 760px; margin: 0 auto 16px; letter-spacing: -0.5px;
}
.page-hero h1 em { color: var(--accent-hover); font-style: normal; }
.page-hero p { font-size: 16.5px; color: rgba(255,255,255,0.58); max-width: 560px; margin: 0 auto; }

/* HOME HERO (bigger, with trust pills + CTAs) */
.home-hero { background: var(--black); background-image: radial-gradient(ellipse at 70% 0%, rgba(22,82,240,0.14) 0%, transparent 55%); padding: 84px 24px 96px; text-align: center; }
.home-hero h1 { font-size: clamp(32px, 6vw, 58px); font-weight: 800; color: #fff; line-height: 1.1; max-width: 880px; margin: 0 auto 20px; letter-spacing: -0.5px; }
.home-hero h1 em { color: var(--accent-hover); font-style: normal; }
.home-hero .hero-sub { font-size: 17.5px; color: rgba(255,255,255,0.6); max-width: 580px; margin: 0 auto 36px; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-pill { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.72); font-weight: 500; }
.trust-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hover); flex-shrink: 0; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 17px 34px; background: var(--accent); color: #fff;
  border: none; border-radius: 12px; font-family: var(--face); font-size: 13.5px;
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(22,82,240,0.35); }
.btn-secondary {
  display: inline-block; padding: 17px 34px; background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; font-family: var(--face); font-size: 13.5px;
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }

/* SECTIONS */
.section { padding: 80px 24px; }
.section-grey { background: var(--light-grey); }
.container { max-width: 1040px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }
.section-eyebrow { display: block; text-align: center; font-weight: 700; font-size: 10px; letter-spacing: 2.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; text-align: center; line-height: 1.15; letter-spacing: -0.3px; margin-bottom: 14px; color: var(--black); }
.section-title em { color: var(--accent); font-style: normal; }
.section-sub { font-size: 16px; color: var(--mid-grey); text-align: center; max-width: 600px; margin: 0 auto 48px; line-height: 1.65; }
.section-title.left, .section-sub.left { text-align: left; margin-left: 0; }

/* STAT STRIP */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 auto 56px; max-width: 940px; }
.stat-box { background: var(--white); border-radius: 14px; padding: 26px 18px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-top: 3px solid var(--accent); }
.stat-box .num { display: block; font-size: 28px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.stat-box .label { font-size: 12px; color: var(--mid-grey); font-weight: 600; line-height: 1.4; }

/* TWO COLUMN (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.14); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; letter-spacing: -0.3px; }
.split p { font-size: 15.5px; color: var(--mid-grey); line-height: 1.75; margin-bottom: 14px; }
.split ul { margin-top: 18px; }
.split li { font-size: 14.5px; color: var(--mid-grey); line-height: 1.7; margin-bottom: 10px; padding-left: 22px; position: relative; }
.split li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* CARDS GRID (services / how-it-works preview / values) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { background: var(--white); border-radius: 16px; padding: 30px 26px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-left: 4px solid var(--accent); }
.info-card .icon-num { font-weight: 800; font-size: 34px; color: var(--accent); opacity: 0.22; line-height: 1; margin-bottom: 10px; }
.info-card h3 { font-size: 16.5px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.35; }
.info-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }

/* PROCESS STEPS (numbered list) */
.steps-list { max-width: 760px; margin: 0 auto; counter-reset: step; }
.steps-list li { list-style: none; display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: none; }
.steps-list .step-num { counter-increment: step; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--light-grey); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps-list .step-num::before { content: counter(step); }
.steps-list b { display: block; font-size: 15.5px; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.steps-list span { font-size: 14px; color: var(--mid-grey); line-height: 1.7; }

/* PORTFOLIO / DATA TABLE */
.data-table { width: 100%; border-collapse: collapse; margin: 0 auto; max-width: 900px; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.data-table th { background: var(--black); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; padding: 16px 18px; text-align: left; font-weight: 700; }
.data-table td { padding: 16px 18px; font-size: 14px; color: var(--black); border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: none; }
.data-table .property-cell { font-weight: 700; }
.data-table .yield-cell { color: var(--accent); font-weight: 800; }
.table-note { text-align: center; font-size: 12.5px; color: var(--mid-grey); max-width: 640px; margin: 20px auto 0; line-height: 1.6; }

/* TESTIMONIALS */
.t-pair.t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { background: var(--white); border-radius: 18px; padding: 32px 34px; box-shadow: 0 6px 32px rgba(0,0,0,0.08); display: flex; flex-direction: column; }
.t-quote { font-size: 56px; line-height: 0.8; color: var(--accent); font-family: Georgia, serif; opacity: 0.4; margin-bottom: 4px; display: block; }
.t-stars { color: var(--accent); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.t-text { font-size: 14.5px; color: #333; line-height: 1.8; font-style: italic; margin-bottom: 22px; flex: 1; }
.t-author { display: flex; align-items: center; gap: 13px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0; }
.t-name { font-weight: 700; font-size: 14px; color: var(--black); }
.t-role { font-size: 12.5px; color: var(--mid-grey); margin-top: 2px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row .c-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--light-grey); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.contact-row .c-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--mid-grey); margin-bottom: 3px; }
.contact-row .c-value { font-size: 15px; font-weight: 600; color: var(--black); }
.contact-row .c-value a { text-decoration: none; color: var(--black); }
.contact-row .c-value a:hover { color: var(--accent); }
.placeholder-note { font-size: 11.5px; color: #b98900; background: #fff8e6; border: 1px solid #f0dca0; border-radius: 8px; padding: 8px 12px; margin-top: 4px; display: inline-block; }

.contact-form { background: var(--light-grey); border-radius: 18px; padding: 34px; }
.input-group { margin-bottom: 16px; }
.input-label { display: block; font-size: 13px; font-weight: 600; color: var(--mid-grey); margin-bottom: 6px; }
.input-field, textarea.input-field {
  width: 100%; padding: 14px 16px; border: 2px solid #E5E5E5; border-radius: 12px;
  font-family: var(--face); font-size: 15px; color: var(--black);
  outline: none; transition: border-color 0.2s; background: var(--white); resize: vertical;
}
.input-field:focus { border-color: var(--accent); }
.hp-field { position: absolute; opacity: 0; height: 0; width: 0; pointer-events: none; }
.cta-btn {
  display: block; width: 100%; padding: 17px; background: var(--accent); color: #fff;
  border: none; border-radius: 12px; font-family: var(--face); font-size: 14px;
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: all 0.2s ease; margin-top: 4px;
}
.cta-btn:hover { background: var(--accent-hover); }
.cta-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-msg { display: none; font-size: 13px; margin-top: 12px; text-align: center; line-height: 1.6; }
.form-msg.show { display: block; }
.form-msg.success { color: #0a7a3d; }
.form-msg.error { color: #E53E3E; }

/* BOTTOM CTA */
.bottom-cta {
  background: var(--black);
  background-image: radial-gradient(ellipse at 30% 100%, rgba(22,82,240,0.16) 0%, transparent 55%);
  padding: 88px 24px; text-align: center;
}
.bottom-cta h2 { font-size: clamp(26px, 4.5vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; }
.bottom-cta h2 em { color: var(--accent-hover); font-style: normal; }
.bottom-cta p { font-size: 16px; color: rgba(255,255,255,0.58); max-width: 480px; margin: 0 auto 32px; }

/* FOOTER */
.footer { background: var(--black); padding: 44px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.footer .wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 20px; }
.footer .wordmark span { color: var(--accent-hover); }
.footer .wordmark-icon { color: #fff; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-hover); }
.footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.24); line-height: 1.8; max-width: 640px; margin: 0 auto; }

@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .t-pair.t-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 56px 16px; }
  .home-hero, .page-hero { padding: 48px 16px 60px; }
  .t-card { padding: 26px 22px; }
}
