/* ==========================================================
   EKO SOLAR KRALJEVO - Modern, performant CSS
   ========================================================== */

/* Design tokens */
:root {
  --c-bg: #ffffff;
  --c-surface: #f8fafc;
  --c-surface-2: #f1f5f9;
  --c-ink: #0f172a;
  --c-ink-2: #1e293b;
  --c-muted: #64748b;
  --c-muted-2: #94a3b8;
  --c-line: #e2e8f0;

  --c-primary: #fbbf24;
  --c-primary-2: #f59e0b;
  --c-primary-3: #d97706;
  --c-accent: #10b981;
  --c-accent-2: #059669;
  --c-danger: #ef4444;

  --c-dark: #0b1220;
  --c-dark-2: #0f172a;
  --c-dark-3: #1e293b;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, .18), 0 8px 18px -6px rgba(15, 23, 42, .12);
  --shadow-glow: 0 12px 40px -10px rgba(251, 191, 36, .55);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 72px;
  --container: 1200px;

  --grad-sun: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --grad-eco: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }

::selection { background: var(--c-primary); color: var(--c-ink); }

/* Utility */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.grad-text {
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(251,191,36,.22);
  animation: pulseDot 2.4s var(--ease) infinite;
}
@keyframes pulseDot {
  50% { box-shadow: 0 0 0 8px rgba(251,191,36,.08); }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  --bg: var(--c-primary);
  --fg: #1a1206;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-sun);
  color: #1a1206;
  box-shadow: 0 8px 20px -6px rgba(245,158,11,.55);
}
.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(245,158,11,.7); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}
.btn-ghost:hover { background: rgba(0,0,0,.05); box-shadow: none; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.pulse-cta::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulseRing 2.2s var(--ease) infinite;
  z-index: -1;
}
@keyframes pulseRing {
  0% { transform: scale(.95); opacity: .55; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  color: #fff;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15,23,42,.06);
  color: var(--c-ink);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-inner .nav { margin-left: auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-dark-2);
  color: #fff;
  box-shadow: var(--shadow-md);
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .04em; color: inherit; }
.brand-text small { font-size: .68rem; letter-spacing: .35em; color: rgba(255,255,255,.7); transition: color .3s var(--ease); }
.site-header.scrolled .brand-text small { color: var(--c-muted); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.65); }

.nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius-pill);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-header.scrolled .nav a { color: var(--c-ink-2); }
.site-header.scrolled .nav a:hover { background: var(--c-surface-2); color: var(--c-ink); }

.header-cta { padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  transition: background .3s var(--ease);
}
.site-header.scrolled .nav-toggle { background: var(--c-surface-2); }
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease), top .25s var(--ease), background .3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--c-ink); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Backdrop for mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 98;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; margin-left: auto; }

  .header-inner .nav { margin-left: 0; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 60%, #111c33 100%);
    padding: calc(var(--header-h) + 18px) 24px 28px;
    box-shadow: -20px 0 60px rgba(0,0,0,.55);
    transform: translateX(100%);
    pointer-events: none;
    transition: transform .4s var(--ease-out);
    z-index: 101;
    overflow-y: auto;
  }
  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(500px 300px at 100% 0%, rgba(251,191,36,.14), transparent 60%),
      radial-gradient(400px 300px at 0% 100%, rgba(16,185,129,.10), transparent 60%);
    pointer-events: none;
    z-index: -1;
  }
  .nav.open { transform: translateX(0); pointer-events: auto; }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav li { opacity: 0; }
  .nav.open li { animation: navItemIn .5s var(--ease-out) forwards; }
  .nav.open li:nth-child(1) { animation-delay: .12s; }
  .nav.open li:nth-child(2) { animation-delay: .17s; }
  .nav.open li:nth-child(3) { animation-delay: .22s; }
  .nav.open li:nth-child(4) { animation-delay: .27s; }
  .nav.open li:nth-child(5) { animation-delay: .32s; }
  .nav.open li:nth-child(6) { animation-delay: .37s; }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: none; }
  }

  .nav a {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    border: 1px solid transparent;
    position: relative;
  }
  .nav a::after {
    content: "→";
    margin-left: auto;
    color: rgba(255,255,255,.3);
    transition: transform .25s var(--ease), color .25s var(--ease);
  }
  .nav a:hover,
  .nav a:active {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-color: rgba(255,255,255,.1);
  }
  .nav a:hover::after { transform: translateX(4px); color: #fbbf24; }

  /* Keep drawer light text even when header is in scrolled (light) state */
  .site-header.scrolled .nav a { color: rgba(255,255,255,.88); }
  .site-header.scrolled .nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .site-header.scrolled .nav-toggle { background: var(--c-surface-2); }
  .site-header.scrolled .nav-toggle span { background: var(--c-ink); }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg-image {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(251,191,36,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(16,185,129,.16), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 60%, #111c33 100%);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,.0) 0%, rgba(11,18,32,.0) 60%, rgba(11,18,32,.6) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path fill='%23ffffff' fill-opacity='0.025' d='M0 0h40v40H0z'/><path fill='none' stroke='%23ffffff' stroke-opacity='0.04' d='M0 .5H40M.5 0V40'/></svg>");
}

.sun-rays {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 70vmax; height: 70vmax;
  pointer-events: none;
}
.sun-rays::before {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.45), rgba(251,191,36,0) 65%);
  filter: blur(4px);
  animation: floatSun 14s var(--ease) infinite;
}
.sun-rays span {
  position: absolute;
  top: 50%; left: 50%;
  width: 60vmax; height: 2px;
  background: linear-gradient(90deg, rgba(251,191,36,.25), transparent 70%);
  transform-origin: 0 50%;
  opacity: .35;
  animation: spinRays 28s linear infinite;
}
.sun-rays span:nth-child(2) { transform: rotate(60deg); animation-duration: 36s; }
.sun-rays span:nth-child(3) { transform: rotate(120deg); animation-duration: 32s; }
.sun-rays span:nth-child(4) { transform: rotate(180deg); animation-duration: 40s; }
.sun-rays span:nth-child(5) { transform: rotate(240deg); animation-duration: 24s; }
.sun-rays span:nth-child(6) { transform: rotate(300deg); animation-duration: 30s; }
@keyframes spinRays { to { transform: rotate(360deg) translateZ(0); } }
@keyframes floatSun {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 22px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: #f8fafc; }
.hero-content .eyebrow {
  color: #fcd34d;
  background: rgba(251,191,36,.08);
  border-color: rgba(251,191,36,.25);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  margin: 22px 0 18px;
  color: #fff;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(248,250,252,.78);
  max-width: 56ch;
}
.hero-lead strong { color: #fff; font-weight: 600; }

.hero-cta {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.08); }

.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  font-size: .92rem;
  color: rgba(248,250,252,.7);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: #fbbf24; }

/* Hero visual: animated solar illustration + floating chips */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.hv-orb {
  position: absolute;
  inset: 8% 8% 8% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 30%, rgba(251,191,36,.22), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(16,185,129,.14), transparent 60%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 0 60px rgba(251,191,36,.08),
    0 30px 80px -30px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hv-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}

.hv-sun {
  transform-origin: 310px 110px;
  animation: hvSunPulse 4s var(--ease) infinite;
}
@keyframes hvSunPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(251,191,36,.6)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(251,191,36,.9)); }
}
.hv-rays {
  transform-origin: 310px 110px;
  animation: hvRaysSpin 24s linear infinite;
}
@keyframes hvRaysSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hv-beam {
  transform-origin: center;
  animation: hvBeamFlicker 3.6s var(--ease) infinite;
}
@keyframes hvBeamFlicker {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.65; }
}
.hv-glint {
  animation: hvGlint 5s var(--ease) infinite;
}
@keyframes hvGlint {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.7; }
}

/* Floating glass info chips */
.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
  z-index: 2;
  animation: hvFloat 6s var(--ease) infinite;
  white-space: nowrap;
}
.hv-chip-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-sun);
  color: #1a1206;
  flex: 0 0 auto;
}
.hv-chip-icon-eco { background: var(--grad-eco); color: #052e1a; }
.hv-chip-text { display: flex; flex-direction: column; line-height: 1.15; }
.hv-chip-text strong { font-size: .95rem; font-weight: 700; color: #fff; }
.hv-chip-text small { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: 2px; }

.hv-chip-1 {
  top: 6%;
  left: -4%;
  animation-delay: 0s;
}
.hv-chip-2 {
  bottom: 30%;
  right: -6%;
  animation-delay: 1.2s;
}
.hv-chip-3 {
  bottom: 4%;
  left: 6%;
  animation-delay: 2.4s;
}
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .hero-visual { max-width: 420px; margin-top: 10px; }
  .hv-chip { padding: 10px 12px; gap: 8px; }
  .hv-chip-icon { width: 30px; height: 30px; }
  .hv-chip-text strong { font-size: .85rem; }
  .hv-chip-text small { font-size: .68rem; }
}
@media (max-width: 768px) {
  .hero-visual { display: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.mouse {
  width: 22px; height: 36px;
  border: 2px solid currentColor;
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.mouse span {
  width: 3px; height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: mouseDot 1.6s var(--ease) infinite;
}
@keyframes mouseDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-scroll { display: none; }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
}
.section-dark {
  background: var(--c-dark-2);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(251,191,36,.10), transparent 65%),
    radial-gradient(700px 400px at 0% 100%, rgba(16,185,129,.08), transparent 65%);
  pointer-events: none;
}
.section-dark .eyebrow {
  color: #fcd34d;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.section-dark p { color: rgba(248,250,252,.72); }

.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin: 18px 0 14px;
}
.section-head p { color: var(--c-muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(248,250,252,.72); }

/* ==========================================================
   SERVICE CARDS
   ========================================================== */
.service-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-sun);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(245,158,11,.06));
  color: var(--c-primary-3);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--c-muted); }
.service-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.service-tags li {
  font-size: .74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--c-surface-2);
  color: var(--c-ink-2);
  letter-spacing: .03em;
}

/* ==========================================================
   PACKAGES
   ========================================================== */
.packages { gap: 28px; align-items: stretch; }
.package {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.package:hover { transform: translateY(-6px); }
.package-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-surface-2);
}
.package-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.package:hover .package-media img { transform: scale(1.08); }
.package-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 7px 14px;
  background: #fff;
  color: var(--c-ink);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}
.package-badge-hot {
  background: var(--grad-sun);
  color: #1a1206;
}

.package-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.package-tag {
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-primary-3);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.package-body h3 {
  font-size: 1.5rem;
  margin: 6px 0 8px;
}
.package-sub { color: var(--c-muted); margin-bottom: 22px; }

.package-features { display: grid; gap: 0; margin-bottom: 22px; }
.package-features li {
  display: block;
  position: relative;
  padding: 9px 0 9px 34px;
  border-bottom: 1px dashed var(--c-line);
  font-size: .95rem;
  line-height: 1.4;
  min-height: 22px;
}
.package-features li .check {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -11px;
}
.package-features li:last-child { border-bottom: 0; padding-bottom: 4px; }
.check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--grad-eco);
  border-radius: 50%;
  position: relative;
}
.check::before {
  content: "";
  width: 11px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.package-price {
  margin-top: auto;
  padding: 22px 20px;
  background: #fffaf0;
  border: 1px dashed rgba(180, 83, 9, .45);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 18px;
}
.price-from {
  display: block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 800;
}
.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 6px;
}
.price-amount b {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--c-ink);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.price-amount em {
  font-style: normal;
  font-weight: 800;
  font-size: 1.6rem;
  color: #b45309;
}
.price-note { display: block; color: var(--c-ink-2); font-size: .92rem; font-weight: 500; }

.package-featured { border: 2px solid transparent; background-clip: padding-box; position: relative; }
.package-featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad-sun);
  z-index: -1;
}

.packages-note {
  text-align: center;
  margin-top: 36px;
  color: rgba(248,250,252,.7);
}
.packages-note a {
  color: #fcd34d;
  font-weight: 600;
  border-bottom: 1px dashed currentColor;
}

/* Package group header (Off-Grid / On-Grid subsections) */
.package-group-head {
  text-align: center;
  max-width: 720px;
  margin: 10px auto 32px;
  padding-top: 8px;
}
.package-group-head + .grid + .package-group-head { margin-top: 60px; }
.grid.packages + .package-group-head { margin-top: 64px; }
.group-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad-sun);
  color: #1a1206;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.group-pill-ongrid {
  background: var(--grad-eco);
  color: #052e1a;
}
.package-group-head h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: #fff;
  margin-bottom: 8px;
}
.package-group-head p {
  color: rgba(248,250,252,.7);
  font-size: 1rem;
}

/* On-Grid package - quote box instead of price */
.package-quote {
  margin-top: auto;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.02));
  border: 1px dashed rgba(16,185,129,.45);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 18px;
}
.quote-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #047857;
  font-weight: 800;
  margin-bottom: 8px;
}
.quote-amount {
  display: block;
  font-size: 1.25rem;
  color: var(--c-ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.quote-amount strong {
  background: var(--grad-eco);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.quote-note {
  display: block;
  font-size: .85rem;
  color: var(--c-muted);
}

.package-ongrid .package-tag { color: #047857; }
.package-ongrid .package-badge { color: #052e1a; }

/* Turn-key info callout */
.ongrid-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.ongrid-info-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-eco);
  color: #fff;
  display: grid; place-items: center;
}
.ongrid-info h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.ongrid-info p {
  color: rgba(248,250,252,.78);
  font-size: .95rem;
  line-height: 1.55;
}
@media (max-width: 560px) {
  .ongrid-info { flex-direction: column; gap: 12px; padding: 20px; }
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 42px; left: 60px; right: 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: #1a1206;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-glow);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process-step p { color: var(--c-muted); font-size: .94rem; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list::before { display: none; }
}
@media (max-width: 520px) {
  .process-list { grid-template-columns: 1fr; }
}

/* ==========================================================
   FEATURE / WHY US
   ========================================================== */
.section-feature { background: var(--c-surface); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-media {
  position: relative;
}
.feature-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}
.feature-media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.feature-media-frame:hover img { transform: scale(1.04); }

.feature-media-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: #1a1206;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 18px 40px -10px rgba(245,158,11,.55),
    0 0 0 6px rgba(255,255,255,.9);
  z-index: 2;
  animation: badgeFloat 5s var(--ease) infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.feature-media-badge .big {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}
.feature-media-badge .small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 2px;
  letter-spacing: .03em;
}

@media (max-width: 900px) {
  .feature-media-badge {
    width: 100px; height: 100px;
    bottom: -16px; right: -16px;
  }
  .feature-media-badge .big { font-size: 2rem; }
  .feature-media-badge .small { font-size: .64rem; }
}

.feature-content h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 16px 0 14px;
}
.feature-content > p { color: var(--c-muted); margin-bottom: 24px; }
.feature-list { display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { color: var(--c-muted); font-size: .95rem; }
.feature-ic {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad-eco);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-media-badge { width: 110px; height: 110px; }
  .feature-media-badge .big { font-size: 2rem; }
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.section-testimonials { background: var(--c-bg); }
.testimonials .testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonials .testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: #fbbf24; letter-spacing: .1em; font-size: 1.1rem; }
.testimonial p { color: var(--c-ink-2); font-size: 1.02rem; line-height: 1.6; }
.testimonial footer {
  border-top: 1px solid var(--c-line);
  padding-top: 14px;
  margin-top: auto;
}
.testimonial footer strong { display: block; font-size: .98rem; }
.testimonial footer span { color: var(--c-muted); font-size: .85rem; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] {
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 6px 20px -8px rgba(245,158,11,.25);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform .3s var(--ease), background .25s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--grad-sun);
}
.faq-body { padding: 0 22px 20px; color: var(--c-muted); }
.faq-body p { line-height: 1.65; }

/* ==========================================================
   CTA SECTION
   ========================================================== */
.section-cta {
  background: var(--c-bg);
}
.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #312e81 120%);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(251,191,36,.35), transparent 65%);
  pointer-events: none;
}
.cta-card .eyebrow {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: #fcd34d;
}
.cta-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 16px 0 14px; color: #fff; }
.cta-card p { color: rgba(248,250,252,.78); margin-bottom: 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.08); }

.cta-meta {
  display: grid;
  gap: 12px;
  align-self: center;
  position: relative;
  z-index: 1;
}
.cta-meta li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.cta-meta strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 4px;
  font-weight: 700;
}
.cta-meta a, .cta-meta span { color: #fff; font-size: 1.08rem; font-weight: 600; }

@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.7);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand p { margin-top: 16px; max-width: 36ch; line-height: 1.6; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a { font-size: .95rem; }
.footer-cols a:hover { color: #fbbf24; }
.footer-contact li { font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .82rem;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.5); }
.footer-bottom .credit {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom .credit a {
  color: rgba(255,255,255,.75);
  font-weight: 600;
  background: linear-gradient(135deg, #fbbf24, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity .2s var(--ease);
}
.footer-bottom .credit a:hover { opacity: .75; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   FLOATING CALL BUTTON (mobile)
   ========================================================== */
.floating-call {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: #1a1206;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(245,158,11,.6);
  animation: floatCall 2.4s var(--ease) infinite;
}
@keyframes floatCall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 960px) {
  .floating-call { display: inline-flex; }
}

/* ==========================================================
   REVEAL ANIMATIONS
   ========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
