/* ═══════════════════════════════════════════════════
   ALPIN BUILDING — SITE BRIEF — ENHANCEMENTS CSS
   File: brief.css
   Depends on: site_brief.html (root variables defined there)
   ═══════════════════════════════════════════════════ */

/* ── ANIMATE.CSS INTEGRATION OVERRIDES ────────────── */
/* Tune animate.css defaults to Apple-level subtlety  */
:root {
  --animate-duration: 0.65s;
  --animate-delay:    0.1s;
}

/* All reveal elements are invisible until animate.css fires.
   animate-fill-mode:both (set by animate.css) keeps them at opacity:1 after. */
[data-animate] {
  opacity: 0;
}
[data-animate].animate__animated {
  /* animate.css handles opacity via the keyframe — do not force opacity:1 here
     or you'll override the animation mid-play. fill-mode:both handles the rest. */
  opacity: unset;
}

/* ── SCROLL PROGRESS BAR ──────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--ab-red);
  z-index: 2000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── BACK TO TOP ──────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ab-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(1, 73, 123, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 1500;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--ab-blue-lt);
}

/* ── NAV — UNDERLINE SLIDE-IN ─────────────────────── */
#main-nav a {
  border-bottom-width: 0;
  position: relative;
}
#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ab-red);
  transition: width 0.25s ease;
}
#main-nav a:hover::after,
#main-nav a.active::after {
  width: 100%;
}
#main-nav a:hover,
#main-nav a.active {
  border-bottom-color: transparent; /* override original solid border */
}

/* ── HERO ─────────────────────────────────────────── */
/* Floating badge animation */
@keyframes ab-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.hero-brief .badge-pill {
  animation: ab-float 3.5s ease-in-out infinite;
}

/* Slow-moving shimmer gradient on hero bg */
@keyframes ab-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-brief {
  background: linear-gradient(135deg,
    var(--ab-blue-dk) 0%,
    var(--ab-blue) 45%,
    #0d6099 65%,
    var(--ab-blue-lt) 100%);
  background-size: 200% 200%;
  animation: ab-shimmer 10s ease infinite;
}

/* Decorative circles — organic floating animations */
@keyframes ab-float-circle-1 {
  0%   { transform: translate(0px,    0px); }
  15%  { transform: translate(-14px,  18px); }
  30%  { transform: translate(10px,   32px); }
  45%  { transform: translate(26px,   12px); }
  60%  { transform: translate(18px,  -10px); }
  75%  { transform: translate(-8px,  -22px); }
  88%  { transform: translate(-20px,   6px); }
  100% { transform: translate(0px,    0px); }
}
@keyframes ab-float-circle-2 {
  0%   { transform: translate(0px,   0px); }
  18%  { transform: translate(16px, -18px); }
  36%  { transform: translate(-12px,-28px); }
  54%  { transform: translate(-22px,  8px); }
  72%  { transform: translate(8px,  22px); }
  90%  { transform: translate(20px,  4px); }
  100% { transform: translate(0px,   0px); }
}

/* ── STAT CHIPS — COUNT-UP TARGET ─────────────────── */
.stat-chip {
  transition: transform 0.2s ease, background 0.2s ease;
}
.stat-chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

/* ── CARDS — PREMIUM LIFT ─────────────────────────── */
.brief-card {
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}
.brief-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(1, 73, 123, 0.14);
  border-color: var(--ab-blue-lt);
}

/* Card icon rotate on hover */
.brief-card:hover .card-icon {
  background: var(--ab-blue);
  transition: background 0.25s ease;
}
.brief-card:hover .card-icon {
  transform: rotate(5deg) scale(1.08);
  transition: transform 0.25s ease, background 0.25s ease;
}
.card-icon {
  transition: transform 0.25s ease, background 0.25s ease;
}

/* ── AUDIENCE CARDS ──────────────────────────────── */
.audience-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}
.audience-card::before {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.audience-card:hover::before {
  transform: scale(2.4) translate(-8px, 8px);
  opacity: 0.12;
}

/* ── SITEMAP ─────────────────────────────────────── */
.sm-page-box {
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.sm-page-box:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(1.15);
}

/* Audience badges pulse on load */
@keyframes ab-pulse-badge {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}
.sm-audience-badge {
  animation: ab-pulse-badge 2.5s ease-in-out infinite;
}

/* Hover tooltip */
.sm-page-col {
  position: relative;
}
.sm-page-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 10.5px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.sm-page-col:hover .sm-page-tooltip {
  opacity: 1;
}

/* Sub-items reveal on hover */
.sm-sub-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sm-page-col:hover .sm-sub-items {
  max-height: 120px;
}

/* Connector pulse */
@keyframes ab-connector-pulse {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.55; }
}
.sm-connector-v {
  animation: ab-connector-pulse 2s ease-in-out infinite;
}

/* ── SERVICE CYCLE — INTERACTIVE ─────────────────── */
.cycle-step-inner {
  cursor: pointer;
  transition: filter 0.25s ease;
}
.cycle-step-inner:hover {
  filter: brightness(1.12);
}
.cycle-step-inner.active-step {
  /* no outline */
}

/* Expand panel */
.cycle-expand-panel {
  background: var(--ab-blue-dk);
  border-radius: var(--radius);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}
.cycle-expand-panel.open {
  max-height: 300px;
  padding: 20px 24px;
  margin-top: 16px;
}
.cycle-expand-panel h5 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cycle-expand-panel p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.6;
}
.cycle-expand-panel .expand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.cycle-expand-panel .expand-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 3px 10px;
}

/* Progress bar above cycle */
.cycle-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.cycle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.7));
  border-radius: 2px;
  width: 0%;
  transition: width 0.35s ease;
}

/* Pulse dot on each step */
@keyframes ab-step-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0; }
}
.cs-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  animation: ab-step-pulse 2s ease-in-out infinite;
}

/* ── PRICING TABLE ───────────────────────────────── */
.price-table tr td {
  transition: background 0.2s ease, padding-left 0.2s ease;
  border-left: 3px solid transparent;
}
.price-table tr:not(.total-row):hover td:first-child {
  border-left-color: var(--ab-blue-lt);
}

/* Total row shimmer */
@keyframes ab-total-glow {
  0%, 100% { box-shadow: inset 0 0 0 rgba(220, 24, 24, 0); }
  50%       { box-shadow: inset 0 0 20px rgba(220, 24, 24, 0.12); }
}
.price-table .total-row td {
  animation: ab-total-glow 3s ease-in-out infinite;
}

/* Payment bar CSS removed — section deleted */

/* ── TIMELINE — LINE DRAW ────────────────────────── */
.timeline-dot::after {
  transform-origin: top center;
  transform: translateX(-50%) scaleY(0);
  transition: transform 0.5s ease;
}
.timeline-dot.drawn::after {
  transform: translateX(-50%) scaleY(1);
}

/* Timeline item stagger */
.timeline-item {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── VIDEO SECTION ───────────────────────────────── */
#video-preview {
  background: linear-gradient(160deg, var(--ab-blue-dk) 0%, #0a2d4a 100%);
  padding: 80px 0 72px;
}

.browser-frame {
  background: #1e1e1e;
  border-radius: 14px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}
.browser-frame-bar {
  background: #2d2d2d;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  flex-shrink: 0;
}
.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot.red   { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }
.browser-frame-url {
  flex: 1;
  background: #3a3a3a;
  border-radius: 5px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-left: 8px;
}
.browser-frame-url span {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-family: monospace;
}
.browser-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* Glassmorphism inner glow ring around frame */
.browser-frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}

/* Video preview caption */
.video-caption {
  margin-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
}
.video-caption strong {
  color: rgba(255, 255, 255, 0.9);
}

/* Play overlay */
.video-play-overlay {
  position: absolute;
  inset: 38px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 5;
}
.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.play-btn-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
}
.video-play-overlay:hover .play-btn-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.28);
}

/* ── DESIGN SECTION — WORKFLOW STEP HOVER ─────────── */
.workflow-step {
  padding: 12px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.workflow-step:hover {
  background: var(--ab-blue-bg);
}
.step-icon {
  transition: background 0.2s ease, transform 0.2s ease;
}

/* ── COLOR SWATCHES — HOVER ───────────────────────── */
.swatch {
  cursor: pointer;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.swatch:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.swatch-hex-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.swatch:hover .swatch-hex-tooltip {
  opacity: 1;
}

/* ── FOOTER FADE-IN ───────────────────────────────── */
.brief-footer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.brief-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-logo{ height: 30px; max-height: 90%; margin: 10px 0;}

/* ── NAVIGATION STRATEGY MOCKUP ───────────────────── */
.nav-strategy-mockup {
  position: relative;
  max-width: 50%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(1, 33, 56, 0.18);
  border: 1px solid rgba(1, 73, 123, 0.15);
  margin: 0 auto;
  margin-top: 16px;
  width: 525px;
}

/* ── SECTION — DATA REVEAL DEFAULT STATE ─────────── */
/* Handled globally by [data-animate] { opacity: 0 } above.
   No additional rules needed here. */

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  #back-to-top {
    bottom: 20px;
    right: 60px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .cycle-expand-panel.open {
    max-height: 400px;
  }
  .browser-frame-url { display: none; }
  .nav-strategy-mockup {
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate],
  .timeline-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .timeline-dot::after {
    transform: translateX(-50%) scaleY(1) !important;
  }
}

/* ═══════════════════════════════════════════════════
   NEW ADDITIONS — May 2026
   ═══════════════════════════════════════════════════ */

/* ── GRADIENT SECTION DIVIDERS ───────────────────── */
.brief-section { position: relative; }
.brief-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ab-blue-lt) 20%,
    var(--ab-red) 50%,
    var(--ab-blue-lt) 80%,
    transparent 100%);
  opacity: 0.28;
  pointer-events: none;
}

/* ── TECH BADGE ──────────────────────────────────── */
.tech-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #e0ddd9;
  border-radius: var(--radius);
  min-width: 72px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: default;
}
.tech-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1, 73, 123, 0.14);
  border-color: var(--ab-blue-lt);
}
.tech-badge span {
  font-size: 10px;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  white-space: nowrap;
}
.tech-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  font-family: var(--font);
  flex-shrink: 0;
}

/* ── DEVELOPER STAT BOXES ────────────────────────── */
.dev-stat-box {
  background: linear-gradient(135deg, var(--ab-blue-dk), var(--ab-blue));
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dev-stat-box .big {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.dev-stat-box .lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  display: block;
  line-height: 1.3;
}

/* ── PORTFOLIO MINI CARDS ────────────────────────── */
.portfolio-card {
  background: var(--white);
  border: 1px solid #e0ddd9;
  border-radius: var(--radius);
  padding: 20px 18px;
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-blue), var(--ab-blue-lt));
  border-radius: var(--radius) var(--radius) 0 0;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(1,73,123,0.13);
}
.portfolio-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ab-blue-dk);
  margin-bottom: 6px;
}
.portfolio-card .pf-type {
  font-size: 10.5px;
  color: var(--ab-grey);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
  display: block;
}
.portfolio-card p {
  font-size: 12.5px;
  color: #4b5563;
  margin: 0;
  line-height: 1.55;
}
.portfolio-client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.portfolio-logo-pill {
  background: var(--ab-grey-lt);
  border: 1px solid #e0ddd9;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
}
.portfolio-logo-pill.highlight {
  background: var(--ab-blue-bg);
  border-color: var(--ab-blue-lt);
  color: var(--ab-blue-dk);
}

/* ── ANCHOR BENCHMARK ────────────────────────────── */
.anchor-benchmark {
  background: linear-gradient(135deg, #f5faff, var(--ab-blue-bg));
  border: 1px solid rgba(1,73,123,0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.anchor-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 14px 12px;
  border-radius: 10px;
}
.anchor-item.market { background: rgba(220,24,24,0.06); border: 1px solid rgba(220,24,24,0.15); }
.anchor-item.agency { background: rgba(1,73,123,0.06);  border: 1px solid rgba(1,73,123,0.18); }
.anchor-item.yours  { background: rgba(26,107,74,0.08); border: 1px solid rgba(26,107,74,0.22); }
.anchor-item .ai-price { font-size: 20px; font-weight: 800; display: block; }
.anchor-item.market .ai-price { color: #9b2800; }
.anchor-item.agency .ai-price { color: var(--ab-blue-dk); }
.anchor-item.yours  .ai-price  { color: #1a4d2e; }
.anchor-item .ai-lbl {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ab-grey);
  margin-top: 3px;
  display: block;
}
.anchor-item .ai-desc {
  font-size: 11px;
  color: #4b5563;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}
.anchor-vs {
  font-size: 16px;
  font-weight: 800;
  color: var(--ab-grey);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ── ROI CALCULATOR ──────────────────────────────── */
.roi-calc {
  background: linear-gradient(135deg, var(--ab-blue-dk), #024a7a);
  border-radius: var(--radius);
  padding: 28px 26px;
  color: #fff;
}
.roi-calc h4 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.roi-subtitle { font-size: 12.5px; color: rgba(255,255,255,0.62); margin-bottom: 20px; }
.roi-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.roi-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 200px;
}
.roi-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 7px 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  width: 150px;
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: var(--font);
}
.roi-input:focus {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}
.roi-result-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.roi-result-item { flex: 1; min-width: 110px; }
.roi-result-item .rv {
  font-size: 22px;
  font-weight: 800;
  color: #7fffb2;
  display: block;
  line-height: 1;
}
.roi-result-item .rl {
  font-size: 10px;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-top: 3px;
}

/* ── COMPETITOR COMPARISON TABLE ─────────────────── */
.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(1,73,123,0.1);
  font-size: 12.5px;
}
.comp-table thead th {
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.3px;
  border-bottom: none;
}
.comp-table th.site-current { background: #f0eeec; color: #666; }
.comp-table th.site-new {
  background: var(--ab-blue);
  color: #fff;
  position: relative;
}
.comp-table th.site-new::before {
  content: '▼ PROPOSED';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  background: var(--ab-red);
  color: #fff;
  font-size: 7.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 0 5px 5px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.comp-table th.site-halter { background: #1a3a5c; color: #fff; }
.comp-table th.site-senn   { background: #2d2d2d; color: #fff; }
.comp-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #ede9e5;
  text-align: center;
  vertical-align: middle;
}
.comp-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ab-blue-dk);
  background: var(--white);
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:hover td { background: var(--ab-blue-bg); }
.comp-table tbody tr:hover td:first-child { background: var(--ab-blue-bg); }
.comp-table td.col-new { background: rgba(1,73,123,0.05); }
.comp-table tbody tr:hover td.col-new { background: var(--ab-blue-bg); }
.check-yes     { color: #22863a; font-size: 15px; font-weight: 700; }
.check-no      { color: #cb2431; font-size: 13px; }
.check-partial { color: #b08800; font-size: 13px; }

/* ── GANTT TIMELINE ──────────────────────────────── */
.gantt-wrap { overflow-x: auto; padding-bottom: 4px; }
.gantt-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}
.gantt-table thead th {
  background: var(--ab-blue-dk);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 9px 8px;
  text-align: left;
  border-bottom: none;
}
.gantt-table thead th.wk {
  text-align: center;
  font-size: 9px;
  width: 40px;
  padding: 9px 3px;
  white-space: nowrap;
}
.gantt-table tbody td {
  padding: 6px 8px;
  font-size: 12px;
  border-bottom: 1px solid #e8e4e0;
  color: #3d3d3d;
  vertical-align: middle;
  white-space: nowrap;
}
.gantt-table tbody td.wk {
  padding: 5px 3px;
  text-align: center;
}
.gantt-table tbody tr:nth-child(even) td:first-child { background: #f9f8f7; }
.gantt-bar {
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}
.gantt-done-label { font-size: 9px; font-weight: 800; color: rgba(255,255,255,0.9); }
.gb-1 { background: linear-gradient(90deg, var(--ab-blue-dk), var(--ab-blue-lt)); opacity: 0.5; }
.gb-2 { background: linear-gradient(90deg, #0d6efd, #1a9bfe); }
.gb-3 { background: linear-gradient(90deg, #1a7a4a, #2ea866); }
.gb-4 { background: linear-gradient(90deg, #7c5a00, #c4860a); }
.gb-5 { background: linear-gradient(90deg, #7b0000, #c53030); }
.gb-6 { background: linear-gradient(90deg, var(--ab-blue-dk), var(--ab-blue)); }

@media (max-width: 768px) {
  .anchor-benchmark { flex-direction: column; }
  .anchor-vs { display: none; }
  .roi-input-row { flex-direction: column; align-items: flex-start; }
  .roi-input { width: 100%; max-width: 220px; }
}
