:root {
  --bg: #111315;
  --bg-soft: #171a1d;
  --surface: #1e2328;
  --surface-border: #2c333a;
  --text: #f3f5f7;
  --text-soft: #b2bcc6;
  --accent: #d4b06a;
  --accent-soft: rgba(212, 176, 106, 0.12);
  --max-width: 1080px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(212, 176, 106, 0.08), transparent 32%),
    linear-gradient(180deg, #101214 0%, #15181b 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.section {
  padding: 5rem 0;
}

.section-accent {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(17, 19, 21, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.header-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--text-soft);
}

.header-nav a:hover,
.footer-links a:hover,
.header-nav a:focus-visible,
.footer-links a:focus-visible,
.brand:focus-visible,
.brand:hover {
  color: var(--text);
}

.hero {
  padding-top: 7rem;
}

.hero-inner {
  max-width: 52rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  max-width: 15ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

p {
  margin-top: 0;
}

.hero-text,
.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: #111315;
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card,
.contact-card,
.legal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.5rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.contact-card,
.legal-card {
  padding: 2rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-list p,
.legal-content p,
.legal-content li {
  margin-bottom: 0;
}

.contact-list span,
.legal-content strong {
  display: inline-block;
  min-width: 7rem;
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 4rem 0 5rem;
}

.legal-card {
  max-width: 54rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  text-decoration: none;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.legal-content a {
  color: var(--text);
}

@media (max-width: 820px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 5rem;
  }

  .header-inner,
  .footer-inner {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav,
  .footer-links,
  .hero-actions {
    width: 100%;
  }

  .header-nav a,
  .footer-links a {
    padding-right: 0.75rem;
  }

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

  .contact-list span,
  .legal-content strong {
    min-width: 0;
    margin-bottom: 0.15rem;
  }
}
