:root {
  --primary: #1558d6;
  --primary-dark: #0b2f7a;
  --primary-soft: #eaf1ff;
  --accent: #ffb020;
  --text: #17233c;
  --muted: #68758c;
  --line: #e7edf7;
  --bg: #f6f9ff;
  --white: #ffffff;
  --shadow: 0 12px 34px rgba(21, 88, 214, 0.12);
}

.vendome-theme {
  --primary: #b99145;
  --primary-dark: #7c5f2e;
  --primary-soft: #fbf4e4;
  --accent: #ead39a;
  --text: #252238;
  --muted: #756b5a;
  --line: #eee2c7;
  --bg: #fffbf2;
  --shadow: 0 12px 34px rgba(185, 145, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 237, 247, 0.9);
  box-shadow: 0 6px 24px rgba(18, 35, 68, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #38a3ff);
  font-weight: 800;
}

.brand-logo {
  width: 56px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.brand-logo.state-logo {
  width: 64px;
}

.brand-logo.vendome-logo {
  width: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #34415b;
  font-size: 16px;
  font-weight: 600;
}

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

.section {
  padding: 86px 7vw;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 88px 7vw 76px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 176, 32, 0.26), transparent 28%),
    linear-gradient(135deg, #0b2f7a 0%, #1458d4 54%, #0e7ee8 100%);
}

.vendome-theme .hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 244, 205, 0.42), transparent 28%),
    linear-gradient(135deg, #7c5f2e 0%, #c6a15a 55%, #f1ddb0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -28%;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.promo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff4cc;
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(38px, 5.8vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.bonus {
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #202a3d;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(255, 176, 32, 0.24);
}

.vendome-theme .button {
  box-shadow: 0 10px 26px rgba(185, 145, 69, 0.22);
}

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

.vendome-theme .button.secondary {
  color: #7c5f2e;
}

.hero-media {
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(5, 24, 70, 0.28);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading .kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.primary-section-title {
  font-size: clamp(36px, 4.2vw, 58px);
}

.about-main-title {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
}

.services {
  background: var(--white);
}

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

.service-card,
.market-card,
.reason-card,
.contact-card,
.company-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 30px 24px;
  text-align: center;
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.icon-svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.market-card p,
.reason-card p,
.contact-card p,
.company-card p {
  color: var(--muted);
}

.markets {
  background: var(--bg);
}

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

.market-card {
  overflow: hidden;
}

.market-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.market-card-body {
  padding: 26px;
}

.market-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: #32415c;
  font-weight: 700;
}

.market-card li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

.why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
  background: var(--white);
}

.reason-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.reason-card {
  padding: 22px 24px;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(11, 47, 122, 0.88), rgba(11, 47, 122, 0.88)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1000&q=80") center/cover;
  color: var(--white);
  box-shadow: 0 24px 70px rgba(21, 88, 214, 0.2);
}

.vendome-theme .stats-panel {
  background:
    linear-gradient(rgba(124, 95, 46, 0.78), rgba(124, 95, 46, 0.78)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1000&q=80") center/cover;
  box-shadow: 0 24px 70px rgba(185, 145, 69, 0.2);
}

.vendome-theme .stat {
  background: rgba(255, 252, 243, 0.92);
  color: #3b2d17;
  box-shadow: inset 0 0 0 1px rgba(124, 95, 46, 0.14);
}

.vendome-theme .stat strong {
  color: #8b6425;
}

.stat {
  min-height: 132px;
  display: grid;
  align-content: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 36px;
  line-height: 1;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 46px;
  align-items: center;
  background: var(--bg);
}

.about p {
  color: var(--muted);
  font-size: 18px;
}

.about img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 22px;
  height: 100%;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  align-content: center;
  padding: 28px;
  text-align: center;
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  height: 100%;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #25334d;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  background: #fbfdff;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 88, 214, 0.1);
}

.contact-form .button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.cta {
  padding: 76px 7vw;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta p {
  margin: 14px auto 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(150px, 0.25fr));
  gap: 30px;
  padding: 54px 7vw 34px;
  color: rgba(255, 255, 255, 0.74);
  background: #081629;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hub-hero {
  min-height: 540px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding: 76px 7vw;
  background: var(--bg);
}

.company-card {
  overflow: hidden;
}

.company-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.company-card div {
  padding: 28px;
}

.company-logo {
  width: min(300px, 100%);
  height: 104px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 18px;
}

.vendome-logo-large {
  width: min(320px, 100%);
}

@media (max-width: 1020px) {
  .hero,
  .about,
  .footer {
    grid-template-columns: 1fr;
  }

  .reason-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero,
  .section,
  .cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .service-grid,
  .market-grid,
  .contact-grid,
  .company-grid,
  .stats-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .company-grid {
    padding: 58px 20px;
  }
}
