/* ══════════════════════════════════════
   VELAXIS — MAIN STYLESHEET
   ══════════════════════════════════════ */

:root {
  --navy:    #0B2447;
  --navy-2:  #0f2d5a;
  --gold:    #A8873A;
  --gold-lt: #c9a84c;
  --cream:   #F7F4EF;
  --white:   #ffffff;
  --text:    #1a1a2e;
  --muted:   #5a6070;
  --border:  rgba(168,135,58,0.2);
  --card-bg: #ffffff;
  --shadow:  0 8px 40px rgba(11,36,71,0.10);

  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'Source Serif 4', Georgia, serif;

  --nav-h: 72px;
  --max-w: 1180px;
  --rad:   12px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── NAVIGATION ─────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 900;
  background: rgba(7,18,38,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168,135,58,0.15);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.logo-vx {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.logo-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.12em;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--gold);
  background: rgba(168,135,58,0.1);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-btn {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.34rem 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover, .lang-btn.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* ─── BUTTONS ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168,135,58,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTION TAGS ───────────────────── */
.section-tag {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-tag::before {
  content: '';
  display: block; width: 2rem; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-tag.light { color: rgba(168,135,58,0.9); }
.section-title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; color: var(--navy); margin-bottom: 1rem; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin-bottom: 3rem; }

/* ─── HERO ───────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #070E26 0%, #0B2447 50%, #0d2e58 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--nav-h) 0 0;
  overflow: hidden;
  position: relative;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,135,58,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,135,58,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  padding: 4rem 4rem 4rem max(2rem, calc((100vw - var(--max-w)) / 2 + 2rem));
  z-index: 2;
}
.hero-sub {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* hero visual */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  height: 100%; position: relative; min-height: 400px;
}
.fiber-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(168,135,58,0.25);
  animation: pulse-ring 6s ease-in-out infinite;
}
.r1 { width: 260px; height: 260px; animation-delay: 0s; }
.r2 { width: 380px; height: 380px; animation-delay: 1.2s; border-color: rgba(168,135,58,0.15); }
.r3 { width: 500px; height: 500px; animation-delay: 2.4s; border-color: rgba(168,135,58,0.08); }
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.5; }
}
.fiber-core {
  width: 80px; height: 80px;
  background: radial-gradient(circle, var(--gold) 0%, rgba(168,135,58,0.3) 70%);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 60px rgba(168,135,58,0.5);
}
.fiber-pulse {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(168,135,58,0.15);
  animation: core-pulse 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 0; }
}

/* ─── STATS BAR ──────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.5rem 3rem;
  gap: 0.25rem;
}
.stat-num {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  text-align: center;
}
.stat-divider {
  width: 1px; height: 50px;
  background: rgba(168,135,58,0.25);
}

/* ─── ABOUT ──────────────────────────── */
.about {
  padding: 7rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-values {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem;
}
.value-pill {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: rgba(168,135,58,0.05);
}

/* network diagram */
.about-visual {
  display: flex; align-items: center; justify-content: center;
}
.network-diagram {
  position: relative;
  width: 220px; height: 220px;
}
.nd-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.nd-node {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(11,36,71,0.3);
}
.nd-center { top: 50%; left: 50%; width: 64px; height: 64px; font-size: 0.9rem; background: var(--gold); color: var(--navy); z-index: 2; }
.nd-n { top: 14%; left: 50%; }
.nd-e { top: 50%; left: 86%; }
.nd-s { top: 86%; left: 50%; }
.nd-w { top: 50%; left: 14%; }

/* ─── SERVICES ───────────────────────── */
.services {
  padding: 7rem 0;
  background: #f0ede8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--rad);
  padding: 2.2rem;
  border: 1px solid rgba(11,36,71,0.07);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
  border-radius: 0 3px 3px 0;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(11,36,71,0.12);
}
.service-card.featured {
  background: var(--navy);
  border-color: var(--gold);
}
.service-card.featured h3,
.service-card.featured p { color: rgba(255,255,255,0.9); }
.service-card.featured .service-icon { color: var(--gold); }
.service-card.featured::before { background: var(--gold-lt); }
.featured-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ff-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}
.service-icon {
  width: 48px; height: 48px;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── POLICIES ───────────────────────── */
.policies {
  padding: 7rem 0;
  background: var(--cream);
}
.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.policy-card {
  background: var(--white);
  border-radius: var(--rad);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex; gap: 2rem; align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11,36,71,0.12);
}
.policy-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  color: var(--navy);
}
.policy-content h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.policy-content p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.pdf-download {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.pdf-download svg { width: 18px; height: 18px; }
.pdf-download:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ─── CONTACT ────────────────────────── */
.contact {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,135,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,135,58,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.contact .section-title { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.contact-info { color: var(--white); }
.info-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  margin-bottom: 2rem;
}
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(168,135,58,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  padding: 10px;
}
.info-item h4 {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.info-item p { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.info-item a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.info-item a:hover { color: var(--gold); }
.contact-note {
  background: rgba(168,135,58,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-top: 1rem;
}

/* FORM */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,135,58,0.2);
  border-radius: var(--rad);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168,135,58,0.25);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group select option { background: var(--navy-2); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(168,135,58,0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-gdpr {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-gdpr input { width: auto; margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.form-gdpr label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  line-height: 1.5;
}
.form-gdpr a { color: var(--gold); text-decoration: underline; }
.form-success {
  display: none;
  align-items: center; gap: 0.75rem;
  background: rgba(168,135,58,0.15);
  border: 1px solid rgba(168,135,58,0.4);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: var(--gold);
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success.show { display: flex; }

.form-error {
  display: none;
  align-items: center; gap: 0.75rem;
  background: rgba(200,55,55,0.12);
  border: 1px solid rgba(200,55,55,0.45);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: #e57373;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1rem;
}
.form-error svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-error.show { display: flex; }

/* Honeypot anti-spam field — hidden from users */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* ─── FOOTER ─────────────────────────── */
.footer {
  background: #060d1f;
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(168,135,58,0.12);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-links h5,
.footer-contact h5 {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
}

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: calc(var(--nav-h) + 3rem) 2rem 3rem; text-align: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-cta { justify-content: center; }
  .hero-visual { min-height: 300px; }
  .r3 { width: 380px; height: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; width: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 800;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: 1fr; }
  .policy-card { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 0; }
  .stat-item { padding: 0.5rem 1.5rem; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 820px) {
  .nav-inner { gap: 1rem; }
  .lang-switcher { margin-left: auto; }
  .lang-btn { font-size: 0.68rem; padding: 0.3rem 0.45rem; }
}
@media (max-width: 520px) {
  .lang-switcher { gap: 0.2rem; }
  .lang-btn { font-size: 0.62rem; padding: 0.25rem 0.38rem; }
  .logo-name { display: none; }
}
