:root {
  --primary: #1a2332;
  --primary-soft: #253247;
  --secondary: #c9a961;
  --background: #f8f9fa;
  --surface: #ffffff;
  --text: #2c3e50;
  --muted: #6d7885;
  --border: #dfe4ea;
  --shadow: 0 18px 45px rgba(26, 35, 50, 0.08);
  --radius: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  background: var(--primary);
  border-bottom: 3px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  white-space: nowrap;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: #e9eef4;
  padding: 10px 13px;
  font-size: 0.94rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 169, 97, 0.18), transparent 20%),
    linear-gradient(135deg, #1a2332 0%, #222f43 100%);
  color: #ffffff;
  padding: 112px 0 104px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 169, 97, 0.24);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  right: 7%;
  top: -115px;
}

.hero::after {
  width: 180px;
  height: 180px;
  right: 19%;
  bottom: -95px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.08;
  max-width: 900px;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #dbe2ea;
  max-width: 710px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--secondary);
  color: #18202d;
  font-weight: 700;
  border: 1px solid var(--secondary);
  border-radius: 7px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.button:hover,
.button:focus {
  background: #d4b876;
  transform: translateY(-1px);
  outline: none;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.page-hero {
  background:
    linear-gradient(rgba(26, 35, 50, 0.95), rgba(26, 35, 50, 0.95)),
    linear-gradient(135deg, #1a2332, #2a3b54);
  color: #ffffff;
  padding: 76px 0;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.page-hero p {
  max-width: 760px;
  color: #d6dde6;
  font-size: 1.08rem;
}

.section {
  padding: 86px 0;
}

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

.section.compact {
  padding: 58px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-header h2,
.content-block h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.content-block p {
  margin-bottom: 20px;
  color: #425164;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.sidebar-panel {
  background: var(--primary);
  color: #ffffff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar-panel h3 {
  color: var(--secondary);
  font-size: 1.18rem;
  margin-bottom: 14px;
}

.sidebar-panel p,
.sidebar-panel li {
  color: #d8dee8;
}

.feature-list,
.values-grid,
.services-grid {
  display: grid;
  gap: 22px;
}

.feature-list {
  grid-template-columns: repeat(4, 1fr);
}

.feature-item,
.value-card,
.service-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-item {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--secondary);
}

.feature-item h3 {
  color: var(--primary);
  font-size: 1.04rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  padding: 30px 24px;
}

.value-number {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.service-card {
  padding: 36px;
  border-top: 3px solid var(--secondary);
}

.service-card h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
  line-height: 1.25;
}

.service-card p {
  color: #4a596a;
  margin-bottom: 16px;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.accent-band {
  background: var(--primary);
  color: #ffffff;
  padding: 64px 0;
}

.accent-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.accent-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.accent-band p {
  color: #d5dde7;
  max-width: 720px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.info-card {
  padding: 34px;
}

.info-card h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.contact-detail {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-detail strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-detail a {
  color: #4c6078;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.16);
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 14px;
}

.legal-content {
  max-width: 900px;
}

.legal-content section {
  margin-bottom: 42px;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.legal-content h3 {
  color: var(--primary);
  font-size: 1.08rem;
  margin: 22px 0 10px;
}

.legal-content p,
.legal-content li {
  color: #475667;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 22px;
  margin: 10px 0 18px;
}

.notice {
  border-left: 3px solid var(--secondary);
  background: #ffffff;
  padding: 20px 22px;
  margin: 24px 0;
  color: #475667;
}

.site-footer {
  background: var(--primary);
  color: #bfc8d2;
  padding: 38px 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
  outline: none;
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
    gap: 12px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 86px 0 82px;
  }

  .feature-list,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .accent-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.4;
  }

  .main-nav {
    width: 100%;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 70px 0 68px;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 58px 0;
  }

  .feature-list,
  .values-grid,
  .services-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .form-card,
  .info-card {
    padding: 26px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
