/* ============================================================
   Synexian homepage — cream theme, deliberately light on motion
   ============================================================ */

section { padding: 6rem 0; }

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}

.carousel-nav { display: flex; gap: 0.6rem; }
.car-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.car-btn:hover { border-color: var(--amber); color: var(--amber-deep); }
.car-btn svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 7rem 0 6.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero-bg .dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.85;
  animation: dot-drift 9s ease-in-out infinite alternate;
}
.dot-amber { width: 18px; height: 18px; background: var(--amber); top: 22%; left: 12%; }
.dot-coral { width: 13px; height: 13px; background: var(--coral); top: 60%; left: 84%; animation-delay: -3s; }
.dot-olive { width: 15px; height: 15px; background: var(--olive); top: 18%; left: 78%; animation-delay: -6s; }
@keyframes dot-drift {
  to { transform: translate(14px, -20px); }
}

.hero-inner {
  position: relative;
  max-width: 880px;
  text-align: center;
  margin-inline: auto;
}
.tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 .colon { color: var(--amber-deep); }
.hero-sub {
  margin: 1.5rem auto 2.4rem;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--text-dim);
}
.hero-cta { display: flex; justify-content: center; gap: 1rem; }

/* gentle entrance — the only hero motion */
.tagline, .hero h1, .hero-sub, .hero-cta {
  animation: hero-rise 0.9s var(--ease-out) both;
}
.hero h1 { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.16s; }
.hero-cta { animation-delay: 0.24s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
}

/* ---------- services carousel ---------- */
.services { background: var(--surface); border-block: 1px solid var(--line); }

.services-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30%, 340px);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.services-carousel::-webkit-scrollbar { height: 6px; }
.services-carousel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.service-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  background: var(--surface-2);
}
.service-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(20, 36, 48, 0.35);
}
.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.service-card .go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber-deep);
}
.service-card .go svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.service-card:hover .go svg { transform: translateX(4px); }
.service-card .soon-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* ---------- why marquee ---------- */
.why-marquee { margin-top: 0.5rem; }
.why-card {
  width: clamp(300px, 34vw, 400px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--surface-2);
}
.why-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.why-card .gif-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.why-card .gif-badge img { width: 52px; height: 52px; object-fit: contain; }
.why-card h3 { font-size: 1.22rem; }
.why-card p { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.why-card .learn-more {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--amber-deep);
}
.why-card .learn-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- modal content ---------- */
#modal-content .modal-head { text-align: center; margin-bottom: 1.8rem; }
#modal-content .modal-head .gif-badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 235, 218, 0.2);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
#modal-content .modal-head .gif-badge img { width: 60px; height: 60px; object-fit: contain; }
#modal-content h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }
#modal-content .modal-sub { color: rgba(240, 235, 218, 0.65); }
#modal-content h4 {
  font-size: 1.05rem;
  color: var(--amber);
  margin: 1.6rem 0 0.5rem;
}
#modal-content p { color: rgba(240, 235, 218, 0.78); font-size: 0.97rem; }
#modal-content .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
#modal-content .chips .pill { color: rgba(240, 235, 218, 0.75); border-color: rgba(240, 235, 218, 0.2); }

/* ---------- testimonials ---------- */
.testimonials { background: var(--surface); border-block: 1px solid var(--line); }
.testimonials .section-head { margin-bottom: 2.6rem; }
.review-card {
  width: clamp(300px, 36vw, 420px);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card .stars { display: flex; gap: 2px; color: var(--amber-deep); }
.review-card .stars svg { width: 16px; height: 16px; }
.review-card blockquote {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-dim);
  flex: 1;
}
.review-card .who { display: flex; align-items: center; gap: 0.8rem; }
.review-card .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cream);
}
.review-card .who strong { font-family: var(--font-display); font-size: 0.95rem; display: block; }
.review-card .who span { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- final CTA ---------- */
.cta-final { padding-bottom: 7rem; }
.cta-card {
  position: relative;
  background: var(--ink-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 235, 218, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 235, 218, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-card > * { position: relative; }
.cta-dots { display: inline-flex; gap: 8px; margin-bottom: 1.4rem; }
.cta-dots i { width: 12px; height: 12px; border-radius: 50%; }
.cta-dots i:nth-child(1) { background: var(--amber); }
.cta-dots i:nth-child(2) { background: var(--coral); }
.cta-dots i:nth-child(3) { background: var(--olive); }
.cta-card h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-card p {
  max-width: 62ch;
  margin: 1.1rem auto 2rem;
  color: rgba(240, 235, 218, 0.7);
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  section { padding: 4rem 0; }
  .section-row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero { padding: 4.5rem 0; }
}
