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

/* ==========================================================================
   Apex Digital Solutions — Design System
   Build. Connect. Grow.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #0066ff;
  --blue-hover: #0057db;
  --blue-dark: #0047b3;
  --blue-light: #4d94ff;
  --blue-tint: #eaf1ff;
  --navy: #0b1220;
  --navy-deep: #070c16;
  --charcoal: #111827;
  --grey: #e5e7eb;
  --white: #ffffff;

  /* Neutrals */
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #5b6678;
  --surface: #f6f8fb;
  --line: #e5e7eb;
  --line-soft: #eef1f5;

  /* On dark */
  --on-dark: #ffffff;
  --on-dark-soft: #c3cdde;
  --on-dark-muted: #94a2b8;
  --dark-line: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --section-y: clamp(68px, 8.5vw, 120px);

  /* Shape */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sh-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --sh-md: 0 10px 30px rgba(16, 24, 40, 0.08);
  --sh-lg: 0 24px 60px rgba(16, 24, 40, 0.12);
  --sh-blue: 0 10px 28px rgba(0, 102, 255, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--blue); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; color: var(--ink); }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--blue-light); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }

.section--light { background: var(--surface); }
.section--dark { background: var(--navy); color: var(--on-dark-soft); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--blue-light); }
.section--dark .eyebrow::before,
.hero .eyebrow::before { background: var(--blue-light); }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  font-size: clamp(1.03rem, 1.4vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 0;
  max-width: 68ch;
}
.section-head--center p { margin-inline: auto; }
.section--dark .section-head p { color: var(--on-dark-soft); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}
.section--dark .lead { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { box-shadow: var(--sh-blue); }
.btn--primary:hover { --btn-bg: var(--blue-hover); --btn-bd: var(--blue-hover); box-shadow: 0 14px 34px rgba(0, 102, 255, 0.34); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-bg: transparent; }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.07); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--grey); --btn-bd: var(--grey); }

.btn--wa { --btn-bg: #25d366; --btn-fg: #06281a; --btn-bd: #25d366; }
.btn--wa:hover { --btn-bg: #1fbd5a; --btn-bd: #1fbd5a; }

.btn--sm { padding: 12px 20px; font-size: 0.9375rem; }
.btn--lg { padding: 18px 34px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-dark);
}
.arrow-link svg { transition: transform 0.2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link { color: var(--blue-light); }

/* ==========================================================================
   Header
   ========================================================================== */
/* NOTE: no backdrop-filter / transform here on purpose — either would make the
   header a containing block and break the position:fixed mobile drawer. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck {
  background: var(--navy-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: #fff;
  flex: none;
}
.brand:hover { color: #fff; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: #fff;
}
.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.945rem;
  font-weight: 500;
  color: #d4dcea;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  width: 20px;
  margin: 5px auto -2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  cursor: pointer;
  color: #fff;
}
.nav-toggle .bars {
  display: block;
  position: relative;
  width: 19px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .nav-drawer {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--navy-deep);
    padding: 28px 0 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    z-index: 99;
  }
  .nav-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .nav-drawer li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-drawer ul a {
    display: block;
    padding: 16px 2px;
    font-family: var(--font-head);
    font-size: 1.22rem;
    font-weight: 600;
    color: #fff;
  }
  .nav-drawer ul a[aria-current="page"] { color: var(--blue-light); }
  .nav-drawer .btn { width: 100%; }
  .nav-drawer .drawer-contact {
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--on-dark-muted);
  }
  .nav-drawer .drawer-contact a { color: var(--blue-light); font-weight: 600; }
}
@media (min-width: 1001px) {
  .nav-drawer { display: none; }
}

body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-soft);
  padding-block: clamp(56px, 7vw, 96px) clamp(60px, 7vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: min(820px, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22) 0%, rgba(0, 102, 255, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--blue-light); }
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--on-dark-soft);
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero .btn-row { margin-bottom: 36px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
.hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-points svg { color: var(--blue-light); flex: none; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  padding: 13px 18px;
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 260px;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex: none;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.hero-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .btn-row { margin-bottom: 28px; }
  .hero-badge { left: 8px; bottom: 14px; max-width: 230px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-soft);
  padding-block: clamp(54px, 7vw, 92px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: 4%;
  width: min(640px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0) 66%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page-hero p { color: var(--on-dark-soft); font-size: clamp(1.03rem, 1.5vw, 1.18rem); max-width: 62ch; }
.page-hero .btn-row { margin-top: 30px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--on-dark-muted);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.28); }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Grids & cards
   ========================================================================== */
.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #d8dde6; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }
.card .arrow-link { margin-top: 18px; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .icon-badge { background: rgba(0, 102, 255, 0.16); color: var(--blue-light); }

.card--dark { background: transparent; border-color: var(--dark-line); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-soft); }
.card--dark:hover { border-color: rgba(255, 255, 255, 0.24); box-shadow: none; }

.h2-sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.mini-head {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ---------- Value / benefits ---------- */
.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 920px) { .value-grid { grid-template-columns: 1fr; } }

.benefit {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.benefit:first-child { border-top: 0; padding-top: 0; }
.benefit-icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-tint);
  color: var(--blue);
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: 5px; }
.benefit p { font-size: 0.96rem; color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.service-card .num {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.service-card p { flex: 1; }

/* ---------- Industries ---------- */
.industry-card {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--charcoal);
  color: #fff;
  isolation: isolate;
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  z-index: -2;
}
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 22, 0.93) 6%, rgba(7, 12, 22, 0.52) 48%, rgba(7, 12, 22, 0.22) 100%);
  z-index: -1;
  transition: background 0.3s var(--ease);
}
.industry-card:hover img { transform: scale(1.06); }
.industry-card:hover::after { background: linear-gradient(to top, rgba(0, 54, 135, 0.92) 6%, rgba(7, 12, 22, 0.5) 50%, rgba(7, 12, 22, 0.2) 100%); }
.industry-card .industry-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
}
.industry-card h3 { color: #fff; font-size: 1.1rem; margin: 0 0 3px; }
.industry-card span { font-size: 0.82rem; color: #b9c6da; }

/* ---------- Portfolio ---------- */
.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.work-thumb {
  background: var(--grey);
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.work-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.work-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-tint);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  margin-bottom: 13px;
}
.work-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.chips li {
  margin: 0;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-top: 34px;
}
.section--dark .note {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--dark-line);
  border-left-color: var(--blue-light);
  color: var(--on-dark-muted);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  position: relative;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 30px; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}
.step.is-accent::before { background: var(--blue); }
.step-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.section--dark .step::before { background: rgba(255, 255, 255, 0.14); }
.section--dark .step.is-accent::before { background: var(--blue-light); }
.section--dark .step-num { color: var(--blue-light); }
.section--dark .step p { color: var(--on-dark-soft); }

/* ---------- Pricing ---------- */
.pricing-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 920px) { .pricing-teaser { grid-template-columns: 1fr; } }

.pkg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pkg-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
}
.pkg-list .pkg-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; flex: none; min-width: 92px; }
.pkg-list .pkg-desc { font-size: 0.92rem; color: var(--muted); }

.price-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  height: 100%;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price-card.is-featured {
  border-color: var(--blue);
  box-shadow: 0 18px 44px rgba(0, 102, 255, 0.14);
}
.price-badge {
  position: absolute;
  top: -13px; left: clamp(26px, 3vw, 36px);
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--r-pill);
}
.price-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.price-card .price-for { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.price-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-dark);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.price-quote small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.feature-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.feature-list li { display: flex; gap: 11px; margin: 0; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.5; }
.feature-list svg { flex: none; width: 19px; height: 19px; color: var(--blue); margin-top: 2px; }

/* ---------- Split / media ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split__media img { border-radius: var(--r-lg); width: 100%; box-shadow: var(--sh-md); }
.split--reverse .split__media { order: 2; }
@media (max-width: 920px) { .split--reverse .split__media { order: 0; } }

.tick-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; margin: 0; font-size: 0.99rem; }
.tick-list svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.section--dark .tick-list svg { color: var(--blue-light); }

/* ---------- Detailed service rows ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  padding-block: clamp(36px, 4.4vw, 58px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; gap: 20px; } }
.svc-detail h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.svc-detail .lead { font-size: 1.03rem; margin-bottom: 0; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
@media (max-width: 520px) { .svc-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: #cfd8e6; box-shadow: var(--sh-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .faq-body { padding: 0 22px 22px; color: var(--muted); font-size: 0.97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact / form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item { display: flex; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item .benefit-icon { width: 42px; height: 42px; border-radius: 10px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 0.96rem; margin: 0; }
.contact-item p { color: var(--muted); }
.contact-item .meta { font-size: 0.84rem; color: var(--muted); display: block; margin-top: 2px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.2vw, 40px);
  box-shadow: var(--sh-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.13);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa4b4; }
.field .error { font-size: 0.8rem; color: #d92d20; min-height: 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d92d20; }
.field.has-error .error { min-height: 18px; }

.form-title { font-size: 1.45rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.fineprint { margin: 16px 0 0; font-size: 0.82rem; color: var(--muted); }

.form-success {
  display: none;
  text-align: center;
  padding: 18px 0 6px;
}
.form-success .tick-circle {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8f8ee;
  color: #17a34a;
  display: grid;
  place-items: center;
}
.form-card.is-sent .form-success { display: block; }
.form-card.is-sent form { display: none; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--on-dark-soft);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 110vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.24) 0%, rgba(0, 102, 255, 0) 62%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 16px; }
.cta-band p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-soft); max-width: 56ch; margin: 0 auto 32px; }
.cta-band .micro { font-size: 0.86rem; color: var(--on-dark-muted); margin-top: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  padding-block: clamp(50px, 6vw, 74px) 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(36px, 4.5vw, 52px);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; color: var(--on-dark-muted); font-size: 0.93rem; }
.footer-tag {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.02em;
  margin-bottom: 10px !important;
  font-size: 0.95rem;
}
.site-footer .footer-head {
  font-family: var(--font-body);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--on-dark-muted); font-size: 0.94rem; }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: 13px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; color: var(--on-dark-muted); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { flex: none; color: var(--blue-light); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  color: var(--on-dark-soft);
  transition: all 0.18s var(--ease);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px 26px;
  padding-right: 200px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #74839b;
}
.footer-bottom p { margin: 0; }
@media (max-width: 760px) {
  .footer-bottom { padding-right: 0; padding-bottom: 88px; }
}
.footer-bottom .flag { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 26px);
  bottom: clamp(16px, 2.4vw, 26px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06281a;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 20px 13px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-float:hover { background: #1fbd5a; color: #06281a; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3); }
.wa-float svg { flex: none; }
@media (max-width: 560px) {
  .wa-float { padding: 14px; border-radius: 50%; }
  .wa-float .wa-label { display: none; }
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .cta-band, .site-footer { display: none; }
  body { color: #000; }
}
