/* /wedding-smile-special/wedding.css — Wedding Smile Special landing page styles */
/* Built on top of /assets/css/styles.css (loaded first), reuses CSS variables */

/* ========== Page Tokens (uses firm brand colors from styles.css) ========== */
/* All wedding-specific tokens removed — page now uses --navy, --teal2, --teal1, --grad, --shadow from styles.css */

/* ========== HERO overrides — larger H1 (+80%) and subtitle (+50%) ========== */
.hero-content h1{
  font-size:clamp(47px, 7.6vw, 86px);
  line-height:1.1;
}
.hero-content .hero-sub{
  font-size:clamp(20px, 3.2vw, 33px);
  line-height:1.4;
}
@media(max-width:420px){
  .hero-content h1{ font-size:clamp(34px, 8.3vw, 43px); line-height:1.2; }
  .hero-content .hero-sub{ font-size:clamp(22px, 4.8vw, 26px); line-height:1.35; }
}
@media(min-width:421px) and (max-width:440px){
  .hero-content h1{ font-size:clamp(40px, 7.9vw, 47px); line-height:1.25; }
  .hero-content .hero-sub{ font-size:clamp(27px, 4.8vw, 29px); line-height:1.4; }
}
@media(min-width:441px) and (max-width:640px){
  .hero-content h1{ font-size:clamp(36px, 8.3vw, 54px); line-height:1.2; }
  .hero-content .hero-sub{ font-size:clamp(22px, 5.4vw, 33px); line-height:1.35; }
}

/* ========== Section Base ========== */
.wed-section{
  padding:64px 0;
}
.wed-section.wed-light{
  background:var(--grad-bg-alt);
}
.wed-section.wed-grad{
  background:linear-gradient(180deg, #fff 0%, var(--grad-bg-alt) 100%);
}
.wed-container{
  max-width:1080px;
  margin:0 auto;
  padding:0 20px;
}
.wed-section-title{
  text-align:center;
  font-size:clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight:800;
  color:var(--navy);
  margin:0 0 12px;
  letter-spacing:-0.02em;
}
.wed-section-sub{
  text-align:center;
  color:var(--muted);
  font-size:1.1rem;
  max-width:680px;
  margin:0 auto 40px;
  line-height:1.5;
}

/* ========== Timeline Scroll Animation (Section 2 — pinned) ========== */
/* Spacer creates scroll distance; fixed overlay sticks to viewport via JS */
.wed-timeline-spacer{
  position:relative;
  height:500vh; /* 5 lines × 100vh scroll distance */
  background:var(--navy);
}
.wed-timeline-fixed{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:20px;
  background:
    linear-gradient(135deg, rgba(38,59,96,0.88), rgba(38,59,96,0.75)),
    url('/assets/img/timeline-bg.webp') center center / cover no-repeat;
  background-size:cover;
  background-position:center center;
  z-index:5;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.4s ease;
  pointer-events:none;
}
.wed-timeline-fixed.wed-visible{
  opacity:1;
  visibility:visible;
}
.wed-timeline-inner{
  text-align:center;
  max-width:860px;
  width:100%;
  position:relative;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.wed-timeline-line{
  position:absolute;
  top:0;
  left:0;
  right:0;
  margin:0 auto;
  font-size:clamp(1.6rem, 4.5vw, 3.2rem);
  font-weight:700;
  color:rgba(255,255,255,.22);
  transition:opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
  line-height:1.3;
  opacity:0;
  transform:scale(0.94);
  padding:0 16px;
  will-change:opacity, transform;
}
.wed-timeline-line.wed-active{
  color:#fff;
  font-weight:800;
  transform:scale(1);
  opacity:1;
}
.wed-timeline-line.wed-final{
  color:var(--teal2);
  font-weight:800;
  transform:scale(1);
  opacity:1;
}
/* Progress bar at bottom of pinned section */
.wed-timeline-progress{
  position:absolute;
  bottom:60px;
  left:50%;
  transform:translateX(-50%);
  width:220px;
  max-width:80vw;
  height:4px;
  background:rgba(255,255,255,.15);
  border-radius:2px;
  overflow:hidden;
}
.wed-timeline-progress-bar{
  display:block;
  height:100%;
  width:0%;
  background:var(--teal2);
  border-radius:2px;
  transition:width 0.15s linear;
}
/* Scroll hint */
.wed-timeline-hint{
  position:absolute;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.5);
  font-size:0.85rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  animation:wedHintPulse 2s ease-in-out infinite;
}
@keyframes wedHintPulse{
  0%,100%{opacity:0.4;}
  50%{opacity:0.9;}
}
@media (max-width:768px){
  .wed-timeline-spacer{height:450vh;}
  .wed-timeline-line{font-size:clamp(1.3rem, 6vw, 2.1rem);padding:0 10px;}
  .wed-timeline-progress{bottom:48px;width:180px;}
  /* On mobile, hide the timeline background image — show only the navy gradient */
  .wed-timeline-fixed{
    background:linear-gradient(135deg, rgba(38,59,96,0.95), rgba(38,59,96,0.9));
  }
}

/* ========== Why Brides Cards (Section 3) ========== */
.wed-cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
}
/* Desktop: all 4 cards in a single row */
@media(min-width:769px){
  .wed-cards-grid{ grid-template-columns:repeat(4, 1fr); gap:16px; }
}
.wed-card{
  background:#fff;
  border-radius:16px;
  padding:28px 24px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  border:1px solid rgba(201,169,110,.15);
}
.wed-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 56px rgba(26,43,74,.16);
}
.wed-card-icon{
  font-size:2.2rem;
  margin-bottom:12px;
}
.wed-card h3{
  font-size:1.15rem;
  color:var(--navy);
  margin:0 0 8px;
  font-weight:700;
}
.wed-card p{
  color:var(--muted);
  font-size:0.95rem;
  margin:0;
  line-height:1.5;
}

/* ========== CTA Block ========== */
.wed-cta-block{
  text-align:center;
  padding:48px 20px;
}
.wed-cta-block .wed-cta-buttons{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.wed-stars-row{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.wed-stars{
  color:#FFB400;
  font-size:1.4rem;
  letter-spacing:2px;
}
.wed-stars-row img{
  height:40px;
  width:auto;
}

/* ========== Before/After Slider (reuse) ========== */
.wed-ba-slider{
  position:relative;
  max-width:760px;
  margin:0 auto;
  overflow:hidden;
  border-radius:16px;
  box-shadow:var(--shadow);
}
.wed-ba-slides{
  display:flex;
  transition:transform 0.5s ease;
}
.wed-ba-slide{
  min-width:100%;
  margin:0;
}
.wed-ba-slide img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}
.wed-ba-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.88);
  border:none;
  border-radius:50%;
  width:46px;
  height:46px;
  font-size:22px;
  cursor:pointer;
  color:var(--navy);
  box-shadow:0 2px 10px rgba(0,0,0,.18);
  z-index:2;
}
.wed-ba-prev{left:12px;}
.wed-ba-next{right:12px;}
.wed-ba-dots{
  text-align:center;
  padding:14px 0;
}
.wed-ba-dot{
  display:inline-block;
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--teal2);
  margin:0 4px;
  cursor:pointer;
  opacity:0.35;
  transition:opacity 0.3s;
}
.wed-ba-dot.wed-active{opacity:1;}

/* ========== Perfect For (Section 5) ========== */
.wed-perfect{ background:var(--grad); }
.wed-perfect .wed-section-title{ color:#233A5A; }
.wed-perfect-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  max-width:680px;
  margin:0 auto;
}
.wed-perfect-card{
  background:rgba(255,255,255,0.82);
  border-radius:14px;
  padding:24px 16px;
  text-align:center;
  box-shadow:var(--shadow);
  border:1px solid rgba(201,169,110,.12);
  backdrop-filter:blur(2px);
}
.wed-perfect-emoji{
  font-size:2rem;
  margin-bottom:8px;
}
.wed-perfect-card span{
  font-size:1.05rem;
  font-weight:700;
  color:var(--navy);
}

/* ========== Pricing Cards (Section 6) ========== */
.wed-pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:24px;
  max-width:740px;
  margin:0 auto 24px;
}
.wed-price-card{
  background:#fff;
  border-radius:20px;
  padding:36px 28px;
  text-align:center;
  box-shadow:var(--shadow);
  border:2px solid transparent;
  transition:transform 0.25s, border-color 0.25s;
  position:relative;
}
.wed-price-card:hover{
  transform:translateY(-6px);
  border-color:var(--teal2);
}
.wed-price-card.wed-featured{
  border-color:var(--teal2);
  background:linear-gradient(180deg, #fff 0%, var(--grad-bg-alt) 100%);
}
.wed-price-emoji{
  font-size:2.4rem;
  margin-bottom:8px;
}
.wed-price-card h3{
  font-size:1.4rem;
  color:var(--navy);
  margin:0 0 6px;
  font-weight:800;
}
.wed-price-sub{
  color:var(--muted);
  font-size:0.9rem;
  margin:0 0 16px;
}
.wed-price-amount{
  font-size:3rem;
  font-weight:800;
  color:var(--teal2);
  line-height:1;
  margin:0 0 4px;
}
.wed-price-unit{
  color:var(--muted);
  font-size:0.95rem;
  margin:0 0 20px;
}
.wed-regular-price{
  text-align:center;
  margin:8px 0 32px;
}
.wed-regular-price span{
  color:var(--muted);
  font-size:1.1rem;
  text-decoration:line-through;
}
.wed-ideal-list{
  max-width:560px;
  margin:0 auto;
  text-align:left;
  list-style:none;
  padding:0;
}
.wed-ideal-title{
  max-width:560px;
  margin:18px auto 6px;
  text-align:left;
  font-weight:800;
  font-size:1.1rem;
  color:var(--navy);
}
@media(min-width:769px){
  .wed-ideal-list{
    text-align:center;
  }
  .wed-ideal-list li{
    justify-content:center;
  }
  .wed-ideal-title{
    text-align:center;
  }
}
.wed-ideal-list li{
  padding:8px 0;
  color:var(--text);
  font-size:1rem;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid var(--clr-border);
}
.wed-ideal-list li::before{
  content:'✓';
  color:var(--teal2);
  font-weight:700;
  font-size:1.1rem;
}

/* ========== How It Works (Section 7) ========== */
.wed-howitworks{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  max-width:420px;
  margin:0 auto;
}
.wed-step{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.wed-step-num{
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--teal2);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  font-weight:800;
  box-shadow:0 6px 16px rgba(201,169,110,.3);
}
.wed-step-label{
  font-size:1.15rem;
  font-weight:700;
  color:var(--navy);
}
.wed-step-arrow{
  color:var(--teal2);
  font-size:1.5rem;
  margin:4px 0;
}
.wed-step-final{
  font-size:1.6rem;
  font-weight:800;
  color:var(--teal2);
  margin-top:8px;
}
.wed-limited-note{
  text-align:center;
  margin-top:24px;
  font-style:italic;
  color:var(--muted);
  font-size:1rem;
}

/* ========== Why Krystal (Section 8) ========== */
.wed-why-list{
  max-width:720px;
  margin:0 auto;
  list-style:none;
  padding:0;
}
.wed-why-list li{
  position:relative;
  padding:14px 0 14px 38px;
  border-bottom:1px solid var(--clr-border);
  color:var(--text);
  font-size:1.05rem;
  line-height:1.5;
}
.wed-why-list li::before{
  content:"";
  position:absolute;
  left:6px;
  top:24px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--grad);
  box-shadow:0 0 0 4px rgba(111,217,213,0.18);
}
.wed-why-list li strong{
  color:var(--navy);
}
.wed-why-list li .wed-why-desc{
  font-weight:400;
  color:var(--text);
  display:block;
  margin-top:4px;
}

/* ========== Reviews (Section 9) ========== */
.wed-reviews{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:20px;
}
.wed-review-card{
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
  border:1px solid rgba(201,169,110,.1);
}
.wed-review-stars{
  color:#FFB400;
  font-size:1.2rem;
  letter-spacing:1px;
  margin-bottom:10px;
}
.wed-review-text{
  color:var(--text);
  font-size:0.95rem;
  line-height:1.6;
  margin:0 0 14px;
  font-style:italic;
}
.wed-review-author{
  font-weight:700;
  color:var(--navy);
  font-size:0.95rem;
  display:flex;
  align-items:center;
  gap:8px;
}
.wed-review-author::before{
  content:'';
  display:inline-block;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--teal1);
  background-image:url('/assets/img/Google-Review-Logo.svg');
  background-size:18px;
  background-repeat:no-repeat;
  background-position:center;
}

/* ========== FAQ (Section 10) ========== */
.wed-faq-list{
  max-width:780px;
  margin:0 auto;
}
.wed-faq-item{
  background:#fff;
  border-radius:12px;
  margin-bottom:10px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(26,43,74,.06);
}
.wed-faq-item summary{
  padding:18px 22px;
  cursor:pointer;
  font-weight:700;
  color:var(--navy);
  font-size:1.05rem;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.wed-faq-item summary::-webkit-details-marker{display:none;}
.wed-faq-item summary .wed-chev{
  transition:transform 0.3s;
  color:var(--teal2);
  font-size:1.2rem;
}
.wed-faq-item[open] summary .wed-chev{transform:rotate(180deg);}
.wed-faq-body{
  padding:0 22px 18px;
  color:var(--text);
  line-height:1.7;
  font-size:0.98rem;
}
.wed-faq-guide-link{
  text-align:center;
  margin-top:28px;
}
.wed-faq-guide-link a{
  color:var(--teal2);
  font-weight:600;
  text-decoration:underline;
}

/* ========== Planning Guide (Section 11) ========== */
.wed-planning-top{
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow);
  max-width:820px;
  margin:0 auto 24px;
}
.wed-planning-top h3{
  color:var(--navy);
  margin:0 0 18px;
  font-size:1.25rem;
  font-weight:800;
  text-align:center;
}
.wed-planning-h-rows{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
}
.wed-planning-h-rows .wed-planning-row{
  flex-direction:column;
  text-align:center;
  gap:8px;
  padding:16px 8px;
  border-bottom:none;
  border-right:1px solid var(--clr-border);
}
.wed-planning-h-rows .wed-planning-row:last-child{
  border-right:none;
}
.wed-planning-h-rows .wed-pr-label{
  font-size:1rem;
}
.wed-planning-h-rows .wed-pr-status{
  font-size:0.85rem;
}
.wed-planning-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
  max-width:820px;
  margin:0 auto;
}
.wed-planning-col{
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow);
}
.wed-planning-col.wed-planning-notsuitable h3{
  color:#C44;
}
.wed-planning-col h3{
  color:var(--navy);
  margin:0 0 18px;
  font-size:1.25rem;
  font-weight:800;
  text-align:center;
}
.wed-planning-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid var(--clr-border);
  font-size:1rem;
}
.wed-planning-row:last-child{border-bottom:none;}
.wed-planning-row .wed-pr-label{color:var(--text);font-weight:600;}
.wed-planning-row .wed-pr-status{font-size:0.9rem;}
.wed-planning-row .wed-pr-status.wed-good{color:#2D8B5F;font-weight:600;}
.wed-planning-row .wed-pr-status.wed-bad{color:#C44;font-weight:600;}
.wed-planning-row .wed-pr-status.wed-neutral{color:var(--muted);}

/* ========== Savings Cards (Section 12) ========== */
.wed-savings-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:24px;
  max-width:780px;
  margin:0 auto;
}
.wed-savings-card{
  background:linear-gradient(160deg, #fff 0%, var(--grad-bg-alt) 100%);
  border-radius:20px;
  padding:32px;
  text-align:center;
  box-shadow:var(--shadow);
  border:2px solid var(--teal1);
  position:relative;
  overflow:hidden;
}
.wed-savings-card::before{
  content:'';
  position:absolute;
  top:-20px;
  right:-20px;
  width:100px;
  height:100px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
}
.wed-savings-title{
  font-size:1.5rem;
  font-weight:800;
  color:var(--navy);
  margin:0 0 4px;
}
.wed-savings-sub{
  color:var(--muted);
  font-size:0.95rem;
  margin:0 0 18px;
}
.wed-savings-people{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-bottom:18px;
  font-size:1.1rem;
  font-weight:600;
  color:var(--navy);
}
.wed-savings-row{
  display:flex;
  justify-content:space-between;
  padding:10px 16px;
  margin-bottom:6px;
  border-radius:8px;
  font-size:1rem;
}
.wed-savings-row.wed-regular{
  background:rgba(96,112,143,.08);
  color:var(--muted);
}
.wed-savings-row.wed-regular span{text-decoration:line-through;}
.wed-savings-row.wed-today{
  background:rgba(201,169,110,.15);
  color:var(--navy);
  font-weight:700;
  font-size:1.15rem;
}
.wed-savings-row.wed-save{
  background:#2D8B5F;
  color:#fff;
  font-weight:800;
  font-size:1.1rem;
}

/* ========== Intent-Based Popup ========== */
.wed-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(26,43,74,.7);
  backdrop-filter:blur(4px);
  z-index:950;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.4s, visibility 0.4s;
}
.wed-popup-overlay.wed-show{
  opacity:1;
  visibility:visible;
}
.wed-popup{
  background:#fff;
  border-radius:24px;
  max-width:480px;
  width:100%;
  padding:36px 32px;
  text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.3);
  transform:scale(0.9);
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position:relative;
  border:2px solid var(--teal2);
}
.wed-popup-overlay.wed-show .wed-popup{
  transform:scale(1);
}
.wed-popup-close{
  position:absolute;
  top:14px;
  right:16px;
  background:none;
  border:none;
  font-size:1.5rem;
  color:var(--muted);
  cursor:pointer;
  line-height:1;
}
.wed-popup h2{
  font-size:1.6rem;
  font-weight:800;
  color:var(--navy);
  margin:0 0 10px;
}
.wed-popup .wed-popup-text{
  color:var(--muted);
  font-size:1rem;
  margin:0 0 20px;
  line-height:1.5;
}
.wed-popup .wed-popup-bundle{
  background:var(--grad-bg-alt);
  border-radius:16px;
  padding:20px;
  margin-bottom:20px;
}
.wed-popup .wed-popup-bundle-name{
  font-size:1.25rem;
  font-weight:800;
  color:var(--navy);
  margin:0 0 8px;
}
.wed-popup .wed-popup-bundle-items{
  font-size:0.95rem;
  color:var(--text);
  margin:0 0 14px;
  line-height:1.5;
}
.wed-popup .wed-popup-pricing{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}
.wed-popup .wed-popup-price-reg{
  text-decoration:line-through;
  color:var(--muted);
  font-size:1.1rem;
}
.wed-popup .wed-popup-price-today{
  font-size:1.8rem;
  font-weight:800;
  color:var(--teal2);
}
.wed-popup .wed-popup-save{
  color:#2D8B5F;
  font-weight:700;
  font-size:1rem;
  margin:8px 0 0;
}
.wed-popup .btn{
  width:100%;
  margin-top:4px;
}

/* ========== Responsive ========== */
@media(max-width:768px){
  .wed-section{padding:48px 0;}
  .wed-pricing-grid{grid-template-columns:1fr;}
  .wed-perfect-grid{grid-template-columns:repeat(2,1fr);max-width:420px;}
  .wed-savings-grid{grid-template-columns:1fr;}
  .wed-planning-grid{grid-template-columns:1fr;}
  .wed-planning-h-rows{grid-template-columns:repeat(2,1fr);}
  .wed-planning-h-rows .wed-planning-row:nth-child(2){border-right:none;}
  .wed-planning-h-rows .wed-planning-row:nth-child(odd){border-right:1px solid var(--clr-border);}
}
@media(max-width:480px){
  .wed-popup{padding:28px 20px;}
  .wed-popup h2{font-size:1.35rem;}
  .wed-ba-arrow{width:38px;height:38px;font-size:18px;}
}

/* ========== Final CTA (Section 14) ========== */
.wed-final-cta{
  background:var(--grad);
}
.wed-final-cta-heading{
  color:#233A5A;
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;
  margin:0 0 24px;
}

/* ========== CTA Block gradient ========== */
.wed-cta-block.wed-cta-grad{
  background:var(--grad);
  border-radius:var(--radius);
}
