/* ============================================================
   José Gregorio Rodríguez — CV  ·  Premium Orange / Black / White
   ============================================================ */

:root {
  --orange: #FF6B35;
  --orange-deep: #E2551F;
  --orange-soft: rgba(255, 107, 53, 0.12);
  --black: #0A0A0A;
  --ink: #141210;
  --white: #FFFFFF;
  --paper: #F6F4F1;
  --paper-line: #E4E0DA;
  --dark-line: rgba(255, 255, 255, 0.12);
  --muted: #6B665E;
  --muted-dark: rgba(255, 255, 255, 0.58);

  --display: "Bricolage Grotesque", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section.dark { background: var(--black); color: var(--white); }
.section.paper { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 26px;
}
.eyebrow .num { color: var(--orange); font-weight: 700; }
.eyebrow .lbl { color: inherit; opacity: 0.65; letter-spacing: 0.22em; }
.dark .eyebrow .lbl, .section:not(.dark) .eyebrow .lbl { color: currentColor; opacity: .5; }

.sec-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 60ch; color: var(--muted); margin: 0;
}
.dark .lead { color: var(--muted-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--white);
}
.header-inner {
  max-width: 1460px; margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--orange);
  color: var(--black); display: grid; place-items: center;
  font-size: 15px; font-weight: 800; flex: none;
}
.brand .bname { font-size: 16px; line-height: 1; }
.brand .bname small { display: block; font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .18em; color: var(--orange); margin-top: 4px; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 12.5px; font-weight: 500; padding: 7px 9px; border-radius: 7px;
  color: rgba(255,255,255,.72); transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav a.cur { color: var(--orange); }

.header-tools { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--dark-line); border-radius: 9px; }
.lang-switch button {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 7px; border: 0; background: transparent; color: rgba(255,255,255,.6);
  border-radius: 6px; cursor: pointer; transition: color .16s;
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button.active { background: var(--orange); color: var(--black); }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s, background .18s, color .18s, border-color .18s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: #ff7d4d; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--dark-line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black); color: var(--white); position: relative; overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 620px at 88% 18%, rgba(255,107,53,.16), transparent 60%),
    radial-gradient(480px 480px at 8% 92%, rgba(255,107,53,.07), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.availability {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(255,107,53,.4); background: var(--orange-soft);
  padding: 8px 14px; border-radius: 100px; margin-bottom: 28px;
}
.availability .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255,107,53,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,.55); }
  70% { box-shadow: 0 0 0 11px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(42px, 6.4vw, 88px); line-height: 0.96; letter-spacing: -0.035em;
  margin: 0 0 22px; text-wrap: balance;
}
.hero h1 .surname { color: var(--orange); }

.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.roles span {
  font-size: 13.5px; font-weight: 500; padding: 7px 13px;
  border: 1px solid var(--dark-line); border-radius: 100px; color: rgba(255,255,255,.82);
}

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 32px; }
.hero-meta .mi { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(255,255,255,.82); }
.hero-meta .mi svg { width: 17px; height: 17px; color: var(--orange); flex: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--dark-line);
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  aspect-ratio: 4 / 4.4;
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-photo .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55));
}
.hero-photo .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); background: rgba(10,10,10,.6); border: 1px solid var(--dark-line);
  padding: 7px 12px; border-radius: 8px; backdrop-filter: blur(6px);
}
.hero-photo .badge-eu {
  position: absolute; top: -14px; right: -14px; z-index: 3;
  background: var(--orange); color: var(--black); font-family: var(--mono); font-weight: 700;
  font-size: 11px; letter-spacing: .08em; padding: 9px 13px; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(255,107,53,.35); transform: rotate(3deg);
  text-align: center; line-height: 1.3;
}

/* ============================================================
   PROFILE / generic two-col
   ============================================================ */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split.head { margin-bottom: clamp(36px, 5vw, 64px); }

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.flag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.flag-badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: default;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1px solid var(--paper-line); border-radius: 100px; padding: 9px 16px;
  transition: border-color .2s, transform .2s; outline: none;
}
.dark .flag-badge { background: #121212; border-color: var(--dark-line); color: #fff; }
.flag-badge .fb-emoji { font-size: 17px; }
.flag-badge:hover, .flag-badge:focus-visible { border-color: var(--orange); transform: scale(1.06); }
.flag-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: max-content; max-width: 240px; z-index: 20;
  background: var(--black); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.4;
  padding: 9px 13px; border-radius: 9px; border: 1px solid var(--dark-line);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.flag-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--black); }
.flag-badge:hover .flag-tip, .flag-badge:focus-visible .flag-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.stat { border-top: 2px solid var(--orange); padding-top: 14px; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; letter-spacing: -0.03em; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.dark .stat .l { color: var(--muted-dark); }

.prose p { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink); margin: 0 0 18px; }
.dark .prose p { color: rgba(255,255,255,.86); }
.prose strong { color: var(--orange); font-weight: 700; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.cred { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--paper-line); border-radius: 13px; background: var(--white); transition: border-color .2s, transform .2s; }
.dark .cred { background: #121212; border-color: var(--dark-line); }
.cred:hover { border-color: var(--orange); transform: translateY(-2px); }
.cred .cred-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: none; }
.cred .cred-ic svg { width: 21px; height: 21px; }
.cred .cred-t { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; }
.dark .cred .cred-t { color: #fff; }
.cred .cred-d { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dark .cred .cred-d { color: var(--muted-dark); }

/* ============================================================
   EDUCATION / cards
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--paper-line); border-radius: 16px; padding: 26px 26px 28px;
  background: var(--white); position: relative; transition: border-color .2s, transform .2s;
}
.section.paper .card { background: var(--white); }
.dark .card { background: #121212; border-color: var(--dark-line); }
.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.card .k {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--orange); margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.card .k svg { width: 18px; height: 18px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 6px; line-height: 1.15; }
.card .meta { font-size: 14px; color: var(--muted); }
.dark .card .meta { color: var(--muted-dark); }
.card .yr {
  position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-weight: 700;
  font-size: 13px; color: var(--ink);
}
.dark .card .yr { color: #fff; }

/* ============================================================
   TIMELINE (experience)
   ============================================================ */
.timeline { position: relative; margin-top: 14px; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(255,107,53,.25));
}
.tl-item { position: relative; padding: 0 0 42px 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: 8px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--orange); display: grid; place-items: center;
}
.tl-node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.section:not(.dark) .tl-node { background: var(--paper); }
.tl-when { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--orange); text-transform: uppercase; }
.tl-flag { font-size: 20px; margin-right: 8px; }
.tl-item h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; margin: 8px 0 4px; display: flex; align-items: center; }
.tl-place { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.dark .tl-place { color: var(--muted-dark); }
.tl-item p { font-size: 15.5px; max-width: 56ch; margin: 0; color: rgba(255,255,255,.82); }
.section:not(.dark) .tl-item p { color: var(--ink); }

/* ============================================================
   SKILL CHIPS / specialties
   ============================================================ */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.spec {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
  border: 1px solid var(--paper-line); border-radius: 13px; background: var(--white);
  transition: border-color .2s, transform .2s;
}
.dark .spec { background: #121212; border-color: var(--dark-line); }
.spec:hover { border-color: var(--orange); transform: translateY(-2px); }
.spec .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: none; }
.spec .ic svg { width: 21px; height: 21px; }
.spec .tt { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.spec .ds { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.dark .spec .ds { color: var(--muted-dark); }

/* tech chips */
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tech-chips span { font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--dark-line); border-radius: 100px; color: rgba(255,255,255,.85); }
.section:not(.dark) .tech-chips span { border-color: var(--paper-line); color: var(--ink); }

.feature-card {
  border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px; background: #121212;
  display: grid; gap: 8px;
}
.feature-card .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--orange); text-transform: uppercase; }
.feature-card h3 { font-family: var(--display); font-weight: 700; font-size: 24px; margin: 4px 0; letter-spacing: -0.01em; }
.feature-card p { color: var(--muted-dark); margin: 0; font-size: 15px; }
.feature-card a.lk { color: var(--orange); font-family: var(--mono); font-size: 13px; font-weight: 600; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; }

/* ============================================================
   LANGUAGES (bars)
   ============================================================ */
.lang-bars { display: grid; gap: 26px; max-width: 720px; }
.lang-row { }
.lang-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.lang-row .nm { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.lang-row .nm em { font-style: normal; color: var(--muted); font-family: var(--body); font-weight: 400; font-size: 14px; margin-left: 10px; }
.lang-row .lvl { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--orange); text-transform: uppercase; }
.bar { height: 10px; border-radius: 100px; background: var(--paper-line); overflow: hidden; }
.dark .bar { background: rgba(255,255,255,.1); }
.bar > i {
  display: block; height: 100%; border-radius: 100px; width: 0;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   DOCS
   ============================================================ */
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc {
  border: 1px solid var(--paper-line); border-radius: 14px; padding: 22px; background: var(--white);
  display: flex; flex-direction: column; gap: 12px;
}
.doc .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--black); color: var(--orange); display: grid; place-items: center; }
.doc .ic svg { width: 22px; height: 22px; }
.doc .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.doc .v { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.doc .v.ok { color: #138a4e; font-weight: 600; }

/* ============================================================
   QR / DOWNLOAD
   ============================================================ */
.qr-band { display: grid; grid-template-columns: 1.2fr auto; gap: clamp(28px, 5vw, 64px); align-items: center; }
.qr-card {
  background: var(--white); border-radius: 18px; padding: 22px; display: grid; gap: 14px; justify-items: center;
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
}
.qr-card #qr { width: 184px; height: 184px; display: grid; place-items: center; }
.qr-card #qr img, .qr-card #qr canvas { width: 184px !important; height: 184px !important; }
.qr-card .qr-url { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--black); letter-spacing: .02em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border: 1px solid var(--dark-line); border-radius: 14px; background: #121212; transition: border-color .2s, transform .2s;
}
.contact-item:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact-item .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--orange); color: var(--black); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.contact-item .v { font-size: 16px; font-weight: 600; margin-top: 2px; word-break: break-word; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #050505; color: var(--white); border-top: 2px solid var(--orange); padding: 58px 0 0; }
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 44px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
}
.footer-col h4 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 18px; }
.brand-col .brand { margin-bottom: 16px; }
.fb-tag { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.fb-desc { font-size: 14px; color: var(--muted-dark); margin: 0 0 20px; max-width: 38ch; line-height: 1.6; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; background: #1a1a1a; color: #fff;
  display: grid; place-items: center; transition: background .2s, color .2s, transform .2s;
}
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { background: var(--orange); color: var(--black); transform: scale(1.18); }
.socials-note { font-size: 12px; color: rgba(255,255,255,.4); margin: 12px 0 0; }
.fcol-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fcol-links a { font-size: 14px; color: rgba(255,255,255,.74); position: relative; transition: color .18s; display: inline-block; }
.fcol-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--orange); transition: width .25s; }
.fcol-links a:hover { color: #fff; }
.fcol-links a:hover::after { width: 100%; }
.footer-bottom {
  border-top: 1px solid var(--dark-line); background: #020202;
  max-width: 100%; padding: 22px var(--gutter);
}
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.fb-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fb-legal a { font-size: 12.5px; color: rgba(255,255,255,.55); position: relative; transition: color .18s; }
.fb-legal a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--orange); transition: width .25s; }
.fb-legal a:hover { color: #fff; }
.fb-legal a:hover::after { width: 100%; }
.fb-copy { font-size: 12.5px; color: rgba(255,255,255,.5); }
.fb-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-flags .fflag { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.78); padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 100px; cursor: default; transition: border-color .2s, transform .2s; }
.fb-flags .fflag:hover { border-color: var(--orange); transform: translateY(-2px); }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 200; display: flex; align-items: center; gap: 12px; }
.chat-btn {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  background: var(--orange); color: var(--black); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(255,107,53,.45); transition: transform .2s;
  animation: chatPulse 2.4s ease-in-out infinite;
}
.chat-btn svg { width: 28px; height: 28px; }
.chat-btn:hover { transform: scale(1.1); }
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255,107,53,.45), 0 0 0 0 rgba(255,107,53,.5); }
  50% { box-shadow: 0 10px 30px rgba(255,107,53,.45), 0 0 0 14px rgba(255,107,53,0); }
}
.chat-bubble {
  order: -1; max-width: 260px; background: #fff; color: var(--ink);
  border-radius: 16px 16px 4px 16px; padding: 13px 16px; font-size: 14px; font-weight: 500; line-height: 1.4;
  box-shadow: 0 16px 40px rgba(0,0,0,.28); position: relative;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.chatbot.show-bubble .chat-bubble { opacity: 1; transform: none; pointer-events: auto; }
.chat-bubble::after { content: ""; position: absolute; right: -7px; bottom: 0; border: 7px solid transparent; border-left-color: #fff; border-bottom: 0; }
.cb-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 6px; transition: background .15s, color .15s; }
.cb-close svg { width: 13px; height: 13px; }
.cb-close:hover { background: var(--paper); color: var(--ink); }
.cb-text { display: block; padding-right: 18px; }
.cb-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 100px; background: #e5352b; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.cb-dots { display: none; gap: 4px; padding-top: 8px; }
.cb-dots.typing { display: flex; }
.cb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: cbDot 1s infinite; }
.cb-dots i:nth-child(2) { animation-delay: .15s; }
.cb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cbDot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* ============================================================
   SCROLL REVEAL (sections / cards)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .chat-btn { animation: none; }
}

/* ============================================================
   PREMIUM LIGHTING & POLISH
   ============================================================ */
/* subtle film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

/* orange orbs behind dark sections */
.section.dark { position: relative; overflow: hidden; }
.section.dark > .wrap { position: relative; z-index: 1; }
.section.dark::before {
  content: ""; position: absolute; z-index: 0; width: 480px; height: 480px; border-radius: 50%;
  top: -160px; right: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,107,53,.14), transparent 65%);
  filter: blur(20px);
}
.section.dark.alt::before { left: -140px; right: auto; top: auto; bottom: -180px; background: radial-gradient(circle, rgba(44,102,219,.14), transparent 65%); }

/* glowing top divider between sections */
.section + .section::before,
.section + .section.dark::before {
}
.section.divider-top { border-top: 1px solid transparent; }
.section.divider-top::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,.6), transparent);
}

/* gradient on the closing emphasis of section titles */
.sec-title .grad {
  background: linear-gradient(100deg, var(--orange), #ff9a6b 60%, var(--orange-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* clip-path title reveal */
.sec-title.reveal-scale { clip-path: inset(0 100% 0 0); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), clip-path .9s cubic-bezier(.2,.7,.2,1); }
.sec-title.reveal-scale.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .sec-title.reveal-scale { clip-path: none !important; } }

/* hero slider spotlight */
.hero-slider::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 55%, rgba(0,0,0,.4));
  mix-blend-mode: multiply;
}

/* ============================================================
   PARTNERS MARQUEE
   ============================================================ */
.partners { background: #080808; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
.partners::before, .partners::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,107,53,.55), transparent); }
.partners::before { top: 0; }
.partners::after { bottom: 0; }
.partners .wrap { text-align: center; margin-bottom: 40px; }
.partners-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin: 0 0 16px; }
.partners-title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.partners-sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted-dark); margin: 0; }
.marquee { position: relative; overflow: hidden; padding: 12px 0; -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: flex; align-items: center; gap: 0; width: max-content; animation: mqScroll var(--mq-dur, 38s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-logo {
  flex: none; padding: 0 40px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: #fff; opacity: .42; white-space: nowrap; transition: opacity .25s, transform .25s, color .25s;
}
.mq-logo:hover { opacity: 1; transform: scale(1.06); color: var(--orange); }
.mq-logo.is-img { padding: 0 40px; display: inline-flex; align-items: center; }
.mq-logo.is-img img { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .45; transition: opacity .25s, transform .25s; }
.mq-logo.is-img:hover img { opacity: 1; transform: scale(1.08); }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   SECTION TITLE WATERMARK NUMBERS
   ============================================================ */
.section .wrap { position: relative; }
.sec-watermark {
  position: absolute; top: -0.42em; right: 0; z-index: 0; pointer-events: none;
  font-family: var(--display); font-weight: 800; line-height: .8;
  font-size: clamp(110px, 16vw, 220px); letter-spacing: -0.04em;
  color: var(--orange); opacity: .07; user-select: none;
}
.section.dark .sec-watermark { opacity: .09; }
.section .split, .section .split.head, .section .eyebrow, .section .sec-title, .section .lead { position: relative; z-index: 1; }
@media (max-width: 720px) { .sec-watermark { font-size: 90px; top: -0.3em; opacity: .06; } }

/* ============================================================
   DIFFUSED BACKGROUND IMAGE DIVIDERS
   ============================================================ */
.bg-divider { position: relative; height: clamp(220px, 32vw, 380px); overflow: hidden; background: var(--black); }
.bg-divider .bgd-img {
  position: absolute; inset: -20% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.bg-divider.d1 .bgd-img { background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=60"); filter: blur(8px); opacity: .12; }
.bg-divider.d2 .bgd-img { background-image: url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1920&q=60"); filter: blur(6px); opacity: .10; }
.bg-divider.d3 .bgd-img { background-image: url("https://images.unsplash.com/photo-1517433456452-f9633a875f6f?auto=format&fit=crop&w=1920&q=60"); filter: blur(10px); opacity: .14; animation: bgdPulse 8s ease-in-out infinite; }
.bg-divider.d4 .bgd-img { background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1920&q=60"); filter: blur(8px); opacity: .12; }
.bg-divider.d5 .bgd-img { background-image: url("https://images.unsplash.com/photo-1510511459019-5dda7724fd87?auto=format&fit=crop&w=1920&q=60"); filter: blur(6px); opacity: .10; }
.bg-divider::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #0A0A0A 0%, transparent 35%, transparent 65%, #0A0A0A 100%), rgba(255,107,53,.05);
}
@keyframes bgdPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .bg-divider.d3 .bgd-img { animation: none; } }
@media print { .bg-divider { display: none; } }

/* ============================================================
   ANIMATED COUNTERS
   ============================================================ */
.counters { background: #0D0D0D; color: #fff; padding: clamp(56px, 8vw, 100px) 0; position: relative; border-top: 1px solid transparent; }
.counters::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,107,53,.6), transparent); }
.counters-head { text-align: center; margin-bottom: 48px; }
.counters-head .eyebrow { justify-content: center; }
.counters-head .lead { margin: 14px auto 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.counter { position: relative; text-align: center; padding: 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.counter + .counter::before { content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 1px; background: var(--dark-line); }
.cnt-ic { font-size: 30px; filter: saturate(1.2); }
.cnt-num {
  font-family: var(--display); font-weight: 800; font-size: clamp(52px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em;
  color: var(--orange); text-shadow: 0 0 38px rgba(255,107,53,.35);
}
.cnt-label { font-size: 15.5px; color: #fff; font-weight: 600; }
.cnt-flags { font-size: 16px; letter-spacing: 3px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tst-card {
  background: #fff; border: 1px solid var(--paper-line); border-left: 3px solid var(--orange);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.tst-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.12), 0 0 0 1px rgba(255,107,53,.2); }
.tst-stars { color: var(--orange); font-size: 18px; letter-spacing: 3px; }
.tst-card blockquote { margin: 0; font-style: italic; font-size: 15.5px; line-height: 1.6; color: #4a463f; flex: 1; }
.tst-card figcaption { display: flex; align-items: center; gap: 13px; }
.tst-av { width: 46px; height: 46px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; font-size: 22px; flex: none; }
.tst-who { display: flex; flex-direction: column; line-height: 1.3; }
.tst-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.tst-comp { color: var(--orange); font-size: 13px; font-weight: 600; }
.tst-role { color: var(--muted); font-size: 12.5px; }
.tst-badge { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 100px; padding: 7px 13px; align-self: flex-start; }

/* ============================================================
   VIDEO PLACEHOLDERS
   ============================================================ */
.video-ph {
  position: relative; margin-top: 36px; border-radius: 18px; overflow: hidden;
  aspect-ratio: 16 / 6.5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: linear-gradient(135deg, #161616, #0c0c0c); border: 1px solid var(--dark-line); color: #fff;
}
.video-ph.dark { background: linear-gradient(135deg, #101010, #060606); }
.video-ph .video-cam { font-size: 26px; opacity: .85; }
.video-ph .video-label { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); }
.video-ph .video-sub { font-size: 14px; color: var(--muted-dark); max-width: 46ch; padding: 0 20px; }
.video-play {
  width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer; margin-bottom: 4px;
  background: var(--orange); color: var(--black); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255,107,53,.5); animation: vidPulse 2.2s infinite;
}
.video-play svg { width: 28px; height: 28px; margin-left: 3px; }
@keyframes vidPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,.45); } 50% { box-shadow: 0 0 0 18px rgba(255,107,53,0); } }
@media (prefers-reduced-motion: reduce) { .video-play { animation: none; } }

/* ============================================================
   CASE STUDIES — BEFORE / AFTER
   ============================================================ */
.cs-list { display: grid; gap: 22px; }
.cs-card { background: #111; border: 1px solid var(--dark-line); border-radius: 20px; padding: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.cs-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 24px 56px rgba(0,0,0,.45); }
.cs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; }
.cs-badge { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--orange); background: rgba(255,107,53,.12); border: 1px solid rgba(255,107,53,.3); border-radius: 100px; padding: 7px 14px; }
.cs-head h3 { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -0.015em; color: #fff; margin: 0; }
.cs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-col { border-radius: 14px; padding: 20px; background: #161616; }
.cs-col.before { border: 1px solid rgba(229,53,43,.4); }
.cs-col.after { border: 1px solid rgba(255,107,53,.45); }
.cs-col-t { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.cs-col.before .cs-col-t { color: #ff6b6b; }
.cs-col.after .cs-col-t { color: var(--orange); }
.cs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-col li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: #ccc; }
.cs-col.before li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #ff6b6b; font-weight: 800; }
.cs-col.after li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #2bd47d; font-weight: 800; }
.cs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.cs-result { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--black); background: var(--orange); border-radius: 100px; padding: 9px 18px; }
.cs-time { font-family: var(--mono); font-size: 13px; color: var(--muted-dark); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(140%);
  z-index: 250; width: min(880px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: rgba(16,16,16,.97); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,107,53,.3); border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.ck-text { flex: 1; min-width: 240px; color: #fff; font-size: 14px; line-height: 1.5; }
.ck-text strong { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.ck-text span { color: var(--muted-dark); }
.ck-link { color: var(--orange); text-decoration: underline; }
.ck-actions { display: flex; gap: 10px; flex: none; }
.ck-btn { padding: 11px 18px; font-size: 13.5px; }
.cookie-banner .btn-ghost { color: #fff; }
@media (max-width: 560px) { .ck-actions { width: 100%; } .ck-btn { flex: 1; } }
@media print { .cookie-banner { display: none; } }

/* ============================================================
   HERO BADGES
   ============================================================ */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.hero-badges .hb {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9);
  border: 1px solid var(--dark-line); background: rgba(255,255,255,.03);
  padding: 9px 14px; border-radius: 100px;
}
.hero-badges .hb svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* EXOCAD highlight on a specialty card */
.spec.highlight { border-color: var(--orange); background: var(--orange-soft); }
.dark .spec.highlight { background: rgba(255,107,53,.1); border-color: var(--orange); }
.spec .tt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spec-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  background: var(--orange); color: var(--black); padding: 3px 7px; border-radius: 5px;
}

/* ============================================================
   TECH SERVICE GROUPS
   ============================================================ */
.svc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-group {
  border: 1px solid var(--dark-line); border-radius: 16px; padding: 26px; background: #121212;
}
.section:not(.dark) .svc-group { background: var(--white); border-color: var(--paper-line); }
.svc-group h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line);
  display: flex; align-items: center; gap: 10px;
}
.section:not(.dark) .svc-group h3 { border-color: var(--paper-line); }
.svc-group h3 .gi { width: 30px; height: 30px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: none; }
.svc-group h3 .gi svg { width: 17px; height: 17px; }
.svc-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.svc-group li {
  font-size: 14.5px; color: rgba(255,255,255,.82); padding-left: 22px; position: relative; line-height: 1.45;
}
.section:not(.dark) .svc-group li { color: var(--ink); }
.svc-group li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--orange); transform: rotate(45deg);
}

/* ============================================================
   CYBERSECURITY
   ============================================================ */
.cy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.cy-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px;
  border: 1px solid rgba(255,107,53,.4); border-radius: 14px; background: #1a1a1a;
  transition: border-color .25s, transform .25s, background .25s, box-shadow .25s;
}
.cy-card .cy-ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,107,53,.13); color: #FF6B35; display: grid; place-items: center; }
.cy-card .cy-ic svg { width: 23px; height: 23px; }
.cy-card h3 { font-family: var(--display); font-weight: 700; font-size: 17.5px; line-height: 1.25; letter-spacing: -0.01em; color: #FFFFFF; margin: 4px 0 0; }
.cy-card p { font-size: 14px; line-height: 1.5; color: #CCCCCC; margin: 0; }
.cy-card:hover { border-color: #FF6B35; background: #222222; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,107,53,.25); }
.cy-targets { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.cy-targets .ct-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-right: 6px; }
.cy-targets .ct { font-size: 13.5px; font-weight: 500; padding: 8px 15px; border: 1px solid var(--orange); border-radius: 100px; color: var(--orange); }

/* ============================================================
   SERVICE CARDS (additional services)
   ============================================================ */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  border: 1px solid var(--paper-line); border-radius: 16px; padding: 28px; background: var(--white);
  display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s;
}
.dark .svc-card { background: #121212; border-color: var(--dark-line); }
.svc-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.svc-card .si { width: 48px; height: 48px; border-radius: 12px; background: var(--black); color: var(--orange); display: grid; place-items: center; }
.svc-card .si svg { width: 24px; height: 24px; }
.svc-card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
.svc-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.dark .svc-card p { color: var(--muted-dark); }

/* ============================================================
   LETTER OF INTENT
   ============================================================ */
.letter {
  max-width: 760px; background: var(--white); color: var(--ink);
  border-radius: 4px 16px 16px 4px; border-left: 5px solid var(--orange);
  padding: clamp(30px, 4vw, 52px); box-shadow: 0 26px 70px rgba(0,0,0,.4);
}
.letter .l-place { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; margin: 0 0 26px; }
.letter .l-greet { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 20px; letter-spacing: -0.01em; }
.letter p { font-size: 16px; line-height: 1.65; margin: 0 0 18px; color: #2a2722; }
.letter .l-avail { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.letter ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.letter li { font-size: 15.5px; padding-left: 30px; position: relative; line-height: 1.5; color: #2a2722; }
.letter li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; font-size: 16px;
}
.letter .l-sign-close { margin-bottom: 4px; color: var(--muted); }
.letter .l-sign { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative; height: clamp(580px, 90vh, 840px);
  background: var(--black); overflow: hidden;
}
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .8s ease, visibility 0s; }
.slide-bg { position: absolute; inset: -2% ; will-change: transform; transform: scale(1.02); }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.62) 46%, rgba(10,10,10,.34) 100%),
    linear-gradient(180deg, rgba(10,10,10,.28) 0%, rgba(10,10,10,.2) 40%, rgba(10,10,10,.8) 100%);
}
.bg-city {
  background:
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(80% 60% at 72% 105%, rgba(58,92,168,.32), transparent 60%),
    radial-gradient(55% 45% at 14% 18%, rgba(255,107,53,.16), transparent 60%),
    linear-gradient(180deg, #070a12, #0A0A0A);
}
.bg-ai {
  background:
    url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(70% 70% at 82% 28%, rgba(255,107,53,.20), transparent 55%),
    radial-gradient(60% 60% at 20% 80%, rgba(44,66,130,.24), transparent 55%),
    linear-gradient(180deg, #080808, #0A0A0A);
}
.bg-ai::before, .bg-network::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.2px, transparent 1.3px);
  background-size: 28px 28px; opacity: .5;
}
.bg-dental {
  background:
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(60% 85% at 50% -10%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(55% 50% at 50% 115%, rgba(255,107,53,.14), transparent 60%),
    linear-gradient(180deg, #0d0d0d, #060606);
}
.bg-network {
  background:
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(55% 55% at 50% 45%, rgba(255,107,53,.12), transparent 60%),
    radial-gradient(50% 50% at 85% 80%, rgba(44,66,130,.2), transparent 55%),
    linear-gradient(180deg, #080a0e, #0A0A0A);
}
.bg-business {
  background:
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(60% 60% at 78% 22%, rgba(255,107,53,.18), transparent 55%),
    radial-gradient(55% 55% at 16% 88%, rgba(44,66,130,.22), transparent 55%),
    linear-gradient(180deg, #0a0a0c, #060606);
}
.bg-stack {
  background:
    url("https://images.unsplash.com/photo-1487058792275-0ad4aaf24ca7?auto=format&fit=crop&w=1920&q=70") center/cover no-repeat,
    radial-gradient(60% 60% at 80% 25%, rgba(255,107,53,.20), transparent 55%),
    radial-gradient(55% 55% at 18% 85%, rgba(44,66,130,.22), transparent 55%),
    linear-gradient(180deg, #0a0a0c, #060606);
}
.slide-stack { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; max-width: 40ch; }
.slide-stack span {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,107,53,.35);
  padding: 7px 13px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* slider progress bar */
.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 5; }
.slider-progress > i { display: block; height: 100%; width: 0; background: var(--orange); }

/* ============================================================
   DASHBOARD PREVIEW (Cruip Mosaic style)
   ============================================================ */
.section.dark.alt { background: #0d0d0f; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dash-card {
  background: #16161a; border: 1px solid var(--dark-line); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 18px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.dash-card:hover { border-color: rgba(255,107,53,.5); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-badge { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.dash-pill { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 100px; }
.dash-pill.up { color: #2bd47d; background: rgba(43,212,125,.13); }
.dash-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.dash-live .lv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s infinite; }
.dash-shield { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,107,53,.14); color: var(--orange); display: grid; place-items: center; }
.dash-shield svg { width: 18px; height: 18px; }
.dash-metric { display: flex; flex-direction: column; gap: 4px; }
.dash-metric .dm-n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.dash-metric .dm-l { font-size: 13px; color: var(--muted-dark); }
.dash-chart { width: 100%; height: 80px; }
.dash-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.dash-rows li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255,255,255,.86); }
.dash-rows .dr-ck { width: 22px; height: 22px; border-radius: 6px; background: rgba(43,212,125,.16); color: #2bd47d; display: grid; place-items: center; flex: none; }
.dash-rows .dr-ck svg { width: 13px; height: 13px; }
.dash-score { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.ds-ring { width: 120px; height: 120px; }
.ds-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ds-num strong { font-family: var(--display); font-weight: 800; font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.ds-num span { font-size: 12px; color: var(--muted-dark); display: block; }
.dash-alert { font-size: 13px; color: #2bd47d; font-weight: 600; margin: 0; text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px; }
.dash-alert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; }

/* ============================================================
   PROFESSIONAL STACK
   ============================================================ */
.stack-rows { display: grid; gap: 16px; }
.stack-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 22px; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--white); }
.dark .stack-row { background: #121212; border-color: var(--dark-line); }
.stack-row .sr-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); width: 130px; flex: none; }
.stack-row .sr-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.stack-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 100px; padding: 8px 14px; transition: border-color .2s, transform .2s; }
.dark .stack-badge { color: #fff; background: #1a1a1a; border-color: var(--dark-line); }
.stack-badge:hover { border-color: var(--orange); transform: translateY(-2px); }
.stack-badge .sb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* floating orange particles overlay (subtle) */
.slide-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,107,53,.5) 1.4px, transparent 1.6px),
    radial-gradient(rgba(255,107,53,.28) 1px, transparent 1.2px);
  background-size: 150px 150px, 90px 90px;
  background-position: 0 0, 40px 60px;
  opacity: .35; animation: particleDrift 22s linear infinite;
}
@keyframes particleDrift {
  from { background-position: 0 0, 40px 60px; }
  to { background-position: 0 -300px, 40px -240px; }
}

/* slide counter */
.slide-counter {
  position: absolute; top: clamp(80px, 11vh, 104px); right: clamp(16px, 4vw, 40px); z-index: 5;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em;
  color: rgba(255,255,255,.55);
}
.slide-counter .sc-cur { color: var(--orange); font-size: 17px; }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.slide .s-cta.btn-ghost { color: #fff; }

.slide-inner {
  position: relative; z-index: 3; height: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 90px var(--gutter) 70px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.slide-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: 100%; }
.slide-grid.with-photo { grid-template-columns: 1.25fr .75fr; }
.slide-photo { justify-self: end; max-width: 320px; width: 100%; }
.slide-photo .frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--dark-line); aspect-ratio: 4/4.4; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 22px;
}
.s-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.slide h2 {
  font-family: var(--display); font-weight: 800; color: #fff;
  font-size: clamp(30px, 4.3vw, 56px); line-height: 1.04; letter-spacing: -0.028em;
  margin: 0 0 20px; max-width: 18ch; text-wrap: balance;
}
.slide .s-sub { font-size: clamp(17px, 1.9vw, 23px); color: rgba(255,255,255,.86); margin: 0 0 34px; max-width: 44ch; }
.slide .s-cta { font-size: 15px; padding: 14px 26px; }

/* Ken Burns / parallax — only while active */
@keyframes kbZoomIn { from { transform: scale(1.04); } to { transform: scale(1.22); } }
@keyframes kbZoomOut { from { transform: scale(1.22); } to { transform: scale(1.04); } }
@keyframes kbPanL { from { transform: scale(1.16) translateX(3%); } to { transform: scale(1.16) translateX(-3%); } }
@keyframes kbPanR { from { transform: scale(1.16) translateX(-3%); } to { transform: scale(1.16) translateX(3%); } }
.slide.active[data-fx="zoom-in"] .slide-bg { animation: kbZoomIn 8s ease-out both; }
.slide.active[data-fx="zoom-out"] .slide-bg { animation: kbZoomOut 8s ease-out both; }
.slide.active[data-fx="slide-left"] .slide-bg { animation: kbPanL 8s linear both; }
.slide.active[data-fx="slide-right"] .slide-bg { animation: kbPanR 8s linear both; }

/* content entrance */
@keyframes sUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes sRight { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes sLeft { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }
.slide.active .slide-inner .reveal-i { opacity: 0; animation: sUp .8s cubic-bezier(.2,.7,.2,1) both; }
.slide.active[data-fx="slide-left"] .slide-inner .reveal-i { animation-name: sRight; }
.slide.active[data-fx="slide-right"] .slide-inner .reveal-i { animation-name: sLeft; }
.slide.active .reveal-i:nth-child(1) { animation-delay: .15s; }
.slide.active .reveal-i:nth-child(2) { animation-delay: .28s; }
.slide.active .reveal-i:nth-child(3) { animation-delay: .41s; }
.slide.active .reveal-i:nth-child(4) { animation-delay: .54s; }

/* controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(10,10,10,.45); border: 1px solid var(--dark-line); color: #fff;
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s;
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow.prev { left: clamp(12px, 3vw, 34px); }
.slider-arrow.next { right: clamp(12px, 3vw, 34px); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 11px; }
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.32); transition: background .25s, width .25s, transform .2s;
}
.slider-dots button:hover { transform: scale(1.2); }
.slider-dots button.active { background: var(--orange); width: 30px; border-radius: 6px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin: 6px auto 0; }
.faq-item {
  border: 1px solid var(--dark-line); border-left: 3px solid transparent; border-radius: 14px;
  background: #121212; overflow: hidden;
  opacity: 0; transform: translateY(18px);
}
.faq-item.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.faq-item:not(.open):hover { border-left-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.4); }
.faq-item.open { border-color: rgba(255,107,53,.4); border-left-color: var(--orange); box-shadow: 0 0 0 1px rgba(255,107,53,.25), 0 0 46px rgba(255,107,53,.1); }
.faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: #fff; padding: 22px 24px;
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -0.01em; line-height: 1.3;
}
.faq-num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--orange); flex: none; }
.faq-q .qt { flex: 1; }
.faq-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s, color .25s;
}
.faq-icon svg { width: 18px; height: 18px; }
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--orange); color: var(--black); }
.faq-answer { height: 0; overflow: hidden; transition: height .32s ease; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 24px 24px 70px; color: var(--muted-dark); font-size: 15.5px; line-height: 1.62; }
.faq-a-row { display: flex; gap: 14px; align-items: flex-start; padding: 0 24px 24px 24px; }
.faq-a-row .bot-av {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: rgba(255,107,53,.13); color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255,107,53,.25), 0 0 22px rgba(255,107,53,.18);
}
.faq-a-row .bot-av svg { width: 22px; height: 22px; }
.faq-a-row p { padding: 4px 0 0; margin: 0; color: var(--muted-dark); font-size: 15.5px; line-height: 1.62; }

/* ============================================================
   CONSULTATION FORM
   ============================================================ */
.rq-form { max-width: 920px; margin: 6px auto 0; }
.rq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rq-field { display: flex; flex-direction: column; gap: 8px; }
.rq-field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dark .rq-field > span { color: #fff; }
.rq-field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.rq-field input, .rq-field select, .rq-field textarea {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--paper-line); border-radius: 11px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.rq-field textarea { resize: vertical; min-height: 110px; }
.rq-field input:focus, .rq-field select:focus, .rq-field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.16);
}
.rq-msg { margin-top: 18px; }
.rq-block { margin-top: 22px; }
.rq-block-label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.dark .rq-block-label { color: #fff; }

.svc-selector {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.svc-selector::-webkit-scrollbar { height: 7px; }
.svc-selector::-webkit-scrollbar-thumb { background: var(--paper-line); border-radius: 100px; }
.svc-chip {
  flex: 0 0 auto; scroll-snap-align: start; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--paper-line); border-radius: 100px; padding: 11px 18px;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.svc-chip .sc-ic { color: var(--orange); display: grid; place-items: center; }
.svc-chip .sc-ic svg { width: 18px; height: 18px; }
.svc-chip:hover { border-color: var(--orange); transform: translateY(-2px); }
.svc-chip.selected { background: var(--orange); border-color: var(--orange); color: var(--black); }
.svc-chip.selected .sc-ic { color: var(--black); }

.rq-toggle { display: flex; align-items: center; gap: 14px; margin-top: 24px; cursor: pointer; user-select: none; }
.rq-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.rq-switch { width: 50px; height: 28px; border-radius: 100px; background: var(--paper-line); position: relative; flex: none; transition: background .25s; }
.rq-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .25s; }
.rq-toggle input:checked + .rq-switch { background: var(--orange); }
.rq-toggle input:checked + .rq-switch::after { transform: translateX(22px); }
.rq-toggle input:focus-visible + .rq-switch { box-shadow: 0 0 0 3px rgba(255,107,53,.3); }
.rq-toggle-txt { font-size: 15px; font-weight: 600; color: var(--ink); }
.dark .rq-toggle-txt { color: #fff; }

.rq-interview {
  margin-top: 20px; padding: 22px; border: 1px dashed var(--orange); border-radius: 14px;
  background: var(--orange-soft);
  animation: rqReveal .35s ease;
}
@keyframes rqReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.rq-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.rq-submit { font-size: 15.5px; padding: 14px 28px; }
.rq-submit:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 30px rgba(255,107,53,.4); }
.rq-status { font-size: 14px; font-weight: 600; margin: 0; }
.rq-status.ok { color: #138a4e; }
.rq-status.err { color: var(--orange-deep); }
.rq-notes { margin-top: 26px; display: grid; gap: 5px; }
.rq-notes p { margin: 0; font-size: 13.5px; color: var(--muted); }
.dark .rq-notes p { color: var(--muted-dark); }

@media (prefers-reduced-motion: reduce) {
  .slide-bg { animation: none !important; }
  .slide.active .slide-inner .reveal-i { animation: none !important; opacity: 1 !important; }
  .faq-item { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; }
  .split { grid-template-columns: 1fr; }
  .qr-band { grid-template-columns: 1fr; justify-items: start; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-groups, .svc-cards { grid-template-columns: 1fr; }
  .cy-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-split { grid-template-columns: 1fr !important; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3)::before, .counter:nth-child(2)::before { display: none; }
  .tst-grid { grid-template-columns: 1fr; }
  .cs-split { grid-template-columns: 1fr; }
  .slide-grid.with-photo { grid-template-columns: 1fr; }
  .slide-photo { display: none; }
}
@media (max-width: 1440px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--black); border-bottom: 1px solid var(--dark-line); padding: 12px var(--gutter); gap: 2px;
  }
  .nav.open a { padding: 12px 13px; }
  .menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--dark-line); border-radius: 9px; background: transparent; color: #fff; cursor: pointer; }
  .menu-toggle svg { width: 20px; height: 20px; }
}
@media (max-width: 560px) {
  .header-tools .btn span.txt { display: none; }
  .brand .bname small { display: none; }
}
@media (max-width: 620px) {
  .cards, .spec-list, .contact-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .cy-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: 1fr; gap: 12px; }
  .roles span { font-size: 12.5px; }
  .lang-switch button { padding: 6px 7px; font-size: 11px; }
  .slider-arrow { width: 42px; height: 42px; }
  .faq-q { padding: 18px 18px; gap: 12px; }
  .faq-answer p { padding: 0 18px 20px 18px; }
}

/* ============================================================
   PRINT  ·  A4 colour CV
   ============================================================ */
@media print {
  @page { size: A4; margin: 12mm; }
  html { scroll-padding-top: 0; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.4; }
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  .site-header, .menu-toggle, .hero-cta, .nav, .lang-switch, .qr-band .text-side .btn, .hero-photo .badge-eu { }
  .no-print { display: none !important; }

  .section, .hero { padding-block: 14px !important; }
  .hero { background: #0A0A0A !important; }
  .section.dark { background: #0A0A0A !important; }
  .section.paper { background: #F6F4F1 !important; }

  .hero-grid { grid-template-columns: 1.3fr .7fr; gap: 20px; }
  .hero h1 { font-size: 30pt; }
  .roles span, .tech-chips span { font-size: 8pt; padding: 3px 8px; }
  .sec-title { font-size: 20pt; }
  .card:hover, .spec:hover, .contact-item:hover, .tl-item:hover { transform: none; }
  .timeline::before, .bar > i { -webkit-print-color-adjust: exact; }
  a { color: inherit; }
  .section { break-inside: avoid; }
  .card, .spec, .doc, .contact-item, .tl-item, .feature-card { break-inside: avoid; }
  .cy-item, .svc-card, .svc-group, .letter { break-inside: avoid; }

  /* slider → show only the CV slide, static */
  .hero-slider { height: auto !important; }
  .slide { display: none !important; }
  .slide.print-slide { display: block !important; position: relative !important; opacity: 1 !important; visibility: visible !important; }
  .slide-bg { animation: none !important; }
  .slider-arrow, .slider-dots { display: none !important; }
  .slide.active .slide-inner .reveal-i { opacity: 1 !important; animation: none !important; }
  /* faq → expand all */
  .faq-item { opacity: 1 !important; transform: none !important; break-inside: avoid; }
  .faq-answer { height: auto !important; }
}

/* ============================================================
   PREMIUM SAAS POLISH (additive — depth · glass · gradient detail)
   ============================================================ */

/* refined primary button: subtle gradient + top inner highlight + layered shadow */
.btn-primary {
  background: linear-gradient(180deg, #ff7d4d 0%, var(--orange) 55%, var(--orange-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 22px rgba(255,107,53,.28);
}
.btn-primary:hover { background: linear-gradient(180deg, #ff8a5e, #ff6f3c 60%, var(--orange-deep)); box-shadow: 0 1px 0 rgba(255,255,255,.32) inset, 0 12px 30px rgba(255,107,53,.42); }

/* eyebrow: add a small leading accent bar for editorial rhythm */
.eyebrow .num { position: relative; padding-left: 26px; }
.eyebrow .num::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; background: var(--orange); transform: translateY(-50%); border-radius: 2px; }

/* dark cards → glassy depth + faint top hairline highlight */
.dash-card, .cy-card, .cs-card, .feature-card {
  background-image: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 42%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 44px -24px rgba(0,0,0,.7);
  backdrop-filter: blur(2px);
}

/* counters → gradient numerals + tighter glow */
.cnt-num {
  background: linear-gradient(180deg, #ff9a6b, var(--orange) 55%, var(--orange-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(255,107,53,.28));
}

/* light premium cards → softer, layered shadow + crisper hover */
.card, .spec, .svc-card, .tst-card, .doc {
  box-shadow: 0 1px 2px rgba(20,18,16,.04), 0 10px 30px -20px rgba(20,18,16,.25);
}
.card:hover, .spec:hover, .svc-card:hover, .tst-card:hover {
  box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 22px 48px -26px rgba(255,107,53,.4);
}

/* hero: faint engineered tech-grid overlay for SaaS feel */
.hero-slider .slide.active .slide-inner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 30% 30%, #000 0%, transparent 70%);
}

/* dashboard alt section: gradient-border feel on cards */
.dash-card { border-color: rgba(255,255,255,.1); }
.dash-card:hover { border-color: rgba(255,107,53,.55); }

/* section titles: a touch more weight presence on dark */
.section.dark .sec-title { text-shadow: 0 2px 30px rgba(0,0,0,.4); }

/* nav links: refined underline-grow on hover */
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; border-radius: 2px; }
.nav a:hover::after, .nav a.cur::after { transform: scaleX(1); }

/* badges/pills: subtle inner sheen */
.roles span, .hero-badges .hb, .stack-badge, .tech-chips span, .flag-badge {
  background-image: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

/* smoother global easing for interactive lifts */
.card, .spec, .cy-card, .svc-card, .svc-group, .tst-card, .cs-card, .dash-card, .doc, .contact-item, .feature-card {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

/* focus-visible polish for accessibility (premium + correct) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .svc-chip:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after { transition: none; }
}
