/* ===== PREMIUM FEATURES CSS ===== */

/* --- Promo Banner --- */
.promo-banner {
  background: linear-gradient(90deg, #0C71C3, #1B3A5C);
  color: #fff;
  text-align: center;
  padding: 10px 48px 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  position: relative;
  z-index: 100;
  letter-spacing: 0.01em;
}
.promo-banner strong { font-weight: 700; }
.promo-banner a {
  color: #FFC553;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}
.promo-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.promo-banner-close:hover { color: #fff; }
.promo-banner.hidden { display: none; }

/* --- Trust Bar Enhancement --- */
.trust-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  color: #1B3A5C;
}
.trust-item svg {
  width: 22px;
  height: 22px;
  stroke: #0C71C3;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-items { gap: 16px 24px; }
  .trust-item { font-size: 13px; }
}

/* --- Instant Quote Calculator --- */
.quote-calc {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 640px;
  margin: 0 auto var(--space-10);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.quote-calc h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 20px;
}
.quote-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.quote-calc-row label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  display: block;
  margin-bottom: 4px;
}
.quote-calc-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
}
.quote-calc-row select:focus {
  outline: none;
  border-color: #0C71C3;
  box-shadow: 0 0 0 3px rgba(12,113,195,.12);
}
.quote-result {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #f0f7ff, #e8f4ff);
  border-radius: 12px;
  margin-top: 8px;
}
.quote-result .price-estimate {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #0C71C3;
  margin: 0;
}
.quote-result .price-label {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 12px;
}
.quote-result .quote-cta {
  display: inline-block;
  background: #0C71C3;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
}
.quote-result .quote-cta:hover { background: #1B3A5C; }
.quote-result .recurring-note {
  font-size: 12px;
  color: #0C71C3;
  font-weight: 600;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .quote-calc-row { grid-template-columns: 1fr; }
  .quote-calc { padding: 20px 16px; }
}

/* --- As Seen On --- */
.seen-on {
  padding: 32px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.seen-on-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.seen-on-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.seen-on-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.seen-on-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  opacity: .7;
  transition: opacity .2s;
}
.seen-on-logo:hover { opacity: 1; }
.seen-on-logo svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 600px) {
  .seen-on-inner { flex-direction: column; gap: 12px; }
  .seen-on-logos { justify-content: center; gap: 20px; }
}

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  z-index: 9990;
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.sticky-mobile-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
}
.sticky-mobile-cta .btn-call {
  background: #1B3A5C;
  color: #fff;
}
.sticky-mobile-cta .btn-book-sticky {
  background: #0C71C3;
  color: #fff;
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  /* Push chatbot button up above sticky bar */
  .amc-chat-btn { bottom: 72px; }
  .amc-chat-window { bottom: 144px; }
  body { padding-bottom: 60px; }
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .6s ease, transform .6s ease;
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scale-in {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .5s ease, transform .5s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(2) { transition-delay: .1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: .2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: .3s; }

/* --- Before/After Slider --- */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16/10;
  max-width: 700px;
  margin: 0 auto;
}
.ba-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-after {
  clip-path: inset(0 50% 0 0);
}
.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.ba-slider .ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-slider .ba-handle::before {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-size: 10px;
  color: #1B3A5C;
  letter-spacing: 2px;
  white-space: nowrap;
}
.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
