/*
Theme Name: Træfældning Jylland
Theme URI: https://xn--trfldning-jylland-srbb.dk/
Author: Custom build for Træfældning Jylland
Author URI: https://xn--trfldning-jylland-srbb.dk/
Description: Kastom, moderne WordPress-tema til Træfældning Jylland – professionel træfældning, stubfræsning, beskæring og pleje af grønne områder i hele Jylland. Mørkt, grønt skovdesign med hero, ydelser, galleri, anmeldelser og online tilbudsformular.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: traefaeldning-jylland
Tags: business, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand greens */
  --green:        #1f9d4e;
  --green-bright: #2ec16a;
  --green-dark:   #157a3b;
  --green-deep:   #0e5c2c;

  /* Forest dark backgrounds */
  --ink-900: #08130c;
  --ink-850: #0b1a11;
  --ink-800: #0f2016;
  --ink-700: #143024;
  --ink-600: #1c4130;

  /* Light surfaces */
  --paper:   #f5f7f3;
  --paper-2: #eef2ea;
  --card:    #ffffff;
  --line:    #e3e8df;

  /* Text */
  --text:        #16211a;
  --text-soft:   #46564c;
  --text-light:  #ffffff;
  --text-muted:  #c4d3c7;
  --text-dim:    #8aa392;

  /* Utility */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow:    0 18px 45px -18px rgba(6, 28, 15, .45);
  --shadow-lg: 0 30px 70px -25px rgba(6, 28, 15, .6);
  --ring:      0 0 0 4px rgba(46, 193, 106, .28);
  --maxw: 1240px;
  --gutter: 24px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --trust-green: #00b67a;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 700; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink-800); color: var(--text-light); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-bright); display: inline-block; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }
.section--dark .section-head p { color: var(--text-muted); }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  --btn-bg: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -.01em;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 14px 30px -12px rgba(31,157,78,.7); }
.btn--primary:hover { background: var(--green-bright); color: #06210f; transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(46,193,106,.8); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--ink-800); color: #fff; }
.btn--dark:hover { background: var(--ink-700); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--green-dark); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--lg { padding: 18px 36px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }

/* =========================================================
   4. HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter);
  transition: padding .3s ease;
}
.site-header.is-solid {
  background: rgba(9, 22, 14, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.7);
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header.is-solid .site-header__inner { padding-top: 12px; padding-bottom: 12px; }

/* Brand / logo */
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 46px; height: 54px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.01em; }
.brand__name b { color: var(--green-bright); }
.brand__sub { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; }

/* Primary menu */
.main-nav { margin-left: auto; }
.menu { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  color: #eaf3ec; font-weight: 600; font-size: .98rem;
}
.menu > li > a:hover,
.menu > li.current-menu-item > a,
.menu > li.is-active > a { color: #fff; background: rgba(255,255,255,.08); }
.menu > li.current-menu-item > a { color: var(--green-bright); }
.menu .has-dropdown > a::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; margin-left: 2px;
}
.menu .has-dropdown:hover > a::after { transform: rotate(225deg) translateY(0); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; padding: 12px; margin: 0; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease;
  border: 1px solid var(--line);
}
.menu .has-dropdown:hover .dropdown,
.menu .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 12px; }
.dropdown li a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--text);
}
.dropdown li a:hover { background: var(--paper); color: var(--green-dark); }
.dropdown__icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: rgba(31,157,78,.1); color: var(--green-dark);
}
.dropdown__icon svg { width: 22px; height: 22px; }
.dropdown__text b { display: block; font-weight: 700; font-size: .98rem; line-height: 1.2; }
.dropdown__text span { display: block; font-size: .8rem; color: var(--text-soft); margin-top: 2px; }

/* Phone button */
.header-cta { display: flex; align-items: center; gap: 14px; }
.btn-phone {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 12px 26px -12px rgba(31,157,78,.8);
}
.btn-phone:hover { background: var(--green-bright); color: #06210f; transform: translateY(-2px); }
.btn-phone svg { width: 18px; height: 18px; }

/* Burger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; 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: #fff; border-radius: 2px; transition: .25s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-2px); }

/* =========================================================
   5. HERO (homepage) — matches reference screenshot
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding: 150px 0 190px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img, .hero__bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(6,20,12,.94) 0%, rgba(6,20,12,.72) 42%, rgba(6,20,12,.28) 78%, rgba(6,20,12,.55) 100%),
    linear-gradient(180deg, rgba(6,20,12,.55) 0%, rgba(6,20,12,0) 30%, rgba(6,20,12,.85) 100%);
}
.hero__content { max-width: 660px; }
.hero__content .eyebrow { margin-bottom: 20px; }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 b { color: var(--green-bright); font-weight: 800; }
.hero__lead { font-size: 1.2rem; color: #dfeae1; max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

/* Trustpilot inline */
.trustpilot {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.trustpilot__brand { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .95rem; }
.trustpilot__brand svg { width: 18px; height: 18px; }
.trustpilot__stars { display: flex; gap: 3px; }
.trustpilot__stars span { width: 26px; height: 26px; background: var(--trust-green); display: grid; place-items: center; border-radius: 4px; }
.trustpilot__stars span svg { width: 18px; height: 18px; color: #fff; }
.trustpilot__meta { font-size: .9rem; line-height: 1.3; }
.trustpilot__meta b { display: block; font-weight: 700; }
.trustpilot__meta small { color: var(--text-muted); }

/* Feature bar overlapping hero bottom */
.trust-bar { position: relative; z-index: 5; margin-top: -84px; }
.trust-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(15,32,22,.96), rgba(11,26,17,.98));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-bar__item {
  display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.08);
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__ic {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 13px;
  background: rgba(46,193,106,.16); color: var(--green-bright);
}
.trust-bar__ic svg { width: 24px; height: 24px; }
.trust-bar__t b { display: block; font-weight: 700; font-size: 1.02rem; }
.trust-bar__t span { display: block; font-size: .88rem; color: var(--text-muted); }

/* =========================================================
   6. INTRO / SPLIT
   ========================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split__media { position: relative; }
.split__media img, .split__media .media-illus {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%;
}
.split__badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--green);
  color: #fff; padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.split__badge b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.split__badge span { font-size: .82rem; letter-spacing: .05em; }
.lead { font-size: 1.14rem; color: var(--text-soft); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 38px; font-weight: 500; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* =========================================================
   7. SERVICES GRID
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.service-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-bright)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__ic {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 22px;
  background: rgba(31,157,78,.1); color: var(--green-dark);
}
.service-card__ic svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: .98rem; flex: 1; }
.service-card__link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark);
}
.service-card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* =========================================================
   8. GALLERY
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-700); box-shadow: var(--shadow);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery__ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.35); }
.gallery__ph svg { width: 40px; height: 40px; }

/* =========================================================
   9. TESTIMONIALS
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.review {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 34px; position: relative;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 16px; color: #ffc531; }
.review__stars svg { width: 20px; height: 20px; }
.review__text { font-size: 1.12rem; color: #eaf3ec; margin-bottom: 22px; font-weight: 500; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none;
}
.review__author b { display: block; color: #fff; }
.review__author span { font-size: .88rem; color: var(--text-muted); }
.review__quote { position: absolute; top: 24px; right: 30px; font-size: 4rem; line-height: 1; color: rgba(46,193,106,.28); font-weight: 800; }

/* =========================================================
   10. CTA / BOOKING BAND
   ========================================================= */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  position: relative; background: linear-gradient(120deg, var(--green-deep), var(--green-dark));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; isolation: isolate;
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(circle at 85% 20%, rgba(46,193,106,.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(8,25,15,.7), transparent 50%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }
.cta-band__actions .btn--primary { background: #fff; color: var(--green-deep); }
.cta-band__actions .btn--primary:hover { background: #eafff2; }
.cta-band__actions .btn--ghost { border-color: rgba(255,255,255,.5); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; }
.step__num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(46,193,106,.14); color: var(--green-bright); font-weight: 800; font-size: 1.5rem; border: 2px solid rgba(46,193,106,.3);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-muted); font-size: .96rem; }

/* =========================================================
   11. CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: start; }
.contact-info p { color: var(--text-muted); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .ic {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 13px;
  background: rgba(46,193,106,.14); color: var(--green-bright);
}
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.contact-list a, .contact-list span { color: #fff; font-size: 1.1rem; font-weight: 600; }

/* =========================================================
   12. QUOTE FORM
   ========================================================= */
.quote-form {
  background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--text); }
.field .req { color: var(--green-dark); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font: inherit; color: var(--text); background: #fbfdfa; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: var(--ring); }
.field textarea { min-height: 130px; resize: vertical; }

.services-check { margin: 8px 0 22px; }
.services-check__legend { font-weight: 700; margin-bottom: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-pill {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); cursor: pointer; transition: .18s; background: #fbfdfa; user-select: none;
}
.check-pill:hover { border-color: var(--green); }
.check-pill input { position: absolute; opacity: 0; }
.check-pill .box {
  width: 22px; height: 22px; flex: none; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; transition: .18s;
}
.check-pill .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: .18s; }
.check-pill input:checked ~ .box { background: var(--green); border-color: var(--green); }
.check-pill input:checked ~ .box svg { opacity: 1; transform: scale(1); }
.check-pill input:checked ~ .lbl { color: var(--green-dark); font-weight: 600; }
.check-pill--urgent { border-color: #f2c94c33; background: #fffbf0; }

/* File upload */
.file-drop {
  border: 2px dashed var(--line); border-radius: 14px; padding: 30px; text-align: center; cursor: pointer;
  transition: .2s; background: #fbfdfa;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--green); background: #f2fbf5; }
.file-drop svg { width: 40px; height: 40px; color: var(--green); margin: 0 auto 10px; }
.file-drop b { color: var(--green-dark); }
.file-drop small { display: block; color: var(--text-soft); margin-top: 6px; }
.file-drop input { display: none; }
.file-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.file-preview .thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.file-preview .thumb img { width: 100%; height: 100%; object-fit: cover; }

.form-note { font-size: .85rem; color: var(--text-soft); margin-top: 14px; }
.form-alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; }
.form-alert--ok { background: #e7f7ed; color: #146c37; border: 1px solid #b9e6c9; }
.form-alert--err { background: #fdecec; color: #a02121; border: 1px solid #f3c4c4; }

/* Sidebar CTA card */
.side-card {
  background: linear-gradient(160deg, var(--ink-800), var(--ink-700)); color: #fff;
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.side-card h3 { color: #fff; }
.side-card p { color: var(--text-muted); }
.side-card .contact-list a, .side-card .contact-list span { font-size: 1rem; }
.side-card .contact-list .ic { width: 44px; height: 44px; }

/* =========================================================
   13. PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  position: relative; padding: 190px 0 80px; color: #fff; overflow: hidden; isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img, .page-hero__bg svg { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(6,20,12,.82), rgba(6,20,12,.72)), linear-gradient(90deg, rgba(6,20,12,.85), rgba(6,20,12,.3));
}
.page-hero h1 { color: #fff; max-width: 780px; }
.page-hero__lead { color: #dfeae1; font-size: 1.15rem; max-width: 620px; margin-top: 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--green-bright); }
.breadcrumb span.sep { opacity: .5; }

/* Content layout with sidebar */
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(30px,4vw,54px); align-items: start; }
.prose { font-size: 1.06rem; color: var(--text-soft); }
.prose h2 { color: var(--text); margin-top: 1.6em; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 1.2em 0; }
.prose ul li { position: relative; padding-left: 32px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px; background: rgba(31,157,78,.1); color: var(--green-deep);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; margin: 6px 0;
}
.price-tag b { font-size: 1.3rem; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }

/* Aside services nav */
.aside-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.aside-nav h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 14px; }
.aside-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; color: var(--text); font-weight: 600; font-size: .96rem; }
.aside-nav a:hover, .aside-nav a.is-active { background: var(--paper); color: var(--green-dark); }
.aside-nav a svg { width: 18px; height: 18px; color: var(--green); }

/* =========================================================
   14. NEWS / BLOG
   ========================================================= */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { aspect-ratio: 16/9; background: var(--ink-700); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .82rem; color: var(--green-dark); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--green-dark); }
.post-card p { color: var(--text-soft); font-size: .96rem; flex: 1; }
.post-card__more { margin-top: 16px; font-weight: 700; color: var(--green-dark); display: inline-flex; gap: 6px; align-items: center; }

.single-content { max-width: 780px; margin: 0 auto; }
.single-content .prose { font-size: 1.1rem; }
.single-content iframe, .single-content video { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); border: 0; margin: 1.5em 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--text);
}
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination a:hover { border-color: var(--green); color: var(--green-dark); }

/* =========================================================
   15. FOOTER
   ========================================================= */
.site-footer { background: var(--ink-900); color: var(--text-muted); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .96rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: .96rem; }
.footer-col a:hover { color: var(--green-bright); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: var(--green-bright); flex: none; margin-top: 2px; }
.footer-contact a, .footer-contact span { color: #eaf3ec; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--green); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: clamp(40px,5vw,64px); border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--green-bright); }

/* =========================================================
   16. FLOATING PHONE (mobile)
   ========================================================= */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff; display: none; place-items: center; box-shadow: 0 14px 30px -8px rgba(31,157,78,.8);
  animation: pulse 2.4s infinite;
}
.float-call svg { width: 26px; height: 26px; }
@keyframes pulse { 0%,100%{ box-shadow: 0 14px 30px -8px rgba(31,157,78,.7); } 50%{ box-shadow: 0 14px 40px -4px rgba(31,157,78,.95); } }

/* =========================================================
   17. REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   18. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; margin-left: auto; order: 3; }
  .header-cta .btn-phone span { display: none; }
  .header-cta .btn-phone { padding: 12px; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); margin: 0;
    background: var(--ink-850); padding: 96px 24px 40px; transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1); overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  body.nav-open .main-nav { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(4,12,8,.6); z-index: 99; backdrop-filter: blur(2px); }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu > li > a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .menu .has-dropdown > a::after { margin-left: auto; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0;
    background: transparent; border: 0; padding: 4px 0 8px 8px; max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .menu .has-dropdown.open .dropdown { max-height: 620px; }
  .dropdown li a { color: #d7e6db; padding: 11px 12px; }
  .dropdown li a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .dropdown__icon { background: rgba(46,193,106,.16); color: var(--green-bright); }
  .dropdown__text span { color: var(--text-dim); }
  .hero { min-height: auto; padding: 130px 0 150px; }
  .split { grid-template-columns: 1fr; }
  .split__badge { left: 20px; bottom: 20px; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .float-call { display: grid; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .trust-bar { margin-top: -40px; }
  .trust-bar__grid { grid-template-columns: 1fr 1fr; }
  .trust-bar__item:nth-child(2) { border-right: 0; }
  .trust-bar__item:nth-child(1), .trust-bar__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .services-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .form-row--2, .form-row--3, .check-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .brand__sub { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   19. REAL IMAGES (photos, logo, avatars, Trustpilot)
   ========================================================= */
/* Hero background: real photo layered over the SVG fallback */
.hero__bg-svg, .hero__bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg-photo { z-index: 1; }

/* Brand logo image (custom logo or uploaded lockup) */
.brand__logo, .brand .custom-logo { height: 54px; width: auto; display: block; }
.site-header.is-solid .brand__logo, .site-header.is-solid .brand .custom-logo { height: 46px; }
.custom-logo-link { display: inline-flex; }

/* Gallery items now carry a real photo over the placeholder */
.gallery__item { display: block; }
.gallery__ph { position: absolute; inset: 0; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* Review avatars: real photo over the coloured initial */
.review__avatar { position: relative; overflow: hidden; }
.review__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.review__initial { position: relative; z-index: 0; }

/* Trustpilot */
.trustbox-wrap { max-width: 1000px; margin: 0 auto clamp(28px, 4vw, 44px); }
.trustpilot-fallback { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }

.footer-legal a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--green-bright); }
