/* ============================================================
   LUMOS — Home page
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  height: 100svh;
  min-height: 680px; /* never shorter than this on tiny screens */
  position: relative;
  padding: 0; /* override global section padding */
  background: linear-gradient(135deg, #EAE2D4 0%, #F5EFE6 60%, #D9B5A6 120%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* sparkle stars canvas */
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200,169,106,0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}
/* champagne glow behind wordmark */
.hero::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200,169,106,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Text content ── */
.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(84px, 11vh, 128px) 24px 0;
}

.hero__eyebrow {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--champagne);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.1s forwards;
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(76px, 13vw, 176px);
  letter-spacing: 0.06em;
  line-height: 0.88;
  color: var(--ink);
  margin: 0 0 10px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.22s forwards;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.8vw, 32px);
  color: var(--ink);
  opacity: 0;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
  animation: fadeUp 0.9s ease 0.34s forwards;
}

.hero__location {
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--champagne);
  margin: 0 0 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.44s forwards;
}

.hero__book {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--ink);
  background: transparent;
  padding: 14px 44px;
  text-decoration: none;
  border: 1.5px solid rgba(26,23,20,0.45);
  border-radius: 100px;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.54s forwards;
}
.hero__book:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* ── 3D Card Carousel ── */
.hero-carousel {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vh, 36px) 0 clamp(80px, 11vh, 120px);
  perspective: 1300px;
  perspective-origin: 50% 50%;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-carousel__stage {
  position: relative;
  width: 260px;
  height: 368px;
  transform-style: preserve-3d;
}

.hero-card {
  position: absolute;
  top: 0; left: 0;
  width: 260px;
  height: 368px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #D4C8B8;
  transition: transform 750ms cubic-bezier(0.23, 1, 0.32, 1),
              opacity   750ms ease,
              box-shadow 750ms ease;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(26,23,20,0.14);
  will-change: transform;
}
.hero-card.is-center {
  cursor: default;
  box-shadow: 0 32px 80px rgba(26,23,20,0.26);
}

/* Carousel nav arrows */
.hero-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(242,237,228,0.85);
  border: 1px solid rgba(200,169,106,0.35);
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 200ms ease, border-color 200ms ease;
  line-height: 1;
  padding: 0;
}
.hero-carousel__nav:hover { background: var(--champagne); border-color: var(--champagne); }
.hero-carousel__nav--prev { left: clamp(12px, 4vw, 80px); }
.hero-carousel__nav--next { right: clamp(12px, 4vw, 80px); }

/* ── Info bar ── */
.hero__infobar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(242,237,228,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(200,169,106,0.28);
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}
.hero__infobar-col {
  display: flex;
  flex-direction: column;
  padding: 20px 36px 22px;
  border-right: 1px solid rgba(200,169,106,0.18);
  gap: 2px;
}
.hero__infobar-col:last-child { border-right: none; }

.hero__infobar-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hero__infobar-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--champagne);
}
.hero__infobar-val {
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.7;
}
.hero__infobar-val a { color: inherit; text-decoration: none; }
.hero__infobar-val a:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-carousel__nav--prev { left: 16px; }
  .hero-carousel__nav--next { right: 16px; }
  .hero__infobar-col { padding: 18px 24px 20px; }
}

@media (max-width: 768px) {
  .hero__name { font-size: clamp(68px, 19vw, 110px); }
  .hero-card  { width: 200px; height: 280px; }
  .hero-carousel__stage { width: 200px; height: 280px; }
  .hero__infobar { grid-template-columns: 1fr; }
  .hero__infobar-col {
    padding: 12px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(200,169,106,0.15);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
  }
  .hero__infobar-col:last-child { border-bottom: none; }
  .hero__infobar-icon { margin-bottom: 0; }
  .hero__infobar-val  { font-size: 11.5px; }
  .hero-carousel__nav { display: none; }
}

@media (max-width: 480px) {
  .hero__name { font-size: clamp(58px, 22vw, 88px); }
  .hero__book { padding: 13px 36px; }
  .hero-card  { width: 170px; height: 238px; }
  .hero-carousel__stage { width: 170px; height: 238px; }
}

/* ── Craft / USPs ────────────────────────────────────────── */

.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
}

.usp-item {
  padding: 36px 0;
  border-bottom: 1px solid rgba(200,169,106,0.22);
}
.usp-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--champagne);
  display: block;
  margin-bottom: 10px;
}
.usp-item__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.usp-item__body {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .usp-grid { column-gap: 48px; }
}
@media (max-width: 640px) {
  .usp-grid { grid-template-columns: 1fr; column-gap: 0; }
}

/* ── Promo Popup ─────────────────────────────────────────── */

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(26, 23, 20, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.promo-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-popup {
  position: relative;
  background: #F5EFE6;
  border: 1px solid rgba(200,169,106,0.35);
  border-radius: 18px;
  padding: 0;
  max-width: min(520px, calc((100vh - 48px) * 0.667));
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(26,23,20,0.18);
  overflow: visible;
  transform: translateY(16px);
  transition: transform 400ms cubic-bezier(0.23,1,0.32,1);
}
.promo-overlay.is-open .promo-popup { transform: translateY(0); }

.promo-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(82, 52, 25, 0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26,23,20,0.16);
  font-size: 15px;
  color: #523419;
  opacity: 0.9;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  transition: opacity 200ms ease, transform 200ms ease;
}
.promo-popup__close:hover {
  opacity: 1;
  transform: scale(1.04);
}

.promo-popup__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 18px;
}

@media (max-width: 480px) {
  .promo-overlay { padding: 14px; }
  .promo-popup {
    max-width: min(100%, calc((100vh - 28px) * 0.667));
    border-radius: 14px;
  }
  .promo-popup__image { border-radius: 14px; }
  .promo-popup__close {
    top: 8px;
    right: 8px;
    background: rgba(255, 250, 242, 0.88);
  }
}

/* ── Our Story ───────────────────────────────────────────── */

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-heading {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.15;
  margin-top: 8px;
}

.story-body {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  opacity: 0.72;
  margin-bottom: 22px;
}

.story-body--accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--champagne);
  opacity: 1;
  margin-bottom: 0;
}

.story-social {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.story-social__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 250ms ease, color 250ms ease;
}
.story-social__link svg { flex-shrink: 0; }
.story-social__link:hover { opacity: 1; color: var(--champagne); }

@media (max-width: 768px) {
  .story-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Services preview (horizontal scroll) ────────────────── */

/* Override section padding for left-bleed scroll */
.services-section {
  padding-top: var(--section-pad-v);
  padding-bottom: var(--section-pad-v);
  padding-left: var(--section-pad-h);
  padding-right: 0;
}
.services-section__header {
  padding-right: var(--section-pad-h);
  margin-bottom: 52px;
}
.services-section__footer {
  padding-right: var(--section-pad-h);
  margin-top: 36px;
}

.services-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* Peek: show a sliver of the next card */
  padding-right: var(--section-pad-h);
}
.services-track::-webkit-scrollbar { display: none; }
.services-track .service-card {
  flex: 0 0 264px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .services-section { padding-right: 0; }
  .services-track .service-card { flex: 0 0 240px; }
}
@media (max-width: 480px) {
  .services-track .service-card { flex: 0 0 210px; }
}

/* ── Testimonials ─────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hide 3rd on tablet so layout stays even */
  .testimonials-grid > :nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid > :nth-child(3) { display: block; }
}

/* ── Hygiene section ─────────────────────────────────────── */

.hygiene-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hygiene-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  opacity: 0.8;
}
.hygiene-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
}
.hygiene-aside__line {
  width: 1px;
  height: 80px;
  background: var(--champagne);
  opacity: 0.4;
}
.hygiene-aside__word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--champagne);
  opacity: 0.75;
}

@media (max-width: 768px) {
  .hygiene-layout { grid-template-columns: 1fr; gap: 0; }
  .hygiene-aside  { display: none; }
  .hygiene-item   { font-size: 14px; }
}
