/* Duoxx PHP build — layout port from Next/Cloudflare */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #020c14;
  --bg-deep: #010810;
  --surface: #071522;
  --surface-high: #0a1b2a;
  --blue: #087bff;
  --blue-bright: #0a84ff;
  --text: #f7f9fc;
  --text-2: #b6c0cc;
  --muted: #778493;
  --border: rgba(112, 148, 178, 0.24);
  --positive: #15d89b;
  --negative: #ff5268;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(8, 123, 255, 0.06), transparent 24rem),
    var(--bg);
  font-family: var(--font-inter), Inter, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #5aaeff;
  outline-offset: 3px;
}
.shell { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  z-index: 50;
  border-bottom: 1px solid rgba(112, 148, 178, 0.05);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
}
.logo-link { display: inline-flex; width: max-content; }
.brand-logo { display: flex; align-items: center; height: 52px; }
.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(210px, 42vw);
  object-fit: contain;
  object-position: left center;
}
.brand-word { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word strong { font-size: 28px; letter-spacing: -2px; font-weight: 500; }
.brand-word span { font-size: 5px; letter-spacing: .5px; margin-top: 2px; opacity: .72; }
.brand-mark { width: 78px; height: 36px; position: relative; display: block; transform: skewX(-14deg); }
.brand-mark i { position: absolute; height: 5px; background: white; transform: rotate(-13deg); clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%); }
.brand-mark i:nth-child(1) { width: 60px; top: 5px; left: 8px; }
.brand-mark i:nth-child(2) { width: 68px; top: 12px; left: 3px; }
.brand-mark i:nth-child(3) { width: 74px; top: 19px; left: 0; }
.brand-mark i:nth-child(4) { width: 55px; top: 26px; left: 10px; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(19px, 2.15vw, 34px); font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; display: flex; align-items: center; gap: 4px; padding: 34px 0 31px; color: #e7edf4; transition: color .2s ease; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--blue-bright); }
.desktop-nav a.active::after { content: ""; position: absolute; bottom: 20px; left: 0; width: 31px; height: 2px; background: var(--blue); box-shadow: 0 0 12px rgba(8, 123, 255, .55); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-picker { position: relative; }
.language { min-width: 74px; display: flex; gap: 7px; align-items: center; justify-content: center; color: white; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; padding: 8px 9px; list-style: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.language::-webkit-details-marker { display: none; }
.language:hover, .language-picker[open] .language { color: #72b9ff; background: rgba(8,123,255,.09); border-color: rgba(8,123,255,.22); }
.language b { font-size: 11px; letter-spacing: .05em; }
.locale-flag { position: relative; width: 20px; height: 14px; flex: 0 0 auto; display: inline-block; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.25); }
.locale-flag-pt { background: #168447; }
.locale-flag-pt::before { content: ""; position: absolute; width: 10px; height: 10px; left: 5px; top: 2px; background: #f4cf25; transform: rotate(45deg); }
.locale-flag-pt::after { content: ""; position: absolute; width: 6px; height: 6px; left: 7px; top: 4px; border-radius: 50%; background: #1f4b9b; }
.locale-flag-en { background: repeating-linear-gradient(to bottom, #bd1e2d 0 2px, #fff 2px 4px); }
.locale-flag-en::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 9px; height: 8px; background: #234487; }
.locale-flag-es { background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.language svg { transition: transform .2s ease; }
.language-picker[open] .language svg { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 190px; padding: 8px; border: 1px solid rgba(112,148,178,.3); border-radius: 12px; background: rgba(4,16,27,.98); box-shadow: 0 18px 45px rgba(0,0,0,.42); backdrop-filter: blur(14px); }
.language-menu button { width: 100%; min-height: 42px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; padding: 0 10px; color: #cbd5df; border: 0; border-radius: 7px; background: transparent; cursor: pointer; text-align: left; transition: color .2s ease, background .2s ease; }
.language-menu button:hover, .language-menu button.active { color: white; background: rgba(8,123,255,.13); }
.language-menu button b { color: #5eaaff; font-size: 10px; }
.button { min-height: 52px; padding: 0 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.button.primary { color: white; background: linear-gradient(180deg, #118bff 0%, #0068e8 100%); border: 1px solid rgba(74, 166, 255, .44); box-shadow: 0 10px 28px rgba(0, 104, 232, .2), inset 0 1px rgba(255,255,255,.15); }
.button.secondary { color: white; background: rgba(4, 14, 24, .56); border: 1px solid rgba(191, 211, 228, .5); }
.header-cta { min-height: 46px; padding-inline: 20px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: rgba(7, 21, 34, .9); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 56px; right: 0; width: min(320px, calc(100vw - 40px)); display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(4, 16, 27, .98); box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.mobile-menu nav > a:not(.button) { padding: 13px 12px; border-radius: 6px; color: var(--text-2); }
.mobile-menu nav > a:hover { background: rgba(8,123,255,.08); color: white; }
.mobile-language { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 9px; padding-bottom: 12px; border-bottom: 1px solid rgba(112,148,178,.18); }
.mobile-language button { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #aebbc8; border: 1px solid rgba(112,148,178,.2); border-radius: 7px; background: rgba(255,255,255,.02); cursor: pointer; font-size: 11px; font-weight: 700; }
.mobile-language button.active { color: white; border-color: rgba(8,123,255,.55); background: rgba(8,123,255,.14); }

/* Hero */
.hero { min-height: 790px; position: relative; overflow: hidden; background: #020b13; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(1,10,18,.97) 0%, rgba(1,10,18,.87) 28%, rgba(1,10,18,.36) 60%, rgba(1,10,18,.12) 100%), linear-gradient(180deg, rgba(2,12,20,0) 64%, #020c14 100%), url('/assets/duoxx-hero.png'); background-size: cover; background-position: center; filter: saturate(.92) contrast(1.04); }
.hero-inner { position: relative; z-index: 2; padding-top: 142px; padding-bottom: 58px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 38px; align-items: start; }
.hero-copy { max-width: 730px; }
.eyebrow { width: max-content; min-height: 35px; padding: 0 14px; display: flex; align-items: center; gap: 7px; color: #2a97ff; background: rgba(8,123,255,.1); border: 1px solid rgba(8,123,255,.25); border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .15px; }
.hero h1 { margin: 27px 0 23px; font-size: clamp(52px, 4.45vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 730; }
.hero h1 span { color: var(--blue-bright); }
.hero-description { max-width: 650px; margin: 0; color: #d6dee6; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; gap: 18px; margin-top: 34px; }
.trust-grid { margin-top: 59px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.trust-item svg { width: 33px; height: 33px; color: var(--blue-bright); margin-bottom: 12px; filter: drop-shadow(0 0 8px rgba(8,123,255,.23)); }
.trust-item strong { font-size: 17px; margin-bottom: 8px; }
.trust-item span { max-width: 135px; color: #c3ccd5; font-size: 12.5px; line-height: 1.45; }

/* Market panels */
.market-stack { display: flex; flex-direction: column; gap: 15px; }
.market-card { padding: 20px 21px 15px; border-radius: 14px; background: linear-gradient(150deg, rgba(9,26,40,.92), rgba(4,17,28,.9)); border: 1px solid rgba(112,148,178,.28); box-shadow: 0 18px 45px rgba(0,0,0,.34); backdrop-filter: blur(10px); }
.market-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.market-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.market-heading a { display: flex; align-items: center; gap: 5px; color: var(--blue-bright); font-size: 11px; }
.live { display: flex; align-items: center; gap: 6px; color: var(--positive); font-size: 11px; margin-right: auto; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 9px rgba(21,216,155,.7); }
.live.loading { color: #f3c65c; }
.live.loading i { background: #f3c65c; box-shadow: 0 0 9px rgba(243,198,92,.62); animation: live-pulse 1.2s ease-in-out infinite; }
.live.error { color: var(--negative); }
.live.error i { background: var(--negative); box-shadow: 0 0 9px rgba(255,82,104,.55); }
@keyframes live-pulse { 50% { opacity: .35; transform: scale(.75); } }
.market-rows > div { min-height: 43px; border-bottom: 1px solid rgba(112,148,178,.12); display: grid; align-items: center; }
.currency-row { grid-template-columns: 1fr 76px 66px; gap: 9px; }
.currency-name { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.currency-name b { font-size: 17px; }
.currency-name strong { font-size: 13px; }
.currency-name small { color: var(--muted); font-size: 10px; }
.market-value { font-size: 12px; text-align: right; white-space: nowrap; }
.trend { display: flex; align-items: center; justify-content: flex-end; gap: 2px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.trend.up { color: var(--positive); }
.trend.down { color: var(--negative); }
.commodity-row { grid-template-columns: 1fr 62px 55px 63px; gap: 6px; font-size: 12px; }
.commodity-row strong { text-align: right; }
.commodity-row small { color: var(--muted); font-size: 9px; }
.market-foot { display: flex; justify-content: space-between; gap: 12px; color: #6f7e8c; font-size: 8px; margin-top: 14px; }
.market-foot b { color: #278fff; font-weight: 500; }
.market-foot a { color: #278fff; font-weight: 500; }
.market-foot a:hover { text-decoration: underline; }
.currency-placeholder { opacity: .65; }

/* Section headings */
.section-heading { position: relative; z-index: 2; text-align: center; }
.section-heading h2 { margin: 0 0 7px; font-size: 29px; letter-spacing: -.02em; }
.section-heading p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Process */
.process { position: relative; min-height: 435px; margin-top: -8px; padding: 27px 34px 23px; overflow: hidden; border: 1px solid rgba(71,136,194,.38); border-radius: 18px; background: linear-gradient(145deg, rgba(7,24,39,.97), rgba(3,14,23,.98)); box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.map-ghost { position: absolute; inset: 20px 12% 40px; opacity: .16; filter: blur(.2px); }
.map-ghost i { position: absolute; display: block; border-radius: 50%; background: radial-gradient(circle, #7c99b1 1px, transparent 1.5px); background-size: 6px 6px; transform: rotate(-8deg); }
.map-ghost i:nth-child(1) { width: 29%; height: 43%; left: 7%; top: 17%; clip-path: polygon(0 20%, 65% 0, 100% 38%, 76% 100%, 32% 77%); }
.map-ghost i:nth-child(2) { width: 18%; height: 41%; left: 34%; top: 37%; clip-path: polygon(12% 0, 90% 14%, 65% 100%, 35% 85%); }
.map-ghost i:nth-child(3) { width: 30%; height: 34%; left: 51%; top: 20%; clip-path: polygon(0 30%, 30% 0, 100% 19%, 86% 83%, 45% 65%); }
.map-ghost i:nth-child(4) { width: 12%; height: 34%; left: 77%; top: 48%; clip-path: polygon(15% 0, 100% 28%, 60% 100%, 0 63%); }
.map-ghost i:nth-child(5) { width: 12%; height: 22%; left: 84%; top: 28%; clip-path: polygon(0 0, 100% 20%, 65% 100%, 17% 75%); }
.process-tabs { position: relative; z-index: 5; display: flex; justify-content: center; gap: 10px; margin-top: 18px; pointer-events: auto; }
.process-tab {
  min-height: 42px;
  min-width: 148px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(112,148,178,.28);
  background: rgba(4,16,27,.92);
  color: #aebbc8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 6;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.process-tab:hover { color: white; border-color: rgba(8,123,255,.4); }
.process-tab.active { color: white; border-color: rgba(8,123,255,.65); background: rgba(8,123,255,.22); box-shadow: 0 0 20px rgba(8,123,255,.16); }
.process-tab:focus-visible { outline: 2px solid #5aaeff; outline-offset: 2px; }
.process-route { position: relative; z-index: 2; margin: 18px auto 0; width: min(420px, 100%); display: flex; align-items: center; justify-content: center; gap: 12px; color: #9fb3c4; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.process-route strong { color: var(--blue-bright); font-size: 13px; }
.process-route i { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(170,196,217,.7), transparent); display: block; }
.process-flow { position: relative; z-index: 2; margin: 21px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); align-items: start; }
.process-line { position: absolute; height: 1px; top: 47px; left: 8%; right: 8%; border-top: 1px dashed rgba(170,196,217,.55); z-index: -1; }
.process-line::before, .process-line::after { content: ""; position: absolute; top: -4px; width: 7px; height: 7px; border-left: 1px solid #9fb5c7; border-bottom: 1px solid #9fb5c7; }
.process-line::before { left: 0; transform: rotate(45deg); }
.process-line::after { right: 0; transform: rotate(225deg); }
.direction { position: relative; z-index: 2; align-self: start; justify-self: center; margin-top: 39px; padding: 0 8px; border-radius: 4px; background: #061724; font-size: 11px; font-weight: 700; white-space: nowrap; }
.direction.import { color: var(--blue-bright); }
.direction.export { color: white; }
.process-step {
  text-align: center;
  min-width: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 4px 10px;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
  opacity: .72;
}
.process-step:hover { opacity: 1; background: rgba(8,123,255,.06); transform: translateY(-2px); }
.process-step.is-active {
  opacity: 1;
  background: rgba(8,123,255,.1);
  box-shadow: 0 0 0 1px rgba(8,123,255,.28);
}
.process-step.is-done { opacity: .9; }
.process-step.is-done .step-icon {
  border-color: rgba(21,216,155,.55);
  box-shadow: 0 12px 30px rgba(0,0,0,.36), 0 0 20px rgba(21,216,155,.12);
}
.process-step.is-active .step-icon {
  border-color: rgba(90,174,255,.9);
  box-shadow: 0 12px 30px rgba(0,0,0,.36), 0 0 28px rgba(8,123,255,.35);
  transform: scale(1.04);
}
.process-step.is-active .step-icon b,
.process-step.is-done .step-icon b { background: var(--blue); }
.process-step.is-done .step-icon b { background: #12b884; }
.step-icon { width: 94px; height: 94px; margin: auto; display: grid; place-items: center; position: relative; border-radius: 50%; color: white; background: radial-gradient(circle at 50% 30%, #163d69 0%, #0c2745 68%, #071a2d 100%); border: 1px solid rgba(60,137,210,.55); box-shadow: 0 12px 30px rgba(0,0,0,.36), 0 0 24px rgba(8,123,255,.1); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.step-icon svg { width: 43px; height: 43px; max-width: 43px; max-height: 43px; stroke-width: 1.7; }
.step-icon b { position: absolute; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; left: 50%; bottom: -29px; transform: translateX(-50%); background: var(--blue); border: 3px solid #071522; font-size: 11px; }
.process-step h3 { margin: 39px 0 10px; font-size: 14px; line-height: 1.25; }
.process-step p { max-width: 235px; margin: 0 auto; color: #c2ccd5; font-size: 11.5px; line-height: 1.55; }
.process-progress { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 23px; color: var(--text-2); font-size: 10px; }
.process-progress > span { flex: 0 0 auto; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; font-weight: 700; color: #9eb4c7; }
.process-progress-track { width: min(300px, 42vw); height: 5px; border-radius: 9px; background: rgba(8,123,255,.2); overflow: visible; }
.process-progress-track > span { position: relative; display: block; width: 25%; height: 100%; border-radius: 9px; background: var(--blue); box-shadow: 0 0 8px rgba(8,123,255,.5); transition: width .35s ease; }
.process-progress-track > span::after { content: ""; position: absolute; right: -3px; top: -1px; width: 7px; height: 7px; border-radius: 50%; background: #58a8ff; }
.services-heading { display: grid; justify-items: center; gap: 10px; }
.services-title-link span { display: block; color: var(--blue-bright); font-size: 17px; margin-bottom: 0; }
.services-title-link:hover span { filter: brightness(1.15); }
.services-all-btn { min-height: 44px; margin-top: 6px; }

/* Services */
.services-section { padding-top: 25px; padding-bottom: 22px; }
.services-heading span { display: block; color: var(--blue-bright); font-size: 17px; margin-bottom: 4px; }
.services-heading > p { margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 21px; }
.service-card { min-height: 202px; position: relative; padding: 23px 23px 28px; border: 1px solid rgba(112,148,178,.27); border-radius: 9px; background: linear-gradient(145deg, rgba(8,23,36,.95), rgba(3,13,22,.97)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(8,123,255,.55); box-shadow: 0 15px 35px rgba(0,0,0,.26), 0 0 24px rgba(8,123,255,.08); }
.service-title { min-height: 52px; display: flex; align-items: center; gap: 20px; }
.service-title svg { flex: 0 0 auto; width: 47px; height: 47px; color: var(--blue-bright); stroke-width: 1.7; filter: drop-shadow(0 0 8px rgba(8,123,255,.2)); }
.service-title h3 { margin: 0; font-size: 14px; line-height: 1.25; }
.service-card p { margin: 15px 0 0; max-width: 235px; color: #b5c0ca; font-size: 11.5px; line-height: 1.55; }
.card-arrow { position: absolute; right: 16px; bottom: 13px; color: var(--blue-bright); transition: transform .2s ease; }
.service-card:hover .card-arrow { transform: translateX(4px); }

/* Commercial license */
.license-section { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(280px, .75fr) minmax(480px, 1.25fr); align-items: center; gap: clamp(34px, 5vw, 72px); margin-top: 18px; margin-bottom: 27px; padding: clamp(30px, 3.5vw, 48px); border: 1px solid rgba(79, 145, 203, .35); border-radius: 16px; background: radial-gradient(circle at 10% 18%, rgba(8, 123, 255, .14), transparent 21rem), linear-gradient(145deg, rgba(7, 24, 39, .98), rgba(3, 14, 23, .98)); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.license-section::before { content: ""; position: absolute; width: 220px; height: 220px; left: -110px; bottom: -145px; border: 1px solid rgba(8, 123, 255, .2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(8, 123, 255, .025), 0 0 0 68px rgba(8, 123, 255, .018); }
.license-copy { position: relative; z-index: 1; }
.license-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-bright); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.license-kicker svg { width: 18px; height: 18px; }
.license-copy h2 { margin: 15px 0 10px; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.license-statement { margin: 0; color: #eaf3fb; font-size: 18px; font-weight: 650; line-height: 1.45; }
.license-description { max-width: 470px; margin: 16px 0 0; color: #aebbc7; font-size: 13px; line-height: 1.65; }
.license-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.license-badges span { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(87, 148, 200, .3); border-radius: 7px; color: #c9d5df; background: rgba(7, 24, 39, .68); font-size: 11px; font-weight: 650; }
.license-badges svg { width: 16px; height: 16px; color: var(--blue-bright); }
.license-address, .license-contact { max-width: 500px; display: flex; align-items: flex-start; gap: 11px; color: #9eacb9; font-size: 11.5px; font-style: normal; line-height: 1.55; }
.license-address { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(112, 148, 178, .18); }
.license-contact { width: max-content; margin-top: 12px; transition: color .2s ease; }
.license-address > svg, .license-contact > svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--blue-bright); }
.license-address strong, .license-contact strong { display: block; margin-bottom: 3px; color: #e6edf4; font-size: 12px; }
.license-contact:hover { color: #d8e9f6; }
.license-document { position: relative; z-index: 1; display: block; }
.license-document figure { margin: 0; }
.license-image-wrap { padding: 9px; overflow: hidden; border: 1px solid rgba(185, 207, 224, .4); border-radius: 11px; background: #fff; box-shadow: 0 18px 42px rgba(0, 0, 0, .38); }
.license-image-wrap img { display: block; width: 100%; height: auto; border-radius: 5px; transition: transform .3s ease; }
.license-document figcaption { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 12px; color: #88a4bc; font-size: 11px; font-weight: 650; transition: color .2s ease; }
.license-document figcaption svg { width: 14px; height: 14px; }
.license-document:hover .license-image-wrap img { transform: scale(1.012); }
.license-document:hover figcaption { color: var(--blue-bright); }

/* CTA */
.cta-banner { min-height: 283px; margin-top: 5px; margin-bottom: 28px; position: relative; overflow: hidden; display: flex; align-items: center; border: 1px solid rgba(112,174,226,.58); border-radius: 11px; background-image: linear-gradient(90deg, rgba(3,22,45,.98) 0%, rgba(3,22,45,.89) 40%, rgba(3,22,45,.18) 70%), url('/assets/duoxx-cta.png'); background-size: cover; background-position: center; }
.cta-content { position: relative; z-index: 2; max-width: 630px; padding: 30px 46px; }
.cta-content h2 { margin: 0 0 15px; font-size: 36px; line-height: 1.04; letter-spacing: -.03em; }
.cta-content h2 span { color: var(--blue-bright); }
.cta-content p { max-width: 570px; margin: 0 0 22px; color: #c4ced7; font-size: 13px; line-height: 1.55; }
.cta-content .button { min-height: 48px; }
.insight-strip { display: none; }

/* Footer */
footer { border-top: 1px solid rgba(112,148,178,.15); background: linear-gradient(180deg, #020c14, #010910); }
.footer-main { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.45fr; gap: 58px; padding-top: 35px; padding-bottom: 31px; }
.footer-brand .brand-logo { margin-bottom: 15px; }
.footer-brand .brand-logo-img { height: 36px; max-width: 170px; }
.footer-brand > p { max-width: 275px; margin: 0; color: #96a3af; font-size: 12px; line-height: 1.7; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue-bright); border-radius: 50%; background: rgba(8,123,255,.09); border: 1px solid rgba(8,123,255,.12); transition: background .2s ease; }
.social-links a:hover { background: rgba(8,123,255,.19); }
.social-glyph { display: block; color: var(--blue-bright); font-weight: 800; line-height: 1; }
.social-glyph.linkedin { font-size: 15px; letter-spacing: -.8px; }
.social-glyph.instagram { font-size: 21px; font-weight: 500; margin-top: -1px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h3 { margin: 5px 0 10px; font-size: 14px; }
.footer-column > a { color: #96a3af; font-size: 12px; transition: color .2s ease; }
.footer-column > a:hover { color: var(--blue-bright); }
.contact-column { gap: 15px; }
.contact-column p, .contact-column > a { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: #96a3af; font-size: 12px; line-height: 1.55; }
.contact-column p strong { display: block; margin-bottom: 3px; color: #d8e1e9; font-size: 11px; }
.contact-column svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--blue-bright); }
.footer-bottom { min-height: 73px; display: flex; align-items: center; border-top: 1px solid rgba(112,148,178,.11); color: #778493; font-size: 11px; }
.footer-bottom .shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.footer-bottom nav { display: flex; gap: 42px; }
.footer-bottom .shell > span:last-child { text-align: right; }
.footer-bottom a:hover, .footer-bottom .shell > span:last-child a { color: var(--blue-bright); }

@media (max-width: 1199px) {
  .shell { width: min(100% - 48px, 1040px); }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .desktop-nav { display: none; }
  /* Keep language picker visible; only hide the desktop CTA */
  .header-actions { display: flex; gap: 10px; }
  .header-actions .header-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 46px; }
  .hero-copy { max-width: 760px; }
  .market-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .license-section { grid-template-columns: 1fr; }
  .license-description { max-width: 620px; }
  .process-flow { margin-inline: 32px; grid-template-columns: repeat(2, 1fr); gap: 38px 30px; }
  .process-line, .direction { display: none; }
  .process-step p { max-width: 290px; }
  .process-tabs { flex-wrap: wrap; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .shell { width: calc(100% - 40px); }
  .site-header { height: 68px; }
  .brand-logo-img { height: 36px; max-width: 160px; }
  .hero-image { background-image: linear-gradient(90deg, rgba(1,10,18,.96) 0%, rgba(1,10,18,.76) 60%, rgba(1,10,18,.52) 100%), linear-gradient(180deg, rgba(2,12,20,0) 55%, #020c14 100%), url('/assets/duoxx-hero.png'); background-position: 61% center; }
  .hero-inner { padding-top: 106px; padding-bottom: 38px; gap: 34px; }
  .eyebrow { font-size: 10px; min-height: 32px; }
  .hero h1 { font-size: clamp(39px, 11.3vw, 49px); margin-top: 22px; letter-spacing: -.045em; }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 11px; margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); margin-top: 37px; gap: 28px 20px; }
  .market-stack { grid-template-columns: 1fr; }
  .market-card { padding-inline: 16px; }
  .process { width: calc(100% - 24px); padding: 27px 20px 25px; border-radius: 14px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p { font-size: 12px; }
  .process-flow { margin: 28px 0 0; grid-template-columns: 1fr; gap: 32px; }
  .process-step { display: grid; grid-template-columns: 78px 1fr; gap: 0 17px; text-align: left; align-items: center; }
  .step-icon { grid-row: span 2; width: 78px; height: 78px; }
  .step-icon svg { width: 35px; height: 35px; }
  .step-icon b { left: auto; right: -7px; bottom: -4px; transform: none; }
  .process-step h3 { margin: 0 0 7px; font-size: 13px; }
  .process-step p { max-width: none; margin: 0; font-size: 10.5px; }
  .process-progress { flex-direction: column; }
  .process-progress-track { width: min(300px, 90%); }
  .services-section { padding-top: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 175px; }
  .license-section { width: calc(100% - 24px); gap: 28px; padding: 28px 20px 22px; border-radius: 14px; }
  .license-copy h2 { font-size: 30px; }
  .license-statement { font-size: 16px; }
  .license-badges { flex-direction: column; align-items: stretch; }
  .license-badges span { justify-content: center; }
  .license-contact { width: auto; }
  .license-image-wrap { padding: 5px; border-radius: 8px; }
  .cta-banner { min-height: 425px; align-items: flex-start; background-image: linear-gradient(180deg, rgba(3,22,45,.98) 0%, rgba(3,22,45,.88) 48%, rgba(3,22,45,.17) 82%), url('/assets/duoxx-cta.png'); background-position: 67% center; }
  .cta-content { padding: 33px 25px; }
  .cta-content h2 { font-size: 30px; }
  .cta-content .button { width: 100%; padding-inline: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 31px; }
  .footer-bottom { padding: 24px 0; }
  .footer-bottom .shell { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom nav { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .footer-bottom .shell > span:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Restricted administration portal */
.admin-page { min-height: 100vh; position: relative; overflow: hidden; display: grid; place-items: center; padding: 32px; color: #f7fbff; background: radial-gradient(circle at 50% -20%, #0b3d68 0, #041421 38%, #020a11 76%); }
.admin-ambient { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.admin-ambient-one { width: 420px; height: 420px; right: -170px; top: -180px; background: rgba(8,123,255,.12); box-shadow: 0 0 100px rgba(8,123,255,.16); }
.admin-ambient-two { width: 330px; height: 330px; left: -180px; bottom: -170px; border: 1px solid rgba(8,123,255,.13); box-shadow: 0 0 0 48px rgba(8,123,255,.018), 0 0 0 96px rgba(8,123,255,.012); }
.admin-back { position: absolute; top: 28px; left: 32px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #9fb0bf; font-size: 13px; transition: color .2s ease; }
.admin-back:hover { color: white; }
.admin-brand { display: flex; flex-direction: column; line-height: 1; }
.admin-brand strong { font-size: 25px; font-weight: 550; letter-spacing: -.08em; }
.admin-brand span { margin-top: 5px; color: #479cf2; font-size: 7px; font-weight: 800; letter-spacing: .19em; }
.admin-login-card { position: relative; z-index: 1; width: min(100%, 450px); padding: 38px 42px 34px; border: 1px solid rgba(101,155,200,.3); border-radius: 20px; background: linear-gradient(145deg, rgba(8,27,42,.97), rgba(3,14,23,.98)); box-shadow: 0 35px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.035); }
.admin-login-card .admin-brand { margin-bottom: 30px; }
.admin-lock { width: 58px; height: 58px; margin-bottom: 22px; display: grid; place-items: center; color: #79baff; border: 1px solid rgba(8,123,255,.38); border-radius: 15px; background: rgba(8,123,255,.11); box-shadow: 0 0 30px rgba(8,123,255,.12); }
.admin-kicker { display: inline-flex; align-items: center; gap: 7px; color: #2f9aff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-login-card h1, .admin-dashboard-heading h1 { margin: 12px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.admin-login-card > p, .admin-dashboard-heading p { margin: 0; color: #9eacb9; font-size: 13px; line-height: 1.65; }
.admin-form { display: grid; gap: 18px; margin-top: 27px; }
.admin-form label, .admin-settings-card > label { display: grid; gap: 8px; }
.admin-form label > span, .admin-settings-card > label > span { color: #d9e3ec; font-size: 12px; font-weight: 700; }
.admin-input { min-height: 50px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid rgba(112,148,178,.29); border-radius: 9px; color: #609fda; background: rgba(1,10,17,.55); transition: border-color .2s ease, box-shadow .2s ease; }
.admin-input:focus-within { border-color: rgba(40,145,255,.72); box-shadow: 0 0 0 3px rgba(8,123,255,.1); }
.admin-input input { min-width: 0; flex: 1; color: white; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; }
.admin-input input::placeholder { color: #536474; }
.admin-input button { width: 30px; height: 30px; display: grid; place-items: center; color: #718597; border: 0; background: none; cursor: pointer; }
.admin-submit { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; color: white; border: 1px solid rgba(86,173,255,.4); border-radius: 9px; background: linear-gradient(180deg, #1590ff, #006bdd); box-shadow: 0 12px 30px rgba(0,102,221,.22), inset 0 1px rgba(255,255,255,.2); cursor: pointer; font-weight: 750; }
.admin-submit:disabled { opacity: .65; cursor: wait; }
.admin-login-card > small { display: block; margin-top: 22px; color: #657584; font-size: 10px; line-height: 1.5; text-align: center; }
.admin-alert { margin: 0; padding: 11px 13px; border-radius: 8px; font-size: 12px; line-height: 1.4; }
.admin-alert.error { color: #ff9aaa; border: 1px solid rgba(255,82,104,.28); background: rgba(255,82,104,.08); }
.admin-alert.success { display: flex; align-items: center; gap: 8px; color: #73e7c0; border: 1px solid rgba(21,216,155,.27); background: rgba(21,216,155,.07); }
.admin-loader, .spin { animation: admin-spin .8s linear infinite; }
@keyframes admin-spin { to { transform: rotate(360deg); } }
.admin-dashboard-page { display: block; padding: 0; }
.admin-topbar { position: relative; z-index: 2; min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(112,148,178,.16); background: rgba(2,12,20,.78); backdrop-filter: blur(16px); }
.admin-user { display: flex; align-items: center; gap: 22px; }
.admin-user > span { display: flex; flex-direction: column; align-items: flex-end; }
.admin-user b { font-size: 12px; }
.admin-user small { margin-top: 3px; color: #71808e; font-size: 10px; }
.admin-user button { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: #aebbc7; border: 1px solid rgba(112,148,178,.22); border-radius: 7px; background: rgba(255,255,255,.025); cursor: pointer; }
.admin-dashboard { position: relative; z-index: 1; width: min(100% - 48px, 1120px); margin: 0 auto; padding: 70px 0; }
.admin-dashboard-heading { max-width: 630px; }
.admin-dashboard-heading h1 { font-size: 38px; }
.admin-settings-card { width: min(100%, 820px); display: grid; gap: 23px; margin-top: 18px; padding: 31px; border: 1px solid rgba(112,148,178,.27); border-radius: 16px; background: linear-gradient(145deg, rgba(8,25,39,.96), rgba(3,14,23,.98)); box-shadow: 0 25px 65px rgba(0,0,0,.3); }
.admin-setting-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(112,148,178,.16); }
.admin-setting-heading span { color: #238eff; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.admin-setting-heading h2 { margin: 5px 0 0; font-size: 22px; }
.admin-setting-heading a { display: flex; align-items: center; gap: 7px; color: #79a3c6; font-size: 11px; }
.admin-settings-card label > small { color: #687989; font-size: 10px; }
.admin-settings-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 5px; }
.admin-settings-footer > span { color: #667786; font-size: 10px; }
.admin-settings-footer .admin-submit { min-width: 190px; }
@media (max-width: 650px) {
  .admin-page { padding: 80px 20px 28px; align-items: start; }
  .admin-back { top: 24px; left: 20px; }
  .admin-login-card { padding: 29px 23px 26px; border-radius: 15px; }
  .admin-dashboard-page { padding: 0; }
  .admin-topbar { min-height: 70px; padding: 0 20px; }
  .admin-user > span { display: none; }
  .admin-user button { font-size: 0; }
  .admin-dashboard { width: calc(100% - 32px); padding: 45px 0; }
  .admin-dashboard-heading h1 { font-size: 31px; }
  .admin-settings-card { padding: 22px 18px; }
  .admin-setting-heading { align-items: flex-start; }
  .admin-setting-heading a { margin-top: 5px; }
  .admin-settings-footer { align-items: stretch; flex-direction: column; }
  .admin-settings-footer .admin-submit { width: 100%; }
  .admin-tabs { flex-wrap: wrap; }
  .admin-grid-2, .admin-grid-3 { grid-template-columns: 1fr; }
  .admin-post-row { grid-template-columns: 1fr; }
  .admin-post-actions { flex-direction: row; flex-wrap: wrap; }
  .admin-heading-actions { width: 100%; justify-content: space-between; }
}

/* Admin CMS extras */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(112,148,178,.22);
  border-radius: 12px;
  background: rgba(2,12,20,.55);
}
.admin-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #9eb0c0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.admin-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #1590ff, #006bdd);
  box-shadow: 0 8px 18px rgba(0,102,221,.22);
}
.admin-help {
  margin: -6px 0 0;
  color: #7f91a2;
  font-size: 12px;
  line-height: 1.55;
}
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr .9fr .7fr;
  gap: 16px;
}
.admin-textarea-wrap {
  border: 1px solid rgba(112,148,178,.29);
  border-radius: 9px;
  background: rgba(1,10,17,.55);
  padding: 10px 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-textarea-wrap:focus-within {
  border-color: rgba(40,145,255,.72);
  box-shadow: 0 0 0 3px rgba(8,123,255,.1);
}
.admin-textarea-wrap textarea {
  width: 100%;
  min-height: 80px;
  border: 0;
  outline: 0;
  resize: vertical;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.admin-blog-card { width: min(100%, 980px); }
.admin-heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-submit-sm {
  min-height: 38px;
  min-width: 0;
  padding: 0 14px;
  font-size: 12px;
}
.admin-ghost {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(112,148,178,.25);
  border-radius: 8px;
  color: #aebbc7;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.admin-post-list { display: grid; gap: 12px; }
.admin-post-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(112,148,178,.18);
  border-radius: 12px;
  background: rgba(1,10,17,.35);
}
.admin-post-thumb {
  width: 108px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8,40,70,.5);
}
.admin-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-post-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #6d7f90;
  font-size: 10px;
  font-weight: 700;
}
.admin-post-main h3 {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.admin-post-main p {
  margin: 0;
  color: #8fa0b0;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.admin-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #71808e;
  font-size: 11px;
  font-weight: 700;
}
.admin-post-meta b { color: #5aaeff; }
.admin-badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.admin-badge.on {
  color: #73e7c0;
  border: 1px solid rgba(21,216,155,.28);
  background: rgba(21,216,155,.08);
}
.admin-badge.off {
  color: #c9d0d7;
  border: 1px solid rgba(160,170,180,.25);
  background: rgba(160,170,180,.08);
}
.admin-post-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-post-actions button,
.admin-link {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(112,148,178,.22);
  background: rgba(255,255,255,.03);
  color: #c5d2de;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-post-actions button.danger {
  color: #ff9aaa;
  border-color: rgba(255,82,104,.28);
  background: rgba(255,82,104,.06);
}
.admin-empty {
  margin: 0;
  padding: 28px 12px;
  text-align: center;
  color: #7a8b9b;
  font-size: 13px;
}
.admin-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.admin-upload-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px dashed rgba(86,173,255,.45);
  border-radius: 9px;
  color: #79baff;
  background: rgba(8,123,255,.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.admin-upload-preview {
  width: 88px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(112,148,178,.25);
}
.admin-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #d9e3ec;
  font-size: 13px;
  font-weight: 650;
  grid-template-columns: none !important;
}
.admin-check input { width: 16px; height: 16px; accent-color: #1590ff; }
}

