/* ==========================================================================
   Oasis Prime Media — design system
   Palette and typography follow the original Elementor build:
   brand cyan #00ADEF -> blue #3871C1, indigo #3B60D4, dark #222831,
   lilac #E8D1FD, magenta #DF006B, Poppins typeface.
   Everything is self-hosted: fonts, libraries, images.
   ========================================================================== */

@import url("../fonts/poppins.css");

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --brand-cyan: #00adef;
  --brand-blue: #3871c1;
  --brand-indigo: #3b60d4;
  --brand-lilac: #e8d1fd;
  --brand-magenta: #df006b;
  --brand-amber: #ffbc7d;

  --grad-brand: linear-gradient(321deg, #00adef 0%, #3871c1 100%);
  --grad-brand-v: linear-gradient(180deg, #00adef 0%, #3871c1 100%);
  --grad-vivid: linear-gradient(120deg, #00adef 0%, #3b60d4 45%, #df006b 100%);
  --grad-lilac: linear-gradient(135deg, #e8d1fd 0%, #00adef 100%);

  /* dark theme (default) */
  --bg: #070a12;
  --bg-alt: #0b1020;
  --bg-elev: #111828;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.55);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 40px -6px rgba(0, 173, 239, 0.45);
  --grid-line: rgba(255, 255, 255, 0.045);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.45s;

  --header-h: 78px;
}

html[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-alt: #ffffff;
  --bg-elev: #ffffff;
  --surface: rgba(9, 18, 44, 0.04);
  --surface-2: rgba(9, 18, 44, 0.07);
  --border: rgba(9, 18, 44, 0.12);
  --border-strong: rgba(9, 18, 44, 0.22);
  --text: #101728;
  --text-soft: rgba(16, 23, 40, 0.76);
  --text-dim: rgba(16, 23, 40, 0.58);
  --shadow-lg: 0 30px 60px -28px rgba(16, 30, 70, 0.3);
  --shadow-glow: 0 0 40px -10px rgba(56, 113, 193, 0.35);
  --grid-line: rgba(16, 30, 70, 0.06);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img,
picture,
svg,
video { display: block; max-width: 100%; height: auto; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; border: none; background: none; }

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { text-wrap: pretty; }

::selection { background: var(--brand-cyan); color: #04121e; }

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.mt-3 { margin-top: 3rem; }
.mt-2 { margin-top: 2rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--brand-cyan);
  color: #04121e;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Type utilities ------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.lead { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--text-soft); }
.muted { color: var(--text-dim); }
.small { font-size: 0.88rem; }

.gradient-text {
  background: var(--grad-vivid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1rem; color: var(--text-soft); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), color 0.3s;
  box-shadow: 0 12px 30px -14px rgba(0, 173, 239, 0.9);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-vivid);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(59, 96, 212, 0.95); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px) scale(0.985); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn--ghost::after { background: var(--surface-2); }
.btn--ghost:hover { box-shadow: none; border-color: var(--brand-cyan); color: var(--text); }

.btn--light { background: var(--text); color: var(--bg); box-shadow: none; }
.btn--light::after { background: var(--grad-brand); }
.btn--light:hover { color: #fff; }

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.86rem; }
.btn--lg { padding: 1.05rem 2.15rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--brand-cyan);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- 6. Icons ----------------------------------------------------- */
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- 7. Decorative background ------------------------------------ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float-orb 18s ease-in-out infinite;
}
.orb--1 { width: 46vw; height: 46vw; background: #00adef; top: -14vw; left: -10vw; }
.orb--2 { width: 38vw; height: 38vw; background: #3b60d4; top: 30vw; right: -12vw; animation-delay: -6s; }
.orb--3 { width: 30vw; height: 30vw; background: #df006b; bottom: -10vw; left: 25vw; opacity: 0.22; animation-delay: -11s; }
html[data-theme="light"] .orb { opacity: 0.22; }

@keyframes float-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
  66% { transform: translate3d(-3vw, 5vw, 0) scale(0.95); }
}

/* ---------- 8. Preloader ------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: 62px; animation: bob 1.4s ease-in-out infinite; }
.preloader__bar {
  margin-top: 1.4rem;
  width: 190px;
  height: 3px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: loader 1.1s ease-in-out infinite;
}
@keyframes loader {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 9. Scroll progress + cursor + to-top ------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: var(--grad-vivid);
  box-shadow: 0 0 12px rgba(0, 173, 239, 0.8);
}

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor {
  width: 38px;
  height: 38px;
  border: 1.5px solid #fff;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor.is-active { width: 62px; height: 62px; background: rgba(255, 255, 255, 0.15); }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(20px) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-spring);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- 10. Header --------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s, backdrop-filter 0.4s, transform 0.45s var(--ease-out);
}
.header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9);
}
.header.is-hidden { transform: translateY(-105%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; }
.brand__name { font-size: 1.02rem; line-height: 1.15; }
.brand__name span { display: block; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.3s, background 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 42%; }
.nav__link.is-current { color: var(--text); background: var(--surface); }
.nav__link.is-current::after { width: 42%; }

.nav__item { position: relative; }
.nav__item--has-menu > .nav__link { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav__item--has-menu > .nav__link .icon { width: 15px; transition: transform 0.3s; }
.nav__item--has-menu:hover > .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  padding: 0.6rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease-out);
}
.nav__item--has-menu:hover .dropdown,
.nav__item--has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.dropdown a:hover { background: var(--surface); color: var(--text); transform: translateX(4px); }
.dropdown a .icon { width: 18px; color: var(--brand-cyan); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, background 0.3s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(8deg); border-color: var(--brand-cyan); }

.theme-toggle .icon--sun { display: none; }
html[data-theme="light"] .theme-toggle .icon--sun { display: block; }
html[data-theme="light"] .theme-toggle .icon--moon { display: none; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
}
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%) translateY(var(--y, 0));
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.burger span:nth-child(1) { --y: -6px; }
.burger span:nth-child(3) { --y: 6px; }
.burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(22px);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-out), visibility 0.5s;
  overflow-y: auto;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer a {
  padding: 0.95rem 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open a { animation: drawer-in 0.5s var(--ease-out) forwards; }
.drawer.is-open a:nth-child(1) { animation-delay: 0.06s; }
.drawer.is-open a:nth-child(2) { animation-delay: 0.12s; }
.drawer.is-open a:nth-child(3) { animation-delay: 0.18s; }
.drawer.is-open a:nth-child(4) { animation-delay: 0.24s; }
.drawer.is-open a:nth-child(5) { animation-delay: 0.3s; }
.drawer.is-open a:nth-child(6) { animation-delay: 0.36s; }
.drawer.is-open a:nth-child(7) { animation-delay: 0.42s; }
.drawer.is-open a:nth-child(8) { animation-delay: 0.48s; }
.drawer.is-open a:nth-child(9) { animation-delay: 0.54s; }
.drawer .btn { margin-top: 1.2rem; border-bottom: none; }
@keyframes drawer-in { to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 680px) {
  .header__actions > .btn { display: none; }
  .brand__name { font-size: 0.95rem; }
}

/* ---------- 11. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: -1; opacity: 0.55; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-top: 1.4rem; }
.hero__sub { margin-top: 1.5rem; max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span {
  grid-area: 1 / 1;
  background: var(--grad-vivid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.35em) rotateX(-40deg);
  animation: rotate-word 9s infinite;
}
.rotator span:nth-child(1) { animation-delay: 0s; }
.rotator span:nth-child(2) { animation-delay: 3s; }
.rotator span:nth-child(3) { animation-delay: 6s; }
@keyframes rotate-word {
  0%, 3% { opacity: 0; transform: translateY(0.4em) rotateX(-45deg); }
  8%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-0.4em) rotateX(45deg); }
}

.hero__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero__visual img.hero__art {
  width: min(100%, 460px);
  filter: drop-shadow(0 30px 60px rgba(0, 173, 239, 0.35));
  animation: bob 6s ease-in-out infinite;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 500;
  animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.05rem; }
.float-card .icon { color: var(--brand-cyan); }
.float-card--a { top: 2%; left: -6%; animation-delay: -1s; }
.float-card--b { bottom: 6%; right: -6%; animation-delay: -2.6s; }
.float-card--c { bottom: 34%; left: -10%; animation-delay: -4s; }
@media (max-width: 1100px) {
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .float-card--c { left: 0; bottom: 26%; }
}
@media (max-width: 620px) {
  .float-card--c { display: none; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat__num { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 0.45rem; font-size: 0.83rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ---------- 12. Cards ---------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 239, 0.28), transparent 65%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover .card__glow { opacity: 1; }

.card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 1.2rem;
  box-shadow: 0 14px 30px -14px rgba(0, 173, 239, 0.9);
  transition: transform 0.5s var(--ease-spring);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card__icon .icon { width: 28px; height: 28px; }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card__img { border-radius: var(--radius); margin-bottom: 1.2rem; width: 100%; }
.card__art { width: 92px; margin-bottom: 1rem; transition: transform 0.5s var(--ease-spring); }
.card:hover .card__art { transform: translateY(-6px) scale(1.05); }

.card__list { margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.card__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }
.card__list .icon { width: 18px; height: 18px; color: var(--brand-cyan); margin-top: 0.2rem; }

.card--feature { display: grid; gap: 1.2rem; }
.card--num::after {
  content: attr(data-num);
  position: absolute;
  top: -0.4rem;
  right: 0.8rem;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  opacity: 0.045;
}

/* ---------- 13. Marquee -------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--border);
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee__item:hover { color: var(--text); }
.marquee__item .icon { color: var(--brand-cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 14. Process timeline ---------------------------------------- */
.timeline { position: relative; display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-indigo), transparent);
  opacity: 0.35;
}
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; align-items: start; }
.timeline__dot {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--brand-cyan);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring), background 0.4s, color 0.4s;
}
.timeline__item:hover .timeline__dot { background: var(--grad-brand); color: #fff; transform: scale(1.08); }
.timeline__body h3 { margin-bottom: 0.4rem; }
.timeline__body p { color: var(--text-soft); }
.timeline__meta { margin-top: 0.6rem; font-size: 0.82rem; color: var(--brand-cyan); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 15. Portfolio ------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.2rem; }
.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.3s var(--ease-out);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -14px rgba(0, 173, 239, 0.9); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.work {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-out), opacity 0.4s, box-shadow 0.5s;
}
.work.is-hidden { display: none; }
.work img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease-out), filter 0.5s; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work:hover img { transform: scale(1.07); }
.work__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(0deg, rgba(4, 8, 18, 0.94) 20%, rgba(4, 8, 18, 0.55) 60%, transparent);
  transform: translateY(24%);
  opacity: 0.001;
  transition: all 0.45s var(--ease-out);
  color: #fff;
  pointer-events: none; /* keeps the whole tile clickable for the lightbox */
}
.work:hover .work__body,
.work:focus-within .work__body { transform: none; opacity: 1; }
.work__tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-cyan); }
.work__body h3 { font-size: 1.15rem; margin: 0.35rem 0 0.4rem; }
.work__body p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.work__kpis { display: flex; gap: 1.1rem; margin-top: 0.8rem; font-size: 0.8rem; }
.work__kpis b { display: block; font-size: 1.05rem; color: var(--brand-cyan); }

/* ---------- 16. Testimonials / swiper ----------------------------------- */
.swiper { padding-bottom: 3.4rem !important; overflow: visible !important; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; }
.quote {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote__stars { display: flex; gap: 0.2rem; color: var(--brand-amber); }
.quote__stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.quote p { color: var(--text-soft); font-size: 0.97rem; }
.quote__mark { font-size: 3.2rem; line-height: 0.4; color: var(--brand-cyan); opacity: 0.5; font-family: Georgia, serif; }
.quote__person { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); }
.quote__person b { display: block; font-size: 0.93rem; }
.quote__person span { font-size: 0.8rem; color: var(--text-dim); }

.swiper-pagination-bullet { background: var(--text) !important; opacity: 0.28; }
.swiper-pagination-bullet-active { background: var(--brand-cyan) !important; opacity: 1; width: 22px !important; border-radius: 4px !important; }
.swiper-button-next, .swiper-button-prev { color: var(--brand-cyan) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.2rem !important; font-weight: 700; }

/* ---------- 17. Accordion ------------------------------------------------ */
.accordion { display: grid; gap: 0.8rem; }
.acc {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}
.acc.is-open { border-color: color-mix(in srgb, var(--brand-cyan) 55%, transparent); background: var(--surface-2); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}
.acc__btn .icon { width: 20px; color: var(--brand-cyan); transition: transform 0.4s var(--ease-out); flex: none; }
.acc.is-open .acc__btn .icon { transform: rotate(45deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.acc__panel > div { padding: 0 1.3rem 1.3rem; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- 18. Pricing -------------------------------------------------- */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 0.5rem 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
}
.switch { position: relative; width: 52px; height: 28px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); }
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-brand);
  transition: transform 0.35s var(--ease-spring);
}
.switch.is-on::after { transform: translateX(23px); }
.badge-save { font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); background: rgba(0, 173, 239, 0.15); color: var(--brand-cyan); font-weight: 600; }

.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: color-mix(in srgb, var(--brand-cyan) 45%, transparent); box-shadow: var(--shadow-glow); }
.plan--featured::before { opacity: 1; }
.plan__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  font-weight: 600;
}
.plan__price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1rem 0 0.3rem; }
.plan__price b { font-size: 2.7rem; font-weight: 700; letter-spacing: -0.03em; }
.plan__price span { color: var(--text-dim); font-size: 0.9rem; }
.plan .card__list { flex: 1; margin-bottom: 1.5rem; }

/* ---------- 19. Blog ----------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.post-card.is-hidden { display: none; }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__cat {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(4, 8, 18, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.78rem; color: var(--text-dim); }
.post-card__meta span { display: inline-flex; align-items: center; gap: 0.32rem; }
.post-card__meta .icon { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.16rem; line-height: 1.35; }
.post-card p { font-size: 0.92rem; color: var(--text-soft); flex: 1; }

.post-card--wide { flex-direction: row; }
.post-card--wide .post-card__media { flex: 0 0 46%; aspect-ratio: auto; }
.post-card--wide .post-card__body { padding: clamp(1.4rem, 3vw, 2.4rem); justify-content: center; }
@media (max-width: 760px) { .post-card--wide { flex-direction: column; } .post-card--wide .post-card__media { flex: none; aspect-ratio: 16/10; } }

.searchbar { position: relative; display: flex; align-items: center; }
.searchbar .icon { position: absolute; left: 1rem; color: var(--text-dim); width: 19px; }
.searchbar input {
  width: 100%;
  padding: 0.9rem 1.1rem 0.9rem 2.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
}
.searchbar input:focus { outline: none; border-color: var(--brand-cyan); background: var(--surface-2); }

/* ---------- 20. Article -------------------------------------------------- */
.article-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 0.85rem; color: var(--text-dim); margin-top: 1.4rem; }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-hero__meta .icon { width: 16px; height: 16px; color: var(--brand-cyan); }
.article-hero img.cover { width: 100%; border-radius: var(--radius-lg); margin-top: 2.4rem; border: 1px solid var(--border); aspect-ratio: 16/7; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static !important; order: -1; } }

.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.toc { padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.toc h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.9rem; }
.toc a {
  display: block;
  padding: 0.42rem 0 0.42rem 0.9rem;
  border-left: 2px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: all 0.3s;
}
.toc a:hover { color: var(--text); border-color: var(--brand-cyan); }
.toc a.is-active { color: var(--brand-cyan); border-color: var(--brand-cyan); font-weight: 600; }

.prose { font-size: 1.02rem; color: var(--text-soft); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 { margin-top: 2.2rem; color: var(--text); font-size: 1.22rem; }
.prose h4 { margin-top: 1.6rem; color: var(--text); }
.prose a { color: var(--brand-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { display: grid; gap: 0.6rem; padding-left: 1.2rem; }
.prose ul li { list-style: none; position: relative; padding-left: 1.2rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--brand-cyan); font-weight: 700; }
.prose img { border-radius: var(--radius); border: 1px solid var(--border); }
.prose figure { margin: 2rem 0; }
.prose figcaption { margin-top: 0.7rem; font-size: 0.83rem; color: var(--text-dim); text-align: center; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--brand-lilac);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1.6rem 0; }
.prose th, .prose td { padding: 0.75rem 0.9rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.prose tbody tr:hover { background: var(--surface); }

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0, 173, 239, 0.12), rgba(59, 96, 212, 0.08));
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 30%, transparent);
  margin: 2rem 0;
}
.callout .icon { color: var(--brand-cyan); flex: none; margin-top: 0.15rem; }
.callout b { color: var(--text); }
.callout p { font-size: 0.95rem; }

.share { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.share span { font-size: 0.85rem; color: var(--text-dim); }

.author-box {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); }
.author-box h4 { margin-bottom: 0.25rem; }
.author-box p { font-size: 0.9rem; color: var(--text-soft); }

/* ---------- 21. Forms ---------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.12);
}
.field select option { background: var(--bg-elev); color: var(--text); }
.field--error input,
.field--error select,
.field--error textarea { border-color: var(--brand-magenta); }
.field__error { font-size: 0.78rem; color: var(--brand-magenta); display: none; }
.field--error .field__error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.87rem; color: var(--text-soft); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--brand-cyan); flex: none; margin-top: 0.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.84rem;
  color: var(--text-soft);
  transition: all 0.3s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }

.form-note { font-size: 0.84rem; color: var(--text-dim); }
.form-success {
  display: none;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(0, 173, 239, 0.12);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 40%, transparent);
  color: var(--text);
  font-size: 0.92rem;
}
.form-success.is-visible { display: flex; animation: pop 0.5s var(--ease-spring); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 22. CTA ------------------------------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 6vw, 4.2rem);
  background: linear-gradient(120deg, rgba(0, 173, 239, 0.16), rgba(223, 0, 107, 0.12)), var(--bg-elev);
  border: 1px solid var(--border);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 239, 0.35), transparent 65%);
  top: -60%;
  left: 50%;
  translate: -50% 0;
  pointer-events: none;
}
.cta h2 { position: relative; }
.cta p { position: relative; margin: 1rem auto 0; max-width: 46ch; color: var(--text-soft); }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }

/* ---------- 23. Footer --------------------------------------------------- */
.footer { position: relative; margin-top: var(--section-y); border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.6rem; }
.footer a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.25s, transform 0.25s; display: inline-block; }
.footer a:hover { color: var(--brand-cyan); transform: translateX(3px); }
.footer__about p { font-size: 0.92rem; color: var(--text-soft); margin-top: 1rem; max-width: 32ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.35s var(--ease-spring);
}
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }
.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
}
.newsletter input:focus { outline: none; border-color: var(--brand-cyan); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer__bottom ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- 24. Page header (inner pages) ------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.page-hero h1 { max-width: 22ch; margin-inline: auto; }
.page-hero p { margin: 1.2rem auto 0; max-width: 52ch; color: var(--text-soft); }
.breadcrumbs { display: flex; justify-content: center; gap: 0.55rem; font-size: 0.82rem; color: var(--text-dim); margin-top: 1.4rem; }
.breadcrumbs a:hover { color: var(--brand-cyan); }
.breadcrumbs li { display: flex; gap: 0.55rem; align-items: center; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }

/* ---------- 25. Misc ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.split__media img { width: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 173, 239, 0.22), transparent 55%);
  pointer-events: none;
}
.duotone { filter: grayscale(1) contrast(1.06) brightness(0.92); transition: filter 0.6s var(--ease-out); }
.duotone-wrap { position: relative; }
.duotone-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(0, 173, 239, 0.55), rgba(59, 96, 212, 0.35));
  mix-blend-mode: color;
  transition: opacity 0.6s var(--ease-out);
}
.duotone-wrap:hover::after { opacity: 0; }
.duotone-wrap:hover .duotone { filter: none; }

.member { text-align: center; }
.member__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.member:hover .member__photo img { transform: scale(1.05); }
.member h3 { font-size: 1.08rem; margin-top: 1rem; }
.member span { font-size: 0.85rem; color: var(--brand-cyan); }
.member p { font-size: 0.87rem; color: var(--text-dim); margin-top: 0.5rem; }

.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; align-items: center; opacity: 0.75; }
.logo-strip div {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: all 0.35s;
}
.logo-strip div:hover { color: var(--text); border-color: var(--brand-cyan); transform: translateY(-3px); }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--text-soft);
}
.badge .icon { width: 16px; height: 16px; color: var(--brand-cyan); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  min-height: 320px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  animation: bob 3s ease-in-out infinite;
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--brand-cyan);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .card__icon { width: 48px; height: 48px; margin-bottom: 0; border-radius: 14px; flex: none; }
.contact-item .card__icon .icon { width: 22px; height: 22px; }
.contact-item > div:last-child { min-width: 0; }
.contact-item b { display: block; font-size: 0.95rem; }
.contact-item a, .contact-item p { color: var(--text-soft); font-size: 0.92rem; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--brand-cyan); }

/* 404 */
.error-code {
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 800;
  line-height: 0.9;
  background: var(--grad-vivid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}

/* toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  z-index: 300;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.45s var(--ease-spring);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.toast .icon { color: var(--brand-cyan); }

/* cookie bar */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  translate: -50% 0;
  z-index: 150;
  width: min(680px, calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  color: var(--text-soft);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-out);
}
.cookie.is-visible { transform: none; }

/* ---------- 26. AOS-friendly reveal utilities --------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 27. Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor, .cursor-dot { display: none; }
}

/* ---------- 28. Print ---------------------------------------------------- */
@media print {
  .header, .footer, .to-top, .cookie, .bg-fx, .preloader, .article-aside, .cursor, .cursor-dot { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { font-size: 11pt; }
}

#services .card__icon{
  display: none!important;
}