/* ============================================================
   2BROS MEDIA — MAIN STYLESHEET
   main.css — Global styles, components, layout
   Mobile-first. CSS variables from :root in index.html.
   ============================================================ */


/* ---- UTILITY ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: var(--section-pad) 0;
}


/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 14px 28px;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-emerald);
  color: var(--color-bg);
  border-color: var(--color-emerald);
}
.btn-primary:hover {
  background: var(--color-emerald-dim);
  border-color: var(--color-emerald-dim);
  box-shadow: 0 0 24px rgba(0, 200, 83, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
  background: rgba(0, 200, 83, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover {
  color: var(--color-emerald);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 13px;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 14px;
}


/* ---- SECTION TAGS & HEADERS ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 520px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header .section-sub {
  margin: 0 auto;
}


/* ---- HERO SECTION ---- */
.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-accent--1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 200, 83, 0.07);
  top: 10%;
  right: -100px;
}
.hero-accent--2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 215, 0, 0.04);
  bottom: 20%;
  left: -60px;
}

.hero-pretag {
  display: inline-block;
  border: 1px solid var(--color-border);
  background: rgba(0, 200, 83, 0.06);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(70px, 13vw, 160px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  max-width: 900px;
}

.hero-headline-em {
  font-style: italic;
  color: var(--color-muted);
}

.hero-headline-rich {
  color: var(--color-emerald);
  position: relative;
  display: inline-block;
}
.hero-headline-rich::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-emerald);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--color-white); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 31, 19, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}

.hero-stat {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-divider {
  width: 1px;
  background: var(--color-border);
  margin: 12px 0;
  align-self: stretch;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-emerald);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

.hero-scroll-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* ---- NAVIGATION ---- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--color-surface); }
.hamburger-line {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: var(--color-muted);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--color-white); }

.mobile-menu-links {
  text-align: center;
  list-style: none;
  margin-bottom: 40px;
}
.mobile-menu-links li { margin-bottom: 8px; }
.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 56px);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: block;
  padding: 8px 0;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--color-emerald);
}

.mobile-menu-cta {
  display: block;
  text-align: center;
}

/* Show hamburger always; hide desktop CTA on small screens */
@media (min-width: 900px) {
  .hamburger { display: none; }
  #nav-cta-desktop { display: inline-flex !important; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
}


/* ---- MARQUEE ---- */
.marquee-section {
  background: var(--color-emerald);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-wrapper { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

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

.marquee-item {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--color-bg);
  padding: 0 32px;
  white-space: nowrap;
}

.marquee-dot {
  font-size: 10px;
  color: rgba(5, 15, 10, 0.5);
  flex-shrink: 0;
}

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


/* ---- SOCIAL PROOF BAR ---- */
.proof-bar {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.proof-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 40px;
  text-align: center;
}

.proof-stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  color: var(--color-white);
  line-height: 1;
}

.proof-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
}

@media (max-width: 768px) {
  .proof-divider { display: none; }
  .proof-stat { width: 50%; }
}


/* ---- PROBLEM SECTION ---- */
.problem-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.problem-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-emerald), transparent);
  opacity: 0.3;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 900px) {
  .problem-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap: 80px;
  }
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 90px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-white);
  margin-top: 12px;
  margin-bottom: 24px;
}

.problem-accent-line {
  width: 60px;
  height: 4px;
  background: var(--color-emerald);
  border-radius: 2px;
}

.problem-intro {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 40px;
  line-height: 1.5;
}

.problem-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.problem-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.problem-point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-danger);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.problem-point-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.problem-point-desc {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.problem-solution {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-emerald);
  padding: 28px 32px;
  border-radius: var(--radius);
}

.problem-solution-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-emerald);
  display: block;
  margin-bottom: 10px;
}

.problem-solution p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.65;
}
.problem-solution strong { color: var(--color-white); }


/* ---- SERVICES SECTION ---- */
.services-section {
  background: var(--color-surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--color-surface-2);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.25s ease;
}
.service-card:hover {
  background: #122b1a;
}

.service-card--featured {
  background: #0d2518;
}
.service-card--featured:hover {
  background: #122e1d;
}

.service-card-featured-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--color-emerald);
  color: var(--color-bg);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.service-card-icon {
  color: var(--color-emerald);
  margin-bottom: 4px;
}

.service-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.service-card-desc {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-top: 4px;
}
.service-card-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  padding-left: 14px;
  position: relative;
}
.service-card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-emerald);
}

.service-card-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, opacity 0.2s;
}
.service-card-link:hover {
  gap: 10px;
  opacity: 0.8;
}

.services-footer {
  text-align: center;
}


/* ---- PORTFOLIO SECTION ---- */
.portfolio-section {
  background: var(--color-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
  .portfolio-card--large { grid-row: span 2; }
  .portfolio-card--wide  { grid-column: span 2; }
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.portfolio-card:focus-within { outline: 2px solid var(--color-emerald); }

.portfolio-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}
.portfolio-card--large .portfolio-card-img { aspect-ratio: 3/4; min-height: 400px; }
.portfolio-card--wide  .portfolio-card-img { aspect-ratio: 16/7; }
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }

.portfolio-card-placeholder {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 0.08em;
  text-align: center;
  color: rgba(0, 200, 83, 0.35);
  user-select: none;
  text-transform: uppercase;
  line-height: 1.1;
}

.portfolio-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  background: linear-gradient(to top, rgba(5,15,10,0.95) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.portfolio-card:hover .portfolio-card-overlay,
.portfolio-card:focus-within .portfolio-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-card-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-emerald);
  display: block;
  margin-bottom: 6px;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 4px;
}

.portfolio-card-result {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.portfolio-card-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.portfolio-card-cta:hover { gap: 10px; }

.portfolio-footer {
  text-align: center;
}


/* ---- HOW IT WORKS / PROCESS ---- */
.process-section {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 56px;
  position: relative;
}

@media (min-width: 800px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Connecting line between steps (desktop) */
@media (min-width: 800px) {
  .process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 1px;
    background: linear-gradient(90deg, var(--color-emerald), var(--color-border), var(--color-emerald));
    z-index: 0;
    opacity: 0.4;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-emerald);
  opacity: 0.35;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-step-content {
  position: relative;
  z-index: 1;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.process-step-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}

.process-step-arrow {
  font-size: 20px;
  color: var(--color-emerald);
  opacity: 0.5;
  position: absolute;
  top: 44px;
  right: -12px;
  display: none;
}
@media (min-width: 800px) {
  .process-step-arrow { display: block; }
}
.process-step-arrow--hidden { visibility: hidden; }

.process-cta { text-align: center; }


/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: var(--color-bg);
}

.testimonials-section .section-headline em {
  font-style: italic;
  color: var(--color-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 700px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(4, 1fr); }
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(0, 200, 83, 0.25);
  transform: translateY(-4px);
}

.testimonial-card--highlight {
  background: var(--color-surface-2);
  border-color: rgba(0, 200, 83, 0.2);
}

.testimonial-rating {
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.7;
  flex: 1;
  font-style: normal;
  border: none;
  padding: 0;
  quotes: none;
}
.testimonial-quote::before,
.testimonial-quote::after { content: none; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-bg);
}

.testimonial-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.testimonial-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.testimonials-footer { text-align: center; }


/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,200,83,0.14) 0%, transparent 70%),
    var(--color-surface);
  z-index: 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-emerald), transparent);
  opacity: 0.4;
  z-index: 1;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-emerald), transparent);
  opacity: 0.4;
  z-index: 1;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
}

.cta-tag {
  margin-bottom: 20px;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.cta-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-sub br { display: none; }
@media (min-width: 600px) { .cta-sub br { display: inline; } }

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.cta-reassurance {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}
.cta-check { color: var(--color-emerald); }


/* ---- FOOTER ---- */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 700px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1.2fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social:hover {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
  background: rgba(0,200,83,0.06);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-nav-heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-col a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--color-emerald); }

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-cta-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-muted);
}
.footer-built {
  color: var(--color-emerald);
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
}
.footer-legal a {
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--color-white); }


/* ============================================================
   ENTRANCE ANIMATIONS
============================================================ */
[data-animate="fadeUp"] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate="fadeUp"].in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero tag uses direct animation (no IntersectionObserver needed) */
.hero-pretag {
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-headline {
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-sub {
  animation: fadeUp 0.7s 0.35s ease both;
}
.hero-ctas {
  animation: fadeUp 0.7s 0.48s ease both;
}
.hero-stats {
  animation: fadeUp 0.7s 0.58s ease both;
}


/* ============================================================
   RESPONSIVE OVERRIDES
============================================================ */
@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }
  .hero-stat-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .hero-stat { padding: 16px 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; }
}

@media (max-width: 699px) {
  .proof-bar-inner { justify-content: flex-start; }
  .proof-divider { display: none; }
  .proof-stat { width: 50%; }
}

/* ============================================================
   ACCESSIBILITY
============================================================ */
:focus-visible {
  outline: 2px solid var(--color-emerald);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}

/* ---- HERO SPLIT LAYOUT (logo image version) ---- */
.hero-content--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 860px) {
  .hero-content--split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
}

.hero-img-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
}

.hero-brand-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  /* Subtle float animation */
  animation: heroImgFloat 5s ease-in-out infinite;
  /* Drop shadow glow */
  filter: drop-shadow(0 0 40px rgba(0, 200, 83, 0.15))
          drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

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

/* On mobile, shrink the image so it doesn't overpower */
@media (max-width: 859px) {
  .hero-brand-img {
    max-width: 320px;
  }
  .hero-img-col {
    order: -1; /* image appears above text on mobile */
  }
}
