:root {
  --brand-gold: #a59a41;
  --brand-deep: #2b3b4e;
  --brand-dark: #0f172a;
  --brand-light: #f8fafc;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --accent: #1d4ed8;
  --accent-soft: #e0e7ff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--brand-light);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand img {
  width: 46px;
  height: 46px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: #e2e8f0;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  color: #fff;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(43, 59, 78, 0.75)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=80") center/cover;
  padding: 120px 0 90px;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero p {
  color: #e2e8f0;
  font-size: 1.1rem;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--brand-gold);
  color: #111827;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 700px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
}

.highlight {
  background: var(--brand-dark);
  color: #e2e8f0;
}

.highlight .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.media-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.card-link {
  display: grid;
  gap: 18px;
  align-content: start;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.card-link .btn {
  justify-self: flex-start;
}

.card-link:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.media-card img {
  border-radius: 14px;
  height: 200px;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  text-align: center;
}

.stats h3 {
  margin: 0;
  font-size: 2rem;
}

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.clients div {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.gallery-grid img {
  border-radius: 16px;
  height: 220px;
  object-fit: cover;
}

.cta {
  background: linear-gradient(120deg, #1e293b, #0f172a);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  gap: 18px;
  align-items: center;
}

.cta .btn-primary {
  background: #fff;
  color: #111827;
}

.page-hero {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(43, 59, 78, 0.75)),
    url("https://images.unsplash.com/photo-1496307653780-42ee777d4833?auto=format&fit=crop&w=2000&q=80") center/cover;
  color: #fff;
  padding: 80px 0 60px;
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.breadcrumbs {
  color: #e2e8f0;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: #0b1120;
  color: #cbd5f5;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid a {
  color: #e2e8f0;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.notice {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-section article {
  display: grid;
  gap: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.article-visual svg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.article-callout {
  border-left: 4px solid var(--brand-gold);
}

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
}

.article-svg-thumb {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.article-svg-thumb svg {
  display: block;
  width: 100%;
  height: auto;
}

.sponsored-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sponsored-modal.is-open {
  display: flex;
}

.sponsored-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.sponsored-modal__dialog {
  position: relative;
  width: min(680px, 96%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sponsored-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.sponsored-modal__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.sponsored-modal__label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.sponsored-modal__body h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.sponsored-modal__body p {
  margin: 0;
  color: var(--text-muted);
}

.sponsored-modal__media {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.sponsored-modal__media img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
}

.sponsored-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sponsored-modal__actions .btn {
  min-width: 130px;
}

.sponsored-modal__actions .btn-primary {
  background: var(--brand-deep);
  color: #fff;
}

.sponsored-modal__actions .btn-secondary {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
  color: #0f172a;
}

.sponsored-modal__disclaimer {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 10px;
  }

  .cta {
    padding: 32px;
  }

  .article-sidebar {
    position: static;
  }

  .sponsored-modal__media img {
    height: 140px;
  }
}
