/* ==========================================================================
   NETSPHERE MARINE — Design System
   Signature: radar/sonar sweep on deep-water navy with a phosphor-teal signal.
   Display: Space Grotesk · Body: IBM Plex Sans · Data/labels: IBM Plex Mono
   ========================================================================== */

:root {
  /* Palette */
  /* Netsphere brand palette */
  --abyss:   #050d18;   /* logo deep navy — hero & footer base */
  --hull:    #1a4381;   /* brand blue — raised panels */
  --signal:  #0769aa;   /* brand action blue — links & buttons */
  --signal-700: #05547f;
  --sweep:   #a8c4e0;   /* logo globe light blue — accent / signature */
  --lux:     #a8c4e0;   /* yacht premium cue (kept on-brand) */
  --foam:    #eef3f9;   /* light section background */
  --ink:     #060609;   /* logo black — body text on light */
  --slate:   #5a6b7e;   /* muted text */
  --line:    #dfe7f1;   /* hairlines on light */
  --line-dk: #1d3a63;   /* hairlines on dark */
  --white:   #FFFFFF;

  /* Type */
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Inter", system-ui, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.4rem);

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--abyss); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--sweep); outline-offset: 2px; border-radius: 4px; }

/* Layout helpers --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section--foam { background: var(--foam); }
.section--dark { background: var(--abyss); color: #D7E2EF; }
.section--dark h2, .section--dark h3 { color: #fff; }
.lede { font-size: var(--step-1); color: var(--slate); max-width: 64ch; }
.section--dark .lede { color: #9FB4CA; }

.eyebrow {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--signal); display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--sweep); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

.section-head { max-width: 70ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 1rem; color: var(--slate); font-size: var(--step-1); }
.section--dark .section-head p { color: #9FB4CA; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 500; font-size: var(--step-0);
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--signal); color: #fff; box-shadow: 0 8px 22px -10px rgba(23,99,214,.8); }
.btn--primary:hover { background: var(--signal-700); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--sweep); color: var(--sweep); }
.btn--dark { background: var(--abyss); color: #fff; }
.btn--dark:hover { background: var(--hull); }
.btn--lux { background: var(--lux); color: #2A2010; }
.btn--lux:hover { background: #d8b878; }
.btn--sweep { background: var(--sweep); color: #04221D; }
.btn--sweep:hover { background: #58ecd6; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Top bar + Header ------------------------------------------------------- */
.topbar {
  background: var(--abyss); color: #9FB4CA;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .04em;
  border-bottom: 1px solid var(--line-dk);
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #C7D6E8; }
.topbar .topbar__contacts { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar .lang { display: flex; gap: .4rem; align-items: center; }
.topbar .lang a { padding: .1rem .35rem; border-radius: 3px; }
.topbar .lang a[aria-current="true"] { background: var(--signal); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.02em; color: var(--abyss); }
.brand:hover { text-decoration: none; }
.brand b { color: var(--signal); font-weight: 700; }
.brand small { display:block; font-family: var(--mono); font-size: .56rem; letter-spacing: .22em; color: var(--slate); text-transform: uppercase; font-weight: 400; margin-top: 2px;}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--signal); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.navtoggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; cursor: pointer; }
.navtoggle span { display:block; width:20px; height:2px; background: var(--abyss); margin: 4px 0; transition: .2s; }

@media (max-width: 900px) {
  .nav, .nav-cta .btn { display: none; }
  .navtoggle { display: block; }
  .site-header.open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: .2rem; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem var(--gutter); }
  .site-header.open .nav a { padding: .6rem 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% -10%, #133a66 0%, var(--abyss) 55%); color: #fff; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { color: #fff; font-size: var(--step-4); max-width: 16ch; }
.hero .hero__sub { margin-top: 1.3rem; font-size: var(--step-1); color: #AFC4DC; max-width: 54ch; }
.hero .eyebrow { color: var(--sweep); }
.hero__chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border: 1px solid var(--line-dk); border-radius: 999px; color: #DCE7F3; font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; transition: .2s var(--ease); }
.chip:hover { border-color: var(--sweep); color: #fff; text-decoration: none; transform: translateY(-2px); }
.chip b { color: var(--sweep); }

/* Radar scope signature */
.scope { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55; }
.scope__rings { position: absolute; top: 50%; right: -8%; transform: translateY(-50%); width: min(620px, 70vw); aspect-ratio: 1; }
.scope__rings circle { fill: none; stroke: rgba(47,227,198,.18); stroke-width: 1; }
.scope__rings line { stroke: rgba(47,227,198,.12); stroke-width: 1; }
.scope__sweep { transform-origin: 50% 50%; animation: sweep 6s linear infinite; }
.scope__sweep stop.lead { stop-color: rgba(47,227,198,.55); }
.scope__sweep stop.tail { stop-color: rgba(47,227,198,0); }
@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .scope__sweep { animation: none; } }

/* Brand strip ------------------------------------------------------------ */
.brands { border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); background: var(--hull); }
.brands .wrap { padding-block: 1.4rem; display: flex; align-items: center; gap: 1.4rem 2.2rem; flex-wrap: wrap; justify-content: center; }
.brands .brands__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #6F87A2; }
.brands span.b { font-family: var(--display); font-weight: 600; color: #9FB6D2; letter-spacing: .02em; font-size: .98rem; }

/* Cards & grids ---------------------------------------------------------- */
.grid { display: grid; gap: 1.3rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--sweep); transition: width .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(8,24,44,.35); border-color: #cfe0f2; }
.card:hover::before { width: 100%; }
.card .card__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.card h3 { font-size: var(--step-1); margin-top: .5rem; }
.card p { margin-top: .6rem; color: var(--slate); font-size: .96rem; }
.card .card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: var(--display); font-weight: 500; font-size: .92rem; }
.card .card__link::after { content: "→"; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(4px); }

/* Two-worlds split ------------------------------------------------------- */
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 760px) { .worlds { grid-template-columns: 1fr; } }
.world { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); color: #fff; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.world--commercial { background: linear-gradient(160deg, #0E2E55, #08182C); border: 1px solid var(--line-dk); }
.world--yacht { background: linear-gradient(160deg, #14324f, #0a1f33); border: 1px solid #2a4660; }
.world .eyebrow { margin-bottom: .6rem; }
.world--yacht .eyebrow { color: var(--lux); }
.world h3 { color: #fff; font-size: var(--step-2); }
.world p { color: #AFC4DC; margin-top: .6rem; }
.world .btn { margin-top: 1.4rem; align-self: flex-start; }

/* Feature list (checklist) ---------------------------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: rgba(47,227,198,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231763D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 13px; }
.checklist li b { display: block; font-family: var(--display); font-weight: 600; color: var(--abyss); }
.section--dark .checklist li b { color: #fff; }
.section--dark .checklist li { color: #9FB4CA; }

/* Split feature block ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 2px solid var(--sweep); padding-left: 1rem; }
.stat .stat__n { font-family: var(--display); font-weight: 700; font-size: var(--step-3); color: var(--abyss); letter-spacing: -.03em; }
.section--dark .stat .stat__n { color: #fff; }
.stat .stat__l { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-top: .2rem; }
.section--dark .stat .stat__l { color: #8AA0B8; }

/* Coverage --------------------------------------------------------------- */
.coverage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
@media (max-width: 620px) { .coverage { grid-template-columns: 1fr; } }
.loc { border: 1px solid var(--line-dk); border-radius: var(--radius); padding: 1.5rem; background: var(--hull); }
.loc .loc__role { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sweep); }
.loc h3 { color: #fff; font-size: var(--step-1); margin-top: .3rem; }
.loc .loc__coords { font-family: var(--mono); font-size: .82rem; color: #8AA0B8; margin-top: .5rem; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq details[open] { border-color: #cfe0f2; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--display); font-weight: 600; color: var(--abyss); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--signal); font-size: 1.3rem; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; color: var(--slate); }

/* CTA band --------------------------------------------------------------- */
.ctaband { background: linear-gradient(135deg, var(--signal) 0%, #0c3f8f 100%); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.4rem); position: relative; overflow: hidden; }
.ctaband h2 { color: #fff; font-size: var(--step-3); max-width: 20ch; }
.ctaband p { color: #cfe0ff; margin-top: .8rem; max-width: 52ch; }
.ctaband .btn-row { margin-top: 1.8rem; }
.ctaband::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.05); }

/* Breadcrumb / page hero (inner pages) ----------------------------------- */
.phero { background: radial-gradient(110% 130% at 85% -20%, #123a66, var(--abyss) 60%); color: #fff; }
.phero .wrap { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.crumbs { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: #7E96B2; margin-bottom: 1rem; }
.crumbs a { color: #AFC4DC; }
.phero h1 { color: #fff; font-size: var(--step-3); max-width: 22ch; }
.phero p { color: #AFC4DC; margin-top: 1rem; max-width: 56ch; font-size: var(--step-1); }
.phero--yacht { background: radial-gradient(110% 130% at 85% -20%, #1b3a55, #0a1f33 60%); }
.phero--yacht .eyebrow { color: var(--lux); }

/* Prose ------------------------------------------------------------------ */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose p, .prose ul { margin-top: 1rem; color: #2c4055; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: .4rem; }
.prose strong { color: var(--abyss); }

/* Form / contact --------------------------------------------------------- */
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .98rem; background: var(--foam); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: #fff; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .grid-form { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--abyss); color: #9FB4CA; padding-block: clamp(2.6rem, 5vw, 4rem) 1.5rem; border-top: 1px solid var(--line-dk); }
.site-footer .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .site-footer .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .fgrid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.site-footer a { color: #AFC4DC; font-size: .94rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer .fbrand { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.2rem; }
.site-footer .fbrand b { color: var(--sweep); }
.footer-contact { display: grid; gap: .5rem; margin-top: 1rem; font-size: .92rem; }
.footer-contact span { font-family: var(--mono); font-size: .82rem; color: #8AA0B8; }
.footbar { border-top: 1px solid var(--line-dk); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-family: var(--mono); font-size: .76rem; color: #6F87A2; }

/* WhatsApp float --------------------------------------------------------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: .6rem; background: #25D366; color: #04331a; font-family: var(--display); font-weight: 600; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .2s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.02); text-decoration: none; }
.wa-float svg { width: 22px; height: 22px; }
.wa-float .wa-float__t { white-space: nowrap; }
@media (max-width: 560px) { .wa-float .wa-float__t { display: none; } .wa-float { padding: .9rem; } }

/* Utility ---------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag { display:inline-block; font-family: var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color: var(--signal); background: rgba(23,99,214,.08); padding:.25rem .55rem; border-radius:999px; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:1rem; top:1rem; position:fixed; z-index:100; background:#fff; color:var(--abyss); padding:.6rem 1rem; border-radius:8px; }

/* ==========================================================================
   REVISION 2 — brand logos, flags, social, portal, marquee, motion
   (loaded last: these overrides intentionally win the cascade)
   ========================================================================== */

/* Focus + eyebrow refinement (no more mono look) */
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.eyebrow, .card__label, .loc__role, .stat__l, .brands__label, .crumbs,
.field label, .footbar, .topbar { letter-spacing: .12em; }
.eyebrow { font-weight: 600; }

/* Header brand logo */
.brand { gap: 0; }
.brand-logo { height: 40px; width: auto; }
@media (max-width: 480px){ .brand-logo { height: 34px; } }

/* Brand-color gradients */
.hero { background: radial-gradient(120% 120% at 80% -10%, #1a4381 0%, #050d18 58%); }
.phero { background: radial-gradient(110% 130% at 85% -20%, #1a4381, #050d18 62%); }
.phero--yacht { background: radial-gradient(110% 130% at 85% -20%, #0769aa, #050d18 64%); }
.world--commercial { background: linear-gradient(160deg, #1a4381, #050d18); border-color: #234e8f; }
.world--yacht { background: linear-gradient(160deg, #0769aa, #06243a); border-color: #1d5e86; }
.ctaband { background: linear-gradient(135deg, #0769aa 0%, #1a4381 100%); }
.ctaband::after { border-color: rgba(255,255,255,.18); }

/* Topbar right cluster: portal link + flags */
.topbar .wrap { gap: .8rem 1.4rem; }
.topbar__right { display: flex; align-items: center; gap: 1rem; }
.portal-link { display: inline-flex; align-items: center; gap: .4rem; color: #cfe0f3 !important; font-weight: 500; }
.portal-link:hover { color: #fff !important; text-decoration: none; }
.portal-link svg { color: var(--sweep); }
.lang { display: flex; align-items: center; gap: .45rem; }
.lang .flag { display: inline-flex; padding: 0; border-radius: 4px; opacity: .5; transition: opacity .2s, transform .2s; }
.lang .flag img { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.lang .flag:hover { opacity: 1; transform: translateY(-1px); text-decoration: none; }
.lang .flag.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--sweep); border-radius: 5px; }
@media (max-width: 640px){ .hide-sm { display: none; } }

/* Header ghost button (portal) on light bg */
.btn--ghost-dark { background: transparent; color: var(--hull); border-color: #c4d3e8; }
.btn--ghost-dark:hover { background: var(--foam); border-color: var(--signal); color: var(--signal); }
@media (max-width: 1040px){ .nav-cta .btn--ghost-dark { display: none; } }

/* Brand wall — light bg, logo marquee, grayscale -> color */
.brands { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.8rem; overflow: hidden; }
.brands .wrap { display: block; padding-bottom: .4rem; }
.brands__label { display: block; text-align: center; text-transform: uppercase; font-size: .72rem; font-weight: 600; color: var(--slate); margin-bottom: 1.2rem; }
.marquee { position: relative; width: 100%; -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: 2.6rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.plogo { flex: none; display: inline-flex; align-items: center; }
.plogo img { height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .25s, opacity .25s; }
.plogo img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; gap: 1.6rem 2.4rem; }
  .plogo:nth-child(n+29) { display: none; } /* hide duplicated half */
}

/* Footer logo + social icons + portal */
.fbrand-logo { height: 42px; width: auto; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dk); transition: .2s var(--ease); }
.social svg { width: 17px; height: 17px; fill: #cfe0f3; }
.social:hover { background: var(--signal); border-color: var(--signal); transform: translateY(-2px); }
.social:hover svg { fill: #fff; }
.footbar span:last-child { display: inline-flex; gap: .55rem; }
.portal-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; padding: .6rem 1rem; border: 1px solid var(--line-dk); border-radius: 8px; color: #cfe0f3; font-family: var(--display); font-weight: 600; font-size: .9rem; transition: .2s var(--ease); }
.portal-cta:hover { background: var(--signal); border-color: var(--signal); color: #fff; text-decoration: none; transform: translateY(-2px); }
.portal-cta svg { color: var(--sweep); }
.portal-cta:hover svg { color: #fff; }

/* Scroll-reveal (subtle dynamism) */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* Hero accent line under sub */
.hero__sub { border-left: 2px solid var(--sweep); padding-left: 1rem; }
