/* ============================================
   MESA LINE SERVICES — Style System
   Earthy, warm, grounded aesthetic
   ============================================ */

/* --- VARIABLES --- */
:root {
  /* Navy & Gold palette — matching PDF brand */
  --sand:        #E8E4DE;
  --sand-light:  #F5F3F0;
  --sand-dark:   #D1CCC4;
  --terracotta:  #C9982E;
  --terracotta-dark: #A67D1F;
  --terracotta-light: #D4AD4A;
  --clay:        #9A7A24;
  --charcoal:    #1E2A44;
  --charcoal-mid:#3A4660;
  --charcoal-light: #5C6780;
  --warm-white:  #FAFAFA;
  --cream:       #EDEAE4;
  --sage:        #C9982E;
  --sage-light:  #F0EDE4;
  
  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-pad: clamp(56px, 7vw, 96px);
  --container-width: 1180px;
  --container-pad: clamp(20px, 4vw, 40px);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);

  /* Banner height for offset */
  --banner-height: 140px;
  --banner-height-compact: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--warm-white);
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection {
  background: var(--terracotta);
  color: var(--warm-white);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================
   BANNER NAV — Navy + Gold Premium Header
   ============================================ */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--charcoal);
  transition: all 0.4s var(--ease-out);
}

.banner-gold-edge {
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta-dark) 0%, var(--terracotta) 30%, var(--terracotta-light) 50%, var(--terracotta) 70%, var(--terracotta-dark) 100%);
}

.banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s var(--ease-out);
}

.banner-brand {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--terracotta);
  letter-spacing: 0.01em;
  padding-top: 20px;
  padding-bottom: 12px;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-logo {
  height: 96px;
  width: auto;
  display: inline-block;
  transition: height 0.4s var(--ease-out);
}

.banner-brand-text {
  line-height: 1;
}

.banner-separator {
  width: 80px;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.5;
  margin-bottom: 14px;
  transition: all 0.4s var(--ease-out);
}

.banner-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  transition: all 0.4s var(--ease-out);
}

.banner-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--sand-light);
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.banner-tab:hover {
  color: var(--terracotta);
}

.banner-tab.active {
  color: var(--terracotta);
  background: rgba(201, 152, 46, 0.1);
}

/* Pipe separators between tabs */
.banner-tabs a + a::before {
  content: '';
  display: none;
}

/* --- COMPACT SCROLLED STATE --- */
.banner.scrolled .banner-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.banner.scrolled .banner-brand {
  font-size: 20px;
  padding-top: 0;
  padding-bottom: 0;
}
.banner.scrolled .banner-logo {
  height: 44px;
}

.banner.scrolled .banner-separator {
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
}

.banner.scrolled .banner-tabs {
  padding-bottom: 0;
}

.banner.scrolled .banner-inner {
  height: var(--banner-height-compact);
}

/* --- Hamburger (Banner version) --- */
.banner-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
}
.banner-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sand-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.banner-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.banner-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.banner-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(30, 42, 68, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}
.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--sand-light);
  transition: color var(--transition-base);
}
.mobile-menu-link:hover {
  color: var(--terracotta);
}
.mobile-menu-cta {
  color: var(--terracotta) !important;
}

@media (max-width: 768px) {
  .banner-tabs { display: none; }
  .banner-hamburger { display: flex; }
  .banner-inner {
    flex-direction: row;
    justify-content: center;
    position: relative;
    height: 64px;
  }
  .banner-brand {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 18px;
  }
  .banner-logo {
    height: 48px;
  }
  .banner-separator {
    display: none;
  }
  .banner.scrolled .banner-inner {
    height: 56px;
  }
  .banner.scrolled .banner-brand {
    font-size: 20px;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--warm-white);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 152, 46, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--sand-light);
  border: 1.5px solid rgba(245, 243, 240, 0.4);
}
.btn-ghost:hover {
  border-color: var(--sand-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 152, 46, 0.2);
}
.btn-lg {
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 10px;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 180px 0 80px;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('./hero-bg.webp');
  background-size: cover;
  background-position: center 40%;
  transform: translateZ(0);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 68, 0.82) 0%,
    rgba(30, 42, 68, 0.70) 50%,
    rgba(30, 42, 68, 0.85) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--terracotta-dark) 50%, var(--terracotta-light) 100%);
  z-index: 2;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    radial-gradient(ellipse 600px 600px at 15% 85%, var(--terracotta) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 85% 20%, var(--terracotta-dark) 0%, transparent 70%);
  opacity: 0.08;
}
.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L20 40M0 20L40 20' stroke='%23C9982E' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--sand-light);
  margin-bottom: 24px;
}
.hero-headline em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--sand-dark);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sand-dark);
  font-weight: 500;
}
.hero-proof-item svg {
  display: inline-block;
  color: var(--sage);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sand-dark);
  opacity: 0.4;
  animation: float 2.5s ease-in-out infinite;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- SECTION SHARED --- */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--charcoal-mid);
  line-height: 1.65;
  max-width: 560px;
}

/* --- PAIN POINTS --- */
.pain-section {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.pain-bg {
  position: absolute;
  inset: 0;
  background-image: url('./admin-bg.webp');
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
}

.pain-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 68, 0.88) 0%,
    rgba(30, 42, 68, 0.80) 40%,
    rgba(30, 42, 68, 0.88) 100%
  );
}

.pain-section .container {
  position: relative;
  z-index: 1;
  max-width: 1340px;
}

.pain-section .section-label {
  color: var(--terracotta-light);
}

.pain-section .section-heading {
  color: var(--sand-light);
  font-size: clamp(34px, 5vw, 54px);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.pain-card {
  padding: 48px 44px;
  background: rgba(30, 42, 68, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(201, 152, 46, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.pain-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.pain-card:hover::after {
  opacity: 1;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pain-icon {
  color: var(--terracotta);
  margin-bottom: 24px;
}
.pain-icon svg {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--sand-light);
}
.pain-card p {
  font-size: 17px;
  color: var(--sand-dark);
  line-height: 1.7;
}

.gold-underline {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.gold {
  color: var(--terracotta);
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- SERVICES --- */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--sand);
}

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

.service-card {
  padding: 36px 30px;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--sand-dark);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 40, 37, 0.06);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--terracotta);
  opacity: 0.55;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.service-card p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 901px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  .services-grid .service-card:nth-child(1) { grid-column: 1 / 3; }
  .services-grid .service-card:nth-child(2) { grid-column: 3 / 5; }
  .services-grid .service-card:nth-child(3) { grid-column: 5 / 7; }
  .services-grid .service-card:nth-child(4) { grid-column: 1 / 4; }
  .services-grid .service-card:nth-child(5) { grid-column: 4 / 7; }
}

/* --- PRICING --- */
.pricing-section {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
  text-align: center;
}
.pricing-section .section-heading,
.pricing-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  align-items: start;
}

.pricing-card {
  background: var(--sand-light);
  border: 1px solid var(--sand-dark);
  border-radius: 14px;
  padding: 40px 32px 36px;
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 40, 37, 0.08);
}

.pricing-card-featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--sand-light);
}
.pricing-card-featured .pricing-tier,
.pricing-card-featured .price-dollar,
.pricing-card-featured .price-amount,
.pricing-card-featured .price-period {
  color: var(--sand-light);
}
.pricing-card-featured .pricing-desc {
  color: var(--sand-dark);
}
.pricing-card-featured .pricing-features li {
  color: var(--sand-dark);
}
.pricing-card-featured .pricing-features svg {
  color: var(--terracotta-light);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}
.price-dollar {
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  align-self: flex-start;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 15px;
  color: var(--charcoal-light);
  font-weight: 500;
  margin-left: 2px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 48px;
}

.pricing-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--charcoal-mid);
}
.pricing-features svg {
  flex-shrink: 0;
  display: inline-block;
  color: var(--terracotta);
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- HOW IT WORKS --- */
.how-section {
  padding: var(--section-pad) 0;
  background: var(--sand);
  text-align: center;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  text-align: center;
}

.how-step {
  position: relative;
}

.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.how-step-line {
  display: none;
}

.how-step h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.how-step p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 901px) {
  .how-step-line {
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    width: calc(100% - 72px + 40px);
    height: 0;
    border-top: 2px dashed var(--sand-dark);
  }
  .how-step:last-child .how-step-line {
    display: none;
  }
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- CTA SECTION --- */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.cta-box {
  background: var(--charcoal);
  border-radius: 20px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.08;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.06;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--sand-light);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--sand-dark);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.cta-box .btn {
  position: relative;
  z-index: 1;
}

.cta-email {
  margin-top: 20px;
  font-size: 14px;
  color: var(--charcoal-light);
  position: relative;
  z-index: 1;
}
.cta-email a {
  color: var(--terracotta-light);
  text-decoration: underline;
  text-decoration-color: rgba(212, 173, 74, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-base);
}
.cta-email a:hover {
  text-decoration-color: var(--terracotta-light);
}

/* --- FOOTER --- */
.footer {
  padding: 36px 0;
  background: var(--sand-light);
  border-top: 1px solid var(--sand-dark);
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
}

.footer-logo {
  height: 64px;
  width: auto;
  display: inline-block;
}

.footer-copy {
  font-size: 13px;
  color: var(--charcoal-light);
}

.footer-contact a {
  font-size: 14px;
  color: var(--terracotta);
  font-weight: 500;
  transition: color var(--transition-base);
}
.footer-contact a:hover {
  color: var(--terracotta-dark);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* --- GLOBAL RESPONSIVE --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .hero::before {
    height: 3px;
  }
  .hero-scroll-hint {
    display: none;
  }
  .hero-proof {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .section-heading br {
    display: none;
  }
}


/* ============================================
   TOOLKIT PAGE STYLES
   ============================================ */

/* --- TOOLKIT HERO --- */
.toolkit-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0 100px;
  background: var(--charcoal);
  overflow: hidden;
}

.toolkit-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 500px 500px at 20% 80%, var(--terracotta) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 20%, var(--terracotta-dark) 0%, transparent 70%);
  opacity: 0.08;
}
.toolkit-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L20 40M0 20L40 20' stroke='%23C9982E' stroke-width='0.3' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.toolkit-hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.toolkit-hero .hero-eyebrow {
  color: var(--terracotta-light);
}

.toolkit-hero .hero-headline {
  color: var(--sand-light);
}

.toolkit-hero .hero-headline em {
  color: var(--terracotta);
}

.toolkit-hero .hero-sub {
  color: var(--sand-dark);
}

/* --- WHAT'S INSIDE --- */
.toolkit-inside-section {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

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

.toolkit-card {
  padding: 36px 30px;
  background: var(--sand-light);
  border-radius: 12px;
  border: 1px solid var(--sand-dark);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.toolkit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.toolkit-card:hover::before {
  opacity: 1;
}
.toolkit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 40, 37, 0.06);
}

.toolkit-card-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--terracotta);
  opacity: 0.55;
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.toolkit-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.toolkit-card p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

@media (min-width: 901px) {
  .toolkit-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .toolkit-grid .toolkit-card:nth-child(1) { grid-column: 1 / 3; }
  .toolkit-grid .toolkit-card:nth-child(2) { grid-column: 3 / 5; }
  .toolkit-grid .toolkit-card:nth-child(3) { grid-column: 5 / 7; }
  .toolkit-grid .toolkit-card:nth-child(4) { grid-column: 1 / 4; }
  .toolkit-grid .toolkit-card:nth-child(5) { grid-column: 4 / 7; }
}

@media (max-width: 900px) {
  .toolkit-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- WHY AGENTS LOVE IT --- */
.toolkit-why-section {
  padding: var(--section-pad) 0;
  background: var(--sand);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.why-card {
  padding: 40px 32px;
  background: var(--warm-white);
  border-radius: 14px;
  border: 1px solid var(--sand-dark);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 40, 37, 0.06);
}

.why-icon {
  color: var(--terracotta);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.why-icon svg {
  display: inline-block;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- TOOLKIT PRICING --- */
.toolkit-pricing-section {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.toolkit-pricing-box {
  background: var(--charcoal);
  border-radius: 20px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}
.toolkit-pricing-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.06;
}

.toolkit-pricing-content {
  position: relative;
  z-index: 1;
}

.toolkit-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}
.toolkit-price-dollar {
  font-size: 28px;
  font-weight: 600;
  color: var(--sand-light);
  align-self: flex-start;
  margin-top: 10px;
}
.toolkit-price-amount {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.03em;
}

.toolkit-price-note {
  font-size: 17px;
  color: var(--sand-dark);
  margin-bottom: 28px;
  font-weight: 500;
}

.toolkit-price-includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}
.toolkit-price-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--sand-dark);
}
.toolkit-price-includes svg {
  flex-shrink: 0;
  display: inline-block;
  color: var(--terracotta-light);
}

/* --- TOOLKIT PAGE MOBILE HERO --- */
@media (max-width: 768px) {
  .toolkit-hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
}

/* ============================================
   TOOLKIT TIERED PRICING CARDS
   ============================================ */
.toolkit-pricing-section {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.toolkit-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
  align-items: start;
}

.toolkit-tier-card {
  background: var(--sand-light);
  border: 1px solid var(--sand-dark);
  border-radius: 14px;
  padding: 40px 32px 36px;
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.toolkit-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 40, 37, 0.08);
}

/* Featured / middle card */
.toolkit-tier-featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--sand-light);
}
.toolkit-tier-featured .toolkit-tier-name {
  color: var(--sand-light);
}
.toolkit-tier-featured .toolkit-tier-dollar,
.toolkit-tier-featured .toolkit-tier-amount {
  color: var(--terracotta);
}
.toolkit-tier-featured .toolkit-tier-tagline {
  color: var(--sand-dark);
}
.toolkit-tier-featured .toolkit-tier-features li {
  color: var(--sand-dark);
}
.toolkit-tier-featured .toolkit-tier-features svg {
  color: var(--terracotta-light);
}
.toolkit-tier-featured .toolkit-tier-detail {
  color: var(--charcoal-light);
}

.toolkit-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.toolkit-tier-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.toolkit-tier-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.toolkit-tier-dollar {
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  align-self: flex-start;
  margin-top: 6px;
}
.toolkit-tier-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.toolkit-tier-tagline {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.toolkit-tier-subhead {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 12px;
}

.toolkit-tier-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.toolkit-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.5;
}
.toolkit-tier-features svg {
  flex-shrink: 0;
  display: inline-block;
  color: var(--terracotta);
  margin-top: 2px;
}

.toolkit-tier-detail {
  color: var(--charcoal-light);
  font-size: 13px;
}

@media (max-width: 900px) {
  .toolkit-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .toolkit-tier-featured {
    order: -1;
  }
}
