:root {
  --bg: #f7f8fb;
  --white: #ffffff;
  --ink: #0b1020;
  --text: #111827;
  --muted: #64748b;
  --soft: #edf1f7;
  --gold: #c8a96b;
  --emerald: #0ea672;
  --line: rgba(11, 16, 32, 0.1);
  --shadow: 0 22px 70px rgba(11, 16, 32, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

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

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main,
section,
header,
footer,
.container,
.nav-shell,
.mobile-panel,
.image-card,
.article-card,
.service-card,
.value-card,
.price-card,
.contact-card,
.glass-card,
.newsletter,
.contact-form {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 14px 36px rgba(11, 16, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.nav-shell {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.brand {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  font-size: 1.2rem;
  white-space: nowrap;
  min-width: 0;
}

.brand span {
  color: var(--gold);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #334155;
  font-weight: 650;
  font-size: 0.92rem;
}

.primary-nav a {
  position: relative;
  padding: 26px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 16, 32, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 169, 107, 0.7);
  color: var(--gold);
  box-shadow: 0 12px 30px rgba(11, 16, 32, 0.1);
}

.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #080d1b 0%, #151c32 100%);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(11, 16, 32, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #12182a 0%, #202941 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #d7bd7e 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(200, 169, 107, 0.24);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  padding: 92px 28px 28px;
  background: #ffffff;
  z-index: 45;
  transform: translateX(105%);
  transition: transform 0.32s ease;
  box-shadow: -22px 0 60px rgba(11, 16, 32, 0.15);
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-panel nav {
  display: grid;
  gap: 10px;
}

.mobile-panel a {
  padding: 14px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-panel nav a:hover {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
}

.mobile-panel .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 32, 0.42);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  min-height: calc(100vh - 76px);
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero.page-hero {
  min-height: 500px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 18, 0.9) 0%, rgba(5, 8, 18, 0.66) 42%, rgba(5, 8, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 8, 18, 0.75) 0%, rgba(5, 8, 18, 0) 48%);
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 92px 24px 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.76rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero p {
  max-width: min(740px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .btn {
  min-width: 156px;
}

.metrics {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.metric {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: 96px 24px;
}

.section.alt {
  background: var(--white);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-head p,
.lead {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.image-card,
.article-card,
.service-card,
.value-card,
.price-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(11, 16, 32, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.image-card:hover,
.article-card:hover,
.service-card:hover,
.value-card:hover,
.price-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 169, 107, 0.45);
}

.card-img {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.image-card .card-body,
.article-card .card-body {
  padding: 24px;
}

.kicker {
  color: var(--emerald);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.image-card h3,
.article-card h3,
.service-card h3,
.value-card h3,
.price-card h3,
.contact-card h3 {
  margin-top: 12px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.image-card p,
.article-card p,
.service-card p,
.value-card p,
.price-card p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.36fr 1fr;
  gap: 22px;
}

.article-card.large .card-img {
  aspect-ratio: 16 / 11;
}

.article-stack {
  display: grid;
  gap: 22px;
}

.article-card.compact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
}

.article-card.compact .card-img {
  aspect-ratio: auto;
  min-height: 210px;
}

.services-grid,
.stats-grid,
.article-grid,
.values-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.value-card,
.price-card,
.contact-card {
  padding: 28px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(200, 169, 107, 0.14);
  color: var(--gold);
}

.split-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 520px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.split-copy {
  padding: clamp(34px, 6vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2,
.dark-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.split-copy p,
.dark-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 22px 0 30px;
}

.split-media {
  min-height: 420px;
}

.dark-band {
  background: var(--ink);
  color: var(--white);
}

.glass-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.glass-card strong {
  display: block;
  color: var(--gold);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 2.1rem;
}

.glass-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 54px);
}

.newsletter h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: var(--soft);
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 14px;
  outline: none;
}

.final-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 18, 0.86), rgba(5, 8, 18, 0.38));
  z-index: 1;
}

.final-cta img {
  position: absolute;
  inset: 0;
}

.final-cta .container {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.final-cta h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.final-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  margin: 18px 0 30px;
}

.site-footer {
  background: #070b16;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 24px 30px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 750;
  font-size: 1.28rem;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.feature-media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.feature-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.price {
  color: var(--ink);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 2.3rem;
  font-weight: 750;
  margin-top: 18px;
}

.price-card .btn {
  margin-top: 22px;
  width: 100%;
}

.price small {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 5vw, 46px);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 750;
  color: var(--ink);
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfe;
  padding: 14px 15px;
  outline: none;
  border-radius: 6px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 107, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .nav-shell {
    display: flex;
    justify-content: space-between;
    grid-template-columns: none;
  }

  .primary-nav,
  .nav-actions .account-btn,
  .nav-actions .nav-cta {
    display: none !important;
  }

  .menu-toggle {
    display: inline-grid !important;
    flex: 0 0 auto;
  }

  .brand {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    flex: 0 0 auto;
  }

  .section-head,
  .editorial-grid,
  .split-banner,
  .newsletter,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .topic-grid,
  .services-grid,
  .stats-grid,
  .article-grid,
  .values-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 66px;
    padding: 0 14px;
    gap: 8px;
  }

  .brand {
    font-size: 1rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero,
  .hero.page-hero {
    min-height: auto;
    align-items: center;
  }

  .hero-content {
    padding: 72px 18px 38px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: 28px;
    max-width: 100%;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 18px;
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 18px;
  }

  .image-card .card-body,
  .article-card .card-body,
  .service-card,
  .value-card,
  .price-card,
  .contact-card,
  .glass-card {
    padding: 22px;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 30px;
  }

  .topic-grid,
  .services-grid,
  .stats-grid,
  .article-grid,
  .values-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-card.compact {
    grid-template-columns: 1fr;
  }

  .article-card.compact .card-img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .split-media {
    min-height: 320px;
  }

  .split-banner {
    min-height: 0;
  }

  .newsletter-form {
    border-radius: 12px;
    flex-direction: column;
  }

  .newsletter-form input {
    min-height: 46px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mobile-panel {
    width: min(92vw, 360px);
  }

  .final-cta {
    min-height: 430px;
  }

  .final-cta .container {
    padding: 0 18px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 62px;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .feature-copy h2,
  .split-copy h2,
  .dark-band h2,
  .newsletter h2,
  .final-cta h2 {
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
  }

  .section-head h2,
  .feature-copy h2,
  .newsletter h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.25rem);
  }

  .split-copy h2,
  .dark-band h2,
  .final-cta h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.35rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .metric strong,
  .glass-card strong {
    font-size: 1.75rem;
  }

  .newsletter,
  .contact-form {
    padding: 22px;
  }

  .split-copy {
    padding: 28px 22px;
  }

  .final-cta {
    min-height: 400px;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 0.92rem;
  }

  .nav-shell {
    padding: 0 10px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .hero-actions .btn,
  .newsletter-form .btn,
  .contact-form .btn,
  .price-card .btn,
  .mobile-panel .btn {
    width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.92rem, 9.4vw, 2.25rem);
  }

  .hero p {
    font-size: 0.96rem;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }
}
