:root { font-family: Onest, Arial, sans-serif; color: #161616; background: #f8f8f5; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body { min-height: 100vh; }
button, input { font: inherit; }
a { color: inherit; }
.material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; display: inline-block; white-space: nowrap; direction: ltr; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
.page { min-height: calc(100vh - var(--cui-h, 0px)); display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(ellipse 65% 65% at 50% 46%, #f1fbf3 0%, #f8f8f5 76%); }
.wrap { width: min(100% - 64px, 1440px); margin-inline: auto; }
.header { height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.brand { display: inline-flex; width: 140px; flex: none; }
.brand img { display: block; width: 100%; height: auto; }
.brand-description { font-size: 13px; color: #71716b; line-height: 1.3; }
.main { flex: 1; position: relative; display: grid; place-items: center; text-align: center; padding-block: 30px; isolation: isolate; }
.hero { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
h1 { font-size: clamp(58px, 6.5vw, 96px); line-height: 1.04; letter-spacing: -.06em; margin: 0; font-weight: 700; }
.intro { max-width: 500px; margin: 24px 0 0; color: #64645e; font-size: 18px; line-height: 1.5; text-wrap: balance; }
.actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.phone { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.025em; white-space: nowrap; }
.phone-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #dcf2e3; }
.phone:hover .phone-icon { background: #ccead5; }
.button { min-height: 56px; padding: 0 28px; border: 0; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.button-accent { background: #107740; color: #161616; }
.button-accent:hover { background: #0b6234; }
.site-status { margin: 0 0 20px; padding: 9px 15px; border-radius: 24px; background: rgba(232, 232, 224, .72); color: #686860; font-size: 13px; line-height: 1.4; }
.button:focus-visible, a:focus-visible, .close:focus-visible { outline: 2px solid #77776e; outline-offset: 3px; }
input:focus-visible { outline: 1px solid #999991; outline-offset: 2px; border-color: #999991; }
.art { position: absolute; z-index: 0; pointer-events: none; width: min(66vw, 620px); aspect-ratio: 1; display: grid; place-items: center; transform: translateY(-20px); }
.art::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(22, 144, 74, .10), rgba(22, 144, 74, .035) 48%, transparent 72%); filter: blur(24px); }
.loader { width: 100%; height: 100%; position: relative; border: 1px solid rgba(22, 144, 74, .15); border-radius: 50%; }
.loader::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(transparent 0deg, transparent 125deg, rgba(22, 144, 74, .06) 175deg, rgba(22, 144, 74, .32) 220deg, rgba(22, 144, 74, .75) 275deg, rgba(22, 144, 74, .22) 320deg, transparent 360deg); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 4px), #000 calc(100% - 2px), transparent 100%); filter: blur(1px) drop-shadow(0 0 6px rgba(22, 144, 74, .55)); }
.footer { min-height: 104px; display: flex; justify-content: center; align-items: center; }
.footer[hidden] { display: none; }
.socials { display: flex; align-items: center; justify-content: center; gap: 14px; }
.social-item { width: 44px; height: 44px; display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; text-decoration: none; background: white; }
.social-item:not(a) { cursor: default; }
.social-item:hover { filter: brightness(.91); }
.social-item img { display: block; width: 100%; height: 100%; }
.social-max { background: linear-gradient(140deg, #188aff 5%, #7e2dff 50%, #ee39b4 100%); }
.social-max img { width: 25px; height: 25px; }
.dialog { width: min(100% - 32px, 480px); max-height: calc(100% - 32px); border: 0; border-radius: 28px; padding: 0; background: #f8f8f5; color: #161616; box-shadow: 0 24px 80px #0003; text-align: center; }
.dialog::backdrop { background: #111a; }
.dialog-inner { padding: 52px 48px 42px; position: relative; }
.close { position: absolute; right: 20px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eaeae4; cursor: pointer; color: #555; }
.dialog h2 { font-size: 45px; line-height: 1.06; letter-spacing: -.055em; margin: 0; }
.dialog-copy { font-size: 15px; line-height: 1.5; color: #6a6a64; margin: 20px 0 28px; }
.callback-form { display: grid; gap: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.callback-form input { height: 54px; padding: 0 17px; border: 1px solid #d5d5ce; background: #fff; border-radius: 14px; color: #161616; text-align: center; }
.callback-form input::placeholder { color: #999; }
.submit { margin-top: 12px; width: 100%; }
.submit:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.4em; color: #555; font-size: 13px; line-height: 1.4; margin: 4px 0 0; }
.form-status:empty { display: none; }
@media (max-width: 900px) {
  .intro { max-width: 500px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 114px; }
  .brand { width: 116px; }
  .brand-description { font-size: 12px; }
  .main { padding-block: 40px 50px; }
  .art { width: min(98vw, 390px); transform: translateY(-10px); }
  h1 { font-size: clamp(30px, 9.7vw, 58px); }
  .intro { margin-top: 20px; max-width: 335px; font-size: 15px; white-space: normal; text-wrap: balance; }
  .actions { flex-direction: column; gap: 18px; margin-top: 28px; }
  .site-status { margin-bottom: 18px; font-size: 12px; }
  .phone { font-size: 16px; }
  .button { min-height: 52px; font-size: 14px; }
  .footer { min-height: 82px; padding-block: 14px; }
  .dialog-inner { padding: 52px 26px 30px; }
  .dialog h2 { font-size: 39px; }
}
@media (prefers-reduced-motion: no-preference) {
  .loader::after { animation: loader-turn 3.4s linear infinite; }
  .hero { animation: appear .75s cubic-bezier(.2,.7,.2,1) both; }
  .footer { animation: appear .8s .1s cubic-bezier(.2,.7,.2,1) both; }
  .button, .phone-icon, .social-item { transition: background .2s, opacity .2s, transform .2s; }
  .button:hover, .social-item:hover { transform: translateY(-2px); }
  @keyframes loader-turn { to { transform: rotate(360deg); } }
  @keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}

/* Контакты и фирменная палитра ГАРО. */
.button-accent { color: #fff; }
.brand { width: 175px; }
.contact-email { margin: 20px 0 0; font-size: 15px; color: #686860; }
.contact-email a { text-decoration: none; }
.contact-email a:hover { color: #107740; text-decoration: underline; text-underline-offset: 4px; }
.social-max img { width: 100%; height: 100%; }
@media (max-width: 600px) { .brand { width: 155px; } .contact-email { margin-top: 18px; } }
@media (max-width: 600px) { .art { width: min(92vw, 360px); transform: translateY(-20px); } }
@media (min-width: 901px) and (max-height: 850px) {
  .header { height: 120px; }
  .main { padding-block: 16px 24px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 76px); }
  .hero .intro { margin-top: 15px; }
  .hero .actions { margin-top: 20px; }
  .contact-email { margin-top: 14px; }
  .footer { min-height: 72px; }
  .art { width: min(50vw, 460px); transform: translateY(-1px); }
}
