:root {
  --primary: #2b5f9f;
  --primary-dark: #173f72;
  --secondary: #686868;
  --secondary-dark: #505050;
  --bg: #f5f7fb;
  --text: #1f2937;
  --muted: #686868;
  --white: #ffffff;
  --border: #e6eaf0;
  --shadow: 0 18px 45px rgba(43, 95, 159, 0.14);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.9rem;
  padding: 9px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(43, 95, 159, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.96rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(43, 95, 159, 0.25);
}

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

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(43, 95, 159, 0.22);
}

.btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-size: 1.35rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 15% 10%, rgba(43, 95, 159, 0.14), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(104, 104, 104, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 46px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 95, 159, 0.10);
  color: var(--primary);
  border: 1px solid rgba(43, 95, 159, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
  font-size: 0.92rem;
}

.trust-item strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}

.hero-card {
  background: var(--white);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.9);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 1px solid rgba(43, 95, 159, 0.18);
  z-index: -1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.badge {
  background: rgba(43, 95, 159, 0.12);
  color: var(--primary-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.certificate-visual {
  min-height: 315px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.certificate-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -70px;
  bottom: -70px;
}

.lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-bottom: 28px;
}

.certificate-visual h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.certificate-visual p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 0.98rem;
}

.visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.visual-footer span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.visual-footer strong {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

section { padding: 78px 0; }

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title .tag { margin-bottom: 14px; }

.section-title h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.04rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.plan-card,
.step-card,
.faq-item,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.05);
}

.service-card {
  padding: 24px;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(43, 95, 159, 0.08);
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--primary-dark);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.plans { background: var(--white); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.plan-card.featured {
  border: 2px solid rgba(43, 95, 159, 0.45);
  box-shadow: 0 22px 55px rgba(43, 95, 159, 0.16);
  transform: translateY(-8px);
}

.plan-label {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.plan-card h3 {
  color: var(--primary-dark);
  font-size: 1.55rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.plan-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.price {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 10px 0 24px;
  color: var(--muted);
  flex: 1;
}

.features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card { padding: 28px; }

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step-card p { color: var(--muted); }

.cta { padding: 0; }

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 34px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  right: -80px;
  top: -80px;
}

.cta-box h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  max-width: 760px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 690px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item { overflow: hidden; }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1rem;
  text-align: left;
}

.faq-question span {
  color: var(--primary);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}

.faq-answer p { padding: 0 22px 20px; }

.faq-item.active .faq-answer { max-height: 260px; }

.faq-item.active .faq-question span { transform: rotate(45deg); }

.contact {
  background:
    radial-gradient(circle at 20% 15%, rgba(43, 95, 159, 0.12), transparent 26%),
    #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.contact-card { padding: 30px; }

.contact-card h3 {
  color: var(--primary-dark);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-info div {
  padding: 16px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--muted);
}

.contact-info strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(43, 95, 159, 0.65);
  box-shadow: 0 0 0 4px rgba(43, 95, 159, 0.1);
}

textarea {
  resize: vertical;
  min-height: 116px;
}

footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.76);
  padding: 32px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

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

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  z-index: 20;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover { transform: scale(1.06); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 930px) {
  .nav-links,
  .navbar .btn-primary {
    display: none;
  }

  .menu-button { display: block; }

  .nav-links.open {
    display: grid;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 78px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .hero-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 56px; }

  .trust-list,
  .services-grid,
  .plans-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card.featured { transform: none; }
}

@media (max-width: 640px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .navbar { min-height: 70px; }

  .logo {
    font-size: 0.98rem;
    gap: 10px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 0.84rem;
  }

  .hero { padding: 42px 0 56px; }

  h1 { font-size: 2.42rem; }

  .hero p { font-size: 1rem; }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .trust-list,
  .services-grid,
  .plans-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .contact-card,
  .cta-box {
    padding: 24px;
    border-radius: 24px;
  }

  section { padding: 58px 0; }

  .certificate-visual { min-height: 280px; }

  .visual-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .container {
    text-align: center;
    justify-content: center;
  }
}
