/* ═══════════════════════════════════════════════════════════
   ENGY IMPIANTI SRL — Main Stylesheet
   Brand Colors: Navy #1B3A6B, Sky #4A90C4, Muted #8A9BB5
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand colors (from logo) */
  --navy: #1B3A6B;
  --navy2: #142D54;
  --navy3: #0D2040;
  --sky: #4A90C4;
  --sky2: #6AADD6;
  --sky3: #2575A8;
  --muted: #8A9BB5;
  --light: #C8D8EC;
  --pale: #E8F0F9;

  /* Backgrounds */
  --white: #FFFFFF;
  --dark: #09111E;
  --dark2: #0F1C30;
  --dark3: #162540;
  --gray: #5A7090;

  /* States */
  --success: #22C55E;
  --danger: #EF4444;

  /* Fonts */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 17, 30, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 144, 196, 0.15);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap { display: flex; align-items: center; gap: 14px; }

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; }

.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
}
.logo-text span { color: var(--sky); }

.logo-sub {
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1px;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .5px;
  font-weight: 500;
  cursor: pointer;
  transition: color .3s;
}
.nav-links a:hover { color: var(--sky); }

.nav-right { display: flex; gap: 12px; align-items: center; }

.lang-sw { display: flex; gap: 6px; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(74, 144, 196, 0.25);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--font-head);
  letter-spacing: 1px;
}
.lang-btn.active, .lang-btn:hover { border-color: var(--sky); color: var(--sky); }

.nav-cta {
  background: var(--sky);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: all .3s;
  font-family: var(--font-head);
}
.nav-cta:hover { background: var(--sky3); }

.nav-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--muted);
  border: 1px solid rgba(138,155,181,0.25);
  text-decoration: none;
  transition: all .3s;
  font-family: var(--font-head);
  white-space: nowrap;
}
.nav-portal-btn:hover {
  color: var(--white);
  border-color: var(--sky);
  background: rgba(74,144,196,0.1);
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(74, 144, 196, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 80% 75%, rgba(27, 58, 107, 0.18) 0%, transparent 60%),
    var(--dark);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 144, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 196, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(74, 144, 196, 0.35);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 32px;
  position: relative;
  font-family: var(--font-head);
}

.bdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 14px;
  position: relative;
}
.hero h1 span { color: var(--sky); }

.hero-sub {
  font-size: clamp(12px, 1.5vw, 15px);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 5px;
  font-weight: 300;
  margin-bottom: 36px;
  position: relative;
  font-family: var(--font-head);
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  position: relative;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── BUTTONS ── */
.btn-p {
  background: var(--sky);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all .3s;
  font-family: var(--font-head);
}
.btn-p:hover { background: var(--sky3); transform: translateY(-2px); }

.btn-s {
  background: transparent;
  color: var(--white);
  padding: 15px 40px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all .3s;
  font-family: var(--font-head);
}
.btn-s:hover { border-color: var(--sky); color: var(--sky); }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(74, 144, 196, 0.12);
  border-bottom: 1px solid rgba(74, 144, 196, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(74, 144, 196, 0.1);
}
.stat:last-child { border-right: none; }

.stat-n {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 40px;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 600;
  font-family: var(--font-head);
}

/* ═══════════════════════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════════════════════ */
.sec { padding: 90px 60px; }
.sec-alt { background: var(--dark2); }

.sec-lbl {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--sky);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
}

.sec-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.sec-title span { color: var(--sky); }

.sec-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  line-height: 1.85;
  max-width: 540px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 52px;
  background: rgba(74, 144, 196, 0.06);
}

.srv-card {
  background: var(--dark);
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: all .3s;
  cursor: default;
}
.srv-card:hover {
  background: var(--dark3);
  border-color: rgba(74, 144, 196, 0.2);
}

.srv-ic {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(74, 144, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.srv-ic svg { width: 24px; height: 24px; stroke: var(--sky); stroke-width: 1.5; fill: none; }

.srv-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--white);
}
.srv-card p { font-size: 13px; color: var(--gray); line-height: 1.75; }

.srv-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--sky);
  font-weight: 700;
  font-family: var(--font-head);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.abt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.abt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.abt-big {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 140px;
  color: rgba(74, 144, 196, 0.05);
  position: absolute;
  top: -50px;
  left: -30px;
  letter-spacing: -8px;
  pointer-events: none;
  line-height: 1;
}

.ac {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 196, 0.12);
  padding: 24px 20px;
  border-radius: 8px;
}
.ac-n {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  color: var(--sky);
  margin-bottom: 4px;
}
.ac-l { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.ac-wide { grid-column: 1 / -1; }

.abt-text p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.feat-list { list-style: none; margin-top: 20px; }
.feat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.feat-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.cert-c {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 196, 0.1);
  padding: 28px 24px;
  border-radius: 8px;
  text-align: center;
  transition: all .3s;
}
.cert-c:hover { border-color: var(--sky); transform: translateY(-4px); }

.cert-c svg {
  width: 36px;
  height: 36px;
  stroke: var(--sky);
  stroke-width: 1.5;
  fill: none;
  margin: 0 auto 14px;
  display: block;
}

.cert-c h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--white);
}
.cert-c p { font-size: 12px; color: var(--gray); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   PARTNERS & CLIENTI
   ═══════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(74, 144, 196, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 52px;
  margin-bottom: 48px;
}

.ss {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(74, 144, 196, 0.1);
}
.ss:last-child { border-right: none; }

.ss-n {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 36px;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 6px;
}
.ss-l {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 600;
  font-family: var(--font-head);
}

.sector-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.stag {
  background: transparent;
  border: 1px solid rgba(74, 144, 196, 0.2);
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--font-head);
  letter-spacing: .5px;
}
.stag:hover, .stag.active {
  border-color: var(--sky);
  color: var(--sky);
  background: rgba(74, 144, 196, 0.08);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pc {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 196, 0.1);
  border-radius: 10px;
  padding: 24px 22px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.pc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.pc:hover {
  border-color: rgba(74, 144, 196, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.pc:hover::before { transform: scaleX(1); }

.pc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pc-initials {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(74, 144, 196, 0.12);
  border: 1px solid rgba(74, 144, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  color: var(--sky);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.pc-badge {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-head);
}
.badge-partner {
  background: rgba(74, 144, 196, 0.1);
  color: var(--sky);
  border: 1px solid rgba(74, 144, 196, 0.2);
}
.badge-client {
  background: rgba(255, 167, 38, 0.1);
  color: #FFA726;
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.pc h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}
.pc-sector {
  font-size: 11px;
  color: var(--sky);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.pc p { font-size: 12px; color: rgba(255, 255, 255, 0.5); line-height: 1.7; }

.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.pc-url {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
}
.pc-url:hover { color: var(--sky); }
.pc-arrow { color: rgba(74, 144, 196, 0.4); font-size: 14px; transition: all .2s; }
.pc:hover .pc-arrow { color: var(--sky); transform: translateX(3px); }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  position: relative;
  padding: 28px 0;
  border-top: 1px solid rgba(74, 144, 196, 0.08);
  border-bottom: 1px solid rgba(74, 144, 196, 0.08);
  margin-top: 20px;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark2), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--dark2), transparent);
}

.ticker {
  display: flex;
  gap: 32px;
  animation: scroll 24s linear infinite;
  width: max-content;
}
.ticker:hover { animation-play-state: paused; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(74, 144, 196, 0.06);
  border: 1px solid rgba(74, 144, 196, 0.1);
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}
.ticker-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════
   PREVENTIVO WIZARD
   ═══════════════════════════════════════════════════════════ */
.wiz-wrap {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.wiz-steps { display: flex; flex-direction: column; }

.ws {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all .3s;
}
.ws:last-child { border-bottom: none; }

.ws-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .3s;
}
.ws.active .ws-num { background: var(--sky); border-color: var(--sky); color: var(--white); }
.ws.done .ws-num { background: var(--success); border-color: var(--success); color: var(--white); }

.ws-info h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: .5px;
  transition: color .3s;
}
.ws.active .ws-info h4, .ws.done .ws-info h4 { color: var(--white); }
.ws-info p { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.wpanel {
  background: var(--dark3);
  border: 1px solid rgba(74, 144, 196, 0.14);
  border-radius: 10px;
  padding: 32px 28px;
}

.prog-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 26px;
}
.prog-fill {
  height: 100%;
  background: var(--sky);
  border-radius: 2px;
  transition: width .5s ease;
}

.ph { margin-bottom: 28px; }
.ph h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--white);
}
.ph p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.sp { display: none; }
.sp.active { display: block; }

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.tc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
}
.tc:hover {
  border-color: rgba(74, 144, 196, 0.4);
  background: rgba(74, 144, 196, 0.06);
}
.tc.sel {
  border-color: var(--sky);
  background: rgba(74, 144, 196, 0.12);
}
.tc-ic { font-size: 22px; margin-bottom: 8px; }
.tc h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: .5px;
}
.tc p { font-size: 10px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.urg-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

.ub {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--font-head);
}
.ub:hover, .ub.sel {
  border-color: var(--sky);
  color: var(--sky);
  background: rgba(74, 144, 196, 0.08);
}
.ub.urg.sel {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

/* ── FORM FIELDS ── */
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
  font-family: var(--font-head);
}
.fg input, .fg select, .fg textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgba(74, 144, 196, 0.5); }
.fg select option { background: #162540; }
.fg textarea { resize: vertical; min-height: 90px; }

.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.sum-box {
  background: rgba(74, 144, 196, 0.07);
  border: 1px solid rgba(74, 144, 196, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}
.sum-row:last-child { border-bottom: none; }
.sum-row .sl { color: var(--muted); }
.sum-row .sv {
  color: var(--white);
  font-weight: 600;
  text-align: right;
  max-width: 190px;
}

.cnote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.cnote strong { color: var(--white); }
.cnote a { color: var(--sky); text-decoration: none; }

.brow {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}

.bnext {
  background: var(--sky);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all .3s;
  font-family: var(--font-head);
}
.bnext:hover { background: var(--sky3); }

.bback {
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .3s;
  font-family: var(--font-head);
}
.bback:hover { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }

.ok-box { text-align: center; padding: 36px 20px; }
.ok-icon { font-size: 52px; margin-bottom: 16px; }
.ok-box h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  color: var(--success);
  margin-bottom: 10px;
}
.ok-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  max-width: 320px;
  margin: 0 auto 20px;
}
.ok-ref {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.priv-row { display: flex; align-items: flex-start; gap: 10px; }
.priv-row input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--sky);
  flex-shrink: 0;
}
.priv-row label { font-size: 11px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.priv-row a { color: var(--sky); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.ct-items { display: flex; flex-direction: column; gap: 28px; }

.ct-item { display: flex; gap: 18px; align-items: flex-start; }

.ct-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(74, 144, 196, 0.1);
  border: 1px solid rgba(74, 144, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-icon svg { width: 20px; height: 20px; stroke: var(--sky); stroke-width: 1.5; fill: none; }

.ct-item h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 5px;
}
.ct-item p, .ct-item a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.65;
}
.ct-item a:hover { color: var(--sky); }

.ct-form { display: flex; flex-direction: column; gap: 12px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(74, 144, 196, 0.1);
  padding: 56px 60px 36px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.ft-brand h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.ft-brand h3 span { color: var(--sky); }
.ft-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 240px;
}

.ft-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--sky);
  margin-bottom: 18px;
}
.ft-col a {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 9px;
  transition: color .3s;
  cursor: pointer;
}
.ft-col a:hover { color: var(--sky); }

.ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.ft-bottom p { font-size: 11px; color: var(--muted); }

.ft-leg { display: flex; gap: 20px; }
.ft-leg a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}
.ft-leg a:hover { color: var(--sky); }

/* ═══════════════════════════════════════════════════════════
   LEGAL MODAL
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 30, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--dark2);
  border: 1px solid rgba(74, 144, 196, 0.2);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(74, 144, 196, 0.12);
  flex-shrink: 0;
}
.modal-head h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.5px;
}
.modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  line-height: 1;
}
.modal-close:hover { border-color: var(--sky); color: var(--sky); }

.modal-body {
  overflow-y: auto;
  padding: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
}
.modal-body h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--sky);
  margin: 20px 0 8px;
  text-transform: uppercase;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; }
.modal-body a { color: var(--sky); text-decoration: none; }
.modal-body a:hover { text-decoration: underline; }
.modal-body strong { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .6s ease;
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   HAMBURGER / MOBILE MENU
   ═══════════════════════════════════════════════════════════ */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(74,144,196,0.25);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
}
.ham-btn span {
  display: block;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
  transition: all .3s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(9,17,30,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 40px 24px;
}
.mob-menu.open { display: flex; }

.mob-menu a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color .2s;
}
.mob-menu a:hover { color: var(--sky); }

.mob-lang {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════ */
.btt-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--navy2);
  border: 1px solid rgba(74,144,196,0.3);
  border-radius: 50%;
  color: var(--sky);
  font-size: 20px;
  cursor: pointer;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all .3s;
  pointer-events: none;
}
.btt-btn.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btt-btn:hover { background: var(--sky); border-color: var(--sky); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all .3s;
  text-decoration: none;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }

/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid rgba(74,144,196,0.2);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 500;
  transform: translateY(100%);
  transition: transform .4s ease;
  flex-wrap: wrap;
}
.cookie-bar.show { transform: translateY(0); }

.cookie-bar p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.cookie-bar a { color: var(--sky); text-decoration: none; cursor: pointer; }
.cookie-bar a:hover { text-decoration: underline; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-accept {
  background: var(--sky);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  font-family: var(--font-head);
  transition: background .2s;
}
.cookie-accept:hover { background: var(--sky3); }

.cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 9px 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-head);
  transition: all .2s;
}
.cookie-decline:hover { border-color: var(--muted); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   FORM VALIDATION — inline errors
   ═══════════════════════════════════════════════════════════ */
.field-err {
  font-size: 11px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}
.field-err.show { display: block; }
.fg input.invalid, .fg textarea.invalid, .fg select.invalid {
  border-color: var(--danger) !important;
}
.fg input.valid, .fg textarea.valid {
  border-color: rgba(34,197,94,0.4) !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .ham-btn { display: flex; }

  .sec { padding: 60px 20px; }

  .stats-bar, .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2), .ss:nth-child(2) { border-right: none; }

  .srv-grid, .cert-grid, .abt-grid, .ct-grid, .partners-grid {
    grid-template-columns: 1fr;
  }

  .wiz-wrap { grid-template-columns: 1fr; }
  .wiz-steps { display: none; }

  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .fr2 { grid-template-columns: 1fr; }

  .ft-grid { grid-template-columns: 1fr 1fr; }

  footer { padding: 40px 20px 24px; }

  .cookie-bar { padding: 16px 20px; }
  .btt-btn { bottom: 20px; right: 20px; }
  .wa-btn { bottom: 76px; right: 16px; }

  /* Nav: hide portal link, cta, lang on mobile — everything moves to mob-menu */
  .nav-portal-btn, .nav-cta, .lang-sw { display: none; }
}
