/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: #5B9BD5; text-decoration: none; }
a:hover { opacity: 0.85; }
main { flex: 1; }

/* ===== Header (dark top bar) ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #2B4C7E;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 54px;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img { height: 44px; width: auto; }
.logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  margin: 0 auto;
}
nav a {
  padding: 16px 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
}
nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  opacity: 1;
  text-decoration: none;
}
nav a.active {
  color: #fff;
  border-bottom-color: #5B9BD5;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.header-contact a:hover { color: #fff; opacity: 1; text-decoration: none; }
.header-contact svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.85);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== Hero (homepage) ===== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 800px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.hero-badges span {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
}

/* ===== Page banner (inner pages) ===== */
.page-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.page-banner .hero-bg {
  filter: brightness(0.4);
}
.page-banner h1 {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 0 24px;
}

/* ===== Service cards (homepage) ===== */
.services-section {
  padding: 60px 24px;
  background: #f8f9fb;
}
.services-section h2 {
  text-align: center;
  color: #2B4C7E;
  font-size: 1.6rem;
  margin-bottom: 36px;
}
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
  color: #333;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  text-decoration: none;
  opacity: 1;
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.service-card .card-body {
  padding: 18px 16px;
  text-align: center;
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2B4C7E;
  line-height: 1.4;
  margin: 0;
}

/* ===== Content sections ===== */
.content {
  padding: 50px 24px;
}
.container {
  max-width: 860px;
  margin: 0 auto;
}
.section-subtitle {
  font-size: 1.15rem;
  color: #2B4C7E;
  margin-top: 36px;
  margin-bottom: 12px;
  font-weight: 600;
}
p + p { margin-top: 14px; }

/* Content image block */
.content-image {
  margin: 32px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ===== Editorial block ===== */
.editorial {
  background: #f8f9fb;
  border-left: 4px solid #5B9BD5;
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
  margin-top: 8px;
}
.editorial .signature {
  margin-top: 24px;
  font-weight: 600;
  color: #5B9BD5;
}

/* ===== Advantages ===== */
.advantages {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.advantages li {
  background: #f8f9fb;
  padding: 20px 24px;
  border-radius: 8px;
  border-left: 4px solid #5B9BD5;
}
.advantages li strong {
  display: block;
  color: #2B4C7E;
  margin-bottom: 4px;
}

/* ===== Benefits checklist ===== */
.benefits {
  list-style: none;
  margin-top: 16px;
}
.benefits li {
  padding: 8px 0 8px 28px;
  position: relative;
}
.benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #5B9BD5;
  font-weight: 700;
}

/* ===== Task categories ===== */
.tasks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}
.task-category {
  background: #f8f9fb;
  border-radius: 8px;
  padding: 20px 24px;
}
.task-category h4 {
  color: #2B4C7E;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.task-category ul { list-style: none; }
.task-category ul li {
  padding: 4px 0 4px 20px;
  position: relative;
}
.task-category ul li::before {
  content: "\2666";
  position: absolute;
  left: 0;
  color: #5B9BD5;
}

/* ===== Pricing table ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.pricing-table th {
  background: #2B4C7E;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
}
.pricing-table tr:nth-child(even) { background: #f8f9fb; }
.pricing-info {
  background: #f8f9fb;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
  font-size: 0.93rem;
}
.pricing-info ul { margin: 8px 0 8px 20px; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.testimonial {
  background: #f8f9fb;
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #5B9BD5;
}
.testimonial blockquote {
  font-style: italic;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: #5B9BD5;
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}
.contact-info p { margin-bottom: 12px; }
.contact-info strong { color: #2B4C7E; }
.contact-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.93rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5B9BD5;
  box-shadow: 0 0 0 3px rgba(91,155,213,0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.btn {
  display: inline-block;
  background: #2B4C7E;
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: #3D6A9E; }

/* ===== Documents ===== */
.download-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #f8f9fb;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px 32px;
  margin-top: 16px;
}
.download-card .icon { font-size: 2.5rem; }

/* ===== Footer ===== */
footer {
  background: #1E3A5F;
  color: #aab;
  padding: 48px 24px 32px;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand .logo span { color: #fff; font-size: 1.3rem; }
.footer-brand .logo img { height: 40px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aab;
  font-size: 0.9rem;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: #5B9BD5;
  flex-shrink: 0;
}
.footer-legal { text-align: left; }
footer h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.footer-bottom {
  max-width: 1000px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.82rem;
  color: #667;
}
.footer-bottom a { color: #5B9BD5; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; padding: 0 16px; height: auto; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
  .menu-toggle { display: block; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 10;
  }
  nav.open { display: flex; }
  nav a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-bottom-width: 1px;
  }
  nav a.active { border-bottom-color: rgba(255,255,255,0.06); }
  .header-contact span { display: none; }
  .hero { min-height: 320px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-badges span { font-size: 0.82rem; padding: 6px 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card img { height: 140px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .editorial { padding: 20px; }
  .pricing-table { font-size: 0.82rem; }
  .pricing-table th, .pricing-table td { padding: 8px 10px; }
  .page-banner { min-height: 180px; }
  .page-banner h1 { font-size: 1.4rem; }
  .content-image img { height: 200px; }
}