:root {
      --navy: #142b3a;
      --navy-2: #203c4e;
      --gold: #c49a59;
      --gold-light: #e2c48e;
      --ink: #182b3b;
      --muted: #617080;
      --cream: #f7f5f0;
      --white: #fff;
      --line: #e6e8e8;
      --shadow: 0 18px 50px rgba(20, 43, 58, .09);
      --radius: 18px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    .container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
    .topbar {
      position: sticky; top: 0; z-index: 20;
      background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(230,232,232,.85);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
    .brand { display: flex; align-items: center; gap: 12px; min-width: 235px; }
    .brand-mark { font-family: Georgia, serif; font-size: 31px; letter-spacing: -2px; font-weight: 700; color: var(--navy); }
    .brand-mark span { color: var(--gold); }
    .brand-name { border-left: 1px solid var(--gold); padding-left: 12px; font-family: Georgia, serif; font-size: 13px; line-height: 1.2; font-weight: 700; }
    .nav-links { display: flex; align-items: center; gap: 25px; font-size: 13px; color: #34495a; }
    .nav-links a:hover { color: #a77a3b; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      padding: 13px 19px; border-radius: 8px; border: 1px solid transparent;
      font-weight: 700; font-size: 13px; cursor: pointer; transition: .2s ease;
    }
    .btn-gold { background: var(--gold); color: #172a38; box-shadow: 0 7px 18px rgba(196,154,89,.2); }
    .btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
    .btn-outline { border-color: rgba(255,255,255,.65); color: white; background: transparent; }
    .btn-outline-dark { border-color: #aab4bb; color: var(--navy); background: transparent; }
    .menu-toggle { display: none; border: 0; background: transparent; font-size: 25px; color: var(--navy); }
    .hero {
      background: linear-gradient(110deg, rgba(15,35,49,.98) 0%, rgba(20,43,58,.94) 48%, rgba(20,43,58,.68) 100%),
        radial-gradient(circle at 85% 15%, rgba(196,154,89,.28), transparent 30%);
      color: white; overflow: hidden; position: relative;
    }
    .hero:after {
      content: ""; position: absolute; width: 450px; height: 450px; border: 1px solid rgba(226,196,142,.18);
      border-radius: 50%; right: -120px; top: -190px; box-shadow: 0 0 0 45px rgba(226,196,142,.035), 0 0 0 90px rgba(226,196,142,.025);
    }
    .hero-grid { min-height: 555px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; padding-top: 40px; padding-bottom: 50px; position: relative; z-index: 1; }
    .eyebrow { color: var(--gold-light); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 800; }
    h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.7px; }
    h1 { font-size: clamp(42px, 5.3vw, 66px); margin: 19px 0; max-width: 680px; }
    h1 em { color: var(--gold-light); font-style: normal; }
    .hero-copy { max-width: 555px; color: #d9e0e5; font-size: 16px; margin-bottom: 28px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #e4e9ec; font-size: 12px; }
    .trust-row span { display: inline-flex; gap: 8px; align-items: center; }
    .check { color: var(--gold-light); font-weight: 900; font-size: 16px; }
    .hero-card {
      border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
      border-radius: 24px; padding: 27px; box-shadow: 0 28px 70px rgba(0,0,0,.2); backdrop-filter: blur(8px);
    }
    .workspace {
      min-height: 315px; border-radius: 16px; padding: 28px; position: relative; overflow: hidden;
      background: linear-gradient(135deg, rgba(255,255,255,.93), rgba(236,230,217,.94));
      color: var(--navy); display: flex; flex-direction: column; justify-content: space-between;
    }
    .workspace:before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: rgba(196,154,89,.18); right: -55px; top: -65px; }
    .workspace-logo { position: relative; font-family: Georgia, serif; font-size: 42px; font-weight: 700; letter-spacing: -2px; }
    .workspace-logo span { color: var(--gold); }
    .workspace-tag { position: relative; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
    .workspace-note { position: relative; max-width: 230px; font-family: Georgia, serif; font-size: 25px; line-height: 1.2; }
    .workspace-bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; position: relative; font-size: 11px; color: #596977; }
    .mini-chart { display: flex; align-items: end; gap: 5px; height: 40px; }
    .mini-chart i { width: 9px; border-radius: 3px 3px 0 0; background: var(--gold); display: block; }
    .mini-chart i:nth-child(1) { height: 15px; }.mini-chart i:nth-child(2) { height: 24px; }.mini-chart i:nth-child(3) { height: 19px; }.mini-chart i:nth-child(4) { height: 34px; }.mini-chart i:nth-child(5) { height: 40px; }
    section { padding: 82px 0; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
    .section-kicker { color: #a7793d; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 12px; }
    h2 { color: var(--navy); font-size: clamp(32px, 3.6vw, 45px); margin-bottom: 0; }
    .section-intro { max-width: 450px; color: var(--muted); font-size: 14px; margin: 0; }
    .services { background: var(--cream); }
    .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .service-card { background: white; border: 1px solid #efeee9; border-radius: 14px; padding: 25px; transition: .2s ease; }
    .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .icon-box { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: #f4ead9; color: var(--navy); font-size: 23px; margin-bottom: 21px; }
    .service-card h3 { font-size: 21px; margin-bottom: 10px; }
    .service-card p { color: var(--muted); font-size: 13px; margin: 0; }
    .text-link { color: #9b6d30; font-size: 12px; font-weight: 800; display: inline-block; margin-top: 18px; }
    .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
    .about-visual { background: var(--navy); color: white; border-radius: 22px; padding: 36px; min-height: 370px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
    .about-visual:after { content: "SBA"; position: absolute; right: -10px; bottom: -52px; font-family: Georgia, serif; font-size: 155px; font-weight: bold; letter-spacing: -12px; color: rgba(255,255,255,.06); }
    .about-visual .big-quote { font-family: Georgia, serif; font-size: 31px; line-height: 1.2; max-width: 300px; position: relative; z-index: 1; }
    .about-visual .small-label { color: var(--gold-light); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; position: relative; z-index: 1; }
    .about-copy p { color: var(--muted); font-size: 14px; }
    .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
    .feature { display: flex; gap: 11px; font-size: 13px; font-weight: 700; }
    .feature b { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 50%; background: #f4ead9; color: #926a31; }
    .pricing { background: #f8f9f9; }
    .pricing-note { margin-top: 13px; font-size: 12px; color: var(--muted); }
    .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: stretch; }
    .price-card { border: 1px solid var(--line); background: white; padding: 28px; border-radius: 16px; display: flex; flex-direction: column; }
    .price-card.featured { background: var(--navy); color: white; border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-8px); }
    .price-card h3 { font-size: 23px; margin-bottom: 8px; }
    .price-card p { color: var(--muted); font-size: 13px; min-height: 44px; }
    .price-card.featured p { color: #d5dfe5; }
    .price-label { color: #a7793d; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; font-weight: 800; }
    .price-card ul { list-style: none; padding: 0; margin: 14px 0 24px; font-size: 13px; }
    .price-card li { margin: 10px 0; color: #536373; }
    .price-card.featured li { color: #e4e9ec; }
    .price-card li:before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 9px; }
    .price-card .btn { margin-top: auto; }
    .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 38px; }
    .process-step { display: flex; gap: 17px; }
    .step-number { width: 45px; height: 45px; flex: 0 0 45px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--navy); font-family: Georgia, serif; font-size: 19px; }
    .process-step h3 { font-size: 20px; margin: 2px 0 8px; }
    .process-step p { margin: 0; color: var(--muted); font-size: 13px; }
    .cta { padding: 0 0 82px; }
    .cta-panel { border-radius: 22px; background: var(--navy); color: white; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .cta-panel h2 { color: white; font-size: clamp(28px, 3vw, 38px); }
    .cta-panel p { color: #d5dfe5; margin: 12px 0 0; font-size: 14px; }
    .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
    .contact-details p { color: var(--muted); font-size: 14px; }
    .contact-item { margin-top: 20px; font-size: 14px; }
    .contact-item strong { display: block; color: var(--navy); }
    .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    label { font-size: 12px; font-weight: 800; }
    input, select, textarea { width: 100%; border: 1px solid #d9dfe2; background: #fff; border-radius: 8px; padding: 12px 13px; color: var(--ink); outline: none; }
    input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,89,.14); }
    textarea { min-height: 120px; resize: vertical; }
    .form-note { grid-column: 1 / -1; font-size: 11px; color: var(--muted); margin: 0; }
    footer { background: #0e2331; color: white; padding: 40px 0 22px; }
    .footer-top { display: flex; justify-content: space-between; gap: 35px; padding-bottom: 30px; }
    footer .brand-mark, footer .brand-name { color: white; }
    footer .brand-name { color: #dce3e7; }
    .footer-copy { max-width: 330px; color: #bac7cf; font-size: 12px; margin-top: 16px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: #dce3e7; font-size: 12px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; color: #9eafb9; font-size: 11px; }
    .disclaimer { margin-top: 10px; font-size: 10px; color: #9eafb9; max-width: 780px; }
    @media (max-width: 900px) {
      .nav-links { gap: 14px; }
      .nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: none; }
      .hero-grid { gap: 25px; }
      .service-grid { grid-template-columns: repeat(2, 1fr); }
      .about-grid { gap: 35px; }
    }
    @media (max-width: 680px) {
      .container { width: min(100% - 30px, 540px); }
      .nav { min-height: 72px; }
      .brand { min-width: 0; gap: 8px; }
      .brand-mark { font-size: 27px; }
      .brand-name { font-size: 10px; padding-left: 8px; }
      .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 22px 22px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 14px; }
      .nav-links.open { display: flex; }
      .nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: block; }
      .nav > .btn { display: none; }
      .menu-toggle { display: block; }
      .hero-grid { grid-template-columns: 1fr; padding: 64px 0 45px; }
      h1 { font-size: 44px; }
      .hero-card { padding: 14px; }
      .workspace { min-height: 260px; }
      section { padding: 62px 0; }
      .section-head { align-items: start; flex-direction: column; gap: 15px; }
      .service-grid, .pricing-grid, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
      .price-card.featured { transform: none; }
      .about-visual { min-height: 290px; }
      .feature-list { gap: 14px; }
      .cta { padding-bottom: 62px; }
      .cta-panel { padding: 30px 24px; flex-direction: column; align-items: start; }
      .contact-form { grid-template-columns: 1fr; }
      .field.full, .form-note { grid-column: auto; }
      .footer-top, .footer-bottom { flex-direction: column; }
      .footer-links { gap: 14px; }
    }
  
/* Language navigation and small-screen adjustments; original design retained. */
section[id] { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.nav { gap: 18px; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-links { gap: 17px; }
.language-switcher { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: white; gap: 2px; flex-shrink: 0; }
.language-switcher a { display: grid; place-items: center; min-width: 37px; min-height: 38px; padding: 5px 8px; border-radius: 5px; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .4px; }
.language-switcher a:hover { background: var(--cream); }
.language-switcher a[aria-current="page"] { background: var(--navy); color: white; }
.menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.hero-grid > *, .about-grid > *, .contact-grid > *, .process-step > div, .section-head > * { min-width: 0; }
.contact-item [data-contact-email] { overflow-wrap: anywhere; }
.form-status { grid-column: 1 / -1; font-size: 12px; margin: 0; }
.form-status[data-kind="error"] { color: #8b2626; }
.form-status:empty { display: none; }
.js-only-note { font-size: 12px; color: var(--muted); }
html[lang="ru"] h1 { font-size: clamp(40px, 5vw, 62px); }
html[lang="ru"] h2 { font-size: clamp(30px, 3.2vw, 42px); }
html[lang="ru"] .service-card h3 { font-size: 21px; line-height: 1.2; }
html[lang="ru"] .workspace-note { max-width: 285px; }
html[lang="ru"] .hero .eyebrow { letter-spacing: 1.2px; }
html[lang="ru"] .section-kicker, html[lang="ru"] .small-label { letter-spacing: 1.3px; }
@media (max-width: 1150px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 22px 22px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 14px; box-shadow: 0 15px 20px rgba(20,43,58,.06); }
  .nav-links.open { display: flex; }
  .nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: block; }
  .nav-actions > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links a { padding: 8px 0; }
}
@media (max-width: 680px) {
  .nav { gap: 8px; }
  .nav-actions { gap: 5px; }
  .language-switcher a { min-width: 34px; min-height: 38px; padding: 4px 6px; }
  .menu-toggle { width: 40px; }
  html[lang="ru"] h1 { font-size: clamp(37px, 9vw, 44px); }
  .hero-grid { padding-top: 42px; }
  .feature-list { grid-template-columns: 1fr; }
  .workspace { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Contact details and EmailJS state; retain the original contact-item styling. */
.contact-item a:hover { color: #9b6d30; text-decoration: underline; text-underline-offset: 3px; }
.contact-item [data-contact-phone] { white-space: nowrap; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-form .btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.contact-form[aria-busy="true"] .btn { cursor: wait; }
.form-status[data-kind="success"] { color: #22633c; }
.form-status[data-kind="info"] { color: var(--muted); }

/* Sending, result and browser-hourly cooldown states. */
.button-spinner { width: 17px; height: 17px; flex: 0 0 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sba-spin .75s linear infinite; }
.button-spinner[hidden], .form-cooldown[hidden] { display: none !important; }
@keyframes sba-spin { to { transform: rotate(360deg); } }
.form-limit, .form-cooldown { grid-column: 1 / -1; font-size: 12px; line-height: 1.6; margin: 0; }
.form-limit { color: var(--muted); }
.form-cooldown { padding: 10px 12px; border: 1px solid #e6d6ba; border-radius: 8px; color: #735323; background: #fbf6ed; font-variant-numeric: tabular-nums; }
.form-status:not(:empty) { padding: 14px 16px; border: 1px solid transparent; border-radius: 10px; line-height: 1.65; }
.form-status[data-kind="success"]:not(:empty) { background: #eff8f2; color: #205b36; border-color: #c5dfce; }
.form-status[data-kind="error"]:not(:empty) { background: #fff3f2; color: #91372f; border-color: #ebccc8; }
.form-status[data-kind="info"]:not(:empty), .form-status[data-kind="limited"]:not(:empty) { background: #f2f5f7; color: #354e60; border-color: #dbe3e8; }
.form-status:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.contact-form .btn { min-height: 48px; }
.contact-form[aria-busy="true"] .btn:disabled { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .button-spinner { animation: none; } }
