/*
Theme Name: Gezinshuis
Theme URI: https://gezinshuis.info
Author: Gezinshuis.info
Author URI: https://gezinshuis.info
Description: Warm en professioneel thema voor Gezinshuis.info – centrale informatiebron over gezinshuizen in Nederland. Inclusief kennisbank, nieuws, doelgroeppagina's en WooCommerce webshop.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gezinshuis
Tags: warm, professional, jeugdzorg, gezinshuis, woocommerce, kennisbank
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --warm-cream:       #fdf8f2;
  --warm-sand:        #f0e8d8;
  --terracotta:       #c8633a;
  --terracotta-dark:  #a64e2b;
  --terracotta-light: #f0d4c8;
  --forest:           #2d5e3a;
  --forest-light:     #3d7a4e;
  --forest-pale:      #d4edda;
  --charcoal:         #2a2a2a;
  --mid-grey:         #6b6b6b;
  --light-grey:       #e8e0d5;
  --white:            #ffffff;
  --accent-gold:      #d4a843;
  --accent-blue:      #2c5fa0;
  --accent-blue-pale: #dce8f5;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13);

  --max-width: 1280px;
  --section-pad: 5rem 2rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::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(--warm-cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terracotta-dark); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; }
p { line-height: 1.75; color: var(--mid-grey); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-pad); }
.section-alt { background: var(--warm-sand); }
.section-forest { background: var(--forest); }
.section-dark { background: var(--charcoal); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }

/* ============================================================
   SECTION LABELS & HEADERS
   ============================================================ */
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.7rem;
}
.section-label.light { color: var(--accent-gold); }

.section-title { margin-bottom: 1rem; }
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-grey);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,0.75); }
.section-subtitle.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--white); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-gold { background: var(--accent-gold); color: var(--charcoal); }
.btn-gold:hover { background: #b88a2a; color: var(--white); transform: translateY(-1px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo span { color: var(--terracotta); }

#primary-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
#primary-menu li { position: relative; }
#primary-menu > li > a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-page-ancestor > a {
  background: var(--warm-sand);
  color: var(--forest);
}
.menu-cta > a {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.5rem 1.1rem !important;
}
.menu-cta > a:hover { background: var(--terracotta-dark) !important; }

/* Dropdown */
#primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
}
#primary-menu li:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#primary-menu .sub-menu a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  border-radius: 6px;
  color: var(--charcoal);
}
#primary-menu .sub-menu a:hover { background: var(--warm-sand); color: var(--forest); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--charcoal);
}

/* ============================================================
   HERO (HOMEPAGE)
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 70px;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  width: fit-content;
}
.hero-left h1 { color: var(--charcoal); margin-bottom: 1.4rem; }
.hero-left h1 em { font-style: italic; color: var(--terracotta); }
.hero-left .lead {
  font-size: 1.1rem;
  color: var(--mid-grey);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--mid-grey);
}
.trust-item .trust-icon {
  width: 28px; height: 28px;
  background: var(--forest-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-right {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
}
.hero-right::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(196,99,58,0.2);
}
.hero-right::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(212,168,67,0.12);
}
.hero-illustration {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center;
}
.hero-emoji { font-size: 5rem; animation: float 4s ease-in-out infinite; }
.hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 340px;
  border-left: 3px solid var(--terracotta);
  padding-left: 1.2rem;
  text-align: left;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  position: relative; z-index: 1;
}
.hero-stat { text-align: center; color: var(--white); }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}
.hero-stat-label { font-size: 0.72rem; opacity: 0.7; letter-spacing: 0.05em; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 130px 2rem 5rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(196,99,58,0.18);
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative; z-index: 1;
  max-width: 720px;
}
.page-hero .page-hero-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-gold); margin-bottom: 0.8rem;
  display: block;
}
.page-hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.page-hero h1 em { font-style: italic; color: var(--accent-gold); }
.page-hero .page-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.7; }

/* Colour variants */
.page-hero.terra { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); }
.page-hero.dark  { background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%); }
.page-hero.navy  { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%); }
.page-hero.gold  { background: linear-gradient(135deg, #d4a843 0%, #b88a2a 100%); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  border: 1px solid var(--light-grey);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2.6rem; margin-bottom: 1rem; display: block; }
.card h3 { font-size: 1.1rem; color: var(--forest); margin-bottom: 0.6rem; }
.card p { font-size: 0.88rem; line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 1.2rem; font-size: 0.82rem; font-weight: 700;
  color: var(--terracotta); text-decoration: none;
}
.card-link::after { content: '→'; }

/* Audience cards */
.audience-card {
  text-align: center;
  text-decoration: none;
  display: block;
  color: inherit;
}
.audience-card .card-icon { font-size: 3rem; }
.audience-card .card-link { justify-content: center; }

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}
.tag-green  { background: var(--forest-pale); color: var(--forest); }
.tag-orange { background: var(--terracotta-light); color: var(--terracotta-dark); }
.tag-blue   { background: var(--accent-blue-pale); color: var(--accent-blue); }
.tag-gold   { background: #fdf0d5; color: #8a6510; }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.92rem; line-height: 1.5; color: var(--mid-grey);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  background: var(--forest); color: var(--white);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.feature-list.terra li::before { background: var(--terracotta); }
.feature-list.light li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  border-left: 4px solid var(--terracotta);
  padding: 1.2rem 1.8rem;
  background: var(--warm-sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.quote-block cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--mid-grey);
  margin-top: 0.7rem;
}

/* ============================================================
   VISION BOX (gezinshuisouder als way of life)
   ============================================================ */
.vision-box {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.vision-box::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(196,99,58,0.2);
}
.vision-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.vision-box p {
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  position: relative;
}
.vision-box .vision-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
}

/* ============================================================
   STAT BOXES
   ============================================================ */
.stat-box {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.stat-box-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-box-label { font-size: 0.8rem; color: var(--mid-grey); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--light-grey); }
.faq-toggle-btn {
  width: 100%; background: none; border: none;
  text-align: left; padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--charcoal); cursor: pointer; gap: 1rem;
}
.faq-toggle-btn:hover { color: var(--forest); }
.faq-icon { font-size: 1.4rem; color: var(--terracotta); transition: transform 0.3s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-body.open { max-height: 600px; padding-bottom: 1.2rem; }
.faq-body p { font-size: 0.92rem; line-height: 1.75; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.5rem; }
.news-card-meta { font-size: 0.75rem; color: var(--mid-grey); margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1rem; color: var(--charcoal); margin-bottom: 0.5rem; line-height: 1.4; }
.news-card p { font-size: 0.85rem; line-height: 1.6; }
.news-card-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; font-size: 0.82rem; font-weight: 700; color: var(--terracotta); }
.news-card-link::after { content: '→'; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--forest);
  padding: 4rem 2rem;
}
.cta-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); font-size: 1.8rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 0.4rem; }
.cta-banner-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  width: 100%; padding: 0.9rem 1.4rem;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 1rem;
  outline: none; transition: border-color 0.2s;
  background: var(--white);
  margin-bottom: 1.5rem;
}
.search-bar:focus { border-color: var(--forest); }

/* ============================================================
   FILTER BUTTONS (kennisbank)
   ============================================================ */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  background: var(--white); border: 1px solid var(--light-grey);
  border-radius: 100px; padding: 0.42rem 1.1rem;
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  font-family: var(--font-body); color: var(--charcoal);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest); color: var(--white); border-color: var(--forest);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--mid-grey); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white); border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--charcoal);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--forest); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  background: var(--forest-pale); border: 1px solid #b8dfc5;
  border-radius: var(--radius-sm); padding: 1rem 1.4rem;
  color: var(--forest); font-size: 0.92rem; display: none;
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce ul.products li.product {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  padding: 1.5rem !important;
  transition: transform 0.25s, box-shadow 0.25s;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  color: var(--charcoal) !important;
}
.woocommerce ul.products li.product .price {
  color: var(--terracotta) !important;
  font-weight: 700;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--terracotta-dark) !important;
}
.woocommerce-page .page-hero { background: linear-gradient(135deg, #8a6510 0%, #d4a843 100%); }
.shop-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--light-grey);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .site-logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white); }
.footer-logo-txt { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); font-weight: 700; }
.footer-logo-txt span { color: var(--terracotta); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp 0.7s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 2rem; }
  .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.5rem; }
  #primary-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--warm-cream); border-bottom: 1px solid var(--light-grey); padding: 1rem; gap: 0; }
  #primary-menu.open { display: flex; }
  #primary-menu li a { padding: 0.7rem 1rem; border-radius: 6px; display: block; }
  .menu-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 0.8rem; }
}
