/* ==========================================================================
   UTSAV DÉCOR & EVENTS
   Design tokens: warm ivory + deep wine ink, marigold/fuchsia/gold accents
   ========================================================================== */

:root {
  --ink: #2e0f1d;
  --plum: #4a1942;
  --paper: #fbf3e8;
  --paper-dim: #f3e4d4;
  --white: #ffffff;

  --text-onpaper: #2e0f1d;
  --text-onpaper-70: rgba(46, 15, 29, 0.7);
  --text-onpaper-50: rgba(46, 15, 29, 0.5);
  --text-onink: #fbf3e8;
  --text-onink-70: rgba(251, 243, 232, 0.72);
  --text-onink-50: rgba(251, 243, 232, 0.5);

  --marigold: #f0932b;
  --marigold-deep: #d97a16;
  --fuchsia: #d6336c;
  --fuchsia-deep: #b81f54;
  --gold: #c9a227;

  --edge-onpaper: rgba(46, 15, 29, 0.1);
  --edge-onpaper-strong: rgba(46, 15, 29, 0.18);
  --edge-onink: rgba(251, 243, 232, 0.14);
  --edge-onink-strong: rgba(251, 243, 232, 0.24);

  --font-display: "Bodoni Moda", serif;
  --font-body: "Outfit", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-onpaper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

section[id] { scroll-margin-top: 90px; }

::selection { background: var(--fuchsia); color: var(--paper); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--fuchsia);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================= reveal-on-scroll ========================= */

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* word/line reveal — populated by JS into spans, animated via IntersectionObserver */
.split-words span,
.split-lines .line {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.split-lines .line { display: block; overflow: hidden; }
.split-words.is-revealed span,
.split-lines.is-revealed .line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========================= header ========================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251, 243, 232, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--edge-onpaper);
  box-shadow: 0 8px 30px -20px rgba(46, 15, 29, 0.25);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 26px; height: 26px; color: var(--fuchsia); flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-word-sub { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); color: var(--marigold-deep); }

.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-onpaper-70); transition: color 0.25s; }
.main-nav a:hover { color: var(--fuchsia); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn-primary { background: var(--fuchsia); color: var(--white); }
.btn-primary:hover {
  background: var(--fuchsia-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(214, 51, 108, 0.55);
}
.btn-outline { border: 1.5px solid var(--edge-onpaper-strong); color: var(--text-onpaper); }
.btn-outline:hover { border-color: var(--fuchsia); color: var(--fuchsia); transform: translateY(-2px); }
.btn-outline-dark { border: 1.5px solid var(--edge-onink-strong); color: var(--text-onink); }
.btn-outline-dark:hover { border-color: var(--marigold); color: var(--marigold); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 0.97rem; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 1.6px; background: var(--text-onpaper); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: min(320px, 82vw); height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--edge-onpaper);
  z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { padding: 15px 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; border-bottom: 1px solid var(--edge-onpaper); color: var(--text-onpaper); }
.mobile-nav .mobile-cta {
  margin-top: 20px; border-bottom: none; text-align: center; border-radius: 100px;
  background: var(--fuchsia); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 1rem;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ========================= shared section head ========================= */

.section-head { max-width: 660px; margin: 0 auto 48px; padding: 0 28px; text-align: center; }
.section-kicker { font-size: 0.85rem; font-weight: 600; color: var(--fuchsia); margin: 0 0 14px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  margin: 0;
}
.section-sub { color: var(--text-onpaper-70); font-size: 0.98rem; margin: 14px auto 0; max-width: 540px; }

/* ========================= hero ========================= */

.hero { position: relative; padding: 150px 28px 70px; overflow: hidden; }

.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.petal {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(2px);
}
.petal-1 { width: 18px; height: 22px; background: var(--fuchsia); top: 18%; left: 8%; animation: drift-1 9s ease-in-out infinite; }
.petal-2 { width: 14px; height: 18px; background: var(--marigold); top: 32%; left: 42%; animation: drift-2 11s ease-in-out infinite; }
.petal-3 { width: 20px; height: 24px; background: var(--gold); top: 60%; left: 20%; animation: drift-3 10s ease-in-out infinite; }
.petal-4 { width: 12px; height: 15px; background: var(--fuchsia); top: 75%; left: 55%; animation: drift-1 8s ease-in-out infinite reverse; }

@keyframes drift-1 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(20deg); } }
@keyframes drift-2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(18px) rotate(-15deg); } }
@keyframes drift-3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(12deg); } }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
}

.hero-kicker { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: var(--marigold-deep); margin: 0 0 20px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 24px;
}
.hero-accent { color: var(--fuchsia); font-style: italic; }

.hero-sub { max-width: 460px; font-size: 1.06rem; color: var(--text-onpaper-70); margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.stat-label { font-size: 0.78rem; color: var(--text-onpaper-50); }

.hero-visual { position: relative; }
.hero-photo { border-radius: 30px 30px 30px 6px; overflow: hidden; aspect-ratio: 4/4.7; box-shadow: 0 50px 90px -40px rgba(46,15,29,0.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute; left: -18px; bottom: 32px;
  background: var(--ink); color: var(--text-onink);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 30px 50px -20px rgba(46,15,29,0.5);
  animation: float-badge 6s ease-in-out infinite;
  max-width: 190px;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--marigold); }
.hero-badge span { display: block; font-size: 0.78rem; color: var(--text-onink-70); }
@keyframes float-badge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .petal, .hero-badge { animation: none; }
}

/* ========================= marquee ========================= */

.marquee-section { padding: 50px 0; background: var(--ink); overflow: hidden; }
.marquee-label {
  text-align: center;
  color: var(--text-onink-50);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 0 0 26px;
}
.marquee-row { overflow: hidden; }
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: scroll-left 48s linear infinite;
}
.marquee-row:hover .marquee-track { animation-play-state: paused; }
.marquee-track figure { flex: none; width: 230px; height: 290px; margin: 0; border-radius: 16px; overflow: hidden; }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.marquee-track figure:hover img { transform: scale(1.08); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-track figure { width: 170px; height: 220px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ========================= services ========================= */

.services { padding: 100px 0; }
.services-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--edge-onpaper);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -35px rgba(46,15,29,0.3); border-color: var(--fuchsia); }
.service-icon { width: 30px; height: 30px; color: var(--fuchsia); margin-bottom: 16px; flex-shrink: 0; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; }
.service-card p { font-size: 0.87rem; color: var(--text-onpaper-70); margin: 0; line-height: 1.5; }

@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ========================= demos & pricing ========================= */

.demos { padding: 100px 0; background: var(--paper-dim); }
.demos-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.demo-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -30px rgba(46,15,29,0.2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.demo-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(46,15,29,0.3); }
.demo-media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.demo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.demo-card:hover .demo-media img { transform: scale(1.06); }
.demo-price {
  position: absolute; top: 14px; right: 14px;
  background: var(--fuchsia); color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
  box-shadow: 0 10px 20px -8px rgba(214,51,108,0.5);
}
.demo-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 20px 20px 8px; }
.demo-card p { font-size: 0.87rem; color: var(--text-onpaper-70); margin: 0 20px 20px; line-height: 1.5; }

.demos-note { text-align: center; margin: 40px 0 0; font-size: 0.95rem; color: var(--text-onpaper-70); }
.demos-note a { color: var(--fuchsia); font-weight: 600; }

@media (max-width: 1000px) { .demos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .demos-grid { grid-template-columns: 1fr; } }

/* ========================= areas we serve ========================= */

.areas { padding: 100px 28px; }
.areas-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.areas-copy p { color: var(--text-onpaper-70); font-size: 1rem; margin-top: 16px; max-width: 380px; }

.areas-group h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 18px; }
.areas-group { margin-bottom: 36px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips span {
  background: var(--white);
  border: 1px solid var(--edge-onpaper);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 0.87rem;
  font-weight: 500;
  transition: border-color 0.25s, color 0.25s;
}
.area-chips span:hover { border-color: var(--fuchsia); color: var(--fuchsia); }
.area-chips-cities span { background: var(--ink); color: var(--text-onink); border-color: var(--ink); }
.areas-note { font-size: 0.82rem; color: var(--text-onpaper-50); margin: 14px 0 0; }

@media (max-width: 900px) { .areas-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ========================= process ========================= */

.process { padding: 100px 28px; background: var(--paper-dim); }
.process-row { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-row::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 1px; background: var(--edge-onpaper-strong); }
.process-step { position: relative; text-align: center; }
.process-num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-dim); border: 1.5px solid var(--fuchsia); color: var(--fuchsia);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 18px;
}
.process-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; }
.process-step p { font-size: 0.87rem; color: var(--text-onpaper-70); max-width: 220px; margin: 0 auto; }

@media (max-width: 760px) {
  .process-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-row::before { display: none; }
}

/* ========================= reviews ========================= */

.reviews { padding: 100px 28px; }
.reviews-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { background: var(--white); border: 1px solid var(--edge-onpaper); border-radius: 18px; padding: 26px; }
.review-quote { font-family: var(--font-display); font-size: 0.98rem; line-height: 1.5; margin: 0 0 18px; }
.review-name { font-size: 0.8rem; font-weight: 600; color: var(--fuchsia); margin: 0; }

@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ========================= final CTA ========================= */

.final-cta {
  position: relative;
  background: var(--ink);
  color: var(--text-onink);
  padding: 120px 28px;
  text-align: center;
  overflow: hidden;
}
.final-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.final-decor .petal-1 { top: 20%; left: 12%; }
.final-decor .petal-2 { top: 65%; left: 78%; }
.final-decor .petal-3 { top: 40%; left: 85%; }

.final-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.15; margin: 10px 0 20px; }
.final-sub { color: var(--text-onink-70); font-size: 1.05rem; margin: 0 0 40px; }
.final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ========================= footer ========================= */

.site-footer { background: var(--plum); color: var(--text-onink-70); padding: 70px 28px 28px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--edge-onink); }
.footer-brand .brand { color: var(--text-onink); margin-bottom: 14px; }
.footer-brand .brand-mark { color: var(--marigold); }
.footer-brand .brand-word-sub { color: var(--marigold); }
.footer-tag { font-size: 0.87rem; max-width: 260px; line-height: 1.5; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.9rem; transition: color 0.25s; }
.footer-nav a:hover { color: var(--text-onink); }
.footer-contact p { margin: 0 0 10px; font-size: 0.9rem; line-height: 1.5; }
.footer-contact a:hover { color: var(--text-onink); }

.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { margin: 0; font-size: 0.78rem; max-width: 600px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 0.85rem; transition: color 0.25s; }
.footer-social a:hover { color: var(--text-onink); }

@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ========================= reduced motion ========================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
