/* AP LandGrid homepage sections. Base tokens, navbar, footer and
   store buttons come from home.css (re-themed to the AP palette). */

.ap-home { background: var(--bg); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.ap-hero {
  position: relative; overflow: hidden;
  padding: 140px 0 120px;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(224, 162, 27, 0.14), transparent 60%),
    linear-gradient(180deg, #e6f1fb 0%, #f4f8fc 100%);
}
.ap-hero-outline {
  position: absolute; right: -6%; top: 6%; width: min(900px, 80vw); height: auto;
  fill: rgba(21, 101, 192, 0.07); stroke: rgba(21, 101, 192, 0.25); stroke-width: 2;
  stroke-dasharray: 6 8; pointer-events: none;
}
.ap-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.ap-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--divider);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--forest-deep);
}
.ap-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(224, 162, 27, .2); }
.ap-hero h1 {
  font-family: var(--font-display); font-weight: 800; color: var(--forest-deeper);
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 20px;
}
.ap-hero h1 span { color: var(--forest); }
.ap-lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.ap-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.ap-soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  border: 1.5px dashed #b9cde2; color: var(--muted); font-size: 14px; font-weight: 600; background: rgba(255,255,255,.6);
}
.ap-soon svg { width: 20px; height: 20px; }
.ap-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.ap-hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--forest-deep); }
.ap-hero-points svg, .ap-ticks svg { width: 18px; height: 18px; color: #fff; background: var(--forest); border-radius: 50%; padding: 3px; flex-shrink: 0; }

.ap-hero-visual { position: relative; display: flex; justify-content: center; }
.ap-phone {
  width: 300px; aspect-ratio: 540 / 1200; border-radius: 42px; overflow: hidden;
  border: 11px solid #0c1620; background: #0c1620;
  box-shadow: 0 50px 90px -30px rgba(7, 42, 66, 0.55), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.ap-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-phone-sm { width: 250px; border-radius: 36px; border-width: 9px; }
.ap-chip {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 20px 44px -18px rgba(7, 42, 66, 0.45); border-left: 4px solid var(--gold);
}
.ap-chip b { font-size: 15px; color: var(--forest-deeper); }
.ap-chip span { font-size: 12.5px; color: var(--muted); }
.ap-chip-a { left: -4%; top: 22%; }
.ap-chip-b { right: -2%; bottom: 16%; border-left-color: var(--forest); }

/* ── Stats band ──────────────────────────────────────────────────── */
.ap-stats { background: var(--forest-deep); color: #fff; padding: 46px 0; position: relative; }
.ap-stats::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 46px);
}
.ap-stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ap-stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--gold-light); }
.ap-stats span { display: block; margin-top: 8px; font-size: 14px; color: #c9dcee; letter-spacing: .02em; }

/* ── Section heads ───────────────────────────────────────────────── */
.ap-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ap-head.left { text-align: left; margin: 0; }
.ap-kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.ap-kicker.light { color: var(--gold-light); }
.ap-head h2, .ap-mapband h2, .ap-cta h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; color: var(--forest-deeper); margin-bottom: 14px;
}
.ap-head p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.ap-head a { color: var(--forest); font-weight: 600; }

/* ── Feature rows ────────────────────────────────────────────────── */
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.ap-row + .ap-row { border-top: 1px solid var(--divider); }
.ap-row-flip .ap-row-copy { order: 2; }
.ap-row-shot { display: flex; justify-content: center; position: relative; }
.ap-row-shot::before {
  content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 101, 192, .14), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.ap-row-shot .ap-phone { position: relative; }
.ap-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--forest); background: var(--forest-soft); border-radius: 10px; padding: 4px 12px; margin-bottom: 14px; }
.ap-row h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: var(--forest-deeper); margin-bottom: 12px; }
.ap-row p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.ap-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ap-ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); font-size: 15px; }
.ap-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.ap-link svg { width: 18px; height: 18px; transition: transform .2s; }
.ap-link:hover svg { transform: translateX(4px); }

/* ── Districts ───────────────────────────────────────────────────── */
.ap-districts { background: var(--bg-alt); }
.ap-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-region { background: #fff; border-radius: 22px; padding: 24px 22px; border: 1px solid var(--divider); box-shadow: var(--shadow-sm); }
.ap-region-wide { grid-column: span 2; }
.ap-region h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--forest-deep); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-soft); }
.ap-region ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ap-region-wide ul { grid-template-columns: repeat(2, 1fr); column-gap: 18px; }
.ap-region a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; color: var(--text); transition: background .2s, color .2s; }
.ap-region a span { font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ap-region a:hover { background: var(--forest-soft); color: var(--forest); }
.ap-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--muted); max-width: 820px; margin-left: auto; margin-right: auto; }

/* ── Village map band ────────────────────────────────────────────── */
.ap-mapband { background: linear-gradient(135deg, var(--forest-deeper), var(--forest-deep)); color: #e3eef8; }
.ap-mapband-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.ap-mapband-sheet { background: #fff; padding: 12px; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 50px 80px -30px rgba(0,0,0,.6); max-width: 380px; justify-self: center; }
.ap-mapband-sheet img { display: block; width: 100%; height: auto; }
.ap-mapband h2 { color: #fff; }
.ap-mapband-copy > p { font-size: 17px; line-height: 1.7; color: #c9dcee; margin-bottom: 22px; }
.ap-prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.ap-prices div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 10px; text-align: center; }
.ap-prices b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--gold-light); }
.ap-prices span { font-size: 12px; color: #b6cbe0; }
.ap-mapband-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 14px; font-weight: 700; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2b2105; box-shadow: 0 16px 34px -16px rgba(224, 162, 27, .9); transition: transform .2s; }
.ap-btn:hover { transform: translateY(-2px); }
.ap-btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; }
.ap-small { font-size: 13px; color: #9fb8d0; }

/* ── Steps ───────────────────────────────────────────────────────── */
.ap-steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.ap-steps-list li { position: relative; background: #fff; border: 1px solid var(--divider); border-radius: 22px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.ap-steps-list span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--forest); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.ap-steps-list li:nth-child(2) span { background: var(--gold); color: #2b2105; }
.ap-steps-list li:nth-child(3) span { background: var(--forest-deep); }
.ap-steps-list h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--forest-deeper); margin-bottom: 8px; }
.ap-steps-list p { color: var(--muted); line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.ap-faq { background: var(--bg-alt); }
.ap-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.ap-faq-list { display: grid; gap: 12px; }
.ap-faq details { background: #fff; border: 1px solid var(--divider); border-radius: 16px; padding: 4px 22px; }
.ap-faq details[open] { border-color: #bcd3ea; box-shadow: var(--shadow-sm); }
.ap-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--forest-deeper); position: relative; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 500; color: var(--forest); }
.ap-faq details[open] summary::after { content: "–"; }
.ap-faq details p { padding: 0 0 18px; color: var(--muted); line-height: 1.7; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.ap-cta { padding: 90px 0 110px; }
.ap-cta-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 36px 40px; border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-deep) 70%);
  box-shadow: 0 40px 80px -36px rgba(7, 42, 66, .7);
}
.ap-cta-card img { border-radius: 22px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.ap-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.ap-cta p { color: #d3e4f4; }



/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ap-hero { padding: 120px 0 80px; }
  .ap-hero-grid, .ap-row, .ap-mapband-grid, .ap-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .ap-row-flip .ap-row-copy { order: 0; }
  .ap-regions { grid-template-columns: 1fr 1fr; }
  .ap-region-wide { grid-column: span 2; }
  .ap-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .ap-prices { grid-template-columns: repeat(3, 1fr); }
  .ap-steps-list { grid-template-columns: 1fr; }
  .ap-cta-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ap-head.left { text-align: center; }
}
@media (max-width: 600px) {
  .ap-regions { grid-template-columns: 1fr; }
  .ap-region-wide { grid-column: auto; }
  .ap-region-wide ul { grid-template-columns: 1fr; }
  .ap-phone { width: 250px; }
  .ap-phone-sm { width: 220px; }
  .ap-chip-a { left: 0; top: 8%; }
  .ap-chip-b { right: 0; bottom: 6%; }
  .ap-prices { grid-template-columns: repeat(2, 1fr); }
  .ap-cta-card { padding: 30px 22px; }
}
