:root {
  --bg: #f9fafc;
  --surface: #ffffff;
  --primary: #1f4fd8;
  --primary-dark: #173fb0;
  --text: #2b2f36;
  --muted: #606673;
  --line: #e6e9f0;
  --accent: #2fae8e;
  --shadow: 0 16px 32px rgba(21, 35, 68, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: "Inter", "SF Pro Display", "Helvetica Neue", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 252, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  gap: 1.2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--primary);
}

.brand small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.section {
  padding: 4rem 0;
}

.section.compact {
  padding: 3rem 0;
}

.hero {
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero {
  background: #ffffff;
  padding-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  background: rgba(31, 79, 216, 0.08);
  color: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0.7rem 0;
}

.lead,
.section-intro {
  color: var(--muted);
  max-width: 70ch;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  margin: 1.2rem 0 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

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

.highlights {
  padding-left: 1rem;
  color: var(--muted);
  margin: 0;
}

.icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.page-photo {
  width: 100%;
  margin-top: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.quick-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.quick-cards {
  display: grid;
  gap: 0.9rem;
}

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

.stat-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

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

.card,
.package,
.contact-form,
.contact-panel,
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 12px 24px rgba(21, 35, 68, 0.08);
}

.media-card {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(21, 35, 68, 0.08);
}

.media-card img {
  width: 100%;
  display: block;
}

.media-caption {
  padding: 1rem 1.2rem 1.3rem;
}

.case-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-tag {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.case-link:hover {
  color: var(--primary-dark);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(31, 79, 216, 0.06);
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #eef2fb;
  color: var(--primary-dark);
}

.note {
  color: var(--muted);
  margin-top: 0.7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  background: #ffffff;
}

.disclaimer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.site-footer {
  background: #101825;
  color: #eef2fb;
  padding: 1.4rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer a {
  color: #9ab4ff;
}

@media (max-width: 980px) {
  .hero-grid,
  .quick-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
