/* ============================================================
   C4 FIRE & SECURITY  - CUSTOM STYLES
   Bold. Dark. Industrial. Trusted.
   ============================================================ */

/* ===== SMOKE ATMOSPHERE — SCREEN BLEND ===== */
#c4SmokeCanvas {
  mix-blend-mode: screen;
}

/* ===== INTRO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--surface, #111113);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-overlay canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-overlay__logo {
  position: relative;
  z-index: 2;
  visibility: hidden;
}

.intro-overlay__logo img {
  width: 280px;
  height: auto;
  display: block;
}

/* Hide page during intro — JS handles the reveal */
body.intro-active .site-header,
body.intro-active .site-footer {
  opacity: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(1, 1, 1, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.site-header--scrolled {
  background: rgba(1, 1, 1, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--space-md);
  max-width: var(--container-wide);
  margin-inline: auto;
}

.site-header__logo img,
.site-header__logo .custom-logo {
  height: 45px;
  width: auto;
}

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

.site-header__phone {
  white-space: nowrap;
}

/* Desktop Nav */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-nav__list li a {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c4-white);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--duration-fast);
}

.site-nav__list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c4-red);
  transition: width var(--duration-normal) var(--ease-out);
}

.site-nav__list li a:hover,
.site-nav__list li.current-menu-item a {
  color: var(--c4-red);
}

.site-nav__list li a:hover::after,
.site-nav__list li.current-menu-item a::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c4-white);
  transition: color var(--duration-fast);
}

.site-header__phone:hover {
  color: var(--c4-red);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c4-white);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.mobile-toggle--active .mobile-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle--active .mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle--active .mobile-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #010101;
  z-index: 999;
  padding: var(--space-xl) var(--space-md);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility 0s linear var(--duration-normal);
  overflow-y: auto;
}

.mobile-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility 0s linear 0s;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-menu__list li a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast);
}

.mobile-menu__list li a:hover {
  color: var(--c4-red);
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--surface);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero__smoke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-3xl);
}

.hero__text {
  max-width: 740px;
}

.hero__text .label {
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero__text .h1 {
  margin-bottom: var(--space-md);
}

.hero__rotate-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}

.hero__rotate-text {
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Trust badges */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__trust-badge {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--c4-red);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--c4-red);
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
}


/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

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

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

/* ===== PAGE HEROES ===== */
.page-hero {
  position: relative;
  z-index: 20;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  min-height: 28vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--surface) center/cover no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,1,1,0.7) 0%, rgba(1,1,1,0.9) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: var(--space-sm);
}

.page-hero--about .h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.page-hero--about .page-hero__subtitle {
  font-size: 1rem;
}

.page-hero--about {
  min-height: auto;
  padding-bottom: var(--space-md);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c4-red);
}

.service-card--highlight {
  border-color: var(--c4-yellow);
  position: relative;
}

.service-card__image {
  height: 200px;
  overflow: hidden;
}

.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c4-black);
  background: var(--c4-yellow);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
  width: fit-content;
}

.service-card__body .h4 {
  margin-bottom: 0.5rem;
}

.service-card__body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c4-red);
  margin-top: var(--space-sm);
  transition: gap var(--duration-fast);
}

.service-card:hover .service-card__link {
  gap: 0.75rem;
}

.services-preview__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-preview__img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-preview__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
}

.about-preview__img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview__badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: var(--c4-red);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.about-preview__badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-preview__badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-preview__content .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.about-preview__content .h2 {
  margin-bottom: var(--space-md);
}

.about-preview__content > p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.about-preview__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about-preview__highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

/* ===== PROJECTS CAROUSEL ===== */
.projects-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-lg);
}

.projects-carousel__track {
  display: flex;
  gap: var(--space-md);
  padding-inline: calc((100vw - var(--container-max)) / 2 + var(--space-md));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.projects-carousel__track::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal),
              opacity var(--duration-normal);
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--c4-red);
}

.project-card__image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1,1,1,0.6) 0%, transparent 60%);
}

.project-card__content {
  padding: var(--space-md);
}

.project-card__category {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c4-red);
}

.project-card__content .h4 {
  margin: 0.5rem 0;
}

.project-card__content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.project-card__location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Carousel Controls */
.projects-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.projects-carousel__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--c4-white);
  transition: all var(--duration-fast);
}

.projects-carousel__btn:hover {
  border-color: var(--c4-red);
  color: var(--c4-red);
  background: var(--c4-red-glow);
}

.projects-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.projects-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.projects-carousel__dot--active {
  background: var(--c4-red);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative;
  padding-block: var(--space-xl);
  overflow: hidden;
}

/* Layered 3D background */
.stats-bar__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(255,194,0,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% -20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #C41E22 0%, var(--c4-red) 30%, var(--c4-red-dark) 70%, #7A1215 100%);
}

/* Subtle noise texture overlay */
.stats-bar__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    );
}

/* Animated light sweep */
.stats-bar__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.06) 45%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 55%,
    transparent 60%,
    transparent 100%
  );
  animation: statsLightSweep 6s ease-in-out infinite;
}

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

/* Top edge glow line */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,194,0,0.6) 30%, rgba(255,255,255,0.8) 50%, rgba(255,194,0,0.6) 70%, transparent);
  z-index: 2;
}

/* Bottom edge glow line */
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,29,33,0.4) 30%, rgba(255,194,0,0.3) 50%, rgba(184,29,33,0.4) 70%, transparent);
  z-index: 2;
}

.stats-bar__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,194,0,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(255,194,0,0.1);
}

/* Subtle top-light on each card for 3D depth */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  border-radius: 12px 12px 0 0;
}

.stat-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--c4-yellow);
  text-shadow: 0 0 30px rgba(255,194,0,0.3), 0 2px 4px rgba(0,0,0,0.3);
}

.stat-item__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ===== CERTIFICATIONS PREVIEW ===== */
.certs-preview__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.certs-preview__text .label {
  display: block;
  margin-bottom: var(--space-sm);
}

.certs-preview__text .h2 {
  margin-bottom: var(--space-md);
}

.certs-preview__text p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.certs-preview__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}

.cert-logo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-xs);
  text-align: center;
  transition: border-color var(--duration-normal), transform var(--duration-normal), box-shadow var(--duration-normal);
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 80px;
}

.cert-logo-card:hover {
  border-color: var(--c4-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 36, 41, 0.15);
}

.cert-logo-card__abbr {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--c4-red);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* Hover tooltip */
.cert-logo-card__tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 10;
}

.cert-logo-card__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border);
}

.cert-logo-card:hover .cert-logo-card__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hide old h4/p if any remain */
.cert-logo-card h4,
.cert-logo-card p:not(.cert-logo-card__tooltip) {
  display: none;
}

.cert-logo-card__icon {
  margin-bottom: 0;
}

/* ===== CONTACT PREVIEW ===== */
.contact-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-preview__info .label {
  display: block;
  margin-bottom: var(--space-sm);
}

.contact-preview__info .h2 {
  margin-bottom: var(--space-md);
}

.contact-preview__info > p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.contact-preview__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-detail a {
  display: block;
  transition: color var(--duration-fast);
}

.contact-detail a:hover {
  color: var(--c4-red);
}

/* ===== FORMS ===== */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-form--page {
  background: transparent;
  border: none;
  padding: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--c4-white);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--c4-white);
  font-size: 0.9375rem;
  transition: border-color var(--duration-fast);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--c4-red);
  box-shadow: 0 0 0 3px var(--c4-red-glow);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-submit__loading {
  display: none;
}

.form-submit--loading .form-submit__text {
  display: none;
}

.form-submit--loading .form-submit__loading {
  display: inline;
}

.form-feedback {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-feedback--success {
  color: #22c55e;
}

.form-feedback--error {
  color: var(--c4-red);
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-grid--page {
  margin-bottom: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--c4-red);
}

.blog-card__image {
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
}

.blog-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card__cat {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--c4-red);
}

.blog-card__body .h4 {
  margin-bottom: 0.5rem;
}

.blog-card__body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.blog-card__author {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c4-red);
  transition: gap var(--duration-fast);
}

.blog-card:hover .blog-card__read {
  gap: 0.625rem;
}

.blog-preview__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Blog Filters */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.blog-filter:hover {
  border-color: var(--c4-red);
  color: var(--c4-white);
}

.blog-filter--active {
  background: var(--c4-red);
  border-color: var(--c4-red);
  color: var(--c4-white);
}

.blog-filter__count {
  font-size: 0.6875rem;
  opacity: 0.6;
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--c4-red);
  border-color: var(--c4-red);
  color: var(--c4-white);
}

.blog-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
}

/* ===== SERVICES PAGE ===== */
.services-full {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-block__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hologram-canvas {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  background: transparent;
}
@media (max-width: 767px) {
  .hologram-canvas { display: none; }
}

.service-block__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
}

.service-block__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.3;
  line-height: 1;
}

.service-block__content .h3 {
  margin: 0.5rem 0 var(--space-sm);
}

.service-block__content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-block__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.service-block__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-block__features li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Exclusive Deal */
.exclusive-deal {
  position: relative;
  overflow: hidden;
}

.exclusive-deal::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 36, 41, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.deal-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.deal-subtitle {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.deal-content > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.deal-pricing {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.deal-price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  min-width: 160px;
}

.deal-price--highlight {
  border-color: var(--c4-yellow);
  background: rgba(255, 194, 0, 0.05);
}

.deal-price__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.deal-price__amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--c4-yellow);
}

.deal-price__period {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.deal-features {
  margin-bottom: var(--space-md);
}

.deal-features h4 {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.deal-features__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deal-feature-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}

a.deal-feature-tag:hover {
  border-color: var(--c4-red);
  color: var(--c4-white);
  background: rgba(232, 36, 41, 0.12);
}

.deal-compliance {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.deal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.deal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-visual__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.deal-visual__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, rgba(255, 194, 0, 0.05) 100%);
}

/* ===== PROJECTS PAGE ===== */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.project-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-md);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.project-block__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.project-block__image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
}

.project-block__category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-block__content .h3 {
  margin: 0.5rem 0 var(--space-sm);
}

.project-block__content p {
  color: var(--text-muted);
  line-height: 1.7;
}

.project-block__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Project hover-focus effect */
.projects-stack--hovering .project-block {
  opacity: 0.3;
  filter: grayscale(0.8) blur(1px);
  transform: scale(0.98);
}

.projects-stack--hovering .project-block:hover {
  opacity: 1;
  filter: none;
  transform: scale(1);
  border-color: var(--c4-red);
  box-shadow: 0 8px 40px rgba(232, 36, 41, 0.15);
}

.projects-stack--hovering .project-block--upcoming:hover {
  border-color: var(--c4-yellow);
  box-shadow: 0 8px 40px rgba(255, 194, 0, 0.1);
}

/* ===== ABOUT PAGE SPECIFICS ===== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.vm-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-80px);
  transition: none;
}

.vm-card--mission {
  transform: translateX(80px);
}

.vm-card--visible {
  opacity: 1;
  transform: translateX(0);
}

.vm-card__fire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-lg);
}

.vm-card__content {
  position: relative;
  z-index: 2;
}

.vm-card__icon {
  margin-bottom: var(--space-md);
}

.vm-card .h3 {
  margin-bottom: var(--space-sm);
}

.vm-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.diff-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.5;
}

.diff-card .h4 {
  margin: 0.5rem 0;
}

.diff-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Team Accordion */
/* ===== TEAM SHOWCASE — Master-Detail ===== */
.team-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-lg);
  min-height: 420px;
}

.team-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-showcase__card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  color: var(--c4-white);
  transition: border-color 0.3s, background 0.3s;
}

.team-showcase__card:hover {
  background: var(--surface-elevated);
  border-color: var(--text-muted);
}

.team-showcase__card.is-active {
  border-color: var(--c4-red);
  background: var(--surface-elevated);
}

.team-showcase__card-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.team-showcase__card-title {
  font-size: 0.8125rem;
  color: var(--c4-red);
  font-weight: 600;
  margin-left: auto;
}

.team-showcase__card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}

.team-showcase__card.is-active .team-showcase__card-arrow {
  color: var(--c4-red);
  transform: translateX(4px);
}

/* Detail panel */
.team-showcase__detail {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-showcase__panel {
  display: none;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  height: 100%;
  animation: teamFadeIn 0.35s ease;
}

.team-showcase__panel.is-active {
  display: grid;
}

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

.team-showcase__panel-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-elevated);
}

.team-showcase__panel-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.team-showcase__photo-placeholder {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
  color: var(--text-muted);
}

.team-showcase__panel-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-showcase__panel-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c4-white);
  margin-bottom: 0.25rem;
}

.team-showcase__panel-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c4-red);
  margin-bottom: var(--space-md);
}

.team-showcase__panel-bio {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.team-showcase__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c4-red);
  border: 1px solid var(--c4-red);
  border-radius: var(--radius-sm);
}

/* Tablet */
@media (max-width: 900px) {
  .team-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .team-showcase__list {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .team-showcase__card {
    flex-shrink: 0;
    min-width: 200px;
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .team-showcase__card-title {
    margin-left: 0;
  }
  .team-showcase__card-arrow {
    display: none;
  }
  .team-showcase__panel {
    grid-template-columns: 1fr;
  }
  .team-showcase__panel-photo img {
    min-height: 220px;
    max-height: 300px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .team-showcase__card {
    min-width: 160px;
    padding: var(--space-sm);
  }
  .team-showcase__panel {
    padding: var(--space-md);
  }
  .team-showcase__panel-name {
    font-size: 1.375rem;
  }
}

/* Team Initials (replacing photos) */
.team-showcase__panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-showcase__initials {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c4-red) 0%, var(--c4-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--c4-white);
  letter-spacing: 0.02em;
  box-shadow: 0 8px 32px rgba(232, 36, 41, 0.25);
  flex-shrink: 0;
}

/* Coming Soon State (basic) */
.coming-soon-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.coming-soon-state h2,
.coming-soon-state h3 {
  margin-bottom: var(--space-sm);
}

.coming-soon-state p {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Coming Soon Visual (homepage projects — animated blueprint) */
.coming-soon-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
}

.coming-soon-visual__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.8;
  max-width: 420px;
  margin: 0 auto;
}

.coming-soon-visual__content {
  text-align: left;
}

.coming-soon-visual__content .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.coming-soon-visual__content .h3 {
  margin-bottom: var(--space-md);
}

.coming-soon-visual__content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 460px;
}

/* Blueprint Grid */
.blueprint-grid {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(232, 36, 41, 0.15);
  border-radius: var(--radius-md);
}

.blueprint-grid__line {
  position: absolute;
  background: rgba(232, 36, 41, 0.08);
}

.blueprint-grid__line--h1,
.blueprint-grid__line--h2,
.blueprint-grid__line--h3 {
  height: 1px;
  left: 0;
  right: 0;
}

.blueprint-grid__line--h1 { top: 25%; }
.blueprint-grid__line--h2 { top: 50%; }
.blueprint-grid__line--h3 { top: 75%; }

.blueprint-grid__line--v1,
.blueprint-grid__line--v2,
.blueprint-grid__line--v3 {
  width: 1px;
  top: 0;
  bottom: 0;
}

.blueprint-grid__line--v1 { left: 25%; }
.blueprint-grid__line--v2 { left: 50%; }
.blueprint-grid__line--v3 { left: 75%; }

/* Corner markers */
.blueprint-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--c4-red);
  border-style: solid;
  border-width: 0;
  animation: markerPulse 3s ease-in-out infinite;
}

.blueprint-marker--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-radius: 2px 0 0 0; }
.blueprint-marker--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 2px 0 0; animation-delay: 0.75s; }
.blueprint-marker--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 2px; animation-delay: 1.5s; }
.blueprint-marker--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 2px 0; animation-delay: 2.25s; }

@keyframes markerPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Center pulse */
.blueprint-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--c4-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: blueprintPulse 2.5s ease-out infinite;
}

.blueprint-pulse::before,
.blueprint-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--c4-red);
  transform: translate(-50%, -50%);
  animation: blueprintRing 2.5s ease-out infinite;
}

.blueprint-pulse::after {
  animation-delay: 0.4s;
}

@keyframes blueprintPulse {
  0% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes blueprintRing {
  0% { width: 8px; height: 8px; opacity: 0.8; }
  100% { width: 80px; height: 80px; opacity: 0; }
}

/* Floating service icons */
.blueprint-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  animation: iconFloat 4s ease-in-out infinite;
}

.blueprint-icon--1 {
  top: 8%;
  left: 15%;
  animation-delay: 0s;
}

.blueprint-icon--2 {
  top: 20%;
  right: 5%;
  animation-delay: 1.3s;
}

.blueprint-icon--3 {
  bottom: 12%;
  left: 5%;
  animation-delay: 2.6s;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* Responsive — Coming Soon Visual */
@media (max-width: 768px) {
  .coming-soon-visual {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .coming-soon-visual__canvas {
    max-width: 280px;
    order: -1;
  }
  .coming-soon-visual__content {
    text-align: center;
  }
  .coming-soon-visual__content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* SANS Standards Showcase (Master-Detail) */
.sans-showcase {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-lg);
  min-height: 380px;
}

.sans-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sans-showcase__card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  color: var(--c4-white);
  transition: border-color 0.3s, background 0.3s;
}

.sans-showcase__card:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

.sans-showcase__card.is-active {
  border-color: var(--c4-red);
  background: var(--surface);
}

.sans-showcase__card-code {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c4-red);
  flex-shrink: 0;
  min-width: 100px;
}

.sans-showcase__card-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sans-showcase__card-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}

.sans-showcase__card.is-active .sans-showcase__card-arrow {
  color: var(--c4-red);
  transform: translateX(4px);
}

.sans-showcase__detail {
  position: relative;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sans-showcase__panel {
  display: none;
  padding: var(--space-xl);
  animation: teamFadeIn 0.35s ease;
}

.sans-showcase__panel.is-active {
  display: block;
}

.sans-showcase__panel-code {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--space-xs);
}

.sans-showcase__panel .h3 {
  margin-bottom: var(--space-md);
}

.sans-showcase__panel-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.sans-showcase__applies {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.sans-showcase__applies strong {
  color: var(--c4-white);
}

/* SANS Showcase — Tablet */
@media (max-width: 900px) {
  .sans-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .sans-showcase__list {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .sans-showcase__card {
    flex-shrink: 0;
    min-width: 160px;
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .sans-showcase__card-arrow {
    display: none;
  }
}

/* SANS Showcase — Mobile */
@media (max-width: 480px) {
  .sans-showcase__card {
    min-width: 130px;
    padding: var(--space-sm);
  }
  .sans-showcase__panel {
    padding: var(--space-md);
  }
}

/* Team — More Coming Soon */
.team-coming-soon {
  margin-top: var(--space-lg);
}

.team-coming-soon__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--c4-yellow);
}

.team-coming-soon__pulse {
  width: 12px;
  height: 12px;
  background: var(--c4-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  animation: teamPulseGlow 2s ease-in-out infinite;
}

@keyframes teamPulseGlow {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 0 0 rgba(255, 194, 0, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 12px 4px rgba(255, 194, 0, 0.2); }
}

.team-coming-soon__content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.team-coming-soon__content .label {
  margin: 0;
  flex-shrink: 0;
}

.team-coming-soon__content p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Coming Soon Visual — Page variant (larger) */
.coming-soon-visual--page {
  padding: var(--space-2xl) 0;
}

.coming-soon-visual--page .coming-soon-visual__canvas {
  max-width: 480px;
}

.coming-soon-visual__stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.coming-soon-stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.coming-soon-stat__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.coming-soon-stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Blueprint extra icon position */
.blueprint-icon--4 {
  bottom: 8%;
  right: 10%;
  animation-delay: 1s;
}

@media (max-width: 768px) {
  .team-coming-soon__inner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
    border-left: none;
    border-top: 3px solid var(--c4-yellow);
  }
  .team-coming-soon__content {
    flex-direction: column;
  }
  .coming-soon-visual__stats {
    justify-content: center;
  }
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

a.partner-logo,
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color var(--duration-fast);
  text-decoration: none;
}

a.partner-logo:hover,
.partner-logo:hover {
  border-color: var(--c4-red);
}

.partner-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Get a Quote arrow animation */
.btn--ghost svg,
.btn--primary svg,
.btn--secondary svg {
  transition: transform 0.35s var(--ease-out);
}

.btn--ghost:hover svg,
.btn--primary:hover svg {
  transform: translateX(5px) scale(1.25);
}

.btn--ghost:active svg,
.btn--primary:active svg {
  transform: translateX(30px) scale(1.5);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.partners-hint {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  opacity: 0.7;
  font-style: italic;
}

/* Gallery */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--c4-red-glow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox--open {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  color: var(--c4-white);
  z-index: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c4-white);
  padding: var(--space-sm);
  z-index: 1;
}

.lightbox__prev { left: var(--space-md); }
.lightbox__next { right: var(--space-md); }

.lightbox__content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* ===== CERTIFICATIONS PAGE ===== */
.certs-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cert-card--large {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
}

.cert-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  padding: var(--space-lg);
}

.cert-card__logo-placeholder {
  text-align: center;
}

.cert-card__abbr {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--c4-red);
  letter-spacing: 0.04em;
}

.cert-card__body {
  padding: var(--space-lg);
}

.cert-card__body .h3 {
  margin-bottom: var(--space-sm);
}

.cert-card__body > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.cert-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cert-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cert-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c4-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* SANS Standards */
.sans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.sans-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.sans-card__code {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.sans-card .h4 {
  margin-bottom: 0.5rem;
}

.sans-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-page__form .h3 {
  margin-bottom: 0.5rem;
}

.contact-page__form > .text-muted {
  margin-bottom: var(--space-lg);
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.contact-info-card .h4 {
  margin-bottom: var(--space-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.contact-info-list li div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-info-list li strong {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-list li a,
.contact-info-list li span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.contact-info-list li a:hover {
  color: var(--c4-red);
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: var(--c4-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: background var(--duration-fast);
}

.whatsapp-cta:hover {
  background: #1da851;
}

.whatsapp-cta strong {
  display: block;
  font-weight: 700;
}

.whatsapp-cta span {
  font-size: 0.8125rem;
  opacity: 0.9;
}

.footer-hours {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
}

.footer-hours p {
  margin-bottom: 0.25rem;
}

/* ===== SINGLE POST ===== */
.post-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
}

.post-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1,1,1,0.95) 0%, rgba(1,1,1,0.3) 100%);
}

.post-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.post-hero__cat {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c4-red);
  background: var(--c4-red-glow);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.post-hero__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: var(--space-sm);
}

/* Post content */
.post-content__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.post-content__body {
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.post-content__body h2 {
  font-size: 1.75rem;
  margin: var(--space-xl) 0 var(--space-md);
}

.post-content__body h3 {
  font-size: 1.375rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.post-content__body p {
  margin-bottom: var(--space-md);
}

.post-content__body ul,
.post-content__body ol {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
}

.post-content__body li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.post-content__body ol li {
  list-style-type: decimal;
}

.post-content__body img {
  border-radius: var(--radius-md);
  margin-block: var(--space-md);
}

.post-content__body a {
  color: var(--c4-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content__body a:hover {
  color: var(--c4-yellow);
}

.post-content__body blockquote {
  border-left: 3px solid var(--c4-red);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Blog Post Tables */
.post-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
  border: 1px solid rgba(232, 36, 41, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
}

.post-content__body thead {
  background: rgba(232, 36, 41, 0.1);
}

.post-content__body th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--c4-white, #fff);
  border-bottom: 2px solid rgba(232, 36, 41, 0.3);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-content__body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.post-content__body tbody tr:nth-child(even) {
  background: rgba(232, 36, 41, 0.04);
}

.post-content__body tbody tr:hover {
  background: rgba(232, 36, 41, 0.08);
}

@media (max-width: 640px) {
  .post-content__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .post-content__body th,
  .post-content__body td {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sidebar-cta,
.sidebar-deal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.sidebar-cta h3,
.sidebar-deal h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sidebar-cta p,
.sidebar-deal p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.sidebar-deal {
  border-color: var(--c4-yellow);
  background: rgba(255, 194, 0, 0.03);
}

.sidebar-deal .label {
  margin-bottom: 0.5rem;
  display: block;
}

.sidebar-related {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.sidebar-related h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.sidebar-related__item {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-related__item:last-child {
  border-bottom: none;
}

.sidebar-related__item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color var(--duration-fast);
}

.sidebar-related__item:hover h4 {
  color: var(--c4-red);
}

.sidebar-related__item time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Post Navigation */
.post-nav {
  padding: var(--space-lg) 0;
}

.post-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.post-nav__link {
  display: block;
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast);
}

.post-nav__link:hover {
  border-color: var(--c4-red);
}

.post-nav__link--next {
  text-align: right;
}

.post-nav__label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c4-red);
  margin-bottom: 0.5rem;
}

.post-nav__link--next .post-nav__label {
  justify-content: flex-end;
}

.post-nav__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* ===== GENERIC / LANDING PAGE ===== */
.generic-page__content {
  max-width: 800px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.generic-page__content h2 { font-size: 1.75rem; margin: var(--space-xl) 0 var(--space-md); }
.generic-page__content h3 { font-size: 1.375rem; margin: var(--space-lg) 0 var(--space-sm); }
.generic-page__content p { margin-bottom: var(--space-md); }
.generic-page__content ul, .generic-page__content ol { margin-bottom: var(--space-md); padding-left: 1.5rem; }
.generic-page__content li { margin-bottom: 0.5rem; list-style-type: disc; }
.generic-page__content ol li { list-style-type: decimal; }
.generic-page__content img { border-radius: var(--radius-md); margin-block: var(--space-md); max-width: 100%; }
.generic-page__content a { color: var(--c4-red); text-decoration: underline; }

.landing-page__cta {
  margin-top: var(--space-xl);
}

.landing-page__cta-card {
  background: var(--surface);
  border: 1px solid var(--c4-red);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.landing-page__cta-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.landing-page__cta-card p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.landing-page__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ===== PAGE CTA ===== */
.page-cta {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.page-cta .h2 {
  margin-bottom: 0.5rem;
}

.page-cta p {
  color: var(--text-muted);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.page-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

/* ===== 404 ===== */
.error-page__content {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.3;
}

.error-page__content .h2 {
  margin-bottom: 0.5rem;
}

.error-page__content p {
  margin-bottom: var(--space-lg);
}

.error-page__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

/* ===== FLOATING EMERGENCY BUTTON ===== */
.emergency-float {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 9999;
}

.emergency-float__trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c4-red);
  color: var(--c4-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 36, 41, 0.4);
  animation: emergencyPulse 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.emergency-float__trigger:hover {
  animation: none;
  transform: scale(1.05);
}

.emergency-float__icon--close {
  display: none;
}

.emergency-float--open .emergency-float__icon:not(.emergency-float__icon--close) {
  display: none;
}

.emergency-float--open .emergency-float__icon--close {
  display: block;
}

.emergency-float--open .emergency-float__trigger {
  animation: none;
}

@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(232, 36, 41, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(232, 36, 41, 0.6), 0 0 0 8px rgba(232, 36, 41, 0.1); }
}

.emergency-float__panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--c4-red);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.emergency-float--open .emergency-float__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.emergency-float__label {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c4-red);
  margin-bottom: 0.5rem;
}

.emergency-float__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c4-white);
  margin-bottom: 0.75rem;
  transition: color var(--duration-fast);
}

.emergency-float__number:hover {
  color: var(--c4-red);
}

.emergency-float__wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #25D366;
  transition: opacity var(--duration-fast);
}

.emergency-float__wa:hover {
  opacity: 0.8;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--surface-elevated);
  border-top: 1px solid var(--border);
}

.site-footer__top {
  padding-block: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer-logo img {
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  border-color: var(--c4-red);
  color: var(--c4-red);
  background: var(--c4-red-glow);
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-contact a:hover {
  color: var(--c4-red);
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--space-md);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--c4-red);
  transition: color var(--duration-fast);
}

.footer-credit a:hover {
  color: var(--c4-yellow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview__grid,
  .contact-preview__grid,
  .contact-page-grid,
  .deal-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .certs-preview__logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-logo-card__abbr {
    font-size: 1.4rem;
  }

  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .post-content__layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .project-block {
    grid-template-columns: 1fr;
  }

  .cert-card--large {
    grid-template-columns: 1fr;
  }

  .cert-card__header {
    padding: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  /* Mobile nav */
  .site-nav,
  .site-header__actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__trust {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .project-card {
    flex: 0 0 300px;
  }

  .projects-carousel__track {
    padding-inline: var(--space-md);
  }

  .vision-mission-grid,
  .differentiators-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .deal-pricing {
    flex-direction: column;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .post-nav__inner {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

  .certs-preview__logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-logo-card__abbr {
    font-size: 1.2rem;
  }

  .cert-logo-card__tooltip {
    white-space: normal;
    min-width: 180px;
  }

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

  .page-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .landing-page__cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    min-height: 35vh;
  }

  .blog-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-xs);
    scrollbar-width: none;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-filter {
    flex-shrink: 0;
  }
}

/* ===== CLICKABLE CERT CARDS ===== */
a.cert-card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

a.cert-card--link:hover {
  border-color: var(--c4-red);
  box-shadow: 0 0 0 1px var(--c4-red);
}

/* ===== B-BBEE CERTIFICATION CARD ===== */
.cert-card__level {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c4-yellow);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.cert-card__level + .cert-card__abbr {
  white-space: nowrap;
}

.cert-logo-card--bbbee .cert-logo-card__abbr--sm {
  font-size: 0.875rem;
}

.cert-logo-card .cert-logo-card__level {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--c4-yellow);
  letter-spacing: 0.04em;
  margin-bottom: 0.125rem;
}

/* ===== CHATBOT ===== */
.c4-chatbot {
  position: fixed;
  bottom: calc(var(--space-md) + 68px);
  right: var(--space-md);
  z-index: 9998;
}

.c4-chatbot__trigger {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--c4-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.c4-chatbot__trigger:hover {
  background: var(--c4-red);
  border-color: var(--c4-red);
  transform: scale(1.05);
  box-shadow: 0 4px 30px rgba(232, 36, 41, 0.4);
}

.c4-chatbot__icon--close {
  display: none;
}

.c4-chatbot--open .c4-chatbot__icon--chat {
  display: none;
}

.c4-chatbot--open .c4-chatbot__icon--close {
  display: block;
}

.c4-chatbot--open .c4-chatbot__trigger {
  background: var(--c4-red);
  border-color: var(--c4-red);
}

/* Badge */
.c4-chatbot__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c4-red);
  color: var(--c4-white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--duration-normal) var(--ease-out);
}

.c4-chatbot__badge--show {
  opacity: 1;
  transform: scale(1);
}

.c4-chatbot--open .c4-chatbot__badge {
  opacity: 0;
  transform: scale(0);
}

/* Chat Window */
.c4-chatbot__window {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 370px;
  max-height: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.c4-chatbot--open .c4-chatbot__window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.c4-chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
}

.c4-chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.c4-chatbot__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c4-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c4-white);
  flex-shrink: 0;
}

.c4-chatbot__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c4-white);
}

.c4-chatbot__status {
  font-size: 0.6875rem;
  color: #25D366;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.c4-chatbot__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
}

.c4-chatbot__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--duration-fast);
}

.c4-chatbot__close:hover {
  color: var(--c4-white);
}

/* Messages Area */
.c4-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  max-height: 320px;
  scroll-behavior: smooth;
}

.c4-chatbot__messages::-webkit-scrollbar {
  width: 4px;
}

.c4-chatbot__messages::-webkit-scrollbar-track {
  background: transparent;
}

.c4-chatbot__messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Message Bubbles */
.c4-chatbot__msg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  animation: chatFadeIn 0.3s ease-out;
}

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

.c4-chatbot__msg--user {
  justify-content: flex-end;
}

.c4-chatbot__msg-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c4-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c4-white);
  flex-shrink: 0;
  margin-top: 2px;
}

.c4-chatbot__bubble {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.55;
  word-break: break-word;
}

.c4-chatbot__bubble--bot {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--c4-white);
  border-bottom-left-radius: 4px;
}

.c4-chatbot__bubble--user {
  background: var(--c4-red);
  color: var(--c4-white);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.c4-chatbot__bubble a,
.c4-chatbot__link {
  color: var(--c4-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--duration-fast);
}

.c4-chatbot__bubble a:hover,
.c4-chatbot__link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.c4-chatbot__bubble strong {
  color: var(--c4-white);
  font-weight: 700;
}

.c4-chatbot__bubble em {
  color: var(--c4-yellow);
}

/* Typing indicator */
.c4-chatbot__typing .c4-chatbot__bubble {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
}

.c4-chatbot__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatDot 1.4s infinite;
}

.c4-chatbot__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.c4-chatbot__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Quick Actions */
.c4-chatbot__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
}

.c4-chatbot__quick-btn {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--c4-white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3125rem 0.625rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.c4-chatbot__quick-btn:hover {
  background: var(--c4-red);
  border-color: var(--c4-red);
}

/* Input Area */
.c4-chatbot__input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-elevated);
}

.c4-chatbot__input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--c4-white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--duration-fast);
}

.c4-chatbot__input::placeholder {
  color: var(--text-muted);
}

.c4-chatbot__input:focus {
  border-color: var(--c4-red);
}

.c4-chatbot__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c4-red);
  border: none;
  color: var(--c4-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.c4-chatbot__send:hover {
  background: #B81D21;
  transform: scale(1.05);
}

/* ===== CHATBOT RESPONSIVE ===== */
@media (max-width: 480px) {
  .c4-chatbot__window {
    width: calc(100vw - 2rem);
    right: -0.5rem;
    max-height: 70vh;
  }

  .c4-chatbot__messages {
    max-height: 45vh;
  }

  .c4-chatbot {
    bottom: calc(var(--space-sm) + 64px);
    right: var(--space-sm);
  }
}

@media (max-width: 768px) {
  .c4-chatbot__window {
    width: 340px;
  }
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
}

.contact-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal__panel {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-normal) var(--ease-out);
}

.contact-modal--open .contact-modal__panel {
  transform: translateY(0) scale(1);
}

.contact-modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

.contact-modal__close:hover {
  color: var(--c4-white);
  border-color: var(--c4-red);
}

.contact-modal__body {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 0;
}

.contact-modal__form-side {
  padding: var(--space-lg);
}

.contact-modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: 0.25rem;
}

.contact-modal__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.contact-form--modal {
  background: transparent;
  border: none;
  padding: 0;
}

.contact-form--modal .form-textarea {
  min-height: 70px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-modal__options-side {
  background: var(--surface-elevated);
  border-left: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-modal__options-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: 0.25rem;
}

.contact-modal__options-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.contact-modal__option {
  margin-bottom: var(--space-sm);
}

.contact-modal__option-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--c4-white);
  text-decoration: none;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.contact-modal__option-btn:hover {
  border-color: var(--c4-red);
  background: rgba(232, 36, 41, 0.05);
}

.contact-modal__option-btn--whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
}

.contact-modal__option-btn--whatsapp svg {
  color: #25D366;
  flex-shrink: 0;
}

.contact-modal__option-btn--call svg {
  color: var(--c4-red);
  flex-shrink: 0;
}

.contact-modal__option-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-modal__option-detail {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-modal__hours {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Success state */
.contact-modal__success {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
}

.contact-modal__success-inner svg {
  margin-bottom: var(--space-md);
}

.contact-modal__success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: var(--space-sm);
}

.contact-modal__success-inner p {
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.contact-modal__success-inner .btn {
  margin-top: var(--space-md);
}

/* ===== EXCLUSIVE DEAL MODAL ===== */
.deal-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
}

.deal-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.deal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.deal-modal__panel {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--c4-black);
  border: 2px solid var(--c4-yellow);
  border-radius: var(--radius-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--duration-slow) var(--ease-out);
  box-shadow: 0 0 60px rgba(255, 194, 0, 0.15), 0 0 120px rgba(232, 36, 41, 0.08);
}

.deal-modal--open .deal-modal__panel {
  transform: translateY(0) scale(1);
}

.deal-modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c4-white);
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.deal-modal__close:hover {
  background: rgba(232, 36, 41, 0.2);
  border-color: var(--c4-red);
}

.deal-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left side — info */
.deal-modal__info-side {
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(232, 36, 41, 0.08) 0%, rgba(255, 194, 0, 0.05) 100%);
  border-right: 1px solid var(--border);
}

.deal-modal__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--c4-black);
  background: var(--c4-yellow);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.deal-modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c4-white);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.deal-modal__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.deal-modal__pricing {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.deal-modal__price {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex: 1;
}

.deal-modal__price--main {
  border-color: var(--c4-yellow);
  background: rgba(255, 194, 0, 0.06);
}

.deal-modal__price-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.deal-modal__price-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c4-yellow);
}

.deal-modal__price-period {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.deal-modal__includes h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: var(--space-xs);
}

.deal-modal__includes ul {
  list-style: none;
  padding: 0;
}

.deal-modal__includes li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.deal-modal__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c4-yellow);
}

/* Right side — form */
.deal-modal__form-side {
  padding: var(--space-xl);
}

.deal-modal__form-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: 0.375rem;
}

.deal-modal__form-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.deal-modal__alt-contact {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.deal-modal__alt-contact a {
  color: var(--c4-yellow);
  text-decoration: none;
  font-weight: 600;
}

.deal-modal__alt-contact a:hover {
  color: var(--c4-white);
}

/* Responsive */
@media (max-width: 768px) {
  .deal-modal {
    padding: var(--space-sm);
    align-items: flex-end;
  }

  .deal-modal__body {
    grid-template-columns: 1fr;
  }

  .deal-modal__info-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
  }

  .deal-modal__form-side {
    padding: var(--space-md);
  }

  .deal-modal__title {
    font-size: 1.375rem;
  }
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .contact-modal {
    padding: var(--space-sm);
    align-items: flex-end;
  }

  .contact-modal__panel {
    max-height: 95vh;
  }

  .contact-modal__body {
    grid-template-columns: 1fr;
  }

  .contact-modal__form-side {
    padding: var(--space-md);
  }

  .contact-modal__options-side {
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--space-md);
  }

  .contact-modal__options-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xs);
    text-align: center;
  }

  .contact-modal__options-title,
  .contact-modal__options-text,
  .contact-modal__hours {
    grid-column: 1 / -1;
  }

  .contact-modal__options-text {
    display: none;
  }

  .contact-modal__option {
    margin-bottom: 0;
  }

  .contact-modal__option-btn {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* ===== FIREFLY — Mascot + Navigator + Chatbot ===== */

/* -- Trigger Button -- */
.firefly {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 9998;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.firefly--entering {
  animation: fireflyEntrance 1.4s var(--ease-out) forwards;
}

.firefly--entering .firefly__trail {
  display: block;
}

.firefly--entered {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fireflyEntrance {
  0% { opacity: 0; transform: translateY(120px) translateX(60px) scale(0.3); }
  30% { opacity: 1; transform: translateY(40px) translateX(20px) scale(0.7); }
  55% { transform: translateY(-12px) translateX(-8px) scale(1.1); }
  75% { transform: translateY(4px) translateX(2px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}

/* Red trail that follows during entrance */
.firefly__trail {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.firefly--entering .firefly__trail {
  display: block;
  box-shadow:
    6px 10px 0 0 rgba(232, 36, 41, 0.7),
    16px 24px 4px 0 rgba(232, 36, 41, 0.5),
    30px 44px 8px 1px rgba(232, 36, 41, 0.35),
    48px 68px 12px 1px rgba(232, 36, 41, 0.2),
    70px 96px 18px 2px rgba(232, 36, 41, 0.1),
    96px 128px 24px 2px rgba(232, 36, 41, 0.05);
  animation: trailFade 1.4s var(--ease-out) forwards;
}

@keyframes trailFade {
  0% { opacity: 1; }
  60% { opacity: 0.8; }
  100% { opacity: 0; display: none; }
}

.firefly__trigger {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter var(--duration-normal);
}

.firefly__trigger:hover {
  filter: brightness(1.25);
}

.firefly--active .firefly__trigger {
  filter: brightness(1.4);
}

.firefly__svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 12px rgba(232, 36, 41, 0.4)) drop-shadow(0 0 20px rgba(255, 194, 0, 0.2));
}

/* Ember haze outer glow */
.firefly__haze {
  animation: emberHaze 4s ease-in-out infinite;
}

@keyframes emberHaze {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.08); }
}

/* Ember core flicker */
.firefly__ember {
  animation: emberFlicker 3s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes emberFlicker {
  0%, 100% { transform: scaleX(1) scaleY(1); filter: brightness(0.9); }
  25% { transform: scaleX(0.96) scaleY(1.03); }
  50% { transform: scaleX(1.04) scaleY(0.97); filter: brightness(1.15); }
  75% { transform: scaleX(0.98) scaleY(1.01); }
}

/* Inner glow breathing */
.firefly__glow-shape {
  animation: emberBreath 3s ease-in-out infinite;
}

.firefly__trigger--speaking .firefly__glow-shape {
  animation: emberBreath 1s ease-in-out infinite;
}

.firefly--tour .firefly__glow-shape {
  animation: emberBreath 1.3s ease-in-out infinite;
}

@keyframes emberBreath {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Pulse ring — ember style, irregular */
.firefly__pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 194, 0, 0.12) 0%, rgba(232, 36, 41, 0.06) 50%, transparent 70%);
  animation: emberPulseRing 3.5s ease-in-out infinite;
}

@keyframes emberPulseRing {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.25); opacity: 0; }
}

/* -- Speech Bubble -- */
.firefly__bubble {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 280px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c4-white);
}

.firefly__bubble--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.firefly__bubble-tail {
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: var(--surface-elevated);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

.firefly__bubble-content strong {
  color: var(--c4-yellow);
}

.firefly__bubble-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.firefly__bubble-actions:empty {
  display: none;
}

.firefly__tour-step {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--c4-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* -- Firefly Buttons (shared) -- */
.firefly__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast);
  text-decoration: none;
  line-height: 1.4;
}

.firefly__btn--primary {
  background: var(--c4-red);
  color: var(--c4-white);
}

.firefly__btn--primary:hover {
  background: var(--c4-red-dark);
}

.firefly__btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.firefly__btn--ghost:hover {
  color: var(--c4-white);
  border-color: var(--c4-white);
}

/* -- Tour Overlay -- */
.firefly-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9996;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
  pointer-events: none;
}

.firefly-tour-overlay--active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

/* Tour highlight on targeted elements */
.firefly-tour-highlight {
  position: relative;
  z-index: 9997;
  box-shadow: 0 0 0 4px rgba(255, 194, 0, 0.4), 0 0 30px rgba(255, 194, 0, 0.15);
  border-radius: var(--radius-md);
  transition: box-shadow var(--duration-normal);
}

/* Tour mode: lift the bubble out of the firefly stacking context
   so it sits above the overlay and receives pointer events. */
.firefly--tour {
  transform: none;
  z-index: 10003;
}
.firefly--tour .firefly__bubble--visible {
  position: fixed;
  bottom: 168px;
  right: 24px;
  z-index: 10000;
}

/* -- Chat Panel -- */
.firefly-panel {
  position: fixed;
  bottom: 164px;
  right: 24px;
  width: 380px;
  height: 520px;
  max-height: calc(100vh - 120px);
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
}

.firefly-panel--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.firefly-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.firefly-panel__header-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.firefly-panel__logo {
  flex-shrink: 0;
}

.firefly-panel__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c4-white);
}

.firefly-panel__subtitle {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.firefly-panel__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}

.firefly-panel__close:hover {
  color: var(--c4-white);
}

.firefly-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

/* -- Panel Content: Greeting -- */
.fp-greeting {
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -- Panel Content: Menu -- */
.fp-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-menu__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--c4-white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.fp-menu__btn:hover {
  border-color: var(--c4-red);
  background: rgba(232, 36, 41, 0.05);
}

.fp-menu__btn--highlight {
  border-color: rgba(255, 194, 0, 0.3);
  background: rgba(255, 194, 0, 0.05);
}

.fp-menu__btn--highlight:hover {
  border-color: var(--c4-yellow);
  background: rgba(255, 194, 0, 0.1);
}

.fp-menu__btn svg {
  flex-shrink: 0;
}

/* -- Panel Footer Links -- */
.fp-footer-links {
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.6875rem;
}

.fp-footer-link {
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  transition: color var(--duration-fast);
}

.fp-footer-link:hover {
  color: var(--c4-yellow);
}

.fp-footer-sep {
  color: var(--border);
  margin: 0 0.375rem;
}

/* -- Panel Content: Section (back + heading) -- */
.fp-section {
  animation: fpFadeIn 0.3s var(--ease-out);
}

@keyframes fpFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.fp-back {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
  transition: color var(--duration-fast);
}

.fp-back:hover {
  color: var(--c4-white);
}

.fp-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: 0.75rem;
}

/* -- Quote Form -- */
.fp-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-form__group {
  width: 100%;
}

.fp-form__input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--c4-white);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  transition: border-color var(--duration-fast);
}

.fp-form__input::placeholder {
  color: var(--text-muted);
}

.fp-form__input:focus {
  outline: none;
  border-color: var(--c4-red);
  box-shadow: 0 0 0 3px var(--c4-red-glow);
}

.fp-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.fp-form__textarea {
  resize: vertical;
  min-height: 60px;
}

.fp-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.fp-form__feedback {
  font-size: 0.75rem;
  margin-top: 0.375rem;
}

/* -- Success State -- */
.fp-success {
  text-align: center;
  padding-top: var(--space-lg);
}

.fp-success svg {
  margin-bottom: var(--space-sm);
}

.fp-success p {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

/* -- Services List -- */
.fp-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 360px;
  overflow-y: auto;
}

.fp-service-card {
  padding: 0.75rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  color: var(--c4-white);
  transition: border-color var(--duration-fast);
}

.fp-service-card:hover {
  border-color: var(--c4-red);
}

.fp-service-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fp-service-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.fp-service-card__link {
  font-size: 0.6875rem;
  color: var(--c4-red);
  font-weight: 600;
}

/* -- Certifications List -- */
.fp-certs-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.fp-cert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.fp-cert__abbr {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--c4-yellow);
  text-align: center;
}

.fp-cert strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--c4-white);
  margin-bottom: 0.125rem;
}

.fp-cert p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -- Quiz -- */
.fp-quiz__step {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.fp-quiz__progress {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.fp-quiz__progress-bar {
  height: 100%;
  background: var(--c4-yellow);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out);
}

.fp-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-quiz__option {
  padding: 0.75rem 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--c4-white);
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.fp-quiz__option:hover {
  border-color: var(--c4-yellow);
  background: rgba(255, 194, 0, 0.05);
}

/* -- Quiz Result -- */
.fp-quiz-result {
  text-align: center;
}

.fp-quiz-result__score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid;
  margin: var(--space-sm) auto var(--space-md);
}

.fp-quiz-result__pct {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.fp-quiz-result__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fp-quiz-result p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.fp-quiz-result .firefly__btn {
  display: block;
  width: 100%;
  margin-bottom: 0.375rem;
}

/* -- FAQ Path -- */
.fp-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.fp-faq-list {
  display: flex;
  flex-direction: column;
}

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

.fp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c4-white);
  text-align: left;
  gap: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.fp-faq-q:hover { color: var(--c4-red); }

.fp-faq-q svg {
  flex-shrink: 0;
  color: var(--c4-red);
  transition: transform 0.3s var(--ease-out);
}

.fp-faq-q--open svg { transform: rotate(180deg); }

.fp-faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.fp-faq-a--open {
  max-height: 300px;
  padding-bottom: 0.75rem;
}

.fp-faq-a a {
  color: var(--c4-red);
  text-decoration: underline;
}

/* -- Contact/Emergency Path -- */
.fp-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.fp-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--c4-white);
  transition: border-color 0.2s, background 0.2s;
}

.fp-contact-card:hover {
  border-color: var(--c4-red);
  background: var(--c4-red-glow);
}

.fp-contact-card--urgent {
  border-color: var(--c4-red);
  background: rgba(232, 36, 41, 0.08);
}

.fp-contact-card--wa { color: #25d366; }
.fp-contact-card--wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.08);
}

.fp-contact-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
}

.fp-contact-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fp-emergency-note {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.fp-emergency-note a { color: var(--c4-red); }

/* -- Areas Path -- */
.fp-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.fp-area-group h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c4-red);
  margin-bottom: 0.375rem;
}

.fp-area-group ul {
  list-style: none;
}

.fp-area-group li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  line-height: 1.4;
}

.fp-area-note {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -- Responsive -- */
@media (max-width: 768px) {
  .firefly {
    bottom: 84px;
    right: 16px;
  }

  .firefly__trigger {
    width: 48px;
    height: 48px;
  }

  .firefly__svg {
    width: 32px;
    height: 32px;
  }

  .firefly__bubble {
    width: 260px;
    right: -4px;
    bottom: 60px;
  }

  .firefly-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    max-height: 70vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }
}

/* -- Chat Input Area (persistent at bottom of panel) -- */
.firefly-panel__input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--surface-elevated);
  flex-shrink: 0;
}

.firefly-panel__input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--c4-white);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  transition: border-color var(--duration-fast);
  outline: none;
}

.firefly-panel__input::placeholder {
  color: var(--text-muted);
}

.firefly-panel__input:focus {
  border-color: var(--c4-yellow);
  box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.1);
}

.firefly-panel__send {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c4-red);
  color: var(--c4-white);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.firefly-panel__send:hover {
  background: var(--c4-red-dark);
  transform: scale(1.08);
}

/* -- Chat Messages (AI conversation) -- */
.fp-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fpFadeIn 0.3s var(--ease-out);
}

.fp-chat__messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  scroll-behavior: smooth;
}

.fp-chat__msg {
  display: flex;
  gap: 0.5rem;
  max-width: 92%;
  animation: fpChatMsgIn 0.3s var(--ease-out);
}

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

.fp-chat__msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.fp-chat__msg--bot {
  align-self: flex-start;
}

.fp-chat__avatar {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fp-chat__bubble {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-chat__msg--bot .fp-chat__bubble {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--c4-white);
  border-bottom-left-radius: 2px;
}

.fp-chat__msg--bot .fp-chat__bubble a {
  color: var(--c4-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fp-chat__msg--bot .fp-chat__bubble a:hover {
  color: var(--c4-yellow);
}

.fp-chat__msg--user .fp-chat__bubble {
  background: var(--c4-red);
  color: var(--c4-white);
  border-bottom-right-radius: 2px;
}

/* -- Typing Indicator -- */
.fp-chat__typing .fp-chat__bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.625rem 0.875rem;
}

.fp-chat__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: fpChatDot 1.4s infinite ease-in-out;
}

.fp-chat__dot:nth-child(2) { animation-delay: 0.2s; }
.fp-chat__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes fpChatDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* -- Mobile Tour Bottom Sheet -- */
.firefly-mobile-tour {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.firefly-mobile-tour--active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.firefly-mobile-tour__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.firefly-mobile-tour__sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0 1.25rem 1.5rem;
  max-height: 60vh;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.firefly-mobile-tour--active .firefly-mobile-tour__sheet {
  transform: translateY(0);
}

.firefly-mobile-tour__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0.5rem;
}

.firefly-mobile-tour__drag-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto;
}

.firefly-mobile-tour__close {
  position: absolute;
  top: 0.75rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.firefly-mobile-tour__close:hover {
  color: var(--c4-white);
}

.firefly-mobile-tour__cards {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 160px;
}

.firefly-mobile-tour__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}

.firefly-mobile-tour__card--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.firefly-mobile-tour__card-icon {
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.firefly-mobile-tour__card-text {
  font-size: 0.9375rem;
  color: var(--c4-white);
  line-height: 1.6;
  max-width: 320px;
}

.firefly-mobile-tour__card-step {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.firefly-mobile-tour__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.firefly-mobile-tour__dots {
  display: flex;
  gap: 6px;
}

.firefly-mobile-tour__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.firefly-mobile-tour__dot--active {
  background: var(--c4-yellow);
  transform: scale(1.25);
}

.firefly-mobile-tour__actions {
  display: flex;
  gap: 0.5rem;
}

/* -- Mobile responsive overrides for input -- */
@media (max-width: 768px) {
  .firefly-panel__input-area {
    padding: 0.5rem 0.625rem;
  }

  .firefly-panel__input {
    font-size: 1rem;
  }

  .firefly-mobile-tour__sheet {
    max-height: 55vh;
  }
}

/* ===== GOOGLE REVIEW BUTTON ===== */
.google-review-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--c4-white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.google-review-btn:hover {
  background: var(--c4-red);
  border-color: var(--c4-red);
  transform: translateY(-2px);
  color: var(--c4-white);
}

@media (max-width: 480px) {
  .google-review-btn {
    bottom: 1rem;
    left: 1rem;
    padding: 0.625rem;
    border-radius: 50%;
  }
  .google-review-btn span {
    display: none;
  }
}

/* ===== FALLBACK MENU ===== */
/* Used when no WordPress menu is assigned */
