/*
Theme Name: Manageable Marketing Theme
Theme URI: https://manageableservices.com/
Author: seoustaad.com
Description: A bespoke premium theme with dark-gold aesthetics and CSS animations for marketing services.
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: manageable-marketing
*/

:root {
  --black: #050505;
  --deep: #0d0d0d;
  --charcoal: #151515;
  --mid: #242424;
  --smoke: #5a5a5a;
  --ash: #a8a8a8;
  --mist: #e6e5df;
  --cream: #fcfbf9;
  --white: #fafaf8;
  --gold: #d4b26f;
  --gold-light: #ebd3a2;
  --gold-dim: #8a7143;
  --blue: #1a5fb4;
  --blue-light: #3584e4;
  --blue-dim: #102a45;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GLOBAL LINKS ── */
a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 2px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 178, 111, 0.12);
  animation: fadeDown 0.8s ease both;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--black) !important;
  background: var(--gold) !important;
  border: none !important;
  padding: 0.65rem 1.6rem !important;
  cursor: pointer !important;
  text-decoration: none !important;
  font-family: var(--sans) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(212, 178, 111, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(212, 178, 111, 0.3) !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(26, 95, 180, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 70%, rgba(212, 178, 111, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 55%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(212, 178, 111, 0.1), transparent);
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--blue-light);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.45s ease both;
}

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

.hero-sub {
  font-size: 1.05rem;
  color: var(--ash);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 48ch;
  animation: fadeUp 0.9s 0.6s ease both;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.7s ease both;
}

.rating-stars {
  display: flex;
  gap: 0.2rem;
}

.rating-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.rating-text {
  font-size: 0.88rem;
  color: var(--ash);
}

.rating-text strong {
  color: var(--cream);
  font-weight: 500;
}

.hero-actions-wrapper {
  animation: fadeUp 0.9s 0.8s ease both;
}

.hero-cta-btn {
  padding: 0.95rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-form-wrapper {
  width: 100%;
  animation: fadeUp 0.9s 0.6s ease both;
  z-index: 3;
}

/* ── BUTTONS & CTAS ── */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 48px; /* Touch target size */
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--black) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(212, 178, 111, 0.25) !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 178, 111, 0.4) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent !important;
  color: var(--cream) !important;
  border: 1px solid rgba(212, 178, 111, 0.35) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 178, 111, 0.08);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-ghost:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 178, 111, 0.15) !important;
}

.btn-ghost:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-ghost:active {
  transform: translateY(0);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 178, 111, 0.2), rgba(26, 95, 180, 0.2), transparent);
  margin: 0;
}

/* ── SECTION COMMON ── */
section {
  padding: 7rem 4rem;
}

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--blue-light);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--ash);
  max-width: 52ch;
  line-height: 1.8;
  margin-bottom: 4rem;
}

/* ── SERVICES ── */
#services {
  background: var(--deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(212, 178, 111, 0.08);
}

.service-card {
  background: var(--deep);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--charcoal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 178, 111, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
  background: rgba(212, 178, 111, 0.08);
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.service-num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(212, 178, 111, 0.07);
  line-height: 1;
  pointer-events: none;
}

.service-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  color: var(--cream);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.75;
}

/* ── PRICING ── */
#pricing {
  background: var(--black);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid rgba(212, 178, 111, 0.12);
  padding: 2.8rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  background: var(--deep);
}

.pricing-card:hover {
  border-color: rgba(212, 178, 111, 0.35);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--charcoal), var(--deep));
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  font-weight: 500;
}

.pricing-tier {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.2rem;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 0.5rem;
  color: var(--gold);
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--smoke);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.2rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--ash);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pricing-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

.pricing-features li.gold-feat::before {
  background: var(--gold);
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--smoke);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.guarantee-bar {
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(26, 95, 180, 0.3);
  background: rgba(26, 95, 180, 0.05);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.5;
}

.guarantee-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.guarantee-text p {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.6;
}

/* ── ABOUT ── */
#about {
  background: var(--deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-box {
  width: 100%;
  aspect-ratio: 4/5;
  border: 1px solid rgba(212, 178, 111, 0.15);
  position: relative;
  background:
    linear-gradient(135deg, rgba(26, 95, 180, 0.06), transparent 50%),
    var(--charcoal);
  overflow: hidden;
}

.about-box::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(212, 178, 111, 0.08);
}

.about-box-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-monogram {
  font-family: var(--serif);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(212, 178, 111, 0.12);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-box-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.about-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.4;
}

.about-corner.tl {
  top: -8px;
  left: -8px;
  border-width: 1px 0 0 1px;
}

.about-corner.br {
  bottom: -8px;
  right: -8px;
  border-width: 0 1px 1px 0;
}

.about-stat-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--black);
  border: 1px solid rgba(212, 178, 111, 0.2);
  padding: 1.2rem 1.5rem;
}

.about-stat-float .n {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.about-stat-float .l {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.2rem;
}


.about-body {
  font-size: 0.95rem;
  color: var(--ash);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-body strong {
  color: var(--cream);
  font-weight: 400;
}

.about-promise {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 2px solid var(--gold);
  background: rgba(212, 178, 111, 0.04);
}

.about-promise p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.pillar {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.4rem;
}

.pillar-val {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream);
}

/* ── CONTACT OVERHAUL ── */
#contact {
  background: var(--black);
  padding: 8rem 0;
  position: relative;
}

.contact-glow {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 178, 111, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.contact-tagline {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--blue-light);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-left: 25px;
}

.contact-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 1px;
  background: var(--blue-light);
}

.contact-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
}

.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ash) !important;
  max-width: 480px;
}

.contact-glass-card {
  background: rgba(21, 21, 21, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 178, 111, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
  position: relative;
  transition: border-color 0.4s ease;
}

.contact-glass-card:hover {
  border-color: rgba(212, 178, 111, 0.25);
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.contact-card-item:not(.no-link):hover {
  background: rgba(212, 178, 111, 0.04);
  border-color: rgba(212, 178, 111, 0.2);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(212, 178, 111, 0.08);
  border: 1px solid rgba(212, 178, 111, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-card-item:not(.no-link):hover .contact-card-icon {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.contact-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  transition: all 0.3s ease;
}

.contact-card-item:not(.no-link):hover .contact-card-icon svg {
  stroke: var(--black) !important;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash) !important;
  margin-bottom: 0.2rem;
}

.contact-card-val {
  font-size: 0.95rem;
  color: var(--cream) !important;
  font-weight: 400;
  transition: color 0.3s ease;
}

.contact-card-item:not(.no-link):hover .contact-card-val {
  color: var(--gold-light) !important;
}

.contact-card-cta .btn-primary {
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.form-wizard-container {
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 178, 111, 0.18);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.form-progress-wrapper {
  margin-bottom: 2.5rem;
}

.form-progress-bar {
  background: rgba(255, 255, 255, 0.05);
  height: 4px;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.progress-fill {
  background: var(--gold);
  height: 100%;
  width: 25%;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-indicator {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.step-indicator span {
  color: var(--cream);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-step {
  display: none;
  opacity: 0;
}

.form-step.active-step {
  display: block;
  opacity: 1;
}

/* Animations for step transitions */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.slide-in-left {
  animation: slideInLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 48px; /* Touch target minimum */
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--mid);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(212, 178, 111, 0.6);
  box-shadow: 0 0 0 2px rgba(212, 178, 111, 0.15);
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error {
  border-color: rgba(235, 87, 87, 0.8);
  box-shadow: 0 0 0 2px rgba(235, 87, 87, 0.15);
}

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

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--deep);
}

.form-nav-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.form-nav-btn {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(212, 178, 111, 0.35);
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.2s;
}

.form-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.form-nav-btn.next-btn {
  background: var(--gold);
  color: var(--black);
  border: none;
}

.form-nav-btn.next-btn:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-1px);
}

.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Thank You Screen Styles */
.thank-you-screen {
  text-align: center;
  padding: 2rem 1rem;
}

.thank-you-header {
  margin-bottom: 2rem;
}

.success-checkmark-wrapper {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(26, 95, 180, 0.1);
  border: 1px solid rgba(26, 95, 180, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark-svg {
  width: 52px;
  height: 52px;
  stroke: var(--blue-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--blue-light);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.thank-you-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.2;
}

.thank-you-body {
  margin-bottom: 2.5rem;
  color: var(--ash);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
  margin-inline: auto;
}

.thank-you-body strong {
  color: var(--cream);
  font-weight: 500;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
}

.btn-home-return {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(212, 178, 111, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-home-return:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 178, 111, 0.35);
}

/* Thank You Screen Testimonials Marquee */
.thank-you-testimonials {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(212, 178, 111, 0.15);
  padding-top: 2rem;
  text-align: left;
}

.testimonials-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 500;
}

.vertical-marquee-container {
  height: 280px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.vertical-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollVertical 45s linear infinite;
}

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

.vertical-marquee-set {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
  background: rgba(212, 178, 111, 0.04);
  border-color: rgba(212, 178, 111, 0.12);
}

.t-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.5rem;
}

.t-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.t-name {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
}

.t-company {
  color: var(--smoke);
  font-size: 0.75rem;
  font-style: italic;
}

.t-text {
  color: var(--ash);
  font-size: 0.85rem;
  line-height: 1.6;
}

@keyframes scrollVertical {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .vertical-marquee-container {
    height: auto;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ── BOOTSTRAP NAVBAR & FOOTER BRIDGES ── */
.custom-navbar {
  background: rgba(11, 11, 11, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 178, 111, 0.12);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.custom-navbar .nav-link {
  font-family: var(--sans);
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash) !important;
  transition: color 0.3s ease;
  font-weight: 400;
  display: inline-block;
  padding: 0.5rem 1rem !important;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--gold) !important;
}

/* Dynamic menu rendering support (for wp_nav_menu outputs) */
.custom-navbar .navbar-nav li {
  list-style: none;
}

.custom-navbar .navbar-nav li a {
  font-family: var(--sans) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ash) !important;
  transition: color 0.3s ease !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem !important;
  display: block !important;
}

.custom-navbar .navbar-nav li a:hover {
  color: var(--gold) !important;
}

.custom-navbar .custom-toggler {
  outline: none;
  box-shadow: none;
}

.custom-navbar .custom-toggler:focus {
  outline: none;
  box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4b26f' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Bootstrap Footer */
.footer-bootstrap {
  background: var(--black) !important;
  border-top: 1px solid rgba(212, 178, 111, 0.15) !important;
}

.footer-bootstrap p,
.footer-bootstrap span,
.footer-bootstrap li,
.footer-bootstrap .text-muted {
  color: var(--ash) !important;
}

.footer-bootstrap strong {
  color: var(--cream) !important;
}

.footer-bootstrap .social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 178, 111, 0.25) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold) !important;
  transition: all 0.3s ease;
}

.footer-bootstrap .social-link:hover {
  background: rgba(212, 178, 111, 0.08) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  color: var(--gold-light) !important;
}

.footer-bootstrap a:not(.btn-primary):not(.social-link) {
  color: var(--ash) !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.footer-bootstrap a:not(.btn-primary):not(.social-link):hover {
  color: var(--gold) !important;
}

.footer-bootstrap-links a,
.footer-bootstrap-links li a {
  display: inline-block;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-bootstrap-links a:hover,
.footer-bootstrap-links li a:hover {
  padding-left: 4px;
}

/* Dynamic menu for footer */
.footer-bootstrap-links li {
  list-style: none;
  margin-bottom: 0.5rem;
}

.footer-bootstrap hr {
  border-color: rgba(212, 178, 111, 0.15) !important;
}

/* ── FAQ Accordion ── */
#faq {
  background: var(--deep);
}

.faq-container {
  max-width: 900px;
  margin-top: 3rem;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-disclosure {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-disclosure[open] {
  border-color: rgba(212, 178, 111, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-weight: 300;
  padding-right: 1.5rem;
}

.faq-icon-indicator {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-icon-indicator::before,
.faq-icon-indicator::after {
  content: '';
  position: absolute;
  background-color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Horizontal line */
.faq-icon-indicator::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-icon-indicator::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

/* Open state: morph vertical line to merge horizontally */
.faq-disclosure[open] .faq-icon-indicator::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-disclosure[open] .faq-icon-indicator::before {
  transform: rotate(180deg);
}

.faq-answer-content {
  padding: 0 2rem 1.8rem;
  font-size: 0.92rem;
  color: var(--ash);
  line-height: 1.8;
  animation: faqFadeIn 0.4s ease forwards;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── FOOTER ── */
footer {
  padding: 3rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--deep);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.footer-logo span {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.73rem;
  color: var(--mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav {
    padding: 1.2rem 1.8rem;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 5rem 1.8rem;
  }

  #hero {
    min-height: auto;
    padding: 8rem 1.8rem 5rem;
  }

  .hero-line {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 6.5vw, 3.2rem);
  }

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

  .about-box {
    aspect-ratio: 3/2;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .form-wizard-container {
    padding: 2rem 1.5rem;
  }

  .form-nav-controls {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 1rem;
  }

  .form-nav-btn, .submit-btn {
    width: 100%;
    text-align: center;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

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

/* ── ENHANCEMENTS ── */

/* ── HERO GLOW EFFECT ── */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 178, 111, 0.08),
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}
#hero:hover::before {
  opacity: 1;
}

/* ── SCROLL REVEALS ── */
.reveal-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-slide-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.45s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.55s; }

.pricing-grid .pricing-card:nth-child(1) { transition-delay: 0.05s; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: 0.15s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 0.25s; }

/* ── SAVINGS CALCULATOR ── */
.savings-calculator-container {
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 178, 111, 0.12);
  padding: 3rem;
  margin-bottom: 5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.calc-header {
  margin-bottom: 2.5rem;
}

.calc-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.calc-title em {
  font-style: italic;
  color: var(--gold);
}

.calc-sub {
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.6;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
  font-weight: 500;
}

.spend-bubble {
  background: rgba(212, 178, 111, 0.12);
  border: 1px solid rgba(212, 178, 111, 0.3);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  transition: background 0.3s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: var(--gold-light);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.25);
  background: var(--gold-light);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--smoke);
  margin-top: -0.5rem;
}

.calc-results-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.result-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.result-label {
  font-size: 0.8rem;
  color: var(--ash);
  letter-spacing: 0.02em;
}

.result-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
}

.result-item.highlight {
  background: rgba(212, 178, 111, 0.03);
  border: 1px solid rgba(212, 178, 111, 0.2);
}

.result-item.highlight .result-value {
  color: var(--gold);
  font-weight: 500;
}

.result-item.savings {
  background: rgba(26, 95, 180, 0.03);
  border: 1px solid rgba(26, 95, 180, 0.2);
}

.result-item.savings .result-value {
  color: var(--blue-light);
  font-weight: 500;
}

.calc-cta-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.calc-cta-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  border: none;
  padding: 1.1rem 2.8rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  max-width: 600px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(212, 178, 111, 0.25);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calc-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 178, 111, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.calc-cta-btn:hover::before {
  left: 100%;
}

.calc-cta-btn:active {
  transform: translateY(0);
}

/* ── INDUSTRY MARQUEE ── */
.industry-marquee-container {
  grid-column: 1 / -1;
  margin-top: 5rem;
  width: 100%;
}

.industry-marquee-title {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  margin-bottom: 2rem;
  font-weight: 500;
}

.industry-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  background: rgba(11, 11, 11, 0.3);
  border-top: 1px solid rgba(212, 178, 111, 0.08);
  border-bottom: 1px solid rgba(212, 178, 111, 0.08);
}

.industry-marquee-wrapper::before,
.industry-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15vw;
  z-index: 2;
  pointer-events: none;
}

.industry-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--deep) 0%, transparent 100%);
}

.industry-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--deep) 0%, transparent 100%);
}

.industry-marquee-track {
  display: flex;
  flex-direction: row !important;
  width: max-content;
  animation: marqueeLoop 30s linear infinite;
  gap: 0;
}

.industry-marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--cream);
  white-space: nowrap;
  font-weight: 300;
  padding: 0 2rem;
  letter-spacing: 0.03em;
}

.industry-marquee-item::after {
  content: '•';
  margin-left: 4rem;
  color: var(--gold);
  opacity: 0.5;
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── CONTAINER QUERIES ── */
.services-grid {
  container-type: inline-size;
  container-name: services-grid;
}

.pricing-grid {
  container-type: inline-size;
  container-name: pricing-grid;
}

.service-card {
  container-type: inline-size;
  container-name: service-card;
}

.pricing-card {
  container-type: inline-size;
  container-name: pricing-card;
}

/* Service Cards Adaptation */
@container service-card (max-width: 320px) {
  .service-card {
    padding: 1.8rem;
  }
  .service-name {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  .service-desc {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 1.2rem;
  }
}

@container service-card (min-width: 450px) {
  .service-card {
    padding: 3rem;
  }
  .service-name {
    font-size: 1.6rem;
  }
}

/* Pricing Cards Adaptation */
@container pricing-card (max-width: 320px) {
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .pricing-price {
    font-size: 2.6rem;
  }
  .pricing-features li {
    font-size: 0.8rem;
    padding: 0.45rem 0;
  }
}

@container pricing-card (min-width: 400px) {
  .pricing-card {
    padding: 3.2rem;
  }
  .pricing-price {
    font-size: 3.4rem;
  }
}

/* ── INLINE VALIDATION WARNINGS ── */
.inline-error-message {
  display: block;
  color: #eb5757;
  font-size: 0.72rem;
  margin-top: 0.45rem;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 400;
  animation: fadeInError 0.25s ease-out forwards;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for calculator */
@media (max-width: 1024px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .savings-calculator-container {
    padding: 2rem 1.5rem;
    margin-bottom: 3.5rem;
  }
  .calc-title {
    font-size: 1.5rem;
  }
}

/* ── ERROR & SUCCESS PAGE SYSTEMS ── */
.error-page-wrapper,
.success-page-wrapper {
  min-height: calc(100vh - 80px - 150px); /* header + footer offset */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at center, var(--charcoal) 0%, var(--black) 100%);
  position: relative;
}

.error-page-wrapper::before,
.success-page-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(212, 178, 111, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.error-page-container,
.success-page-container {
  max-width: 680px;
  width: 100%;
  background: var(--deep);
  border: 1px solid rgba(212, 178, 111, 0.15);
  border-radius: 8px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Animation */
.animate-fade-in {
  animation: mmPageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Badge Styles */
.error-badge {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(212, 178, 111, 0.2);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.error-badge.security-badge {
  color: #eb5757;
  text-shadow: 0 0 30px rgba(235, 87, 87, 0.2);
}

.error-badge.fatal-badge {
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(226, 201, 138, 0.25);
}

/* Title & Descriptions */
.error-title,
.success-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.error-title em,
.success-title em {
  font-style: italic;
  color: var(--gold);
}

.error-description,
.success-message {
  font-size: 1rem;
  color: var(--mist);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.error-security-notice {
  font-size: 0.8rem;
  color: var(--ash);
  background: rgba(0, 0, 0, 0.2);
  border-left: 2px solid #eb5757;
  padding: 0.8rem 1.2rem;
  border-radius: 0 4px 4px 0;
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Search Box customization on 404 */
.error-search-box {
  margin: 2rem 0;
  background: var(--charcoal);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-form-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-align: left;
}

.error-search-box form {
  display: flex;
  gap: 0.5rem;
}

.error-search-box input[type="search"] {
  flex: 1;
  background: var(--black);
  border: 1px solid var(--mid);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.error-search-box input[type="search"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 178, 111, 0.15);
}

.error-search-box input[type="submit"] {
  background: var(--gold);
  border: none;
  color: var(--black);
  padding: 0 1.5rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.error-search-box input[type="submit"]:hover {
  background: var(--gold-light);
}

/* Actions Button */
.btn-error-action,
.btn-success-action {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-error-action:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(212, 178, 111, 0.2);
  transform: translateY(-2px);
}

.btn-success-action {
  background: var(--gold);
  color: var(--black);
}

.btn-success-action:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 24px rgba(212, 178, 111, 0.2);
  transform: translateY(-2px);
}

/* Admin diagnostics */
.admin-diagnostic-box {
  background: #000;
  border: 1px solid rgba(226, 201, 138, 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.admin-diagnostic-box h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.admin-diagnostic-box p {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 0.5rem;
  font-family: var(--sans);
}

.admin-diagnostic-box pre.diagnostic-pre {
  background: #0d0d0d;
  color: #a8a8a8;
  padding: 1rem;
  font-family: monospace, Courier, serif;
  font-size: 0.75rem;
  overflow-x: auto;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

/* Success specific styling */
.success-icon-badge {
  width: 72px;
  height: 72px;
  background: rgba(26, 95, 180, 0.1);
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--blue-light);
  box-shadow: 0 0 20px rgba(26, 95, 180, 0.2);
}

.success-icon-badge svg {
  width: 32px;
  height: 32px;
}

.success-details-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.success-details-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.success-steps {
  list-style: none;
  counter-reset: success-counter;
}

.success-steps li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.5;
}

.success-steps li:last-child {
  margin-bottom: 0;
}

.success-steps li::before {
  counter-increment: success-counter;
  content: counter(success-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--deep);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-family: var(--sans);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-steps li strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.success-steps li span {
  color: var(--ash);
}

@media (max-width: 768px) {
  .error-page-container,
  .success-page-container {
    padding: 2.5rem 1.5rem;
  }
  .error-title,
  .success-title {
    font-size: 1.8rem;
  }
  .error-badge {
    font-size: 4rem;
  }
  .success-details-card {
    padding: 1.5rem;
  }
}

/* ── COMPARISON SECTION STYLES ── */
#comparison {
  background: var(--black);
}

.comparison-container {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Scrollable Wrapper for Mobile */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  min-width: 750px; /* Ensures readable columns on scrollable screen widths */
}

.comparison-table th, 
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.comparison-table th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  background: var(--deep);
}

/* Table Highlighting */
.comparison-table th.highlight {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.comparison-table td.highlight {
  background: rgba(212, 178, 111, 0.03);
  font-weight: 500;
}

.comparison-table td.mm-val {
  color: var(--gold-light);
}

.comparison-table td.agency-val {
  color: var(--ash);
}

.comparison-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover td.highlight {
  background-color: rgba(212, 178, 111, 0.06);
}

.feature-name {
  color: var(--cream);
  font-weight: 400;
}

/* Comparison Cards */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.comparison-card {
  padding: 2.5rem;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.comparison-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--cream);
}

.comparison-card p {
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
}

/* Highlights for Lean Model Card */
.comparison-card.mm-card {
  border-color: rgba(212, 178, 111, 0.2);
  background: linear-gradient(135deg, rgba(26, 95, 180, 0.06), rgba(212, 178, 111, 0.04));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-card.mm-card h3 {
  color: var(--gold);
}

.comparison-card.mm-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.comparison-card.agency-card {
  opacity: 0.85;
}

.comparison-card.agency-card:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* ── FAQ Centering ── */
.faq-container {
  margin: 3rem auto 0 !important;
}

/* ── Additional Hover & Staggered Reveals ── */
.comparison-cards .comparison-card:nth-child(1) { transition-delay: 0.05s; }
.comparison-cards .comparison-card:nth-child(2) { transition-delay: 0.15s; }

.faq-accordion-group .faq-disclosure:nth-child(1) { transition-delay: 0.05s; }
.faq-accordion-group .faq-disclosure:nth-child(2) { transition-delay: 0.15s; }
.faq-accordion-group .faq-disclosure:nth-child(3) { transition-delay: 0.25s; }
.faq-accordion-group .faq-disclosure:nth-child(4) { transition-delay: 0.35s; }
.faq-accordion-group .faq-disclosure:nth-child(5) { transition-delay: 0.45s; }

/* ── Responsive Overrides ── */
@media (max-width: 1024px) {
  .comparison-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .comparison-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 1.2rem !important;
  }
  #comparison {
    padding: 4rem 1.2rem !important;
  }
}