/* ==========================================================================
   Akasa Solar — Shared Stylesheet
   Palette: sky-deep / sky-mid / amber (sun) on a pale-sky paper background
   Type: Zilla Slab (headlines) + Karla (body)
   ========================================================================== */

:root {
  --sky-deep: #0E3A5C;
  --sky-deep-2: #0A2E49;
  --sky-mid: #1C6690;
  --amber: #E8A63D;
  --amber-deep: #C9822A;
  --paper: #F5F8FB;
  --paper-2: #FFFFFF;
  --ink: #16212C;
  --slate: #5C6B7A;
  --line: #DCE4EA;
  --line-strong: #C3D0DA;
  --success-bg: #E8F5EC;
  --success-ink: #1F6F3F;

  --font-head: "Zilla Slab", Georgia, serif;
  --font-body: "Karla", -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 12px 32px rgba(14, 58, 92, 0.10);
  --shadow-form: 0 20px 48px rgba(14, 58, 92, 0.18);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--sky-deep);
  margin: 0 0 0.4em 0;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em 0; color: var(--slate); }
p:last-child { margin-bottom: 0; }

a { color: var(--sky-mid); text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-amber {
  background: var(--amber);
  color: var(--sky-deep-2);
}
.btn-amber:hover { background: var(--amber-deep); }

.btn-outline {
  background: transparent;
  border-color: var(--paper-2);
  color: var(--paper-2);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--sky-deep);
  color: var(--sky-deep);
}
.btn-outline-dark:hover { background: var(--sky-deep); color: white; }

.btn-block { width: 100%; }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--sky-deep);
}
.logo .sun-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 166, 61, 0.22);
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
}
.main-nav a:hover { color: var(--sky-mid); }
.main-nav a.active { color: var(--sky-deep); border-bottom: 2px solid var(--amber); padding-bottom: 4px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--sky-deep);
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.phone-pill:hover { background: var(--sky-deep); color: white; }

.nav-toggle { display: none; }

/* ---------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EAF2F8 0%, var(--paper) 62%);
  border-bottom: 1px solid var(--line);
}
.hero-sun {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  pointer-events: none;
  opacity: 0.9;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 28px 88px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: start;
}
.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sky-mid);
  background: rgba(28, 102, 144, 0.09);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-copy p.lede {
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 46ch;
  margin-top: 14px;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sky-deep);
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--slate);
  max-width: 15ch;
}

/* Booking form card */
.booking-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-form);
  padding: 30px 30px 26px;
  border-top: 5px solid var(--amber);
}
.booking-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.booking-card .sub {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky-mid);
  background: white;
}
.field textarea { resize: vertical; min-height: 64px; }
.form-note {
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  display: none;
  background: var(--success-bg);
  color: var(--success-ink);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-success.show { display: block; }

/* ------------------------------- Trust strip ------------------------------ */
.trust-strip {
  background: var(--sky-deep);
  padding: 22px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-item svg { flex-shrink: 0; }

/* --------------------------------- Sections ------------------------------- */
.section { padding: 84px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { font-size: 1.02rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  padding: 30px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.feature .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; font-size: 1.12rem; }
.feature p { font-size: 0.94rem; }

/* Process steps */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 0 20px 0 0;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step .step-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 10px;
  line-height: 1;
}
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.86rem; }

/* Segment cards */
.segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.segment-card {
  background: var(--sky-deep);
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.segment-card.alt { background: var(--sky-mid); }
.segment-card .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.segment-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.segment-card p { color: rgba(255,255,255,0.82); margin-bottom: 22px; }
.segment-card ul { margin: 0 0 24px; padding: 0; list-style: none; }
.segment-card li {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  padding: 7px 0 7px 22px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.segment-card li:first-child { border-top: none; }
.segment-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--sky-deep) 0%, var(--sky-deep-2) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: white; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.78); }

/* Table (subsidy breakdowns etc.) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--sky-deep);
  color: white;
  font-family: var(--font-head);
  font-weight: 600;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td.num { font-weight: 700; color: var(--sky-deep); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.faq-item p { font-size: 0.94rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(180deg, #EAF2F8 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 60px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--sky-mid); font-weight: 600; }
.page-hero .lede { font-size: 1.08rem; max-width: 60ch; color: var(--ink); }

/* Two-column content block */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }

/* --------------------------------- Footer -------------------------------- */
.site-footer {
  background: var(--sky-deep-2);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid .logo { color: white; margin-bottom: 12px; }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin-bottom: 11px;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------- Utility -------------------------------- */
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-48 { margin-top: 48px; }

/* -------------------------------- Responsive ------------------------------ */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--sky-deep);
    border-radius: var(--radius-sm);
    background: none;
    cursor: pointer;
  }
  .header-actions .phone-pill span.txt { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; }
  .hero-sun { width: 380px; height: 380px; top: -120px; right: -140px; }
  .hero-stats { gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .process-step { border-right: none; }
  .segment-grid { grid-template-columns: 1fr; }
  .split-block { grid-template-columns: 1fr; }
  .split-block.reverse { direction: ltr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .header-inner { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .hero-inner { padding-left: 20px; padding-right: 20px; }
  .booking-card { padding: 24px 20px; }
  .process-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
