/* ============================================================
   QualifyMyLand — Data Center Land Portfolio
   Shared themeable stylesheet. Each site overrides the accent
   palette in an inline :root block in its own index.html.
   ============================================================ */

:root {
  /* Theme accents (overridden per-site) */
  --accent: #2e7d32;
  --accent-dark: #1b5e20;
  --accent-light: #e8f5e9;
  --accent-contrast: #ffffff;

  /* Neutrals */
  --ink: #11161d;
  --ink-mid: #3a4452;
  --ink-soft: #66707d;
  --line: #e4e8ee;
  --paper: #ffffff;
  --paper-alt: #f6f8fa;
  --dark: #0f1115;
  --dark-card: #1a1d24;
  --dark-line: #2a2e38;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(16, 22, 29, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 22, 29, 0.16);
  --transition: 0.25s ease;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-mid);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.section { padding: 96px 24px; }
.container { max-width: var(--maxw); margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-desc { font-size: 1.08rem; color: var(--ink-soft); max-width: 640px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }
.lead { font-size: 1.18rem; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
p { margin-bottom: 16px; }
em { color: var(--accent-dark); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-light { background: #fff; color: var(--accent-dark); border-color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Nav ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
}
#navbar.scrolled { background: rgba(255,255,255,0.96); box-shadow: var(--shadow); backdrop-filter: blur(8px); padding: 12px 0; }
.nav-container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; transition: var(--transition); }
.nav-logo .dot { color: var(--accent); }
#navbar.scrolled .nav-logo { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.97rem; color: rgba(255,255,255,0.92); transition: var(--transition); }
#navbar.scrolled .nav-links a { color: var(--ink-mid); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta { background: var(--accent); color: #fff !important; padding: 9px 20px; border-radius: 100px; }
.nav-links a.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
#navbar.scrolled .nav-toggle { color: var(--ink); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 130px 24px 90px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg-img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,17,21,0.78), rgba(15,17,21,0.48));
}
#hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.4; pointer-events: none;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge i { color: #ffd66b; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.08; margin-bottom: 20px; max-width: 16ch; }
.hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.92); max-width: 60ch; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
#stats { background: var(--ink); color: #fff; padding: 56px 24px; }
.stats-row { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 26px; }
.stat { text-align: center; }
.stat-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; }
.stat-num { display: inline-block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-num.suffix { color: var(--accent); }
.stat-label { display: block; margin-top: 8px; font-size: 0.86rem; color: rgba(255,255,255,0.66); letter-spacing: 0.02em; }
.stat-div { width: 1px; height: 52px; background: rgba(255,255,255,0.16); }

/* ---------- Features grid ---------- */
.features { background: var(--paper-alt); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
  padding: 0;
}
/* Cards aren't links, so no hover lift/shadow or image zoom (implied clickability). */
.card-img {
  width: 100%; height: 170px; overflow: hidden; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-icon-only { background: linear-gradient(135deg, var(--accent-light), #fff); }
.card-img-fa { font-size: 3.5rem; color: var(--accent); opacity: 0.55; }
.card-body { padding: 26px; flex: 1; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--accent-dark); background: var(--accent-light); margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split / two-column ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-panel {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.split-panel h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 16px; }
.split-panel ul { display: grid; gap: 14px; margin-top: 18px; }
.split-panel li { display: flex; gap: 12px; align-items: flex-start; }
.split-panel li i { color: #ffd66b; margin-top: 4px; }
.split-panel-img {
  margin-top: 26px; border-radius: 12px; overflow: hidden; height: 160px;
}
.split-panel-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-light);
  display: grid; place-items: center; font-size: 1.4rem; color: var(--accent-dark); margin-bottom: 14px;
}
.step h4 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Land banner ---------- */
.land-banner {
  position: relative; height: 300px; overflow: hidden;
}
.land-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.land-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,17,21,0.62), rgba(15,17,21,0.35));
  display: flex; align-items: center; justify-content: center;
}
.land-banner-text {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  color: #fff; font-weight: 700; letter-spacing: 0.01em; text-align: center;
  padding: 0 24px; display: flex; align-items: center; gap: 12px;
}
.land-banner-text i { color: var(--accent); font-size: 1.3em; }

/* ---------- Assessment quiz ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.quiz-progress { height: 6px; background: var(--accent-light); border-radius: 100px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress-bar { height: 100%; width: 0; background: var(--accent); transition: width 0.4s ease; }
.quiz-q { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 22px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-opt {
  text-align: left; background: var(--paper-alt); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 15px 18px; font-size: 1rem; color: var(--ink-mid); cursor: pointer; transition: var(--transition);
}
.quiz-opt:hover { border-color: var(--accent); background: var(--accent-light); }
.quiz-result { text-align: center; }
.quiz-score-ring { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent-dark); }
.quiz-verdict { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 6px 0 14px; }

/* ---------- Contact form (identical across all sites) ---------- */
.k2lf-section { background: #0f1115; color: #f5f5f5; padding: 88px 20px; }
.k2lf-container { max-width: 840px; margin: 0 auto; }
.k2lf-head { text-align: center; margin-bottom: 36px; }
.k2lf-head .section-tag { background: rgba(255,255,255,0.08); color: #ffd66b; }
.k2lf-title { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.15; margin: 12px 0; color: #fff; }
.k2lf-sub { color: #c9c9c9; max-width: 640px; margin: 0 auto; }
.k2lf-form { background: #1a1d24; border: 1px solid #2a2e38; border-radius: 16px; padding: 28px; }
.k2lf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.k2lf-field { display: flex; flex-direction: column; gap: 6px; }
.k2lf-field label { font-size: .85rem; font-weight: 600; color: #e7e7e7; }
.k2lf-field input, .k2lf-field select {
  background: #0f1115; border: 1px solid #353a45; color: #f5f5f5;
  border-radius: 8px; padding: 11px 12px; font-size: 1rem; width: 100%;
}
.k2lf-field input:focus, .k2lf-field select:focus { outline: none; border-color: var(--accent); }
.k2lf-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: .9rem; color: #c9c9c9; }
.k2lf-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.k2lf-section .btn { width: 100%; justify-content: center; }
.k2lf-status { margin-top: 14px; text-align: center; font-weight: 600; min-height: 1.2em; }
.k2lf-status.k2lf-ok { color: #7ddc8a; }
.k2lf-status.k2lf-err { color: #ff8e8e; }

/* ---------- Footer ---------- */
#footer { background: #0a0c10; color: #c9c9c9; padding: 60px 24px 34px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer-name .dot { color: var(--accent); }
.footer-tagline { font-size: 0.92rem; color: #8a8f98; margin-top: 6px; }
.footer-net h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-net-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.footer-net-links a { font-size: 0.9rem; color: #aab0b9; transition: var(--transition); }
.footer-net-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 26px; font-size: 0.85rem; color: #6c7280; text-align: center; }
.footer-disclaimer { margin-top: 10px; font-size: 0.78rem; color: #565c66; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; line-height: 1.6; }

/* ---------- Fade-in ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1070px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 64px; right: 16px; left: 16px;
    background: #fff; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--transition);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink-mid) !important; padding: 8px 6px; }
  .nav-links a.nav-cta { text-align: center; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .k2lf-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 20px; }
  .stat-div { display: none; }
}

/* -------- FAQ accordion -------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.06rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); font-weight: 400; line-height: 1; transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 26px 24px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--ink-mid); }
