/*
Theme Name: Zuvliq
Theme URI: https://zuvliq.com
Author: Zuvliq Editorial
Author URI: https://zuvliq.com
Description: An editorial WordPress theme for Zuvliq, an independent agricultural drone and precision-agriculture knowledge publication. Custom-built homepage with a structured knowledge-hub layout, card system, and editorial-trust sections.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zuvliq
Tags: custom-background, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root {
  --color-primary: #173F35;
  --color-secondary: #2E6B57;
  --color-accent: #D5A928;
  --color-bg: #F6F8F5;
  --color-white: #FFFFFF;
  --color-text: #1D2924;
  --color-muted: #68736D;
  --color-border: #DDE4DF;
  --color-footer: #122D27;

  --font-heading: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', 'Source Sans 3', -apple-system, sans-serif;

  --container: 1280px;
  --radius: 10px;
  --radius-sm: 6px;
  --gap-card: 24px;

  --section-y: 96px;
  --section-y-lg: 112px;
}

@media (max-width: 782px) {
  :root {
    --section-y: 64px;
    --section-y-lg: 72px;
    --gap-card: 16px;
  }
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-secondary); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: 58px; letter-spacing: -0.02em; }
h2 { font-size: 38px; letter-spacing: -0.01em; }
h3 { font-size: 24px; }
p { margin: 0 0 16px; color: var(--color-text); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 782px) {
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  h3 { font-size: 21px; }
  body { font-size: 16px; }
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   2. UTILITIES
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section { padding: var(--section-y) 0; }
.section--lg { padding: var(--section-y-lg) 0; }
.section--bg { background: var(--color-bg); }
.section--dark { background: var(--color-primary); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--footer-dark { background: var(--color-footer); color: rgba(255,255,255,0.7); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--color-muted); font-size: 18px; }
.section--dark .section-head p { color: rgba(255,255,255,0.7); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-secondary); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.section--dark .btn-outline { color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.section--dark .btn-outline:hover { background: var(--color-white); color: var(--color-primary); }

.link-arrow { font-weight: 700; font-family: var(--font-heading); font-size: 14px; color: var(--color-secondary); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.grid { display: grid; gap: var(--gap-card); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(213,169,40,0.12);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }
.section--dark .icon-badge { background: rgba(255,255,255,0.1); }

/* =========================================================
   3. HEADER
   ========================================================= */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 24px;
}
.site-brand { display: flex; flex-direction: column; line-height: 1; }
.site-brand a { color: var(--color-primary); }
.site-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.site-brand .brand-desc {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 3px;
}
.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }

/* Top-level row only — nested submenus must NOT inherit this flex,
   or their items render inline with the top-level row and wrap
   (this was the bug: `.main-nav ul` matched every <ul>, including
   nested .sub-menu lists). */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  /* NOTE: do not set overflow-x here. Per the CSS overflow spec, if
     overflow-x is anything other than "visible", the browser forces
     overflow-y to behave like "auto" too — even if you set it to
     "visible" explicitly. That clips the absolutely-positioned
     .sub-menu dropdown below, which is why hover stopped working.
     If the row ever needs to fit more items, shrink gap/font in the
     media queries below instead of scrolling. */
}
.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
}
.main-nav a:hover { color: var(--color-secondary); }

/* Dropdown caret for items with children */
.main-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.55;
}

/* Submenu — hidden by default, shown as an absolutely-positioned
   dropdown on hover/focus so it never affects the top-level row. */
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(23, 63, 53, 0.14);
  padding: 10px 0;
  margin-top: 8px;
  flex-direction: column;
  gap: 0;
  z-index: 200;
}
/* Bridges the 8px visual gap above the dropdown (created by margin-top)
   with an invisible hit area, so moving the cursor from the parent link
   down into the dropdown never leaves a hoverable element. Without this,
   :hover on the <li> is lost the instant the cursor enters that gap and
   the menu closes before you can reach the category links. */
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  white-space: normal;
  font-weight: 500;
  font-size: 14px;
}
.main-nav .sub-menu a:hover { background: var(--color-bg); color: var(--color-secondary); }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
}
.header-actions .icon-btn:hover { background: var(--color-bg); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 22px; height: 2px; background: var(--color-primary); position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* Fit-safety-net for wide menus: shrink spacing/type before the
   header hits the 900px hamburger breakpoint, instead of scrolling
   (scrolling would require overflow-x, which breaks the dropdown —
   see note above). */
@media (max-width: 1200px) {
  .main-nav > ul { gap: 14px; }
  .main-nav a { font-size: 13.5px; }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 24px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; flex-wrap: wrap; }
  .main-nav > ul > li { flex-direction: column; align-items: stretch; }
  .main-nav a { display: flex; padding: 12px 0; white-space: normal; }

  /* On mobile there's no hover, so category items become a row with
     the link (navigates) plus a dedicated toggle button (expands the
     submenu) instead of relying on :hover/:focus-within. */
  .main-nav > ul > li.menu-item-has-children {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .main-nav > ul > li.menu-item-has-children > a { flex: 1; }
  .main-nav > ul > li.menu-item-has-children > a::after { display: none; }

  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .submenu-toggle::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    transform: rotate(45deg);
    transition: transform .2s ease;
  }
  .main-nav > ul > li.submenu-open > .submenu-toggle::after { transform: rotate(-135deg); }

  /* Collapsed by default; opened only via the toggle button (JS adds
     the .submenu-open class), not by hover/focus which don't exist
     reliably on touch. */
  .main-nav .sub-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-border);
    border-radius: 0;
    margin: 0 0 4px 4px;
    padding: 0;
  }
  .main-nav > ul > li.submenu-open > .sub-menu { display: flex; }
  .main-nav .sub-menu a { padding: 10px 16px; font-size: 14px; }

  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
}

/* Toggle button only exists for the mobile accordion pattern above. */
.submenu-toggle { display: none; }

/* =========================================================
   4. HERO
   ========================================================= */
.hero { padding: 72px 0 56px; background: var(--color-white); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy p.lede { font-size: 19px; color: var(--color-muted); max-width: 480px; margin-bottom: 32px; }
.hero-copy p.lede-sub { font-size: 15px; color: var(--color-muted); opacity: .8; max-width: 480px; margin-top: -20px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.hero-media .media-tile {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  position: relative;
}
.hero-media .media-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.hero-media .media-tile svg { position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; color: rgba(255,255,255,0.55); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { grid-template-columns: repeat(3, 1fr); }
}

.trust-strip {
  border-top: 1px solid var(--color-border);
  margin-top: 56px;
  padding: 28px 0;
}
.trust-strip ul { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.trust-strip li {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* =========================================================
   5. KNOWLEDGE / TOPIC CARDS  (What We Cover, Knowledge Hub)
   ========================================================= */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23,63,53,0.08); border-color: var(--color-secondary); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--color-muted); margin-bottom: 18px; }

.section--dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section--dark .card h3 { color: var(--color-white); }
.section--dark .card p { color: rgba(255,255,255,0.65); }
.section--dark .link-arrow { color: var(--color-accent); }

/* =========================================================
   6. START HERE — learning path
   ========================================================= */
.learning-path {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.path-step {
  flex: 1 1 0;
  min-width: 190px;
  position: relative;
  padding: 0 18px;
  text-align: left;
}
.path-step::after {
  content: '';
  position: absolute;
  top: 22px; right: -4px;
  width: 24px; height: 2px;
  background: var(--color-border);
}
.path-step:last-child::after { display: none; }
.path-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-white);
  background: var(--color-secondary);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.path-step h4 { font-family: var(--font-heading); font-size: 16px; color: var(--color-primary); margin-bottom: 8px; }
.path-step p { font-size: 14px; color: var(--color-muted); margin-bottom: 10px; }

@media (max-width: 900px) {
  .learning-path { flex-direction: column; gap: 28px; }
  .path-step { padding: 0 0 0 20px; border-left: 2px solid var(--color-border); }
  .path-step::after { display: none; }
}

/* =========================================================
   7. APPLICATION CARDS (with image)
   ========================================================= */
.media-card { border-radius: var(--radius); overflow: hidden; background: var(--color-white); border: 1px solid var(--color-border); }
.media-card .media-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-bg), var(--color-border));
  position: relative;
}
.media-card .media-card-img svg { position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; color: var(--color-secondary); opacity: .55; }
.media-card-body { padding: 22px; }
.media-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.media-card-body p { font-size: 15px; color: var(--color-muted); margin-bottom: 16px; }

/* =========================================================
   8. TECHNOLOGY TERM CARDS
   ========================================================= */
.term-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.term-card h4 { font-family: var(--font-heading); font-size: 16px; color: var(--color-primary); margin-bottom: 8px; }
.term-card p { font-size: 13.5px; color: var(--color-muted); margin-bottom: 10px; }

/* =========================================================
   9. ARTICLE / GUIDE CARDS
   ========================================================= */
.guides-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap-card); }
.guide-featured { grid-row: span 2; }
.guide-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-card); }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-white); height: 100%; }
.guide-card .guide-img { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); position: relative; }
.guide-featured .guide-img { aspect-ratio: 16/9; }
.guide-card .guide-img svg { position: absolute; inset: 0; margin: auto; width: 26%; height: 26%; color: rgba(255,255,255,0.5); }
.guide-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.guide-category { font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 10px; }
.guide-featured h3 { font-size: 26px; }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; }
.guide-body p.excerpt { font-size: 14.5px; color: var(--color-muted); margin-bottom: 16px; flex: 1; }
.guide-meta { font-size: 13px; color: var(--color-muted); display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--color-border); padding-top: 14px; margin-top: auto; }
.guide-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--color-muted); }

@media (max-width: 900px) {
  .guides-grid, .guide-small-grid { grid-template-columns: 1fr; }
  .guide-featured { grid-row: auto; }
}

/* =========================================================
   10. COSTS / REGULATIONS SPLIT
   ========================================================= */
.split-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.split-section .split-copy { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section .split-copy { position: static; }
}
.review-note {
  margin-top: 32px;
  padding: 18px 20px;
  background: rgba(213,169,40,0.1);
  border: 1px solid rgba(213,169,40,0.35);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
}
.review-note strong { color: var(--color-primary); }

/* =========================================================
   11. METHODOLOGY / EDITORIAL COLUMNS
   ========================================================= */
.method-col { text-align: left; }
.method-num { font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--color-accent); letter-spacing: 0.08em; margin-bottom: 12px; }
.method-col h4 { font-family: var(--font-heading); font-size: 17px; color: var(--color-primary); margin-bottom: 8px; }
.method-col p { font-size: 14.5px; color: var(--color-muted); }

/* =========================================================
   11b. EXTERNAL SOURCE CARDS ("Sources We Reference")
   ========================================================= */
.source-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.source-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23,63,53,0.08); border-color: var(--color-secondary); }
.source-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.source-badge {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.source-card-head h4 { flex: 1; font-family: var(--font-heading); font-size: 15.5px; color: var(--color-primary); margin: 0; }
.source-ext { flex: none; color: var(--color-muted); }
.source-card p { font-size: 14px; color: var(--color-muted); margin: 0; }
.source-note {
  text-align: center;
  max-width: 620px;
  margin: 32px auto 0;
  font-size: 13.5px;
  color: var(--color-muted);
}

/* Inline citation-style links used within body copy (Regulations,
   Methodology) — underlined so they read as sourced facts, not CTAs. */
.cite-link {
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
}
.cite-link:hover { text-decoration-color: var(--color-secondary); }

/* =========================================================
   12. ABOUT
   ========================================================= */
.about-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.about-points { display: flex; justify-content: center; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.about-points span {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--color-border); color: var(--color-primary);
}

/* =========================================================
   13. CONTRIBUTORS
   ========================================================= */
.contributors-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; text-align: center; }
.contributor-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white); font-family: var(--font-heading); font-weight: 800; font-size: 22px;
}
.contributor h4 { font-family: var(--font-heading); font-size: 16px; margin-bottom: 4px; color: var(--color-primary); }
.contributor p { font-size: 13px; color: var(--color-muted); margin: 0; }

/* =========================================================
   14. FAQ ACCORDION
   ========================================================= */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--color-primary);
}
.faq-question .plus { font-size: 22px; color: var(--color-accent); transition: transform .2s ease; flex: none; margin-left: 16px; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 4px 22px; color: var(--color-muted); font-size: 15px; }

/* =========================================================
   15. NEWSLETTER
   ========================================================= */
.newsletter-box { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 10px; margin: 28px 0 12px; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-sm); border: none; font-size: 15px; font-family: var(--font-body);
}
.newsletter-form button { flex: none; }
.newsletter-note { font-size: 13px; color: rgba(255,255,255,0.6); }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }

/* =========================================================
   16. FOOTER
   ========================================================= */
.site-footer { padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4 { font-family: var(--font-heading); color: var(--color-white); font-size: 15px; margin-bottom: 18px; }
.footer-brand .brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--color-white); }
.footer-grid p { color: rgba(255,255,255,0.55); font-size: 14.5px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: rgba(255,255,255,0.65); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--color-accent); }

.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
}
.footer-contact-row svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.footer-contact-row a { color: rgba(255,255,255,0.7); }
.footer-contact-row a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Site-wide floating WhatsApp button, bottom-right on every page. */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }

@media (max-width: 600px) {
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* =========================================================
   17. GENERIC PAGE / SINGLE POST (non-homepage)
   ========================================================= */
.page-content, .single-content { max-width: 760px; margin: 0 auto; padding: var(--section-y) 24px; }
.page-content h1, .single-content h1 { margin-bottom: 24px; }
.entry-meta { color: var(--color-muted); font-size: 14px; margin-bottom: 32px; }
