/* Corporate overrides for ViglasCode landing */
:root {
  --corp-navy: #0f172a;
  --corp-blue: #1e3a8a;
  --corp-accent: #c9a227;
  --corp-slate: #334155;
  --corp-muted: #6b7280;
  --corp-bg: #f5f7fb;
  --corp-card: #ffffff;
  --corp-border: #e5e7eb;
}

body {
  background: var(--corp-bg);
  color: var(--corp-navy);
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--corp-border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.topbar .brand img {
  height: 40px;
  width: auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--corp-navy);
  font-weight: 600;
  text-decoration: none;
}

.topnav a:hover {
  color: var(--corp-accent);
}

.topnav-cta {
  background: var(--corp-accent);
  color: #0f172a !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.topbar-lang {
  display: flex;
  gap: 8px;
}

.topbar .lang-btn {
  border: 1px solid var(--corp-border);
  background: #fff;
  color: var(--corp-navy);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
}

.topbar .lang-btn.active {
  background: var(--corp-navy);
  color: #fff;
}

@media (max-width: 992px) {
  .topnav {
    display: none;
  }
}

/* Hide legacy header */
#header {
  display: none;
}

/* Tablet adjustments */
@media (max-width: 992px) {
  .topbar-inner {
    padding: 10px 16px;
  }
  .hero-5-txt h1 {
    font-size: 2.2rem;
  }
  .hero-5-img img {
    margin-top: 16px;
  }
  .hero-metrics {
    justify-content: flex-start;
  }
  .metric-card,
  .hero-metrics .metric {
    width: 100%;
  }
  .contact-left,
  .contact-card {
    padding: 20px;
  }
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar .brand img {
    height: 34px;
  }
  .topbar-lang {
    margin-left: auto;
  }
  .hero-5-txt h1 {
    font-size: 1.9rem;
    line-height: 1.15;
  }
  .hero-5-txt p {
    font-size: 1rem;
  }
  .hero-metrics .metric {
    min-width: 100%;
  }
  .hero-metrics {
    gap: 10px;
  }
  .contact-section {
    padding: 40px 0 30px;
  }
  .contact-badges {
    gap: 6px;
  }
  .contact-badges .badge {
    font-size: 0.78rem;
  }
  .contact-socials a {
    width: 36px;
    height: 36px;
  }
  .legal-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Header + menu */
.tra-menu {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--corp-border);
}

.wsmenu-list > li > a {
  color: var(--corp-navy);
  font-weight: 600;
}

.wsmenu-list > li > a:hover {
  color: var(--corp-accent);
}

/* Hero */
.hero-section {
  background: radial-gradient(1200px 500px at 10% 10%, #e2e8f0 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 20%, #ccfbf1 0%, transparent 55%),
    linear-gradient(135deg, #eef2ff 0%, #f8fafc 55%, #ecfeff 100%);
}

.hero-5-txt h1 {
  color: var(--corp-navy);
  letter-spacing: -0.6px;
  font-weight: 700;
}

.hero-5-txt p {
  color: var(--corp-slate);
  font-size: 1.05rem;
}

.hero-5-img img {
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

/* Buttons */
.btn--theme,
.btn-primary {
  background: var(--corp-blue) !important;
  border-color: var(--corp-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.18);
}

.btn--theme:hover,
.btn-primary:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

.btn-success {
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
}

/* Sections */
.section-title .s-52,
.section-title .s-44,
.section-title .s-45,
.section-title .s-50 {
  color: var(--corp-navy);
}

.section-id {
  color: var(--corp-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Hero layout refinement */
.hero-5-txt {
  max-width: 560px;
}

.hero-5-txt .p-lg {
  font-size: 1.08rem;
}

.hero-5-img {
  display: flex;
  justify-content: center;
}

.hero-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-metrics .metric {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 150px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--corp-blue);
  margin-bottom: 6px;
}

.metric-icon i {
  font-size: 0.95rem;
}

.hero-metrics .metric-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--corp-blue);
}

.hero-metrics .metric-label {
  display: block;
  color: var(--corp-muted);
  font-size: 0.9rem;
}

.hero-trust .trust-label {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--corp-muted);
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Process + proof sections */
.process-step .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--corp-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.metric-card .metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--corp-blue);
}

.metric-card .metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--corp-muted);
}

.trust-strip {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--corp-slate);
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Icon badges */
.card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: var(--corp-blue);
  margin-bottom: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.card-ico i {
  font-size: 1.2rem;
}

/* Service bullets */
.service-bullets {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--corp-slate);
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.service-bullets i {
  color: var(--corp-accent);
}

/* Nav CTA button */
.nav-cta .btn {
  background: var(--corp-accent) !important;
  border-color: var(--corp-accent) !important;
  color: #0f172a !important;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-left: 0.4rem;
}

.nav-cta .btn:hover {
  background: #e6c25a !important;
  border-color: #e6c25a !important;
}

/* Premium accent on icons */
.shape-ico.color--theme span,
.color--theme {
  color: var(--corp-accent) !important;
}

/* Cards */
.fbox-12,
.fbox-13,
.r-12,
.block-shadow {
  background: var(--corp-card);
  border: 1px solid var(--corp-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

/* Services cards */
#services .fbox-13,
#services .fbox-12 {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#services .fbox-13:hover,
#services .fbox-12:hover {
  transform: translateY(-6px);
  border-color: #c7d2fe;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14) !important;
}

#services .fbox-txt h5,
#services .fbox-txt h4,
#services .fbox-txt h3 {
  color: var(--corp-navy);
}

/* Footer */
footer {
  background: #f8fafc;
  color: var(--corp-navy);
  border-top: 1px solid var(--corp-border);
}

footer a {
  color: var(--corp-blue);
}

footer a:hover {
  color: #1d4ed8;
}

.footer-legal-link {
  color: #c7d2fe;
  text-decoration: none;
}

.footer-legal-link:hover {
  color: #e0e7ff;
  text-decoration: underline;
}

footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  margin-right: 8px;
}

footer .footer-socials a:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Form */
.footer-form-box {
  border: 1px solid var(--corp-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

/* Footer content polish */
.footer-info {
  max-width: 520px;
}

.footer-left .footer-info {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.footer-title {
  color: var(--corp-navy);
  font-weight: 700;
  font-size: 1.15rem;
}

.contact-highlights {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 16px;
}

.contact-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--corp-slate);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-highlights i {
  color: var(--corp-accent);
}

.footer-right .footer-form-box {
  border-radius: 18px;
}

/* New contact section */
.contact-section {
  background: #f8fafc;
  padding: 60px 0 40px;
}

.contact-left {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.contact-left .section-id {
  display: inline-block;
  margin-bottom: 8px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--corp-slate);
}

.contact-list i {
  color: var(--corp-accent);
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.contact-badges .badge {
  background: #eef2ff;
  color: var(--corp-blue);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--corp-slate);
  margin-bottom: 6px;
}

.contact-info i {
  color: var(--corp-blue);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--corp-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--corp-blue);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.contact-socials a:hover {
  color: #1d4ed8;
  border-color: #cbd5f5;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--corp-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.legal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--corp-border);
  margin-top: 20px;
  padding-top: 12px;
  color: var(--corp-muted);
  font-size: 0.9rem;
}

.legal-bar a {
  color: var(--corp-blue);
  text-decoration: none;
}

.legal-bar a:hover {
  text-decoration: underline;
}

.footer-info .footer-logo {
  max-width: 220px;
}

.footer-contact a,
.footer-contact span {
  color: var(--corp-navy);
}

.footer-contact i {
  color: var(--corp-blue);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--corp-border);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  color: var(--corp-blue);
}

.footer-socials a:hover {
  color: #1d4ed8;
  border-color: #cbd5f5;
}

.footer-form-box .form-label {
  color: var(--corp-navy);
}

.footer-form-box .form-control {
  border: 1px solid var(--corp-border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}

.footer-form-box .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.footer-form-box .btn-primary {
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.footer-form-box .g-recaptcha {
  transform: scale(0.95);
  transform-origin: 0 0;
}

.bottom-footer {
  border-top: 1px solid var(--corp-border);
  margin-top: 12px;
}

.bottom-footer .text-secondary {
  color: var(--corp-muted) !important;
}

/* Enterprise WhatsApp button */
.btn-outline-dark {
  border: 1px solid var(--corp-border);
  color: var(--corp-navy);
  background: #fff;
}

.btn-outline-dark:hover {
  background: #f1f5f9;
  border-color: #cbd5f5;
}

/* Language switch */
.language-switcher-corp .lang-btn.active,
.language-switcher-corp .lang-btn:focus {
  background: var(--corp-navy);
}
