:root {
  --ts-primary: #0c3b66;
  --ts-primary-2: #115a96;
  --ts-accent: #1fa8a1;
  --ts-accent-2: #f4b942;
  --ts-bg: #f4f7fb;
  --ts-surface: #ffffff;
  --ts-text: #142033;
  --ts-muted: #60708a;
  --ts-radius: 1.1rem;
  --ts-shadow: 0 18px 45px rgba(10, 47, 82, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ts-text);
  background:
    radial-gradient(circle at 10% -5%, rgba(31, 168, 161, 0.14), transparent 32%),
    radial-gradient(circle at 95% 0%, rgba(244, 185, 66, 0.2), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 35%, #f5f8fc 100%);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: -0.02em;
}

.text-muted {
  color: var(--ts-muted) !important;
}

.top-strip {
  font-size: 0.92rem;
  color: #dbe9ff;
  background: linear-gradient(110deg, #0b2f52, #144e82 56%, #0f3f6b);
}

.top-strip a {
  color: #dbe9ff;
  text-decoration: none;
}

.navbar {
  backdrop-filter: saturate(150%) blur(8px);
  background: rgba(255, 255, 255, 0.92) !important;
}

.navbar-brand strong {
  color: var(--ts-primary);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.navbar-brand {
  max-width: min(62vw, 280px);
  margin-right: 0.5rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
}

.footer-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 100%;
}

.navbar .nav-link {
  color: #1f2f43;
  font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--ts-primary);
}

.btn-ts-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ts-primary);
  --bs-btn-border-color: var(--ts-primary);
  --bs-btn-hover-bg: #0a3154;
  --bs-btn-hover-border-color: #0a3154;
  --bs-btn-active-bg: #082843;
  --bs-btn-active-border-color: #082843;
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.btn-ts-soft {
  --bs-btn-color: var(--ts-primary);
  --bs-btn-bg: #eaf2ff;
  --bs-btn-border-color: #eaf2ff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ts-primary);
  --bs-btn-hover-border-color: var(--ts-primary);
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.hero {
  padding: 4.8rem 0 4.2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 52%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 90, 150, 0.15), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-card {
  background: linear-gradient(160deg, #0c3b66, #0f4c83 58%, #13629e);
  border-radius: calc(var(--ts-radius) + 0.4rem);
  color: #fff;
  box-shadow: var(--ts-shadow);
}

.hero-card .badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-box {
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.section-pad {
  padding: 4.5rem 0;
}

.section-title {
  max-width: 640px;
}

.feature-card,
.service-card,
.article-card,
.team-card,
.faq-card,
.contact-card,
.legal-card {
  background: var(--ts-surface);
  border: 1px solid #e8eef6;
  border-radius: var(--ts-radius);
  box-shadow: 0 10px 25px rgba(20, 32, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.article-card:hover,
.team-card:hover,
.faq-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(20, 32, 51, 0.12);
}

.feature-icon,
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ts-primary);
  background: #e9f1ff;
}

.service-icon {
  background: #e5f7f6;
  color: #0d7873;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ts-primary-2);
}

.page-hero {
  background: linear-gradient(145deg, #0e3e6c, #115a96);
  color: #fff;
  padding: 5rem 0 3.5rem;
  border-radius: 0 0 2rem 2rem;
  margin-bottom: 2rem;
}

.page-hero .breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.cta-band {
  border-radius: 1.25rem;
  background: linear-gradient(120deg, #103f6f, #1fa8a1);
  color: #fff;
}

footer {
  background: #0d2238;
  color: #dce7f5;
}

footer a {
  color: #dce7f5;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
}

.floating-whatsapp a {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #24d366;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.7s ease forwards;
}

.reveal-delay-1 {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

.reveal-delay-3 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 3.4rem;
  }

  .navbar-brand {
    max-width: min(68vw, 240px);
  }

  .brand-logo {
    height: 36px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    inset: 5% auto auto 58%;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    max-width: min(70vw, 210px);
  }

  .brand-logo {
    height: 32px;
  }

  .footer-logo {
    height: 38px;
  }

  .page-hero {
    padding: 4.2rem 0 3.1rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
