*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #002683;
  --primary-dark: #14285F;
  --accent: #ED9523;
  --text: #010101;
  --dark: #14285F;
  --dark-2: #1a2744;
  --dark-3: #2d3a5c;
  --gray: #4B5563;
  --gray-light: #9CA3AF;
  --light: #F3F4F6;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #002683, #003DB5);
  --gradient-dark: linear-gradient(135deg, #14285F, #0D1A3E);
  --accent-gradient: linear-gradient(135deg, #ED9523, #F5A623);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 38, 131, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 38, 131, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(237, 149, 35, 0.4);
}

.btn-accent:hover {
  background: #E08810;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 149, 35, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(237, 149, 35, 0.1);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}

.logo:hover img {
  opacity: 0.85;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: color 0.2s;
  position: relative;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 38, 131, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237, 149, 35, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gray-light);
}

.hero-badge strong {
  color: var(--white);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/3;
  background: radial-gradient(ellipse at center, rgba(0, 38, 131, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero-visual-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-visual-shape:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(0, 38, 131, 0.4), transparent);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.hero-visual-shape:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(237, 149, 35, 0.3), transparent);
  animation: float 8s ease-in-out infinite reverse;
  will-change: transform;
}

.hero-visual-shape:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(0, 38, 131, 0.25), transparent);
  animation: float 7s ease-in-out infinite 2s;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Stats bar */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}

/* Partners */
.partners {
  padding: 48px 0;
  background: var(--light);
}

.partners-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.partner-item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-3);
  opacity: 0.6;
  transition: opacity 0.3s;
  letter-spacing: 1px;
}

.partner-item:hover {
  opacity: 1;
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: default;
  background: var(--white);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: rgba(0, 38, 131, 0.08);
  color: var(--primary);
}

.service-card-icon svg {
  stroke: var(--primary);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s;
}

.service-card:hover .service-link {
  gap: 10px;
  color: var(--accent);
}

/* Why us */
.why-us {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(237, 149, 35, 0.1);
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Support Promise */
.support {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.support::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 38, 131, 0.12), transparent);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.support .section-title {
  color: var(--white);
}

.support .section-subtitle {
  color: var(--gray-light);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.support-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-metric {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.support-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.support-metric-label {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.support-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.support-content p {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.support-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA */
.cta {
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta .section-title {
  color: var(--white);
}

.cta .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 32px;
}

.cta .btn {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(237, 149, 35, 0.4);
}

.cta .btn:hover {
  background: #E08810;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 149, 35, 0.5);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badge strong {
  color: var(--white);
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-info a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--gray);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(237, 149, 35, 0.4);
  transition: all 0.3s;
  z-index: 999;
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(237, 149, 35, 0.5);
}

/* Archive / Page / Single / 404 */
.page-padding { padding: 120px 0 60px; }
.page-title { font-size: 2.5rem; line-height: 1.2; }
.page-content { max-width: 720px; color: #555; font-size: 1.05rem; line-height: 1.7; }
.single-content { max-width: 720px; color: #555; font-size: 1.05rem; line-height: 1.7; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.archive-card { border: 1px solid #eee; border-radius: 12px; padding: 24px; transition: transform 0.3s, box-shadow 0.3s; }
.archive-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.archive-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.archive-card h3 a { color: inherit; text-decoration: none; }
.archive-date { color: #888; font-size: 0.9rem; margin: 0 0 12px; }
.archive-excerpt { color: #555; font-size: 0.95rem; line-height: 1.6; }
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-404 h1 { font-size: 6rem; margin: 0; background: linear-gradient(135deg,var(--accent),#ffb347); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.error-404 p { font-size: 1.3rem; color: rgba(255,255,255,0.7); margin: 16px 0 32px; }
@keyframes archive-hover { from { transform: translateY(0); box-shadow: 0 0 0 transparent; } to { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); } }

@media (max-width: 1024px) {
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .support-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .support-actions {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 64px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .partners-grid {
    gap: 32px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .support-metrics {
    grid-template-columns: 1fr;
  }

  .page-title { font-size: 1.8rem; }
  .page-padding { padding: 80px 0 40px; }
  .archive-grid { grid-template-columns: 1fr; }
  .error-404 h1 { font-size: 4rem; }
}

@media (max-width: 400px) {
  .page-title { font-size: 1.5rem; }
  .page-padding { padding: 60px 0 30px; }
  .archive-grid { grid-template-columns: 1fr; }
  .error-404 h1 { font-size: 3rem; }
  .error-404 p { font-size: 1rem; }
  .page-content { max-width: 100%; padding: 0 16px; }
  .single-content { max-width: 100%; padding: 0 16px; }
}
