/* Animations + responsive overrides */
/* ── 21. ANIMATIONS — revealUp, pulseGlow ───────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 640ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.reveal-up:nth-child(2) {
  animation-delay: 70ms;
}

.reveal-up:nth-child(3) {
  animation-delay: 140ms;
}

.reveal-up:nth-child(4) {
  animation-delay: 210ms;
}

.reveal-up:nth-child(5) {
  animation-delay: 280ms;
}

.reveal-up:nth-child(6) {
  animation-delay: 350ms;
}

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 124, 157, 0.18), 0 28px 56px rgba(10, 42, 52, 0.09), 0 4px 10px rgba(10, 42, 52, 0.04);
  }

  100% {
    box-shadow: 0 0 0 16px rgba(0, 124, 157, 0), 0 28px 56px rgba(10, 42, 52, 0.09), 0 4px 10px rgba(10, 42, 52, 0.04);
  }
}

.city-picker-box.is-active {
  animation: pulseGlow 520ms ease;
}



/* ── 22. RESPONSIVE ─────────────────────────────────────────── */
/* Breakpoint: tablet / narrow desktop (≤ 1180px) */
@media (max-width: 1180px) {

  .hero-shell,
  .city-selector-shell,
  .pricing-toolbar,
  .final-panel,
  .together-shell,
  .apollo-showcase {
    grid-template-columns: 1fr;
  }

  .hero-form {
    position: static;
  }

  .dual-banner {
    display: none;
  }

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

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

  .hero-package-grid,
  .pricing-grid,
  .coverage-grid,
  .process-grid,
  .apollo-grid,
  .apollo-proof,
  .apollo-proof-row,
  .apollo-grid-premium,
  .trust-strip-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Breakpoint: mobile (≤ 760px) */
@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    padding: 10px 0;
  }

  .header-row,
  .footer-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    width: 92px;
  }

  .brand-copy {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .eyebrow,
  .header-actions .mini-chip {
    display: none;
  }

  .header-actions .secondary-button {
    min-height: 44px;
    padding-inline: 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .hero-copy h1,
  .section-head h2,
  .final-copy h2,
  .hero-bridge-copy h2,
  .together-copy h2,
  .how-section h2 {
    font-size: 32px;
  }

  .insight-section-head h1,
  .insight-section-head h2 {
    max-width: none;
    font-size: 32px;
    letter-spacing: -0.03em;
  }

  .hero {
    padding: 0;
  }

  .how-section,
  .reviews-section {
    padding-top: 20px !important;
  }

  .final-section {
    padding-bottom: 40px !important;
  }

  .section {
    padding: 28px 0 40px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stage,
  .hero-visual-panel,
  .hero-form {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(19, 39, 51, 0.06);
    box-shadow: 0 14px 30px rgba(10, 42, 52, 0.07);
  }

  .hero-stage {
    order: 2;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .hero-featured-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .hero-featured-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .hero-featured-card .price-main {
    font-size: 2rem !important;
  }

  .hero-featured-card .benefits-simple {
    margin-top: 8px !important;
    gap: 6px !important;
  }

  .hero-featured-card .pricing-card-actions {
    margin-top: 16px !important;
  }

  .hero-visual-panel {
    padding: 0;
    order: 1;
    overflow: hidden;
    min-height: 0;
  }

  .hero-collage {
    height: auto;
  }

  .hero-form {
    order: 3;
    padding: 18px;
  }

  .hero-collage,
  .hero-package-grid,
  .apollo-grid,
  .apollo-proof,
  .trust-strip-inline {
    grid-template-columns: 1fr;
  }

  .hero-topline {
    margin-bottom: 8px;
  }

  .hero-offers {
    margin-top: 0;
  }

  .offer-banner {
    padding: 16px;
    border-radius: 20px;
  }

  .offer-header {
    gap: 10px;
  }

  .offer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .offer-actions .primary-button,
  .offer-actions .secondary-button {
    min-height: 46px;
    border-radius: 14px;
  }

  .pricing-grid,
  .insight-grid,
  .coverage-grid,
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
  }

  /* Stacked card on mobile — image top, content below */
  .pricing-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    gap: 0;
  }

  /* Image fills top at a tight cinematic crop — natural aspect, no distortion */
  .pricing-card .pricing-visual {
    border-radius: 0;
    aspect-ratio: 16 / 6;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #d8ebf1;
  }

  .pricing-card .pricing-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* Clean left-aligned content block */
  .pricing-card>div:last-child {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    text-align: left;
  }

  .pricing-card .pricing-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
  }

  .pricing-card h3 {
    font-size: 1.06rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #132733;
  }

  .pricing-card .pricing-card-top {
    gap: 2px;
  }

  .pricing-card .price-current {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .pricing-card .price-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: nowrap;
  }

  .pricing-card .pricing-summary {
    display: none;
  }

  /* Compact meta chips row — hide Home Collection on mobile */
  .pricing-card .pricing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0;
  }

  .pricing-card .pricing-meta span:last-child {
    display: none;
  }

  .pricing-card .pricing-meta span {
    font-size: 11px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
  }

  .city-picker-box {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    box-shadow: 0 16px 28px rgba(10, 42, 52, 0.08);
  }

  .city-picker-copy strong {
    font-size: 0.96rem;
  }

  .city-picker-copy span {
    font-size: 12px;
  }

  .insight-card {
    aspect-ratio: 0.9 / 1;
    scroll-snap-align: start;
  }

  .insight-copy {
    min-height: 126px;
    padding: 14px 12px 12px;
  }

  .insight-copy .secondary-button {
    min-height: 50px;
    padding-inline: 20px;
    border-radius: 16px;
  }

  .lead-modal-dialog,
  .package-modal-dialog {
    width: min(94vw, 760px);
    grid-template-columns: 1fr;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .package-modal-main {
    padding: 22px 18px;
    overflow: visible;
  }

  .package-modal-side {
    padding: 22px 18px;
    border-left: 0;
    border-top: 1px solid #dbe8ed;
  }

  .package-modal-title h3 {
    font-size: 1.5rem;
  }

  .package-modal-top {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .modal-close {
    align-self: flex-end;
  }

  .modal-price-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 8px;
  }

  .modal-price-band strong {
    font-size: 1.8rem;
  }

  .lead-modal-copy {
    min-height: 240px;
    padding: 22px 18px;
  }

  .lead-modal-copy h3 {
    max-width: 100%;
    font-size: clamp(24px, 8vw, 32px);
  }

  .lead-modal-form {
    padding: 24px 18px;
    /* Reset padding since close button is now over the image */
    border-left: 0;
    border-top: 1px solid #dbe8ed;
  }

  .test-highlights {
    display: none;
  }

  .pricing-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8px;
    margin-top: 0;
  }

  .pricing-card-actions .primary-button,
  .pricing-card-actions .secondary-button {
    min-height: 42px;
    font-size: 13px;
    padding-inline: 12px;
    border-radius: 12px;
    font-weight: 700;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-support {
    font-size: 12px;
    line-height: 1.2;
  }

  .hero-main-photo {
    min-height: 0;
    height: auto;
    max-height: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .hero-form h2 {
    font-size: 1.3rem;
  }

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

  .field input,
  .field select {
    min-height: 42px;
  }

  .lead-points {
    display: none;
  }

  .trust-bar-item {
    min-width: 150px;
    min-height: 34px;
  }

  .sticky-cta-cluster.desktop {
    display: none;
  }

  .sticky-cta-cluster.mobile {
    display: grid;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .pricing-panel,
  .final-panel {
    padding-inline: 0;
  }

  .together-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .together-photo {
    order: 1;
    flex: 0 0 auto;
    max-width: none;
    min-height: 230px;
    border-radius: 24px;
  }

  .together-copy {
    order: 2;
    flex: 0 0 auto;
    max-width: none;
    padding: 20px 18px;
    border-radius: 24px;
  }

  .together-copy h2 {
    margin: 12px 0 10px;
  }

  .bullet-list {
    margin: 16px 0 20px;
  }

  .apollo-shell {
    padding: 22px 16px;
    border-radius: 28px;
  }

  .coverage-card {
    border-radius: 20px;
  }

  .coverage-visual {
    height: 112px;
  }

  .coverage-body {
    padding: 16px 16px 18px;
  }

  .coverage-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
  }

  .coverage-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .coverage-card ul {
    margin: 10px 0 0;
    padding-left: 16px;
  }

  .coverage-card li {
    font-size: 14px;
    line-height: 1.45;
  }

  .apollo-proof-row,
  .apollo-showcase,
  .apollo-grid-premium {
    grid-template-columns: 1fr;
  }

  .apollo-shell .proof-card,
  .apollo-grid-premium .apollo-card,
  .apollo-story,
  .apollo-social-strip {
    border-radius: 22px;
  }

  .final-panel {
    padding: 20px 16px;
    border-radius: 28px;
  }

  .final-form {
    padding: 18px 16px;
  }

  .footer {
    padding: 30px 0;
  }
}