:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --primary: #2f6bff;
  --primary-dark: #254ed8;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
}

* {
  box-sizing: border-box;
}

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

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

.container {
  width: min(1110px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand .logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-img {
  width: 160px;
  height: auto;
  display: block;
}

.brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(107, 114, 128, 0.2);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 0.28rem 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  padding: 5rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(47, 107, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.4fr) 1fr;
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin: 0;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

.hero-copy p {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-stats div {
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-media {
  display: grid;
  gap: 1.5rem;
}

.hero-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card,
.card,
.price-card,
.contact-form,
.result,
.calculator-panel,
.info-card,
.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.06);
}

.hero-card h2,
.card h3,
.price-card h3,
.step-card h3,
.info-card h3 {
  margin-top: 0;
}

.hero-card ul,
.price-card ul,
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hero-card li,
.info-card li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.card-grid,
.pricing-grid,
.contact-grid,
.calculator-grid,
.step-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  min-height: 170px;
}

.card h3,
.price-card h3 {
  margin-bottom: 0.75rem;
}

.card p,
.price-card p,
.contact-form label,
.contact-form input,
.contact-form textarea {
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.price-card {
  min-height: 150px;
}

.price-card.unavailable {
  opacity: 0.75;
}

.step-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.05);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  margin-bottom: 1rem;
}

.calculator-grid {
  grid-template-columns: 1fr 0.95fr;
  align-items: start;
}

.calculator-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.calculator-info {
  display: grid;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.info-card h3 {
  margin-top: 0;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.info-card li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.calculator-form label,
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  background: #f8fafc;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(47, 107, 255, 0.3);
  border-color: rgba(47, 107, 255, 0.6);
}

.result {
  margin-top: 1rem;
  min-height: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0;
}

.highlight {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.12);
  color: #1e3a8a;
  font-weight: 600;
}

.contact-form {
  display: grid;
}

.footer {
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: rgba(47, 107, 255, 0.08);
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .calculator-grid,
  .contact-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    gap: 1rem;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.03);
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
