:root {
  color-scheme: light;
  --cream: #f8f1e7;
  --cream-soft: #fcf8f1;
  --navy: #062d4c;
  --navy-deep: #031d32;
  --ink: #11191e;
  --muted: #6f6b64;
  --gold: #c99e4c;
  --line: rgba(6, 45, 76, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-soft);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.section { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(6, 45, 76, 0.09);
  background: rgba(252, 248, 241, 0.9);
  backdrop-filter: blur(18px);
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
}
.header-brand { display: block; width: 155px; overflow: hidden; }
.header-brand img, .site-footer img, .mobile-hero-brand img { width: 100%; height: auto; }
.main-nav { display: flex; justify-content: center; gap: 34px; }
.main-nav a, .header-action {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-action {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}
.header-action:hover, .header-action:focus-visible { color: #fff; background: var(--navy); }

.hero {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1800px;
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 4px 4px 34px 34px;
  background: var(--cream);
}
.hero-image { width: 100%; height: auto; aspect-ratio: 1731 / 909; object-fit: cover; }
.mobile-hero-brand { display: none; }
.hero-scroll {
  position: absolute;
  right: 38px;
  bottom: 30px;
  display: flex;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 29, 50, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  align-items: center;
  gap: 28px;
}

.intro { padding-block: clamp(96px, 12vw, 166px) clamp(90px, 10vw, 138px); }
.section-kicker {
  display: flex;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  align-items: center;
  gap: 14px;
}
.section-kicker::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.intro-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: end;
}
.intro h1, .directions h2, .showcase-copy h2, .products-heading h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  font-weight: 400;
}
.intro h1 { max-width: 760px; font-size: clamp(3rem, 6vw, 6.3rem); letter-spacing: -0.045em; line-height: 0.98; }
.intro-copy { max-width: 430px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.intro-copy p { margin: 0; }
.intro-copy .accent-line {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
}
.principles {
  display: grid;
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}
.principles article { min-height: 220px; padding: 28px 34px 20px 0; border-right: 1px solid var(--line); }
.principles article + article { padding-left: 34px; }
.principles article:last-child { border-right: 0; }
.principle-number, .direction-list article > span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 0.8rem; }
.principles h2 { margin: 50px 0 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.principles p { max-width: 310px; margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.65; }

.directions {
  padding-block: clamp(86px, 10vw, 130px);
  color: #fff;
  background: radial-gradient(circle at 84% 12%, rgba(201, 158, 76, 0.13), transparent 32rem), var(--navy-deep);
}
.directions-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: end; }
.section-kicker-light { color: #d8b66d; }
.directions h2 { margin-top: 28px; font-size: clamp(3.1rem, 6vw, 6.2rem); letter-spacing: -0.035em; line-height: 0.98; }
.directions-head > p { max-width: 450px; margin: 0 0 8px; color: rgba(255, 255, 255, 0.62); font-size: 1rem; line-height: 1.75; }
.direction-list {
  display: grid;
  margin-top: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  grid-template-columns: repeat(2, 1fr);
}
.direction-list article {
  display: grid;
  min-height: 190px;
  padding: 28px 42px 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  grid-template-columns: 54px 1fr;
  column-gap: 22px;
}
.direction-list article:nth-child(even) { padding-left: 42px; border-right: 0; }
.direction-list h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 400; }
.direction-list p { margin: 18px 0 0; color: rgba(255, 255, 255, 0.52); font-size: 0.82rem; line-height: 1.6; grid-column: 2; }

.showcase {
  display: grid;
  padding-block: clamp(96px, 12vw, 160px);
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}
.showcase-image-wrap { position: relative; }
.showcase-image-wrap::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: 34px;
  bottom: 22px;
  left: -22px;
  border: 1px solid rgba(201, 158, 76, 0.56);
  content: "";
}
.showcase-image-wrap img { width: 100%; min-height: 480px; border-radius: 0 28px 0 28px; object-fit: cover; object-position: 68% center; }
.showcase-copy h2 { margin-top: 28px; color: var(--navy); font-size: clamp(2.8rem, 4.6vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.showcase-copy > p { margin: 30px 0 0; color: var(--muted); line-height: 1.75; }
.steps { margin: 38px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { display: grid; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 0.83rem; font-weight: 650; grid-template-columns: 42px 1fr; }
.steps span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.products-section { padding-block: 0 120px; }
.products-heading {
  display: flex;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.products-heading h2 { margin-top: 18px; color: var(--navy); font-size: clamp(2.3rem, 4vw, 4.1rem); letter-spacing: -0.035em; }
.products-heading > p { max-width: 390px; margin: 0 0 6px; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.products { display: grid; margin-top: 22px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-link {
  position: relative;
  display: grid;
  min-height: 76px;
  padding: 13px 42px 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.product-link:hover, .product-link:focus-visible { border-color: rgba(6, 45, 76, 0.35); outline: none; box-shadow: 0 12px 28px rgba(6, 45, 76, 0.08); transform: translateY(-2px); }
.product-icon { display: grid; width: 34px; height: 34px; overflow: hidden; border-radius: 9px; place-items: center; }
.telegram-product .product-icon { background: #2aabee; }
.telegram-product svg { width: 21px; fill: #fff; }
.office-mark { background: #eef5f0; }
.office-mark img { width: 29px; height: 29px; object-fit: contain; }
.messenger-mark { border-radius: 1px; color: #fff; background: #111; font-family: Georgia, "Times New Roman", serif; font-size: 0.95rem; font-weight: 700; }
.product-link > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.product-link strong, .product-link small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-link strong { color: var(--navy); font-size: 0.85rem; }
.product-link small { color: var(--muted); font-size: 0.67rem; }
.product-arrow { position: absolute; top: 13px; right: 14px; color: var(--gold); font-size: 0.9rem; }

.site-footer {
  display: grid;
  min-height: 280px;
  padding: 58px 24px 34px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  text-align: center;
  place-items: center;
  align-content: center;
  gap: 25px;
}
.site-footer img { width: 210px; }
.site-footer p { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer p span { padding: 0 8px; color: var(--gold); }
.site-footer small { color: rgba(17, 25, 30, 0.42); font-size: 0.61rem; letter-spacing: 0.2em; }

@media (max-width: 900px) {
  .site-header { height: 68px; padding-inline: 20px; grid-template-columns: 145px 1fr; }
  .header-brand { width: 135px; }
  .main-nav { display: none; }
  .header-action { font-size: 0.64rem; }
  .hero { width: calc(100% - 20px); margin-top: 10px; }
  .hero-image { min-height: 620px; object-position: 77% center; }
  .mobile-hero-brand { position: absolute; top: 54px; left: 30px; display: block; width: min(245px, calc(100% - 60px)); }
  .mobile-hero-brand img { width: 220px; }
  .mobile-hero-brand p { margin: 17px 0 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; }
  .hero-scroll { right: 22px; bottom: 22px; }
  .intro-grid, .directions-head, .showcase { grid-template-columns: 1fr; }
  .intro-grid { gap: 38px; }
  .intro-copy { max-width: 620px; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { min-height: 0; padding: 24px 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles h2 { margin-top: 28px; }
  .directions-head { gap: 38px; }
  .direction-list { margin-top: 62px; }
  .showcase { gap: 70px; }
  .showcase-image-wrap img { min-height: 420px; }
  .products { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { width: min(100% - 30px, 1180px); }
  .site-header { grid-template-columns: 120px 1fr; }
  .header-brand { width: 112px; }
  .header-action { padding: 9px 12px; }
  .hero-image { min-height: 570px; object-position: 76% center; }
  .mobile-hero-brand { top: 46px; left: 24px; }
  .mobile-hero-brand img { width: 195px; }
  .hero-scroll { left: 22px; right: auto; }
  .intro h1 { font-size: clamp(2.65rem, 13vw, 4.4rem); }
  .direction-list { grid-template-columns: 1fr; }
  .direction-list article, .direction-list article:nth-child(even) { min-height: 165px; padding: 24px 0; border-right: 0; }
  .showcase-image-wrap::before { top: -12px; right: 18px; bottom: 12px; left: -10px; }
  .showcase-image-wrap img { min-height: 370px; border-radius: 0 18px 0 18px; }
  .products-section { padding-bottom: 84px; }
  .products-heading { display: block; }
  .products-heading > p { margin-top: 22px; }
  .site-footer img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
