/* ============================================================================
   LUXURIA MARKETING — DESIGN SYSTEM
   Apple-style whitespace & motion · Candybox-style boldness · luxe jewel tones
   ========================================================================== */

/* ----------------------------------------------------------------- TOKENS */
:root {
  /* Jewel-tone palette */
  --sapphire: #2b6cff;
  --amethyst: #8b3dec;
  --ruby:     #e11d74;
  --gold:     #d8a32e;
  --emerald:  #10a37f;

  /* Neutrals */
  --ink:    #0a0a12;
  --ink-2:  #12121d;
  --ink-3:  #1c1c2b;
  --bg:     #ffffff;
  --bg-soft:#f5f4fb;
  --bg-tint:#eef0fb;
  --text:   #16161f;
  --muted:  #5c5c70;
  --muted-2:#8a8a9c;
  --line:   rgba(16, 16, 36, 0.10);
  --line-2: rgba(255, 255, 255, 0.12);
  --white:  #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(115deg, var(--sapphire), var(--amethyst) 48%, var(--ruby));
  --grad-jewel: linear-gradient(115deg, var(--sapphire), var(--amethyst) 35%, var(--ruby) 70%, var(--gold));
  --grad-dark:  radial-gradient(120% 120% at 0% 0%, #1a1430 0%, var(--ink) 55%);

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", var(--font-body);

  /* Shape & depth */
  --radius:   18px;
  --radius-lg:28px;
  --radius-xl:36px;
  --shadow-sm: 0 2px 10px rgba(16, 16, 36, 0.06);
  --shadow:    0 18px 50px -20px rgba(20, 16, 60, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(20, 16, 60, 0.40);

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;
}

/* ------------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(139, 61, 236, 0.22); }

/* ------------------------------------------------------------- UTILITIES */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 84px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amethyst);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.eyebrow.on-dark { color: #c8b6ff; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 18px 0 16px; }

/* ------------------------------------------------------------- BUTTONS */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 0.98rem; color: var(--white);
  background: var(--ink); position: relative; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s;
  will-change: transform;
}
.btn .ic-sm { width: 17px; height: 17px; transition: transform .35s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .ic-sm { transform: translateX(3px); }
.btn-primary { background: var(--grad-brand); background-size: 160% 160%; animation: gradShift 8s ease infinite; }
.btn-pill { background: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: transparent; background: var(--bg-soft); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* ------------------------------------------------------------- HEADER / NAV */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: height .35s ease, background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled { height: 62px; border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,16,60,.5); }
.nav-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.nav-scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad-jewel); z-index: 2; }

.logo { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 700; }
.logo-word { font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1; }
.logo-word span { transition: transform .3s ease; display: inline-block; }
.logo:hover .logo-word span { transform: translateY(-3px); }
.logo:hover .logo-word span:nth-child(2n) { transform: translateY(3px); }
.logo-suffix { font-size: 1.05rem; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.site-header.scrolled .logo-word { font-size: 1.42rem; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 500;
  color: var(--text); font-size: 0.97rem; transition: color .25s, background .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover { color: var(--amethyst); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.nav-cta { padding: 11px 20px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.97); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 28px;
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile .nav-link { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .btn { margin-top: 14px; justify-content: center; }

/* ------------------------------------------------------------------- HERO */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px)); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: -1; }
.hero-orb.o1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--amethyst), transparent 68%); top: -120px; right: -60px; }
.hero-orb.o2 { width: 380px; height: 380px; background: radial-gradient(circle, var(--sapphire), transparent 66%); bottom: -120px; left: -80px; }
.hero-orb.o3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--ruby), transparent 66%); top: 40%; left: 45%; opacity: .35; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -0.035em; margin: 22px 0 22px; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: .9rem; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,163,127,.16); }

/* Hero visual: animated ROI card */
.hero-visual { position: relative; }
.roi-card {
  background: rgba(255,255,255,.72); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.roi-card h4 { font-size: 1rem; color: var(--muted); font-weight: 600; }
.roi-metric { display: flex; align-items: flex-end; gap: 10px; margin: 4px 0 18px; }
.roi-metric .big { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.roi-metric .up { color: var(--emerald); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 4px; }
.roi-chart { width: 100%; height: 120px; }
.roi-foot { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted-2); font-size: .82rem; }
.float-badge {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem;
}
.float-badge .ic { width: 20px; height: 20px; }
.float-badge.b1 { top: -22px; left: -18px; color: var(--sapphire); }
.float-badge.b2 { bottom: -20px; right: -10px; color: var(--ruby); }

/* ---------------------------------------------------------- MARQUEE */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 18px; white-space: nowrap; will-change: transform; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--text);
  font-weight: 600; font-size: .96rem;
}
.chip .dotc { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-jewel); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- STATS BAND */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); margin-top: 6px; font-size: .98rem; }

/* ---------------------------------------------------------- SERVICES GRID */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
  transform-style: preserve-3d;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: var(--accent); box-shadow: 0 10px 24px -10px var(--accent); margin-bottom: 18px;
}
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.svc-card .svc-tag { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .96rem; }
.svc-card .arrow { margin-top: 16px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.svc-card .arrow .ic-sm { width: 16px; height: 16px; transition: transform .3s; }
.svc-card:hover .arrow .ic-sm { transform: translateX(4px); }

/* Services PAGE: alternating detail rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; padding: clamp(40px,6vw,72px) 0; border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row-media { order: -1; }
.svc-row-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.svc-row-media img, .svc-row-media svg { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 14px 0 14px; }
.svc-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.svc-points li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat; }

/* ---------------------------------------------------------- PROCESS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.proc { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); position: relative; transition: transform .4s, box-shadow .4s; }
.proc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proc .step { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proc h3 { font-size: 1.18rem; margin: 14px 0 10px; }
.proc p { color: var(--muted); font-size: .96rem; }
.proc .bar { height: 3px; width: 0; border-radius: 3px; background: var(--grad-jewel); margin-top: 18px; transition: width 1s ease; }
.proc.in .bar { width: 100%; }

/* ---------------------------------------------------------- DARK SECTIONS */
.dark { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.dark h2, .dark h3, .dark .logo-suffix { color: #fff; }
.dark .lead, .dark p { color: rgba(255,255,255,.72); }
.dark .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .4; pointer-events: none; }
.dark .glow.g1 { width: 420px; height: 420px; background: var(--amethyst); top: -120px; right: -60px; }
.dark .glow.g2 { width: 360px; height: 360px; background: var(--sapphire); bottom: -140px; left: -80px; }

/* ---------------------------------------------------------- CTA BAND */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 30px; color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------- VALUE / FEATURE */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); transition: transform .4s, box-shadow .4s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .fic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); margin-bottom: 16px; }
.feature .fic .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* split callout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,5vw,64px); align-items: center; }
.media-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; background: var(--bg-soft); }
.media-card img, .media-card svg { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- ABOUT */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.value .vnum { font-family: var(--font-display); font-weight: 800; color: var(--amethyst); font-size: .95rem; letter-spacing: .1em; }
.value h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.value p { color: var(--muted); font-size: .96rem; }

/* ---------------------------------------------------------- CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-soft); font-family: inherit; font-size: 1rem; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amethyst); background: #fff; box-shadow: 0 0 0 4px rgba(139,61,236,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); transition: transform .35s, box-shadow .35s; }
.info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-item .iic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.info-item .iic .ic { width: 22px; height: 22px; }
.info-item h4 { font-size: 1.05rem; margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--muted); font-size: .97rem; }
.info-item a:hover { color: var(--amethyst); }

/* ---------------------------------------------------------- FOOTER */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(56px,7vw,84px); margin-top: 0; }
.site-footer .logo-suffix { color: rgba(255,255,255,.6); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line-2); }
.foot-brand .foot-tag { margin: 16px 0 20px; color: rgba(255,255,255,.62); max-width: 34ch; }
.foot-contacts { display: grid; gap: 10px; }
.foot-contact { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); font-size: .95rem; transition: color .25s; }
.foot-contact .ic-sm { width: 17px; height: 17px; color: var(--amethyst); }
.foot-contact:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: #fff; transition: background .3s, transform .3s; }
.foot-social a:hover { background: var(--grad-brand); transform: translateY(-3px); border-color: transparent; }
.foot-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.foot-links { display: grid; gap: 11px; }
.foot-links a { color: rgba(255,255,255,.66); font-size: .95rem; transition: color .25s, padding-left .25s; }
.foot-links a:hover { color: #fff; padding-left: 4px; }
.foot-cta-col .foot-tag { color: rgba(255,255,255,.62); margin-bottom: 20px; font-size: .95rem; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 26px 24px; font-size: .86rem; color: rgba(255,255,255,.5); }
.foot-bottom .foot-domain { color: rgba(255,255,255,.8); font-weight: 600; }
.foot-bottom .foot-made { margin-left: auto; }
.foot-legal { display: inline-flex; gap: 16px; }
.foot-legal a:hover { color: #fff; }

/* ---------------------------------------------------------- 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--nav-h); }
.notfound h1 { font-size: clamp(4rem, 16vw, 11rem); }

/* ---------------------------------------------------------- REVEAL ANIM */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-scale.in { opacity: 1; transform: none; }

/* floating animation */
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.d { animation-delay: -3s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* ---------------------------------------------------------- RESPONSIVE */
@media (max-width: 1024px) {
  .svc-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .values { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-top: 18px; }
  .split, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-media { order: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-right { margin-left: auto; }
  .svc-grid, .stats, .process { grid-template-columns: 1fr; }
  .feature-grid, .values { grid-template-columns: 1fr; }
  .svc-points { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom .foot-made { margin-left: 0; width: 100%; }
  .float-badge { display: none; }
}

/* ---------------------------------------------------------- MOTION SAFETY */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
}
