
:root {
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-primary: #0b4f9c;
  --color-primary-light: #2f7bda;
  --color-accent: #f59e0b;
  --color-text: #0f172a;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.12);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --header-height: 80px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(11,79,156,0.98), rgba(14,116,144,0.96));
  color: #fff;
  box-shadow: 0 16px 40px rgba(15,23,42,0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.9;
}

.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(248,250,252,0.7);
}

.nav-links .nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg,#fbbf24,#f97316);
  color: #111827;
  border: none;
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg,#fde68a,#fbbf24);
  border: none;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Sticky contact bar */

.sticky-contact {
  display: flex;
  gap: 0.75rem;
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
}

.sticky-contact a {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  background: #111827;
  color: #e5e7eb;
}

.sticky-contact a:nth-child(2) {
  background: #22c55e;
}

/* Layout */

main {
  padding: 1.75rem 0 3rem;
}

/* Hero */

.hero {
  padding: 1.5rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #4b5563;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid #cbd5f5;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.hero-meta span strong {
  color: #111827;
}

/* Hero image card */

.hero-image-card {
  position: relative;
  background: radial-gradient(circle at top left,#1d4ed8,#0f172a);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.75);
  color: #e5e7eb;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Sections */

.section {
  padding: 2.25rem 0 1.25rem;
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: #4b5563;
  font-size: 0.98rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.4rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Two-column content */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 2rem;
  align-items: start;
}

/* Lists */

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.icon-list span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #15803d;
}

/* FAQ */

.faq-list {
  max-width: 720px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  margin-bottom: 0.9rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 26px rgba(15,23,42,0.05);
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Forms */

.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

input, textarea, select {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.87rem;
  font-family: inherit;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.25);
}

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

/* Footer */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 2rem;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1.75rem;
  font-size: 0.85rem;
  padding-bottom: 1.5rem;
}

.footer-grid h3,
.footer-grid h4 {
  color: #e5e7eb;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.3);
  padding: 0.7rem 0 1.2rem;
  font-size: 0.8rem;
}

/* Generic */

.page-hero {
  padding: 1.2rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: #4b5563;
  font-size: 0.96rem;
}

.content {
  max-width: 760px;
  font-size: 0.95rem;
  color: #374151;
}

.content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.content p {
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-image-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 1.5rem;
    background: rgba(15,23,42,0.98);
    border-radius: 1rem;
    padding: 0.75rem 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 190px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding-top: 1rem;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .card-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .sticky-contact {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .form-row {
    grid-template-columns: minmax(0,1fr);
  }
}
