/* ============================================================
   ENERMYX DESIGN SYSTEM — enermyx.css
   Use this on every page. Don't edit per-page — extend instead.
   ============================================================ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ─── TOKENS ─── */
:root {
  --accent:        #22c55e;
  --accent-dark:   #16a34a;
  --accent-glow:   rgba(34,197,94,0.15);

  --bg:            #f8f9fa;
  --surface:       #ffffff;
  --surface2:      #f1f5f1;

  --text:          #111827;
  --text-muted:    #6b7280;
  --text-faint:    #9ca3af;

  --border:        rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --header-bg:     rgba(255,255,255,0.92);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);

  --radius:    12px;
  --radius-lg: 18px;
  --max:       1200px;

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

[data-theme="dark"] {
  --bg:        #0c0f0c;
  --surface:   #141a14;
  --surface2:  #1a221a;
  --text:      #e8f0e8;
  --text-muted:#8fa08f;
  --text-faint:#5a6b5a;
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --header-bg: rgba(20,26,20,0.94);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background .3s, color .3s;
  -webkit-font-smoothing: antialiased;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announce {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ─── HEADER ─── */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s;
}

/* Logo images */
.logo-light { display: block; }
.logo-dark  { display: none;  }
[data-theme="dark"] .logo-light { display: none  !important; }
[data-theme="dark"] .logo-dark  { display: block !important; }

/* Nav */
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav ul li a {
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 7px 13px; border-radius: 8px;
  transition: color .2s, background .2s;
}
nav ul li a:hover { color: var(--text); background: var(--surface2); }

/* Nav CTA button */
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: .875rem !important;
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
  transition: background .2s, transform .15s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,197,94,.4) !important;
}

/* Header right cluster */
.header-right { display: flex; align-items: center; gap: 8px; }

.theme-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-muted); transition: all .2s;
}
.theme-btn:hover { background: var(--surface2); color: var(--text); }

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 36px; height: 36px; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--text);
}

/* ─── HERO ─── */
.hero {
  max-width: var(--max); margin: 64px auto 0; padding: 0 32px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-glow); color: var(--accent-dark);
  border: 1px solid rgba(34,197,94,.25); border-radius: 100px;
  padding: 5px 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
[data-theme="dark"] .hero-eyebrow { color: var(--accent); }
.hero-eyebrow i { font-size: .7rem; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: normal; }

.hero p {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.7; max-width: 480px; margin-bottom: 32px;
}

/* Hero stats row */
.hero-stats {
  display: flex; gap: 28px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-num   { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* Hero image */
.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  aspect-ratio: 4/3; background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Floating badge on hero image */
.hero-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
}
.hero-badge-icon {
  width: 36px; height: 36px; background: var(--accent-glow);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.hero-badge-text { font-size: .78rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.hero-badge-sub  { font-size: .72rem; color: var(--text-muted); }

/* ─── PAGE HERO (for inner pages — no image, centered) ─── */
.page-hero {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px 64px;
  text-align: center;
}
.page-hero .hero-eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--text);
  margin-bottom: 16px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }

/* ─── BUTTONS ─── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: #fff;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(34,197,94,.3);
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,.4); }

.btn-outline {
  background: transparent; color: var(--text);
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none; border: 1.5px solid var(--border-strong);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.btn-white {
  background: #fff; color: var(--accent-dark);
  padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ─── SECTIONS ─── */
section { padding: 80px 32px; }
.section-inner { max-width: var(--max); margin: 0 auto; }

/* Alternating background helper */
.bg-alt { background: var(--surface2); }

.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.section-head {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.025em; color: var(--text); line-height: 1.15;
  margin-bottom: 14px;
}
.section-head em { color: var(--accent); font-style: normal; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

.section-header          { margin-bottom: 48px; }
.section-header.center   { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─── CARD GRIDS ─── */

/* Why / feature cards */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(34,197,94,.25); }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.3rem; margin-bottom: 18px;
}
.why-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* Service / media cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img { height: 200px; background: var(--surface2); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.service-tag {
  display: inline-block; background: var(--accent-glow); color: var(--accent-dark);
  border-radius: 6px; padding: 3px 10px; font-size: .75rem; font-weight: 600;
}
[data-theme="dark"] .service-tag { color: var(--accent); }
.service-body h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.service-body p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.service-link { color: var(--accent); font-size: .875rem; font-weight: 600; text-decoration: none; margin-top: 4px; }
.service-link:hover { text-decoration: underline; }

/* Step / process cards */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(34,197,94,.25); }
.step-num {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent);
  color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step-card h3    { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-label      { font-size: .78rem; color: var(--accent); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.step-card p     { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ─── FEATURE SPLIT (image + text side by side) ─── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  max-width: var(--max); margin: 0 auto;
}
/* Add .flip to put text on the left */
.feature-split.flip .feature-split-img { order: 2; }
.feature-split.flip .feature-split-content { order: 1; }

.feature-split-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); aspect-ratio: 4/3;
}
.feature-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feature-split-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.025em; color: var(--text); line-height: 1.15; margin-bottom: 16px;
}
.feature-split-content h2 em { color: var(--accent); font-style: normal; }
.feature-split-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

/* ─── PILL / CHIP ROW ─── */
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 10px 22px; display: flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.chip:hover { border-color: rgba(34,197,94,.4); background: var(--accent-glow); color: var(--accent-dark); }
[data-theme="dark"] .chip:hover { color: var(--accent); }
.chip i { color: var(--accent); font-size: .9rem; }

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: rgba(34,197,94,.3); box-shadow: 0 0 0 3px rgba(34,197,94,.07); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: transparent; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--text); text-align: left;
  transition: background .2s;
}
.faq-q:hover { background: var(--surface2); }
.faq-chevron { color: var(--accent); font-size: .9rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 18px; font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.faq-a-inner a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ─── CTA BANNER ─── */
.cta-section { background: var(--accent); padding: 70px 32px; text-align: center; }
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.025em;
}
.cta-section p {
  font-size: 1.05rem; color: rgba(255,255,255,.82);
  margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ─── FOOTER ─── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 32px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.footer-brand p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; margin-top: 8px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .875rem; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .8rem; color: var(--text-faint); }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: all .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ─── WHATSAPP BUTTON ─── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.wa-btn i { color: #fff; font-size: 1.5rem; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 24px; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-banner p { font-size: .85rem; color: var(--text-muted); flex: 1; margin: 0; }
.cookie-banner a { color: var(--accent); }
.cookie-banner button {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 8px 20px; font-size: .85rem; font-weight: 600; cursor: pointer;
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s, transform .55s; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── UTILITY ─── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 28px; }
.mt-lg  { margin-top: 40px; }
.mb-sm  { margin-bottom: 16px; }
.mb-md  { margin-bottom: 28px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  section { padding: 64px 20px; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding: 0 20px 64px; margin-top: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 2rem; }

  nav ul {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--header-bg); padding: 16px;
    border-bottom: 1px solid var(--border); gap: 2px;
  }
  nav ul.open { display: flex; }
  .menu-btn { display: flex; }

  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split.flip .feature-split-img,
  .feature-split.flip .feature-split-content { order: unset; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .btn-row { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .page-hero { padding: 48px 20px 40px; }
}