:root {
  --ink: #141412;
  --muted: #706f69;
  --line: rgba(20, 20, 18, .1);
  --surface: rgba(255, 255, 255, .72);
  --orange: #ea7b20;
  --orange-dark: #c95e0a;
  --orange-soft: #fff0df;
  --shadow: 0 30px 80px rgba(38, 31, 24, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background: #f8f7f4;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { font: inherit; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.ambient-one { width: 440px; height: 440px; top: -240px; right: -100px; background: radial-gradient(circle, rgba(234,123,32,.18), transparent 68%); }
.ambient-two { width: 520px; height: 520px; bottom: -340px; left: -160px; background: radial-gradient(circle, rgba(255,205,145,.23), transparent 68%); }

.site-header { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; }
.brand img { width: 178px; height: auto; display: block; }
.header-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5bad72; box-shadow: 0 0 0 5px rgba(91,173,114,.1); }
.status-dot.warning { background: #d29b3d; box-shadow: 0 0 0 5px rgba(210,155,61,.1); }

.home-main { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; min-height: calc(100vh - 198px); padding-block: 68px 76px; }
.hero { max-width: 540px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 800; }
.eyebrow-divider { width: 28px; height: 1px; background: var(--orange); }
.hero h1 { margin: 28px 0 24px; font-size: clamp(52px, 5.8vw, 82px); line-height: .96; letter-spacing: -.066em; font-weight: 800; }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 490px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 38px; }
.primary-button { min-width: 246px; height: 64px; padding: 0 18px 0 10px; display: flex; align-items: center; gap: 13px; border-radius: 18px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; box-shadow: 0 16px 28px rgba(20,20,18,.18); transition: transform .25s ease, box-shadow .25s ease; }
.button-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--orange); color: white; font-size: 20px; }
.button-arrow { margin-left: auto; color: #aaa9a4; font-size: 20px; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 21px 34px rgba(20,20,18,.22); }
.trust-line { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #8a8983; font-size: 12px; font-weight: 600; }
.shield-icon { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #e7e5df; color: #6e6c66; font-size: 11px; }
.utility-links { min-width: 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding-left: 9px; }
.utility-links a { position: relative; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.utility-links a::after { content: ''; position: absolute; right: 0; bottom: -3px; left: 0; height: 1px; background: currentColor; opacity: .22; transition: opacity .2s ease; }
.utility-links a span { margin-left: 4px; color: var(--orange); }
.utility-links a:hover { color: var(--ink); }
.utility-links a:hover::after { opacity: .7; }

.service-panel { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.88); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.panel-head { display: flex; align-items: end; justify-content: space-between; padding: 4px 4px 25px; }
.section-kicker { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.panel-head h2 { margin: 7px 0 0; font-size: 27px; letter-spacing: -.04em; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-card { min-width: 0; min-height: 178px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(234,123,32,.34); box-shadow: 0 14px 28px rgba(38,31,24,.08); }
.card-number { position: absolute; top: 18px; right: 18px; color: #b9b7b0; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--orange-soft); color: var(--orange); font-size: 21px; font-weight: 800; }
.telegram-icon { transform: rotate(-13deg); }
.service-content { display: flex; flex-direction: column; gap: 5px; margin-top: 24px; }
.service-content strong { font-size: 15px; }
.service-content small { color: var(--muted); font-size: 11px; }
.card-action { position: absolute; right: 20px; bottom: 20px; color: #aaa8a1; font-size: 16px; transition: color .25s ease; }
.service-card:hover .card-action { color: var(--orange); }

.site-footer { height: 86px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #99968f; font-size: 11px; font-weight: 600; }
.toast { position: fixed; z-index: 10; right: 28px; bottom: 28px; display: flex; gap: 12px; align-items: center; min-width: 230px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: white; box-shadow: 0 18px 45px rgba(20,20,18,.22); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.toast div { display: flex; flex-direction: column; gap: 2px; }
.toast strong { font-size: 13px; }
.toast small { color: #aaa; font-size: 10px; }

@media (max-width: 900px) {
  .home-main { grid-template-columns: 1fr; gap: 54px; padding-top: 56px; }
  .hero { max-width: 680px; }
  .hero h1 { font-size: clamp(58px, 11vw, 82px); }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header { height: 86px; }
  .brand img { width: 142px; }
  .header-status { font-size: 10px; }
  .home-main { min-height: auto; padding-block: 48px 56px; gap: 46px; }
  .hero h1 { margin-top: 22px; font-size: 52px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .primary-button { width: 100%; }
  .utility-links { min-width: 0; flex-direction: row; justify-content: space-between; padding: 0 4px; }
  .service-panel { padding: 22px 16px 16px; border-radius: 26px; }
  .panel-head { padding-inline: 5px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 132px; }
  .service-content { margin-top: 18px; }
  .site-footer { height: 76px; }
  .footer-note { display: none; }
  .toast { right: 15px; bottom: 15px; left: 15px; }
}

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