/* summerinfo.css — page-specific styles for /summer/summer-info.html
   Relies on tokens from /css/styles.css and shared header styles from /css/header.css
*/

/* ======================================
   Utilities
====================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ======================================
   Page shell
====================================== */
:root {
  --summer-structural-width: 1440px;
  --summer-content-width: 1160px;
  --summer-reading-width: 900px;
  --summer-gutter: clamp(20px, 4vw, 48px);
  --summer-orange: #fd3b26;
  --summer-pink: #e85d8f;
}

body { background: #f4f4f4; }

.summer-info-page {
  width: 100%;
  padding: 0 0 clamp(52px, 6vw, 84px);
}

.summer-info-page h1,
.summer-info-page h2,
.summer-info-page h3 {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.summer-info-page p,
.summer-info-page li {
  color: #24364d;
  line-height: 1.65;
}

/* ======================================
   Hero
====================================== */
.summer-hero {
  width: 100%;
  background: var(--primary);
}

.summer-hero-inner {
  width: 100%;
  max-width: var(--summer-structural-width);
  padding: clamp(30px, 4.25vw, 52px) var(--summer-gutter);
}

.summer-hero-copy {
  max-width: var(--summer-reading-width);
}

.summer-content {
  width: 100%;
  max-width: var(--summer-structural-width);
  margin: 0 auto;
  padding: 0 var(--summer-gutter);
}

.summer-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -.04em;
  line-height: 1.02;
}

.summer-hero .hero-subheading {
  max-width: 780px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1.25;
}

.summer-info-page .hero-kicker {
  display: inline-block;
  margin: 0 0 14px 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 93, 143, .42);
  background: rgba(232, 93, 143, .16);
  color: #ffd5e3;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9) !important;
  max-width: 820px;
  margin-top: 0;
  margin-bottom: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 22px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-point:nth-child(2n) {
  border-color: rgba(232, 93, 143, .5);
  background: rgba(232, 93, 143, .12);
}

.hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.primary-cta {
  background: var(--summer-orange);
  color: #fff;
}

.secondary-cta {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.primary-cta:hover,
.secondary-cta:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.primary-cta:hover {
  background: #e7311f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.primary-cta:focus-visible,
.secondary-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--summer-pink);
}

.hero-microcopy,
.final-help {
  font-size: 0.96rem;
  color: #4c5f75;
  margin-top: 10px;
}

.summer-hero .hero-microcopy { color: rgba(255,255,255,.76); }

/* ======================================
   Summary / cards
====================================== */
.quick-summary,
.section-card,
.final-cta-box {
  margin-top: 24px;
  margin-right: auto;
  margin-left: auto;
  max-width: var(--summer-content-width);
}

.summary-card,
.section-card {
  background: #fff;
  border: 1px solid rgba(0, 35, 72, 0.10);
  border-top: 4px solid var(--summer-orange);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 26px rgba(0, 35, 72, 0.07);
}

.section-card:nth-of-type(even) { border-top-color: var(--summer-pink); }

.summary-card > h2,
.section-card > h2 {
  margin-top: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -.025em;
}

.section-intro {
  margin-bottom: 18px;
  color: #40556d;
}

.summary-grid,
.storage-grid,
.steps-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.summary-item {
  background: #fff;
  border: 1px solid rgba(0, 35, 72, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  border-top: 3px solid var(--summer-orange);
  box-shadow: 0 8px 20px rgba(0, 63, 99, .08);
}

.summary-item:nth-child(even) { border-top-color: var(--summer-pink); }

.summary-item h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.02rem;
}

.summary-item:nth-child(even) h3 { color: #a93661; }

.summary-item p {
  margin: 0;
}

/* ======================================
   Steps / how it works
====================================== */
.how-it-works-illustration {
  margin: 20px 0 22px;
}

.how-it-works-illustration img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

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

.step-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 35, 72, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--summer-orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
}

.support-note {
  margin-top: 18px;
  color: #40556d;
}

/* ======================================
   Pricing
====================================== */
.pricing-grid {
  grid-template-columns: minmax(220px, 300px) 1fr;
  align-items: center;
  margin-top: 10px;
}

.pricing-main {
  background: linear-gradient(135deg, var(--primary) 0%, #002348 100%);
  color: #fff;
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
}

.price-big {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.price-copy {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}

.pricing-details ul {
  margin: 0;
  padding-left: 20px;
}

/* ======================================
   Storage section
====================================== */
.storage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.storage-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 35, 72, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  border-top: 3px solid rgba(253, 59, 38, .72);
}

.storage-card h3 {
  margin-top: 0;
  color: var(--accent);
}

.tote-size-card {
  grid-column: 1 / -1;
}

.social-note {
  margin-top: 14px;
  font-size: 0.96rem;
}

.tote-photo-block {
  margin-top: 16px;
}

.tote-photo-block img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  border-radius: 14px;
}

.tote-photo-block figcaption {
  margin-top: 8px;
  font-size: 0.94rem;
  color: #5a6d82;
}

/* ======================================
   Lists / policies
====================================== */
.large-item-list,
.not-allowed-list,
.school-list,
.comforter-note ul {
  padding-left: 20px;
}

.large-item-list li,
.not-allowed-list li,
.school-list li,
.comforter-note li {
  margin-bottom: 10px;
}

.packing-tips {
  margin-top: 26px;
}

.wrap-upsell {
  margin-bottom: 16px;
  color: #40556d;
}

.packing-tips-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.packing-tips-image figcaption {
  margin-top: 8px;
  font-size: 0.94rem;
  color: #5a6d82;
}

/* ======================================
   Final CTA
====================================== */
.final-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #002348 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
}

.final-cta-box h2 {
  color: #fff;
  margin-top: 0;
}

.final-cta-box p {
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-box .secondary-cta {
  background: #fff;
  color: var(--accent);
}

.guide-download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(0, 63, 99, .1);
}

.guide-download-cta h2 { margin: 0 0 8px; font-size: 1.35rem; }
.guide-download-cta p { margin: 0; }

.guide-download-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--summer-orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.summer-info-page a:not(.primary-cta):not(.secondary-cta):not(.guide-download-button) {
  color: var(--primary);
  font-weight: 700;
  text-decoration-color: var(--summer-orange);
  text-underline-offset: 3px;
}

.site-footer > * {
  width: 100%;
  max-width: var(--summer-structural-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--summer-gutter);
  padding-left: var(--summer-gutter);
}

.site-footer .footer-links a { color: var(--primary); font-weight: 600; }

/* ======================================
   Responsive
====================================== */
@media (max-width: 1024px) {
  .summary-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .storage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .summer-info-page {
    padding-top: 0;
  }

  .summer-hero-inner {
    padding: 28px 20px 30px;
  }

  .summer-content { padding: 0 20px; }

  .summary-grid,
  .steps-grid,
  .storage-grid {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .section-card,
  .final-cta-box {
    padding: 22px 18px;
  }

  .hero-actions,
  .final-cta-actions {
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-point {
    justify-content: center;
  }

  .guide-download-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .guide-download-button { width: 100%; text-align: center; }

  .site-footer > * {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-cta,
  .secondary-cta { transition: none; }
}
