/* ============================================================
   IMAGE & IMPACT — Shared Design System
   Palette:  Deep navy #1B2A4A · Blush pink #F2D9DE · Cream #FAF6F1
   Type:     Fraunces (display serif) · Inter (body sans)
   ============================================================ */

:root {
  --navy: #1b2a4a;
  --navy-800: #141f38;
  --navy-600: #2a3d64;
  --navy-400: #4a5b7e;
  --pink: #f2d9de;
  --pink-soft: #f8e9ec;
  --pink-deep: #e8b9c1;
  --cream: #faf6f1;
  --cream-warm: #f3ece1;
  --white: #ffffff;
  --ink: #1b2a4a;
  --ink-soft: #4a5b7e;
  --line: rgba(27, 42, 74, 0.12);
  --line-strong: rgba(27, 42, 74, 0.22);
  --shadow-sm: 0 2px 12px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 12px 40px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 24px 80px rgba(27, 42, 74, 0.14);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1240px;
  --container-narrow: 960px;

  --nav-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* Typography scale */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pink-deep);
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
}
h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}
p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--navy-600);
  max-width: 640px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-tight {
  padding: clamp(56px, 7vw, 96px) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(27, 42, 74, 0.18);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 42, 74, 0.22);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--pink-deep);
}
.btn-secondary:hover {
  background: var(--pink-soft);
  border-color: var(--navy);
}

.btn-ghost {
  padding: 10px 0;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn-ghost:hover {
  color: var(--navy-800);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 16px;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 241, 0.95);
}
.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--navy-600);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover {
  color: var(--navy);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}
.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  padding: 12px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

/* Hero shared */
.hero {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
}

/* Trust strip */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-400);
  font-weight: 500;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: center;
}
.trust-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy-600);
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.75;
  white-space: nowrap;
}
.trust-logo strong {
  font-style: normal;
  font-weight: 500;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  background: var(--cream);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: 24px;
}
.footer-logo img {
  height: 44px;
}
.footer p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--pink);
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* WhatsApp icon */
.wa-icon {
  display: inline-block;
  vertical-align: middle;
}

/* ============ MOTION UTILITIES ============ */
/* Base reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Directional variants */
.reveal-l {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-l.in {
  opacity: 1;
  transform: none;
}
.reveal-r {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-r.in {
  opacity: 1;
  transform: none;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-scale.in {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stagger.in > * {
  opacity: 1;
  transform: none;
}
.stagger.in > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.in > *:nth-child(2) {
  transition-delay: 0.15s;
}
.stagger.in > *:nth-child(3) {
  transition-delay: 0.25s;
}
.stagger.in > *:nth-child(4) {
  transition-delay: 0.35s;
}
.stagger.in > *:nth-child(5) {
  transition-delay: 0.45s;
}
.stagger.in > *:nth-child(6) {
  transition-delay: 0.55s;
}
.stagger.in > *:nth-child(7) {
  transition-delay: 0.65s;
}
.stagger.in > *:nth-child(8) {
  transition-delay: 0.75s;
}
.stagger.in > *:nth-child(9) {
  transition-delay: 0.85s;
}

/* Word-by-word headline reveal */
.split-word {
  display: inline-block;
  overflow: hidden;
}
.split-word .w {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.split-word.in .w {
  transform: translateY(0);
}
.split-word.in .w:nth-child(1) {
  transition-delay: 0.05s;
}
.split-word.in .w:nth-child(2) {
  transition-delay: 0.15s;
}
.split-word.in .w:nth-child(3) {
  transition-delay: 0.25s;
}
.split-word.in .w:nth-child(4) {
  transition-delay: 0.35s;
}
.split-word.in .w:nth-child(5) {
  transition-delay: 0.45s;
}
.split-word.in .w:nth-child(6) {
  transition-delay: 0.55s;
}
.split-word.in .w:nth-child(7) {
  transition-delay: 0.65s;
}

/* Marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  align-items: center;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  padding-right: 60px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Parallax base */
.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Ken-burns for hero/gallery */
@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
.kb-active {
  animation: kenBurns 12s ease-out forwards;
}

/* Float animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Draw-in border */
@keyframes borderDraw {
  0% {
    stroke-dashoffset: 400;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-l,
  .reveal-r,
  .reveal-scale,
  .stagger > *,
  .split-word .w {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee-track {
    animation: none;
  }
  .kb-active {
    animation: none;
  }
}

/* Utility */
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 16px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-12 {
  margin-top: 48px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-8 {
  margin-bottom: 32px;
}
.mb-12 {
  margin-bottom: 48px;
}

/* Breakpoints */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .container,
  .container-narrow {
    padding: 0 22px;
  }
  .nav-inner {
    padding: 0 22px;
  }
  .nav-logo img {
    height: 34px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  .btn-lg {
    padding: 16px 30px;
    font-size: 15px;
  }
  .section {
    padding: 64px 0;
  }
  p.lead {
    font-size: 1.02rem;
  }
}
