@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Manrope:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 90, 40, 0.07), transparent 28%),
    radial-gradient(circle at 14% 10%, rgba(20, 52, 176, 0.08), transparent 30%),
    #f3f6fb;
  color: #0f172a;
}

h1, h2, h3, .logo-text {
  font-family: 'Space Grotesk', sans-serif;
}

.header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(5, 14, 46, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
}

.header::before {
  display: none;
}

.topbar {
  background: linear-gradient(90deg, #0c2b92 0%, #1f4dd9 58%, #ff5a26 160%);
  color: #fff;
}

.topbar-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.top-panels {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-panel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.top-panel:hover {
  background: rgba(255, 255, 255, 0.24);
}

.topbar-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, #ff5a26, #ff7a3b);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px rgba(255, 90, 38, 0.32);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  color: #fff;
  background: linear-gradient(135deg, #ff4c15, #ff6d2d);
}

.navbar {
  padding: 0.75rem 0;
}

.nav-wrapper {
  background: #fff;
  border: 1px solid #d9e2f3;
  border-radius: 14px;
  padding: 0.45rem 0.7rem;
  box-shadow: 0 8px 18px rgba(16, 39, 102, 0.08);
}

.logo {
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
}

.logo-text {
  font-size: 1.28rem;
  color: #0f2b8a;
}

.nav-menu {
  gap: 0.4rem;
}

.nav-link {
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #10214f;
  padding: 0.62rem 0.92rem;
}

.nav-link::before {
  display: none;
}

.nav-link:hover {
  color: #1235ab;
  background: #edf3ff;
}

.nav-link.active {
  color: #1235ab;
  background: #e8f0ff;
}

/* Page headers (services, a-propos, etc.) */
.page-header {
  background: linear-gradient(120deg, #f7faff 0%, #edf3ff 55%, #e6efff 100%);
  border-bottom: 1px solid #dbe6fb;
  padding: 2rem 0 1.8rem;
  color: #11285f;
}

.page-header::before {
  background: radial-gradient(circle at 78% 0%, rgba(29, 78, 216, 0.12) 0%, transparent 42%);
}

.page-header .container {
  max-width: 1040px;
}

.page-title,
.page-header .page-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  opacity: 0.96;
  margin-bottom: 0.65rem;
}

.page-intro {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.96;
  margin-bottom: 0.4rem;
  max-width: 860px;
}

.page-intro p {
  margin: 0 0 0.65rem;
}

.page-intro h2,
.page-intro h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.25rem 0 0.45rem;
  color: #12398f;
}

.page-header-content-with-image {
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.page-header-text-content {
  font-size: 1rem;
  line-height: 1.65;
}

.page-header-text-content p {
  margin-bottom: 0.6rem;
}

.page-header-image-right {
  margin-left: 0.35rem;
}

.page-header-image-right .author-photo {
  max-width: 220px;
  border-width: 3px;
}

.hero {
  min-height: 47vh;
  max-height: 510px;
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(17, 40, 95, 0.68), rgba(40, 76, 156, 0.56)),
    radial-gradient(circle at 75% 10%, rgba(255, 255, 255, 0.12), transparent 42%);
}

.hero-content {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title,
.hero-subtitle,
.hero-description {
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.18;
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  margin-bottom: 0.6rem;
}

.hero-description {
  font-size: clamp(0.96rem, 1.2vw, 1.07rem);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.44rem 0.76rem;
  margin-bottom: 0.7rem;
}

.search-like {
  margin: 12px 0 8px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 20px rgba(8, 22, 70, 0.14);
  display: flex;
  gap: 8px;
  padding: 7px;
  max-width: 690px;
}

.search-like input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 8px 10px 8px 16px;
  color: #0f172a;
  min-width: 220px;
}

.search-like input:focus {
  outline: none;
}

.search-like .btn {
  white-space: nowrap;
}

.hero-actions .btn-secondary,
.btn-ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-proof-item {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
}

.hero-rating {
  margin-top: 10px;
  max-width: 255px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
}

.hero-rating strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.hero-rating span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
}

.trust-strip {
  background: linear-gradient(180deg, #f9fbff 0%, #edf2fb 100%);
}

.trust-card {
  border: 1px solid #d9e2f2;
  box-shadow: 0 10px 22px rgba(16, 39, 102, 0.08);
}

.quick-offers {
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.offer-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d9e2f1;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(16, 39, 102, 0.08);
}

.offer-card.featured {
  border: 2px solid #1d4dd8;
  box-shadow: 0 16px 35px rgba(29, 78, 216, 0.22);
  transform: translateY(-4px);
}

.offer-tag {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #1642bd;
  background: rgba(22, 66, 189, 0.1);
  border-radius: 999px;
  padding: 5px 10px;
}

.offer-price {
  margin: 8px 0 14px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0c1f59;
}

.services-overview .service-card,
.features-list li,
.about-preview .about-content,
.product-card,
.portfolio-card,
.contact-form-wrapper,
.contact-info {
  border: 1px solid #d9e2f2;
  box-shadow: 0 10px 22px rgba(16, 39, 102, 0.08);
}

.services-overview .service-card {
  background: #fff;
}

.features-list li {
  background: #fff;
}

.why-choose .features-list li {
  padding-left: 1rem;
}

.why-choose .features-list li::before {
  display: none;
}

.cta {
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(120deg, #102671 0%, #1e3cb4 55%, #e01616 130%);
}

.cta .btn {
  background: #fff;
  color: #102671 !important;
}

.footer {
  background: linear-gradient(145deg, #0f2b8a, #08103a);
}

@media (max-width: 992px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .topbar-row {
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    align-items: stretch;
  }

  .top-panels {
    justify-content: center;
  }

  .top-panel {
    justify-content: center;
    width: 100%;
  }

  .search-like {
    border-radius: 16px;
    flex-direction: column;
  }

  .search-like .btn {
    width: 100%;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero {
    min-height: 41vh;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-meta,
  .hero-proof {
    justify-content: center;
  }

  .hero-rating {
    margin: 12px auto 0;
  }

  .page-header {
    padding: 1.35rem 0 1.2rem;
  }

  .page-title,
  .page-header .page-title {
    margin-bottom: 0.55rem;
  }

  .page-intro {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .page-header-content-with-image {
    gap: 0.8rem;
    margin-top: 0.45rem;
  }

  .page-header-image-right .author-photo {
    max-width: 165px;
  }

  .topbar-cta {
    text-align: center;
    width: 100%;
  }
}
