/*
Theme Name: Arranj PPC Agency
Theme URI: https://wedontrunads.com
Author: Arranj
Description: Professional PPC marketing agency theme for Arranj.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: arranj
*/

:root {
  --arranj-dark: #0a2342;
  --arranj-navy: #172b44;
  --arranj-blue: #3170f9;
  --arranj-blue-soft: #5c8dfb;
  --arranj-sky: #d8e5ff;
  --arranj-emerald: #2ac38a;
  --arranj-red: #dc2626;
  --arranj-orange: #ff6b35;
  --arranj-teal: #00d9c0;
  --arranj-cream: #f7f9fc;
  --arranj-text: #1a1a1a;
  --arranj-muted: #666666;
  --arranj-white: #ffffff;
  --arranj-border: rgba(15, 25, 38, 0.08);
  --arranj-shadow: 0 20px 40px rgba(15, 25, 38, 0.12);
  --arranj-focus: #6aa3ff;
  --arranj-ink: #050b12;
  --arranj-night: #0a1624;
  --arranj-snow: #f1f5ff;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--arranj-text);
  background-color: var(--arranj-cream);
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--arranj-dark);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 600;
}

p {
  margin-block: 0 1.1rem;
  color: var(--arranj-muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--arranj-blue);
  gap: 0.5rem;
}

.eyebrow--inverted {
  color: rgba(255, 255, 255, 0.78);
}

strong {
  color: var(--arranj-dark);
}

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

a:hover {
  color: var(--arranj-blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.container {
  width: min(var(--container-width), 92vw);
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 10vw, 80px);
}

.section--light {
  background: var(--arranj-white);
}

.section--muted {
  background: linear-gradient(180deg, #f1f5ff 0%, #ffffff 100%);
}

.section--dark {
  background: var(--arranj-dark);
  color: var(--arranj-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section__intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 46px);
  display: grid;
  gap: 0.75rem;
}

.section + .section {
  position: relative;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(15, 25, 38, 0) 0%,
    rgba(15, 25, 38, 0.08) 50%,
    rgba(15, 25, 38, 0) 100%
  );
}

.grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--arranj-white);
  border-radius: 18px;
  border: 1px solid var(--arranj-border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 50px rgba(23, 43, 68, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.card--dark {
  background: var(--arranj-navy);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--arranj-white);
}

.card--dark .card__description,
.card--dark .list,
.card--dark .list li {
  color: rgba(255, 255, 255, 0.86);
}

.card__body {
  flex: 1;
  display: grid;
  gap: 1rem;
}

.card__cta {
  margin-top: auto;
}

.card__title {
  font-size: 1.15rem;
  margin-top: 0;
}

.card__description {
  margin: 0;
  color: inherit;
}

.card__tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--arranj-blue);
}

.card__price {
  font-size: 2.15rem;
  font-weight: 700;
  margin: 0.75rem 0 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  background: rgba(49, 112, 249, 0.12);
  color: var(--arranj-blue);
}

.badge--green {
  background: rgba(42, 195, 138, 0.15);
  color: var(--arranj-emerald);
}

.stat-grid,
.metrics {
  display: flex;
  gap: clamp(18px, 6vw, 40px);
  flex-wrap: wrap;
}

.stat,
.metric {
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: var(--arranj-white);
  border: 1px solid var(--arranj-border);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat:focus-visible,
.metric:focus-visible {
  outline: 2px solid var(--arranj-focus);
  outline-offset: 3px;
}

.stat__value,
.metric__value {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--arranj-blue);
  margin: 0;
}

.stat__label,
.metric__label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--arranj-muted);
}

.stat small,
.metric small {
  opacity: 0.82;
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--arranj-muted);
}

.hero__stats .stat {
  background: rgba(15, 25, 38, 0.68);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero__stats .stat__value,
.hero__stats .metric__value {
  color: var(--arranj-emerald);
}

.hero__stats .stat__label,
.hero__stats .metric__label,
.hero__stats small {
  color: rgba(255, 255, 255, 0.82);
}

.value-prop__inner {
  display: grid;
  gap: clamp(32px, 6vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.value-prop__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(23, 43, 68, 0.18);
}

.services-grid {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin-bottom: 2rem;
}

.service-card {
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button--primary {
  background: linear-gradient(
    135deg,
    var(--arranj-blue) 0%,
    var(--arranj-blue-soft) 100%
  );
  color: var(--arranj-white);
  box-shadow: 0 18px 38px rgba(49, 112, 249, 0.18);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px rgba(49, 112, 249, 0.28);
  color: var(--arranj-white);
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(15, 25, 38, 0.16);
  color: var(--arranj-dark);
}

.button--ghost:hover {
  border-color: var(--arranj-blue);
  color: var(--arranj-blue);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 19, 30, 0.4);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.hero {
  padding-block: clamp(96px, 16vw, 120px);
  background: radial-gradient(
      circle at top right,
      rgba(90, 134, 255, 0.2),
      transparent 48%
    ),
    linear-gradient(160deg, #0f1926 35%, #16263c 100%);
  color: var(--arranj-white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 38, 0) 0%,
    rgba(15, 25, 38, 0.55) 100%
  );
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  min-height: 80vh;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

.hero__content {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.hero__headline {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  max-width: 15ch;
  line-height: 1.05;
  color: var(--arranj-white);
}

.hero__subheadline {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 25ch;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero__supporting {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
  line-height: 1.35;
}

.hero__cta {
  display: grid;
  gap: 0.65rem;
  align-items: flex-start;
}

.hero__cta-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.hero__cta-link:hover {
  color: var(--arranj-white);
  text-decoration-color: var(--arranj-white);
}

/* Hero image - comparison graphic */
.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Desktop: 60/40 split with image on right */
@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
  }

  .hero__image {
    justify-content: flex-end;
  }

  .hero__image img {
    max-width: 600px;
  }
}

/* Large desktop: max 600px image */
@media (min-width: 1440px) {
  .hero__image img {
    max-width: 600px;
  }
}

/* Desktop medium: max 500px image */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero__image img {
    max-width: 500px;
  }
}

.hero__stats {
  margin-top: 1.8rem;
}

.hero__aside {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.partner-card {
  border-radius: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 50px rgba(9, 19, 30, 0.35);
  display: grid;
  gap: 0.85rem;
}

.partner-card ul {
  padding-left: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  gap: 0.65rem;
}

.partner-card li {
  margin: 0;
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--arranj-white);
}

.logo-wordmark__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--arranj-emerald);
  display: inline-block;
}

.site-header {
  background: var(--arranj-dark);
  color: var(--arranj-white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 18px 38px rgba(10, 22, 36, 0.24);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  gap: 1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__links ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav__links li {
  margin: 0;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--arranj-white);
}

.nav__anchor {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav__anchor:hover {
  color: var(--arranj-white);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav__cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 999px;
  background: var(--arranj-emerald);
  color: var(--arranj-dark);
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(42, 195, 138, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta:hover {
  box-shadow: 0 16px 30px rgba(42, 195, 138, 0.42);
  transform: translateY(-1px);
}

.nav__mobile-cta {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  background: var(--arranj-white);
  height: 2px;
  width: 26px;
  display: block;
}

.trusted {
  background: var(--arranj-white);
  border-radius: 18px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 20px 45px rgba(15, 25, 38, 0.07);
}

.trusted__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.trusted__logos span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--arranj-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.list__icon {
  margin-top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--arranj-emerald);
}

.list__icon.negative {
  background: var(--arranj-red) !important;
}

.process__wrapper {
  align-items: start;
}

.process {
  display: grid;
  gap: 1.5rem;
  position: relative;
  padding-left: 32px;
}

.process::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 16px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(49, 112, 249, 0.25) 0%,
    rgba(49, 112, 249, 0) 100%
  );
}

.process__item {
  display: grid;
  gap: 0.85rem;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--arranj-border);
  background: var(--arranj-white);
  position: relative;
  box-shadow: 0 12px 28px rgba(23, 43, 68, 0.12);
}

.process__badge {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--arranj-blue);
}

@media (min-width: 980px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding-left: 0;
  }

  .process::before {
    top: auto;
    bottom: auto;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    width: calc(100% - 64px);
    margin: 0 auto;
    background: linear-gradient(
      90deg,
      rgba(49, 112, 249, 0.25) 0%,
      rgba(49, 112, 249, 0) 100%
    );
    transform: translateY(-50%);
  }
}

.testimonial {
  display: grid;
  gap: 0.85rem;
  padding: 28px;
  border-radius: 20px;
  background: var(--arranj-white);
  border: 1px solid var(--arranj-border);
  box-shadow: 0 18px 38px rgba(23, 43, 68, 0.08);
}

.testimonial__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(49, 112, 249, 0.12);
  color: var(--arranj-blue);
}

.testimonial__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--arranj-dark);
  margin: 0;
}

.testimonial__quote {
  font-size: 1rem;
  font-weight: 500;
  color: var(--arranj-muted);
  line-height: 1.55;
}

.proof-grid {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.proof-cta {
  margin-top: 32px;
}

.pricing {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing__item {
  padding: 2rem;
  border-radius: 20px;
  background: var(--arranj-white);
  border: 1px solid var(--arranj-border);
  box-shadow: 0 20px 40px rgba(15, 25, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__item--highlight {
  background: linear-gradient(
    145deg,
    var(--arranj-blue),
    var(--arranj-blue-soft)
  );
  color: var(--arranj-white);
}

.pricing__item--highlight p {
  color: rgba(255, 255, 255, 0.82);
}

.pricing__item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.pricing__item li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing__item li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.cta-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  color: var(--arranj-text);
  padding: clamp(46px, 9vw, 80px);
  border-radius: 24px;
  border: 1px solid var(--arranj-border);
  box-shadow: 0 24px 52px rgba(15, 25, 38, 0.12);
  display: grid;
  gap: 1.5rem;
}

.cta-bar__copy h2 {
  margin: 0;
}

.cta-bar__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-bar__primary {
  flex: 1 0 auto;
}

.cta-bar__form {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cta-bar__form input,
.cta-bar__form select {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 25, 38, 0.18);
  font: inherit;
  background: var(--arranj-white);
}

.cta-bar__form button {
  justify-self: start;
}

.footer {
  background: var(--arranj-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 64px 32px;
}

.footer__top {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__brand h3 {
  color: var(--arranj-white);
  margin: 0 0 1rem;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer__nav a:hover {
  color: var(--arranj-white);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99;
  display: none;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--arranj-blue) 0%,
    var(--arranj-blue-soft) 100%
  );
  color: var(--arranj-white);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 20px 45px rgba(49, 112, 249, 0.35);
}

.contact-card {
  background: var(--arranj-white);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--arranj-border);
  box-shadow: 0 18px 38px rgba(23, 43, 68, 0.08);
  display: grid;
  gap: 1.2rem;
}

.contact-card__info {
  display: grid;
  gap: 1rem;
}

.contact-card__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-card__label {
  font-weight: 600;
  color: var(--arranj-dark);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--arranj-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 25, 38, 0.18);
  font: inherit;
  background: var(--arranj-white);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.seo-highlight {
  border-left: 4px solid var(--arranj-blue);
  padding-left: 1rem;
}

.split {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 980px) {
  .nav {
    position: relative;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: min(310px, 78vw);
    background: rgba(15, 25, 38, 0.96);
    padding: 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 18px 35px rgba(9, 19, 30, 0.35);
  }

  .nav__actions {
    display: none;
  }

  .nav__mobile-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .nav__links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .nav__links[data-open="true"] {
    display: flex;
  }

  .nav__links a {
    color: rgba(255, 255, 255, 0.88);
  }

  .burger {
    display: flex;
  }

  .burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 160px;
  }

  .mobile-sticky-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .stat-grid,
  .metrics {
    gap: 14px;
  }

  .stat,
  .metric {
    min-width: 160px;
  }

  .cta-row,
  .cta-bar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-bar__primary .button--primary {
    position: sticky;
    bottom: 24px;
    z-index: 5;
    box-shadow: 0 18px 38px rgba(49, 112, 249, 0.25);
  }

  .cta-bar__form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .button,
  .card,
  .stat,
  .metric {
    transition: none !important;
  }
}

/* New sections styling */
.metrics-comparison {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.comparison-column {
  padding: 2rem;
  border-radius: 16px;
  background: var(--arranj-white);
  border: 1px solid var(--arranj-border);
}

.comparison-column h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.who-for__grid {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.who-for__column {
  padding: 2rem;
  border-radius: 16px;
  background: var(--arranj-white);
  border: 1px solid var(--arranj-border);
}

.who-for__column h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.about-photo__placeholder {
  min-height: 400px;
  background: var(--arranj-cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--arranj-border);
}

.about-photo__placeholder p {
  color: var(--arranj-muted);
  text-align: center;
}

.cta-bar__contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--arranj-border);
}

.cta-bar__contact p {
  margin: 0.5rem 0;
}

.cta-bar__contact a {
  color: var(--arranj-blue);
  text-decoration: underline;
}

/* ========================================
   FIX: White text on light backgrounds
   ======================================== */

.section--muted {
  background-color: #f5f7fa;
  color: #1a1a1a;
}

.section--muted h2,
.section--muted h3,
.section--muted p,
.section--muted .hero__subheadline,
.section--muted .list,
.section--muted .list li {
  color: #1a1a1a !important;
}

.section--light {
  background-color: #ffffff;
  color: #1a1a1a;
}

.section--light h2,
.section--light h3,
.section--light p,
.section--light .list,
.section--light .list li {
  color: #1a1a1a !important;
}

/* Ensure comparison tables are readable */
.comparison-column h3,
.comparison-column li {
  color: #1a1a1a !important;
}

/* Ensure about section is readable */
.about-section p,
.about-section h2 {
  color: #1a1a1a !important;
}

/* Process items should be dark text */
.process__item h3,
.process__item p {
  color: #1a1a1a !important;
}

/* What You'll Learn Section */
.learn-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.learn-section .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.learn-section .section__intro {
  margin-left: auto;
  margin-right: auto;
}

.learn-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  color: var(--arranj-muted);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 100%;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-items: center;
  max-width: 100%;
}

.learn-item {
  text-align: center;
  max-width: 400px;
}

.learn-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--arranj-dark);
  text-align: center;
}

.learn-item p {
  color: #4a5568;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}

.learn-cta {
  text-align: center;
  padding: 2rem;
  background-color: var(--arranj-cream);
  border-radius: 8px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.learn-cta-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--arranj-dark);
  text-align: center;
}

/* Global section spacing adjustments - REDUCED 25-30% */
section {
  padding: 3rem 0;
}

/* Hero - reduced bottom padding to close gap with next section */
.hero {
  padding: 4rem 0 2rem 0;
}

/* Remove double-spacing between sections */
section + section {
  margin-top: 0;
}

/* Tight spacing between hero and value-prop (ROAS section) */
.hero + section,
.value-prop {
  padding-top: 1.5rem;
}

/* Consistent padding on alternating background sections */
.section--muted,
.section--light {
  padding: 3rem 0;
}

/* Specific section spacing adjustments */
.services-section,
#services {
  padding: 3rem 0 6rem 0;
}

.proof-section {
  padding: 2.5rem 0 3rem 0;
}

.who-for-section,
#who-this-is-for {
  padding: 3rem 0 2rem 0;
}

/* Tighten gap between business model section and services */
.how-different {
  padding: 3rem 0 2rem 0;
}

/* Learn section */
.learn-section {
  padding: 3rem 0 !important;
}

/* Mobile spacing adjustments */
@media (max-width: 768px) {
  /* Reduce all section padding on mobile */
  section {
    padding: 2rem 0;
  }

  .hero {
    padding: 2.5rem 0 1.5rem 0;
  }

  /* Tighter spacing for hero and next section */
  .hero + section,
  .value-prop {
    padding-top: 1rem;
  }

  /* Mobile: Stack hero image below text */
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__image {
    order: 2;
    margin-top: 1.5rem;
  }

  .hero__image img {
    max-width: min(90%, 450px);
    margin: 0 auto;
  }

  /* Responsive headings - prevent awkward wrapping */
  h2 {
    font-size: clamp(1.75rem, 5vw, 2.1rem);
    margin-bottom: 1.25rem;
    line-height: 1.25;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Ensure "What We Actually Do" fits properly */
  #services-heading,
  .section__intro h2 {
    font-size: clamp(1.6rem, 4.5vw, 2rem);
    max-width: 100%;
  }

  .process {
    gap: 1.5rem;
  }

  /* Service cards spacing */
  .services-grid {
    gap: 6rem;
  }

  .service-card {
    margin-bottom: 0;
  }

  /* Tighter testimonials spacing */
  .proof-grid {
    gap: 1.25rem;
  }

  /* Reduce specific section spacing on mobile */
  .services-section,
  #services {
    padding: 2rem 0 5rem 0;
  }

  .proof-section {
    padding: 2rem 0 2rem 0;
  }

  .who-for-section,
  #who-this-is-for {
    padding: 2rem 0 1.5rem 0;
  }

  .how-different {
    padding: 2rem 0 1.5rem 0;
  }

  .learn-section {
    padding: 2rem 0 !important;
  }
}
