/*
Theme Name: Digital Agency
Theme URI: https://www.example.com/
Author: Your Agency
Author URI: https://www.example.com/
Description: A results-driven digital marketing agency theme with SEO, PPC and growth-focused landing page sections. Includes a static front page template, blog, search, and 404 support.
Version: 1.5.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: LICENSE
Text Domain: digital-agency
*/

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #273338;
  background: #f7f8f3;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --sage: #9cb080;
  --green: #618764;
  --deep-green: #2b5748;
  --charcoal: #273338;
  --cream: #f7f8f3;
  --white: #ffffff;
  --muted: #3c4a45;
  --border: rgba(39, 51, 56, 0.1);

  --shadow-sm: 0 8px 25px rgba(43, 87, 72, 0.08);
  --shadow-md: 0 20px 60px rgba(43, 87, 72, 0.12);
  --shadow-lg: 0 35px 100px rgba(43, 87, 72, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   UTILITY
========================================================= */

.section {
  padding: 110px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
}

.section-heading {
  max-width: 760px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--charcoal);
}

.section-heading span {
  color: var(--green);
}

.section-copy {
  max-width: 600px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background: var(--deep-green);
  box-shadow: 0 12px 30px rgba(43, 87, 72, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(43, 87, 72, 0.3);
}

.btn-light {
  background: white;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-outline {
  color: var(--deep-green);
  border-color: rgba(43, 87, 72, 0.2);
  background: transparent;
}

/* =========================================================
   HERO (React liquid-metal) — server-rendered fallback
   Shown until /assets/hero/liquid-metal-hero.js mounts, and
   permanently for no-JS visitors. Matches the React hero's
   centred layout so there is no visible jump on hydration.
========================================================= */

.da-hero-root {
  position: relative;
}

.da-hero-fallback {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 0 96px;
  text-align: center;
  background:
    radial-gradient(circle at 75% 35%, rgba(156, 176, 128, 0.55), transparent 45%),
    radial-gradient(circle at 10% 70%, rgba(97, 135, 100, 0.25), transparent 40%),
    var(--cream);
}

.da-hero-fallback h2 {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--charcoal);
}

.da-hero-fallback h2 em {
  color: var(--green);
  font-style: normal;
}

.da-hero-fallback > .container > p {
  max-width: 760px;
  margin: 26px auto 34px;
  color: var(--muted);
  font-size: 20px;
}

.da-hero-fallback .hero-buttons {
  justify-content: center;
}

/* =========================================================
   HEADER
========================================================= */

header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(247, 248, 243, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(39, 51, 56, 0.08);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--deep-green);
  box-shadow: 0 8px 20px rgba(43, 87, 72, 0.22);
}

.logo-mark svg {
  width: 21px;
  height: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  color: #4f5d58;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 75% 35%, rgba(156, 176, 128, 0.35), transparent 28%),
    radial-gradient(circle at 10% 70%, rgba(97, 135, 100, 0.13), transparent 30%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -180px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.13;
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(43, 87, 72, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(97, 135, 100, 0.12);
}

.hero h1 {
  max-width: 700px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(50px, 6.5vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-description {
  max-width: 600px;
  margin: 27px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.avatars {
  display: flex;
}

.avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: white;
  background: var(--deep-green);
  font-size: 10px;
  font-weight: 800;
}

.avatar:first-child {
  margin-left: 0;
}

/* =========================================================
   CSS 3D VISUAL
========================================================= */

.hero-visual {
  position: relative;
  height: 590px;
  perspective: 1200px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 120px;
  height: 120px;
  top: 8%;
  right: 6%;
  background: radial-gradient(circle at 30% 25%, #d4dfc4, var(--sage));
  box-shadow:
    inset -15px -20px 30px rgba(43, 87, 72, 0.18),
    15px 30px 45px rgba(43, 87, 72, 0.14);
}

.orb-2 {
  width: 72px;
  height: 72px;
  left: 7%;
  top: 25%;
  background: radial-gradient(circle at 30% 25%, #9dbda3, var(--deep-green));
  animation-delay: -2s;
}

.orb-3 {
  width: 45px;
  height: 45px;
  bottom: 15%;
  right: 11%;
  background: var(--green);
  animation-delay: -4s;
}

.dashboard-3d {
  position: absolute;
  top: 11%;
  left: 5%;
  width: 90%;
  height: 70%;
  transform:
    rotateX(7deg)
    rotateY(-13deg)
    rotateZ(2deg);
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  box-shadow:
    35px 50px 80px rgba(43,87,72,0.18),
    -10px 10px 35px rgba(43,87,72,0.07),
    inset 0 1px 0 white;
  animation: dashboardFloat 7s ease-in-out infinite;
}

.dashboard-top {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.dashboard-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 15px;
  padding: 20px;
  height: calc(100% - 58px);
}

.metric-card {
  padding: 17px;
  border-radius: 17px;
  background: #f7f9f4;
  border: 1px solid rgba(43, 87, 72, 0.07);
}

.metric-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.metric-up {
  display: inline-flex;
  margin-top: 9px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(97,135,100,0.12);
  color: var(--deep-green);
  font-size: 9px;
  font-weight: 800;
}

.chart-card {
  grid-row: span 2;
  padding: 18px;
  border-radius: 17px;
  background: #f7f9f4;
  border: 1px solid rgba(43, 87, 72, 0.07);
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.chart-heading strong {
  font-size: 11px;
}

.chart-heading span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.chart {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-grid span {
  width: 100%;
  height: 1px;
  background: rgba(43, 87, 72, 0.07);
}

.chart-line {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 75%;
}

.chart-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line path {
  fill: none;
  stroke: var(--deep-green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: rgba(97, 135, 100, 0.12);
  stroke: none !important;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 15px 17px;
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43,87,72,0.08);
  animation: float 5s ease-in-out infinite;
}

.floating-card.revenue {
  left: -1%;
  bottom: 15%;
}

.floating-card.rating {
  right: -2%;
  bottom: 29%;
  animation-delay: -2s;
}

.floating-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 4px;
}

.floating-value {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.stars {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 1px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-17px);
  }
}

@keyframes dashboardFloat {
  0%, 100% {
    transform:
      rotateX(7deg)
      rotateY(-13deg)
      rotateZ(2deg)
      translateY(0);
  }
  50% {
    transform:
      rotateX(7deg)
      rotateY(-13deg)
      rotateZ(2deg)
      translateY(-12px);
  }
}

/* =========================================================
   SERVICES
========================================================= */

.services {
  background: white;
}

.services-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.services-header .section-copy {
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fbfcf8;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(97,135,100,0.25);
  box-shadow: var(--shadow-md);
}

.service-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(43,87,72,0.18);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border-radius: 17px;
  color: var(--deep-green);
  background: #e9efe3;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-icon.has-image {
  width: 66px;
  height: 66px;
  padding: 4px;
  background: linear-gradient(160deg, #eef2e8, #e2e9d9);
}

.service-icon.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 800;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* =========================================================
   ABOUT / STATS
========================================================= */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 20%, rgba(156,176,128,0.7), transparent 33%),
    var(--deep-green);
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 0 0 50px rgba(255,255,255,0.025),
    0 0 0 100px rgba(255,255,255,0.02);
}

.growth-orbit {
  position: absolute;
  top: 150px;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translateX(-50%);
  border: 1px dashed rgba(255,255,255,0.28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 20px rgba(156,176,128,0.7);
}

.growth-sphere {
  position: absolute;
  top: 185px;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #c7d4b2, #618764 42%, #2b5748 70%);
  box-shadow:
    inset -25px -25px 45px rgba(24,53,44,0.35),
    25px 35px 60px rgba(0,0,0,0.2);
  animation: float 5s ease-in-out infinite;
}

.growth-sphere::after {
  content: "GROW";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-stat {
  position: absolute;
  z-index: 2;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  color: white;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
}

.about-stat.one {
  top: 65px;
  left: 35px;
}

.about-stat.two {
  right: 30px;
  bottom: 65px;
}

.about-stat strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
}

.about-stat span {
  color: rgba(255,255,255,0.8);
  font-size: 10px;
}

@keyframes spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.about-content .section-heading {
  font-size: clamp(38px, 5vw, 56px);
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 35px;
}

.about-point {
  display: flex;
  gap: 12px;
}

.check {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
}

.about-point strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.about-point p {
  color: var(--muted);
  font-size: 12px;
}

/* =========================================================
   RESULTS
========================================================= */

.results {
  background: var(--deep-green);
  color: white;
}

.results .section-label {
  color: var(--sage);
}

.results .section-label::before {
  background: var(--sage);
}

.results .section-heading {
  color: white;
}

.results .section-heading span {
  color: var(--sage);
}

.results-copy {
  color: rgba(255,255,255,0.8);
  max-width: 570px;
  margin-top: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat {
  padding: 34px 25px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: white;
}

.stat strong span {
  color: var(--sage);
}

.stat p {
  margin-top: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
}

.process-card {
  position: relative;
  padding: 30px 25px;
  border-radius: 23px;
  background: #f7f9f4;
  border: 1px solid var(--border);
}

.process-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 32px;
  right: -19px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep-green);
  background: white;
  border: 1px solid var(--border);
  font-weight: 800;
}

.process-number {
  color: var(--sage);
  font-family: "Manrope", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.process-card h3 {
  margin-top: 28px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.process-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
  background: #eef2e9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 60px;
}

.testimonial-main {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  border-radius: 30px;
  color: white;
  background: var(--deep-green);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  color: var(--sage);
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: 0.5;
}

.testimonial-main blockquote {
  max-width: 680px;
  margin-top: 15px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.client {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
}

.client-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep-green);
  background: var(--sage);
  font-weight: 800;
}

.client-info strong {
  display: block;
  font-size: 13px;
}

.client-info span {
  color: rgba(255,255,255,0.78);
  font-size: 11px;
}

.testimonial-side {
  display: grid;
  gap: 20px;
}

.mini-testimonial {
  padding: 30px;
  border-radius: 25px;
  background: white;
  border: 1px solid var(--border);
}

.mini-testimonial .stars {
  margin-bottom: 16px;
}

.mini-testimonial p {
  color: var(--muted);
  font-size: 14px;
}

.mini-client {
  margin-top: 20px;
  font-weight: 800;
  font-size: 12px;
}

/* =========================================================
   FAQ
========================================================= */

.faq {
  background: white;
}

.faq-wrapper {
  max-width: 850px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.faq-question h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}

.faq-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf1e9;
  color: var(--deep-green);
  transition: transform 0.3s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 700px;
  padding-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================================================
   CTA
========================================================= */

.cta {
  padding: 110px 0;
  background: var(--cream);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 80px 70px;
  border-radius: 35px;
  background:
    radial-gradient(circle at 85% 20%, rgba(156,176,128,0.32), transparent 28%),
    var(--charcoal);
  color: white;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  bottom: -180px;
  border: 1px solid rgba(156,176,128,0.3);
  border-radius: 50%;
}

.cta-box h2 {
  position: relative;
  max-width: 750px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.cta-box h2 span {
  color: var(--sage);
}

.cta-box p {
  position: relative;
  max-width: 570px;
  margin: 22px 0 30px;
  color: rgba(255,255,255,0.8);
}

.cta-box .btn {
  position: relative;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  color: rgba(255,255,255,0.8);
  background: var(--charcoal);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 50px;
  padding: 75px 0 55px;
}

footer .logo {
  color: white;
}

.footer-description {
  max-width: 320px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.social {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.social:hover {
  background: rgba(255,255,255,0.08);
}

.footer-column h4 {
  margin-bottom: 18px;
  color: white;
  font-size: 13px;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--sage);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
}

/* =========================================================
   SCROLL ANIMATION
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================================================
   CUSTOM LOGO
========================================================= */

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  height: 38px;
  width: auto;
  border-radius: 12px;
}

/* =========================================================
   GENERIC PAGE / ARCHIVE / SINGLE CONTENT
========================================================= */

.site-main {
  display: block;
}

.page-header-band {
  padding: 165px 0 60px;
  background:
    radial-gradient(circle at 75% 20%, rgba(156, 176, 128, 0.28), transparent 30%),
    var(--cream);
}

.page-header-band .section-label {
  margin-bottom: 14px;
}

.page-header-band h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--charcoal);
}

.page-header-band .archive-description,
.page-header-band .page-description {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.content-area {
  padding: 60px 0 110px;
}

.entry-content {
  max-width: 780px;
  color: #3b4844;
  font-size: 16px;
}

.entry-content > * + * {
  margin-top: 20px;
}

.entry-content h2 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.entry-content h3 {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.entry-content a {
  color: var(--deep-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content blockquote {
  padding: 18px 24px;
  border-left: 3px solid var(--green);
  background: #f7f9f4;
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  font-style: italic;
}

.entry-content img {
  border-radius: 20px;
}

.entry-content figure {
  margin: 0;
}

.entry-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   BLOG LISTING / ARCHIVE
========================================================= */

.post-list {
  display: grid;
  gap: 20px;
  max-width: 820px;
}

.post-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fbfcf8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(97,135,100,0.25);
  box-shadow: var(--shadow-sm);
}

.post-card .post-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.post-card .post-thumb {
  margin: -32px -32px 22px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.post-card .post-thumb img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.post-card h2 {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.post-card h2 a {
  color: var(--charcoal);
}

.post-card h2 a:hover {
  color: var(--deep-green);
}

.post-card p {
  color: var(--muted);
  font-size: 14px;
}

.post-card .service-link {
  margin-top: 20px;
}

.no-results {
  max-width: 620px;
  color: var(--muted);
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 45px;
}

.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
}

.pagination-nav a:hover {
  border-color: rgba(97,135,100,0.4);
  color: var(--deep-green);
}

.pagination-nav .current {
  color: white;
  background: var(--deep-green);
  border-color: var(--deep-green);
}

/* =========================================================
   SINGLE POST
========================================================= */

.single-post-header {
  max-width: 780px;
}

.single-post-header .post-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 16px;
}

.single-post-thumb {
  max-width: 780px;
  margin: 35px 0 10px;
  border-radius: 24px;
  overflow: hidden;
}

.single-post-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.post-tags {
  max-width: 780px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags a {
  padding: 6px 14px;
  border-radius: 999px;
  background: #edf1e9;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 700;
}

.post-nav {
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.post-nav > div:last-child {
  text-align: right;
}

.post-nav a {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.post-nav span {
  display: block;
  color: var(--charcoal);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

/* =========================================================
   COMMENTS
========================================================= */

.comments-area {
  max-width: 780px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
}

.comment-list .comment {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.comment-list .children {
  list-style: none;
  margin-left: 30px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
}

.comment-author .avatar {
  border-radius: 50%;
  margin-left: 0;
}

.comment-metadata {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.comment-metadata a {
  color: var(--muted);
}

.comment-content p {
  color: #3b4844;
  font-size: 14px;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 800;
}

.comment-respond {
  margin-top: 35px;
}

.comment-form p {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f7f9f4;
  font-size: 14px;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form .form-submit input {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  color: white;
  background: var(--deep-green);
  font-size: 14px;
  font-weight: 800;
}

/* =========================================================
   404
========================================================= */

.error-404 {
  padding: 190px 0 130px;
  text-align: center;
}

.error-404 .error-code {
  font-family: "Manrope", sans-serif;
  font-size: clamp(70px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--sage);
  line-height: 1;
}

.error-404 h1 {
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
}

.error-404 p {
  max-width: 520px;
  margin: 16px auto 30px;
  color: var(--muted);
}

/* =========================================================
   FOOTER WIDGETS
========================================================= */

.footer-column.widget ul {
  list-style: none;
}

.footer-column.widget select,
.footer-column.widget input[type="text"],
.footer-column.widget input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 12px;
}

/* =========================================================
   BREADCRUMBS
========================================================= */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--deep-green);
}

.breadcrumbs [aria-current="page"] {
  color: var(--deep-green);
}

.breadcrumb-sep {
  color: rgba(39, 51, 56, 0.25);
}

/* =========================================================
   SERVICES PAGE TEMPLATE
========================================================= */

.services-page-hero {
  padding: 165px 0 70px;
  background:
    radial-gradient(circle at 75% 25%, rgba(156, 176, 128, 0.32), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(97, 135, 100, 0.12), transparent 30%),
    var(--cream);
}

.services-page-hero h1 {
  max-width: 780px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--charcoal);
}

.services-page-hero .hero-description {
  max-width: 680px;
}

/* =========================================================
   FEATURE ROWS (replaces the plain text content blocks)
========================================================= */

.feature-rows {
  background: white;
}

.feature-rows-intro {
  margin-bottom: 70px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 60px;
  padding: 46px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:first-of-type {
  padding-top: 0;
}

.feature-row:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-row.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-row.reverse .feature-visual {
  order: 2;
}

.feature-row.reverse .feature-content {
  order: 1;
}

.feature-visual {
  position: relative;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(156,176,128,0.55), transparent 45%),
    linear-gradient(155deg, var(--deep-green), #223f35 80%);
}

.feature-visual.accent-purple {
  background:
    radial-gradient(circle at 75% 20%, rgba(150,110,199,0.5), transparent 45%),
    linear-gradient(155deg, var(--deep-green), #223f35 80%);
}

.feature-visual.accent-gold {
  background:
    radial-gradient(circle at 75% 20%, rgba(224,171,74,0.45), transparent 45%),
    linear-gradient(155deg, var(--deep-green), #223f35 80%);
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 30px rgba(255,255,255,0.02),
    0 0 0 60px rgba(255,255,255,0.015);
}

.feature-visual-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 340px;
  min-height: 340px;
}

.feature-photo {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

.feature-icon-badge {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}

.badge-orb {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  box-shadow:
    inset -8px -10px 16px rgba(0,0,0,0.2),
    inset 4px 6px 10px rgba(255,255,255,0.18),
    0 14px 26px rgba(0,0,0,0.28);
}

.badge-orb svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.badge-green .badge-orb {
  background: radial-gradient(circle at 30% 25%, #b7d199, var(--green) 70%, #3f6440);
}

.badge-purple .badge-orb {
  background: radial-gradient(circle at 30% 25%, #c6aee8, #8a63bd 70%, #5f3f8c);
}

.badge-gold .badge-orb {
  background: radial-gradient(circle at 30% 25%, #f6dca0, #e0ab4a 70%, #b97f22);
}

.badge-accent-dot {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  animation: float 5s ease-in-out infinite;
}

.badge-green .badge-accent-dot {
  background: radial-gradient(circle at 30% 25%, #eef6ce, #d9e6ab);
}

.badge-purple .badge-accent-dot {
  background: radial-gradient(circle at 30% 25%, #efe4fb, #d9c3f2);
}

.badge-gold .badge-accent-dot {
  background: radial-gradient(circle at 30% 25%, #fff3d6, #fbe1a4);
}

.feature-pill {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-md);
}

.feature-pill strong {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  color: var(--deep-green);
}

.feature-pill span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feature-tag {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-content h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.feature-content p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 14px;
}

.feature-content p:first-of-type {
  margin-top: 0;
}

.feature-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
}

.feature-checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}

.feature-checks span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  color: white;
  background: var(--green);
}

/* =========================================================
   TOOLS STRIP (replaces the plain client name strip)
========================================================= */

.tools-strip {
  padding: 64px 0;
  background: var(--deep-green);
  color: white;
  overflow: hidden;
}

.tools-strip-header {
  text-align: center;
  margin-bottom: 42px;
}

.tools-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.tools-strip-label::before,
.tools-strip-label::after {
  content: "";
  width: 22px;
  height: 2px;
  background: rgba(156,176,128,0.6);
}

.tools-strip-header h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.03em;
  color: white;
}

.tools-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
}

.tools-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: tools-marquee 26s linear infinite;
}

.tools-marquee:hover .tools-marquee-track {
  animation-play-state: paused;
}

@keyframes tools-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tool-chip {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  border-radius: 20px;
  text-align: center;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.tool-chip:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(156,176,128,0.4);
}

.tool-chip-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  overflow: hidden;
}

.tool-chip-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.tool-chip-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

/* =========================================================
   SERVICES HEADER BADGE (fills the empty space beside the
   section intro copy)
========================================================= */

.services-header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.services-header-side .section-copy {
  margin-top: 0;
}

.services-header-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #e9efe3;
}

.services-header-badge-icon {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}

.services-header-badge-icon .badge-orb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.services-header-badge-icon .badge-orb svg {
  width: 22px;
  height: 22px;
  color: white;
}

.services-header-badge-icon .badge-accent-dot {
  width: 14px;
  height: 14px;
  top: -5px;
  right: -5px;
}

.services-header-badge strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  color: var(--deep-green);
  line-height: 1.1;
}

.services-header-badge-desc {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 190px;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.benefit-card {
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fbfcf8;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(97,135,100,0.25);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.benefit-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* =========================================================
   LEAD CAPTURE FORM
========================================================= */

.lead-section {
  background: var(--cream);
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.lead-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0 36px;
}

.lead-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

.lead-point .check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 13px;
}

.lead-photo {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 260px;
  margin-top: 10px;
  filter: drop-shadow(0 20px 35px rgba(43, 87, 72, 0.18));
  animation: lead-photo-bounce 4.5s ease-in-out infinite;
}

.lead-info {
  position: relative;
}

.lead-info::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -10px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,176,128,0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

@keyframes lead-photo-bounce {
  0%, 100% {
    transform: translateY(0) rotate(-1.2deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.2deg);
  }
}

.lead-form-wrap {
  position: relative;
}

.lead-decor {
  position: absolute;
  top: -34px;
  right: -18px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(43, 87, 72, 0.2));
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
}

.lead-form-card {
  position: relative;
  padding: 44px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.lead-form-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.lead-form-card > p {
  margin-top: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14.5px;
}

.form-notice {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  max-height: 80px;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    max-height 0.4s ease,
    margin-bottom 0.4s ease,
    padding 0.4s ease;
}

.form-notice.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.form-notice-success {
  color: var(--deep-green);
  background: #e6f0e2;
  border: 1px solid rgba(43, 87, 72, 0.18);
}

.form-notice-error {
  color: #8a2c2c;
  background: #fbe9e9;
  border: 1px solid rgba(138, 44, 44, 0.18);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lead-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--charcoal);
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.lead-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c4a45' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.lead-field textarea {
  resize: vertical;
  min-height: 110px;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: white;
}

.lead-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-submit {
  margin-top: 6px;
  width: 100%;
}

/* =========================================================
   RESPONSIVE (kept last so these always win the cascade
   regardless of where a component's base rules are defined)
========================================================= */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-content {
    max-width: 750px;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 650px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card:nth-child(2)::after {
    display: none;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row .feature-visual,
  .feature-row.reverse .feature-visual {
    order: 0;
    min-height: 220px;
  }

  .feature-row .feature-visual-photo,
  .feature-row.reverse .feature-visual-photo {
    height: 260px;
    min-height: 260px;
  }

  .feature-row .feature-content,
  .feature-row.reverse .feature-content {
    order: 1;
  }

  .tools-marquee-track {
    animation-duration: 22s;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lead-photo {
    max-width: 200px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .section {
    padding: 80px 0;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .navbar.mobile-open .nav-links {
    position: absolute;
    top: 70px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-md);
  }

  .navbar.mobile-open .nav-links a {
    padding: 14px;
    border-radius: 10px;
  }

  .navbar.mobile-open .nav-links a:hover {
    background: #f1f4ed;
  }

  .navbar.mobile-open .nav-actions {
    position: absolute;
    top: 330px;
    left: 15px;
    right: 15px;
    display: block;
  }

  .navbar.mobile-open .nav-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 125px 0 70px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 65px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-visual {
    height: 470px;
    margin-top: 25px;
  }

  .dashboard-3d {
    left: 0;
    width: 100%;
    height: 65%;
    transform: rotateX(4deg) rotateY(-6deg);
  }

  .dashboard-body {
    padding: 12px;
  }

  .chart-card {
    padding: 12px;
  }

  .chart {
    height: 145px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .floating-card.revenue {
    left: 0;
    bottom: 14%;
  }

  .floating-card.rating {
    right: 0;
    bottom: 24%;
  }

  .services-header {
    display: block;
  }

  .services-header .section-copy {
    margin-top: 20px;
  }

  .services-header-side {
    margin-top: 20px;
  }

  .feature-row {
    padding: 34px 0;
  }

  .feature-pill {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
  }

  .tools-strip {
    padding: 50px 0;
  }

  .tool-chip {
    flex: 0 0 130px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 28px 15px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
  }

  .stat:nth-child(even) {
    padding-right: 0;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card:not(:last-child)::after {
    display: none;
  }

  .testimonial-main {
    padding: 30px;
  }

  .cta-box {
    padding: 55px 28px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .lead-field-row {
    grid-template-columns: 1fr;
  }

  .lead-form-card {
    padding: 30px 22px;
  }

  .lead-photo {
    display: none;
  }

  .lead-decor {
    width: 76px;
    height: 76px;
    top: -22px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    align-items: flex-start;
  }

  .hero-visual {
    height: 400px;
  }

  .dashboard-top {
    height: 45px;
    padding: 0 13px;
  }

  .dashboard-body {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .metric-card {
    padding: 11px;
  }

  .metric-card strong {
    font-size: 18px;
  }

  .chart {
    height: 120px;
  }

  .floating-card {
    padding: 11px 13px;
  }

  .floating-value {
    font-size: 17px;
  }

  .about-visual {
    min-height: 400px;
  }

  .growth-orbit {
    top: 110px;
  }

  .growth-sphere {
    top: 145px;
    width: 145px;
    height: 145px;
  }

  .about-stat.one {
    top: 35px;
    left: 20px;
  }

  .about-stat.two {
    right: 20px;
    bottom: 35px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .feature-row .feature-visual-photo,
  .feature-row.reverse .feature-visual-photo {
    height: 210px;
    min-height: 210px;
  }

  .tools-marquee-track {
    animation-duration: 18s;
  }

  .tool-chip {
    flex: 0 0 108px;
    padding: 18px 8px;
  }

  .tool-chip-icon {
    width: 48px;
    height: 48px;
  }

  .tool-chip-icon img {
    width: 48px;
    height: 48px;
  }

  .post-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-nav > div:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
