/* Home page styles */

/* Layout */
.home-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-section {
  padding: 5rem 1.5rem;
}

.home-section.section-soft {
  background: linear-gradient(180deg, rgba(248,247,244,0) 0%, var(--bg-secondary, #f8f7f4) 8%, var(--bg-secondary, #f8f7f4) 92%, rgba(248,247,244,0) 100%);
}

.home-grid {
  display: grid;
  gap: 2rem;
}

/* Full-width showcase rows: break out of the shared 1200px page shell while
   retaining responsive breathing room at the viewport edges. */
.home-section--full-bleed {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(1.5rem, 4vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 5rem);
}

.home-section--full-bleed .section-wide {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Announcement bar */
.announce-bar {
  background: var(--saffron, #e4a332);
  color: #fff;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.announce-bar a {
  color: #fff;
  text-decoration: underline;
}

.announce-dismiss {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: auto;
}

/* Hero carousel */
.hero-fullscreen {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-carousel-fw {
  position: relative;
  height: 70vh;
  min-height: 480px;
}

.hero-slide-fw {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide-fw.active {
  opacity: 1;
}

.hero-slide-fw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-gradient-fw {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content-fw {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 3rem 1.5rem;
}

.hero-content-inner {
  max-width: 800px;
  width: 100%;
}

.hero-copy-fw {
  color: #fff;
}

.hero-heading-fw {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-dots-fw {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--saffron, #e4a332);
  color: #fff;
}

.btn-primary:hover {
  background: var(--saffron-dark, #c48a1f);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-soft {
  background: var(--bg-secondary, #f8f7f4);
}

/* Features */
.feature-card {
  background: #fff;
  border: 1px solid var(--rule, rgba(20,20,20,.08));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(228,163,50,.15), rgba(10,148,136,.1));
  color: var(--saffron, #e4a332);
  font-size: 1.5rem;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit.icon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.check-list li i {
  color: var(--teal, #0a9488);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--rule, rgba(20,20,20,.08));
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.plan-featured {
  border-color: var(--saffron, #e4a332);
  box-shadow: 0 0 0 2px var(--saffron, #e4a332);
}

.plan-badge {
  display: inline-block;
  background: var(--saffron, #e4a332);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-tier-label {
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink, #17131f);
  margin-bottom: 1.5rem;
}

/* Pricing cards sit on a light surface, unlike the dark hero buttons. */
.pricing-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  background: var(--saffron, #e4a332);
  color: #fff !important;
  border: 1px solid var(--saffron, #e4a332);
  box-shadow: 0 4px 12px rgba(196, 138, 31, .28);
}
.pricing-cta:hover,
.pricing-cta:focus-visible {
  background: var(--saffron-dark, #c48a1f);
  border-color: var(--saffron-dark, #c48a1f);
  color: #fff !important;
  transform: translateY(-1px);
}
.pricing-cta:focus-visible {
  outline: 3px solid rgba(228, 163, 50, .35);
  outline-offset: 3px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--rule, rgba(20,20,20,.08));
  border-radius: 20px;
  padding: 1.75rem;
}

/* Consultation */
.consultation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.consultation-card {
  background: #fff;
  border: 1px solid var(--rule, rgba(20,20,20,.08));
  border-radius: 24px;
  padding: 2.5rem;
}

.consultation-heading-center {
  text-align: center;
}

.consultation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: #fff;
  border: 1px solid var(--rule, rgba(20,20,20,.08));
  border-radius: 24px;
  padding: 2.5rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--rule, rgba(20,20,20,.08));
  border-bottom: 1px solid var(--rule, rgba(20,20,20,.08));
  background: linear-gradient(90deg, rgba(228,163,50,.06), rgba(10,148,136,.06), rgba(228,163,50,.06));
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 35s linear infinite;
}

.marquee-strip {
  padding: 1.25rem 0;
}

.marquee-item {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #17131f);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-item::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--saffron, #e4a332);
  margin-right: 0.5rem;
  font-size: 0.9em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Anchor link */
.anchor-link {
  scroll-margin-top: 5rem;
}

/* Scroll animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark mode overrides */
html.dark-mode .home-section.section-soft {
  background: rgba(20,20,20,.3);
}

html.dark-mode .feature-card,
html.dark-mode .testimonial-card,
html.dark-mode .pricing-card,
html.dark-mode .consultation-card,
html.dark-mode .about-card {
  background: #1e1e2f;
  border-color: rgba(255,255,255,.07);
}

html.dark-mode .feature-card:hover,
html.dark-mode .testimonial-card:hover,
html.dark-mode .pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

html.dark-mode .marquee-strip {
  background: rgba(20,20,20,.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .consultation-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 3rem 1rem;
  }

  .hero-carousel-fw {
    height: min(115vw, 70vh);
    min-height: 360px;
    max-height: 620px;
    background: #101817;
  }

  .hero-slide-fw img {
    object-fit: contain;
    object-position: center center;
  }

  .hero-content-fw {
    position: relative;
    padding: 4rem 1rem 2rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  }

  .hero-heading-fw {
    font-size: 2rem;
  }

  .hero-stats-bar-fw,
  .benefit-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-carousel-fw {
    height: min(125vw, 68vh);
    min-height: 340px;
  }
}
