:root {
      --bg: #050505;
      --bg-soft: #0b0b0b;
      --bg-elev: #111111;
      --card: #0f0f0f;
      --text: #f7f7f7;
      --muted: #a7a7a7;
      --gold: #c9a24a;
      --gold-soft: #e1bf72;
      --gold-deep: #9a7a33;
      --border: rgba(201, 162, 74, 0.36);
      --max: 1140px;
      --radius: 18px;
      --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
      --font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
      --font-line-height: 1.72;
      --font-letter-spacing: 0.012em;
      --font-weight-medium: 600;
      --font-weight-semibold: 630;
      --font-weight-bold: 650;
      --font-weight-accent: 620;
      --font-weight-soft: 560;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      overscroll-behavior-y: none;
      font-family: var(--font-family);
      line-height: var(--font-line-height);
      letter-spacing: var(--font-letter-spacing);
    }

    body {
      font-family: inherit;
      background:
        radial-gradient(circle at 14% -10%, rgba(201, 162, 74, 0.14) 0%, transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(201, 162, 74, 0.09) 0%, transparent 28%),
        #050505;
      color: var(--text);
      line-height: inherit;
      letter-spacing: inherit;
      overscroll-behavior-y: none;
      overflow-x: hidden;
    }

    .site-text {
      font-family: inherit;
      line-height: inherit;
      letter-spacing: inherit;
    }

    .top-nav {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(12px);
      background: linear-gradient(to bottom, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.74));
      border-bottom: 1px solid rgba(201, 162, 74, 0.24);
      overflow: visible;
    }

    .nav-inner {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
      min-height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      line-height: 0;
      margin: 0;
    }

    .brand-logo-img {
      display: block;
      height: 64px;
      width: auto;
      filter: drop-shadow(0 0 4px rgba(212,175,55,0.25));
    }

    .nav-links {
      display: flex;
      margin-left: auto;
      margin-right: 12px;
      gap: 9px;
      overflow-x: auto;
      scrollbar-width: thin;
    }

    .nav-links a {
      color: #d2d2d2;
      font-size: 0.86rem;
      white-space: nowrap;
      padding: 7px 2px;
      border-bottom: 1px solid transparent;
      transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    }

    .nav-links a:hover {
      color: var(--gold-soft);
      border-color: rgba(201, 162, 74, 0.45);
      transform: translateY(-1px);
    }

    @media (min-width: 769px) {
      .nav-links a.is-active {
        color: var(--gold-soft);
        border-color: rgba(201, 162, 74, 0.45);
      }

      .lang-switcher a.active {
        border-color: rgba(201, 162, 74, 0.45);
      }
    }

    .lang-switcher {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
      font-size: 0.68rem;
      letter-spacing: 0.075em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .lang-switcher a {
      color: rgba(255, 255, 255, 0.68);
      border-bottom: 1px solid transparent;
      transition: color 0.22s ease, opacity 0.2s ease, border-color 0.22s ease, transform 0.22s ease;
    }

    .lang-switcher a:hover {
      color: rgba(255, 255, 255, 0.9);
      border-color: rgba(201, 162, 74, 0.45);
      transform: translateY(-1px);
    }

    .lang-switcher a:active {
      color: rgba(255, 255, 255, 0.9);
      border-color: rgba(201, 162, 74, 0.45);
    }

    .lang-switcher a.active:active {
      color: var(--gold-soft);
      border-color: rgba(201, 162, 74, 0.45);
    }

    .lang-switcher a.active {
      color: var(--gold-soft);
      opacity: 1;
    }

    .lang-switcher .sep {
      color: rgba(255, 255, 255, 0.4);
      user-select: none;
    }

    .mobile-nav-links {
      display: none;
    }

    .nav-end {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      gap: 10px;
    }

    .menu-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 56;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(201, 162, 74, 0.44);
      border-radius: 10px;
      background: rgba(13, 13, 13, 0.92);
      color: #f0e0b5;
      font-size: 1.28rem;
      line-height: 1;
      cursor: pointer;
      pointer-events: auto;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    /* EST desktop nav + section rhythm refinements */
    @media (min-width: 769px) {
      html[lang="et"] .nav-inner {
        gap: 12px;
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
      }

      html[lang="et"] .brand {
        margin-left: -10px;
      }

      html[lang="et"] .nav-links {
        margin-right: 10px;
        gap: 6px;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }

      html[lang="et"] .nav-links::-webkit-scrollbar {
        display: none;
      }

      html[lang="et"] .nav-links a {
        font-size: 0.86rem;
        padding: 7px 1px;
      }

      html[lang="et"] .section {
        padding: 98px 0;
      }

      html[lang="et"] .section-title {
        max-width: none;
        white-space: nowrap;
        margin-bottom: 14px;
      }

      html[lang="et"] .section-intro {
        margin-bottom: 32px;
      }

      /* Teenuse tasu: match RU pricing cards (desktop EST) */
      html[lang="et"] #hinnakiri .pricing-grid {
        align-items: stretch;
      }

      html[lang="et"] #hinnakiri .pricing-rate,
      html[lang="et"] #hinnakiri .pricing-note {
        height: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(201, 162, 74, 0.38);
        border-radius: 14px;
        padding: 26px;
        background:
          radial-gradient(circle at 80% 0%, rgba(201, 162, 74, 0.24), transparent 45%),
          linear-gradient(150deg, #16120a, #0c0c0c 62%);
        box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      }

      html[lang="et"] #hinnakiri .pricing-note {
        margin-top: 0;
      }

      html[lang="et"] #hinnakiri .pricing-rate:hover,
      html[lang="et"] #hinnakiri .pricing-note:hover {
        transform: translateY(-7px);
        border-color: rgba(201, 162, 74, 0.55);
        box-shadow: 0 26px 52px rgba(0, 0, 0, 0.56);
      }
    }


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

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
    }

    .section {
      padding: 112px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      scroll-margin-top: 88px;
      position: relative;
      isolation: isolate;
    }

    /* Mobile/tablet: extra anchor offset so section titles clear the fixed header */
    @media (max-width: 1024px) {
      .section {
        scroll-margin-top: 112px;
      }
    }

    .section::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      opacity: 0.88;
      background: linear-gradient(180deg, #0b0b0b 0%, #070707 100%);
    }

    .section::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(201, 162, 74, 0.45), transparent);
      opacity: 0.5;
      z-index: -1;
    }

    main .section:nth-of-type(2n)::before {
      background:
        radial-gradient(circle at 80% 30%, rgba(201, 162, 74, 0.09) 0%, transparent 34%),
        linear-gradient(180deg, #090909 0%, #050505 100%);
    }

    .section-title {
      font-size: clamp(2rem, 1.35rem + 1.9vw, 3.1rem);
      line-height: 1.14;
      margin-bottom: 18px;
      font-weight: 680;
      letter-spacing: 0.018em;
      max-width: 16ch;
    }

    .section-intro {
      max-width: 820px;
      color: var(--muted);
      margin-bottom: 40px;
      font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1rem);
    }

    #hindamine .hindamine-title-line2 {
      white-space: nowrap;
    }

    .accent {
      color: var(--gold);
    }

    .pill {
      display: inline-block;
      padding: 8px 14px;
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--gold-soft);
      font-size: 0.78rem;
      margin-bottom: 22px;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      background: rgba(201, 162, 74, 0.05);
    }

    .hero {
      min-height: min(900px, 92vh);
      display: flex;
      align-items: center;
      justify-content: center;
      background:
        linear-gradient(180deg, rgba(201, 162, 74, 0.08) 0%, rgba(201, 162, 74, 0) 26%),
        linear-gradient(90deg, rgba(201, 162, 74, 0.05) 0%, rgba(201, 162, 74, 0.02) 48%, rgba(201, 162, 74, 0.05) 100%),
        linear-gradient(180deg, #040404 0%, #090807 56%, #130f07 100%);
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid rgba(201, 162, 74, 0.2);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        repeating-linear-gradient(
          90deg,
          rgba(201, 162, 74, 0.07) 0px,
          rgba(201, 162, 74, 0.07) 1px,
          transparent 1px,
          transparent 88px
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 34%, rgba(0, 0, 0, 0.32));
      opacity: 0.28;
      pointer-events: none;
    }

    .hero-inner {
      max-width: 980px;
      width: min(92%, 980px);
      padding: 56px 0;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .hero-label {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: -10px auto 62px;
      padding: 12px 22px;
      border-radius: 999px;
      border: 1px solid #e2c680;
      background: transparent;
      font-size: 0.75rem;
      font-weight: 590;
      letter-spacing: 0.14em;
      line-height: 1;
      text-transform: uppercase;
      color: #e2c680;
      text-decoration: none;
      text-shadow: none;
      overflow: hidden;
      isolation: isolate;
    }

    .hero-label::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 52%;
      border-radius: inherit;
      pointer-events: none;
      z-index: -1;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 244, 210, 0.12) 38%,
        rgba(242, 210, 130, 0.3) 50%,
        rgba(255, 244, 210, 0.12) 62%,
        transparent 100%
      );
      transform: translateX(-120%);
      animation: hero-label-sweep 1.755s ease-out forwards;
    }

    @keyframes hero-label-sweep {
      from {
        transform: translateX(-120%);
      }

      to {
        transform: translateX(235%);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-label::after {
        animation: none;
        opacity: 0;
      }
    }

    .hero h1 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      margin-bottom: 6px;
      max-width: 100%;
      margin-inline: auto;
      letter-spacing: 0.015em;
      text-transform: none;
      text-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    }

    .hero h1 .gold-line {
      display: block;
      white-space: nowrap;
      font-size: clamp(3rem, 1.9rem + 4.8vw, 6.1rem);
      line-height: 1;
      font-weight: 790;
      background: linear-gradient(125deg, #dcb764 0%, #c6942f 24%, #976218 54%, #bf8730 78%, #744815 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: none;
    }

    .hero h1 .gold-line-soft {
      display: block;
      white-space: nowrap;
      margin-top: 0.015em;
      font-size: clamp(2.55rem, calc(1.615rem + 4.08vw), 5.185rem);
      line-height: 1;
      font-weight: 760;
      letter-spacing: 0.02em;
      color: #fff;
      text-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
    }

    .hero-subtitle {
      margin-bottom: 42px;
      max-width: 48ch;
      margin-inline: auto;
      letter-spacing: 0.05em;
      font-weight: 600;
      text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
      color: #f1f1f1;
      font-size: clamp(1.05rem, 0.96rem + 0.38vw, 1.22rem);
    }

    .hero-subtitle.hero-subtitle-lead {
      color: #fff;
      font-size: clamp(1.42rem, 1.16rem + 0.64vw, 1.74rem);
      margin-bottom: 16px;
    }

    .hero-buttons {
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
    }

    .hero-buttons .primary,
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      background: linear-gradient(145deg, #f0daa4 0%, #d29b2f 22%, #9f6a14 46%, #d9a63e 68%, #78400e 100%);
      color: #171108;
      min-width: 160px;
      padding: 13px 22px;
      border-radius: 12px;
      font-weight: 630;
      border: 1px solid rgba(78, 52, 12, 0.92);
      transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
      box-shadow:
        0 10px 20px rgba(95, 72, 22, 0.34),
        inset 0 1px 0 rgba(240, 222, 168, 0.4),
        inset 0 -3px 5px rgba(48, 32, 8, 0.48);
    }

    .hero-buttons .primary::before,
    .btn-primary::before {
      content: "";
      position: absolute;
      left: 12%;
      right: 12%;
      top: 2px;
      height: 28%;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(248, 234, 198, 0.36), rgba(248, 234, 198, 0));
      pointer-events: none;
    }

    .hero-buttons .secondary {
      background: transparent;
      color: #f1dba9;
      border: 1px solid rgba(201, 162, 74, 0.55);
      padding: 13px 24px;
      border-radius: 12px;
      font-weight: 560;
      transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    }

    .hero-buttons .primary:hover,
    .btn-primary:hover {
      background: linear-gradient(145deg, #f2deae 0%, #d29b2f 22%, #9f6a14 46%, #e0ad49 68%, #6c3a0c 100%);
      transform: translateY(-2px);
      box-shadow:
        0 12px 24px rgba(88, 68, 20, 0.38),
        0 0 14px rgba(180, 148, 52, 0.14),
        inset 0 1px 0 rgba(242, 224, 180, 0.44),
        inset 0 -3px 5px rgba(42, 28, 6, 0.48);
    }

    .hero-buttons .secondary:hover {
      background: rgba(201, 162, 74, 0.08);
      border-color: #d6b15e;
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 160px;
      padding: 13px 22px;
      border-radius: 12px;
      font-weight: 600;
      border: 1px solid transparent;
      transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-ghost {
      border-color: var(--border);
      color: var(--gold-soft);
      background: linear-gradient(145deg, rgba(201, 162, 74, 0.15), rgba(201, 162, 74, 0.05));
    }

    .btn-ghost:hover {
      background: rgba(201, 162, 74, 0.12);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .grid {
      display: grid;
      gap: 24px;
    }

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

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

    .grid-feature {
      grid-template-columns: 1.15fr 0.85fr 1fr;
      align-items: stretch;
    }

    /* Who I help: align title start to card 1 (card-tall padding-top: 34px) */
    #keda-aitan .grid-feature .card-audience-content {
      position: relative;
      z-index: 1;
    }

    #keda-aitan .grid-feature .card.card-compact .card-audience-content {
      margin-top: 12px;
    }

    .card {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 0% 0%, rgba(201, 162, 74, 0.17), transparent 42%),
        linear-gradient(165deg, #131313 0%, #0d0d0d 52%, #090909 100%);
      border: 1px solid rgba(201, 162, 74, 0.14);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 34%);
      opacity: 0.55;
      pointer-events: none;
    }

    .card:hover {
      transform: translateY(-7px);
      box-shadow: 0 26px 52px rgba(0, 0, 0, 0.56);
      border-color: rgba(201, 162, 74, 0.3);
    }

    .card h3 {
      font-size: 1.22rem;
      margin-bottom: 12px;
      color: #f8f8f8;
      font-weight: 600;
      letter-spacing: 0.012em;
    }

    .card p,
    .card li {
      color: var(--muted);
      font-size: 1rem;
    }

    .card-tall {
      min-height: 270px;
      padding-top: 34px;
    }

    .card-wide {
      grid-column: span 2;
    }

    .card-compact {
      padding: 22px 22px 20px;
    }

    .card h3 .subtle {
      display: block;
      margin-top: 6px;
      font-size: 0.76rem;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: #d8bd7d;
      font-weight: 560;
    }

    .card-highlight {
      border-color: rgba(201, 162, 74, 0.35);
      background:
        radial-gradient(circle at 100% 0%, rgba(201, 162, 74, 0.2), transparent 47%),
        linear-gradient(160deg, #17140d 0%, #0f0f0f 58%, #0a0a0a 100%);
    }

    ul.clean {
      list-style: none;
      display: grid;
      gap: 14px;
      margin-top: 8px;
    }

    ul.clean li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    ul.clean li::before {
      content: "◆";
      color: var(--gold);
      font-size: 0.82rem;
      margin-top: 4px;
      flex: 0 0 auto;
    }

    .steps {
      counter-reset: step;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .step {
      position: relative;
      padding: 24px;
      border-radius: var(--radius);
      border: 1px solid rgba(201, 162, 74, 0.14);
      background: linear-gradient(155deg, #121212 0%, #0a0a0a 100%);
      transition: transform 0.25s ease, border-color 0.25s ease;
    }

    .step:hover {
      transform: translateY(-4px);
      border-color: rgba(201, 162, 74, 0.32);
    }

    .step::before {
      counter-increment: step;
      content: "0" counter(step);
      position: absolute;
      top: 14px;
      right: 16px;
      font-size: 0.86rem;
      font-weight: 700;
      color: rgba(201, 162, 74, 0.8);
      letter-spacing: 0.05em;
    }

    .step h4 {
      margin-bottom: 10px;
      font-size: 1.09rem;
      color: #f7f7f7;
    }

    .cta-box {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 44px;
      background:
        radial-gradient(circle at 90% 10%, rgba(201, 162, 74, 0.2), transparent 36%),
        linear-gradient(135deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.04));
      display: grid;
      gap: 14px;
      align-items: center;
      justify-items: start;
      box-shadow: 0 26px 52px rgba(0, 0, 0, 0.5);
    }

    .hindamine-transition-title {
      font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.7rem);
      font-weight: 650;
      color: #f2deb1;
      margin-bottom: 10px;
      line-height: 1.25;
    }

    .hindamine-transition-text {
      color: var(--muted);
      max-width: 72ch;
      margin-bottom: 28px;
      font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.05rem);
    }

    .hindamine-intro-main {
      margin-bottom: 0;
    }

    .hindamine-trust-line {
      margin-top: 0;
      margin-bottom: 26px;
    }

    /* Estonian — Tasuta hindamine (#hindamine): intro spacing */
    html[lang="et"] #hindamine .hindamine-intro-main {
      margin-bottom: 0;
    }

    html[lang="et"] #hindamine .hindamine-trust-line {
      margin-top: 0;
      margin-bottom: 26px;
    }

    @media (min-width: 769px) {
      html[lang="et"] #hindamine .card form button[type="submit"].btn-primary {
        font-family: inherit;
        font-size: 1rem;
        font-weight: 630;
      }
    }

    .pricing-note {
      background: linear-gradient(140deg, rgba(201, 162, 74, 0.17), rgba(201, 162, 74, 0.06));
      border-left: 3px solid #dbbc74;
      padding: 22px 20px;
      border-radius: 8px;
      color: #dedede;
      margin-top: 12px;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 20px;
      margin-top: 20px;
    }

    .pricing-rate {
      border: 1px solid rgba(201, 162, 74, 0.38);
      border-radius: 14px;
      padding: 26px;
      background:
        radial-gradient(circle at 80% 0%, rgba(201, 162, 74, 0.24), transparent 45%),
        linear-gradient(150deg, #16120a, #0c0c0c 62%);
      box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
    }

    .pricing-rate .label {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #dbc180;
      margin-bottom: 10px;
    }

    .pricing-rate .value {
      font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3.4rem);
      line-height: 1;
      font-weight: 760;
      color: #f7e2ae;
      margin-bottom: 8px;
    }

    .pricing-rate p {
      color: #d6d6d6;
      font-size: 0.95rem;
    }

    .cta-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

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

    .case-study {
      position: relative;
      height: 100%;
      overflow: hidden;
      border: 1px solid rgba(201, 162, 74, 0.22);
      border-radius: 18px;
      padding: 30px;
      background:
        radial-gradient(circle at 100% 0%, rgba(201, 162, 74, 0.19), transparent 44%),
        linear-gradient(160deg, #161616, #0a0a0a 62%);
      box-shadow: 0 24px 54px rgba(0, 0, 0, 0.56);
      transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    }

    .case-study.case-cta {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      background-color: #0b0b0b;
      background:
        linear-gradient(
          to right,
          #0b0b0b 0%,
          #0b0b0b 75%,
          rgba(212, 175, 55, 0.06) 90%,
          rgba(212, 175, 55, 0.10) 100%
        );
    }

    .cta-title {
      color: #d4af37;
      font-size: 34px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 24px;
    }

    .cta-text {
      max-width: 372px;
      margin: 0 auto;
      text-align: center;
      font-size: 16px;
      line-height: 1.6;
    }

    .cta-hint {
      text-align: center;
      color: #d4af37;
      font-weight: 600;
      font-size: 17px;
      margin-top: 35px;
      margin-bottom: 6px;
    }

    @keyframes arrowBounce {
      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(6px);
      }
    }

    .cta-arrow {
      text-align: center;
      color: #d4af37;
      font-size: 22px;
      margin-top: 5px;
      animation: arrowBounce 1.2s infinite ease-in-out;
    }

    .case-study:hover {
      transform: translateY(-8px);
      border-color: rgba(201, 162, 74, 0.4);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.62);
    }

    .case-meta {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #d8bd7d;
      margin-bottom: 10px;
    }

    .case-study h3 {
      font-size: clamp(1.34rem, 1.1rem + 0.6vw, 1.7rem);
      margin-bottom: 14px;
      line-height: 1.2;
      max-width: 24ch;
    }

    .case-story {
      color: #b6b6b6;
      margin-bottom: 16px;
      padding-bottom: 14px;
      border-bottom: 1px dashed rgba(201, 162, 74, 0.32);
    }

    .case-result {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
      padding: 8px 12px;
      border: 1px solid rgba(201, 162, 74, 0.36);
      border-radius: 999px;
      color: #f7e7bf;
      font-weight: 700;
      font-size: 0.84rem;
      letter-spacing: 0.03em;
      background: rgba(201, 162, 74, 0.08);
    }

    .case-result::before {
      content: "";
    }

    .case-result strong {
      color: #ffd88a;
      font-weight: 760;
    }

    details {
      background: linear-gradient(155deg, #121212, #0a0a0a);
      border: 1px solid rgba(201, 162, 74, 0.14);
      border-radius: 12px;
      padding: 18px 20px;
    }

    details + details {
      margin-top: 12px;
    }

    summary {
      cursor: pointer;
      font-weight: 620;
      color: #f4f4f4;
    }

    details p {
      margin-top: 10px;
      color: var(--muted);
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 24px;
    }

    .contact-list {
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .contact-agent,
    .profile-photo-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 16px;
      width: auto !important;
      max-width: none !important;
    }

    .profile-photo,
    .contact-photo {
      width: 180px !important;
      height: 180px !important;
      max-width: none !important;
      border-radius: 16px;
      object-fit: cover;
      border: 2px solid rgba(255, 255, 255, 0.15);
      box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 55, 0.25);
      display: block;
      margin: 0 auto 14px;
    }

    .contact-agent-name {
      font-size: 1.08rem;
      font-weight: 650;
      color: #f3f3f3;
      margin-bottom: 0;
      line-height: 1.35;
    }

    .contact-agent-text {
      display: inline-block;
      text-align: left;
      margin: 0 auto;
    }

    .contact-agent-title {
      font-size: 0.94rem;
      color: var(--gold-soft);
      margin-top: 4px;
      margin-bottom: 0;
      line-height: 1.2;
    }

    .contact-list a {
      color: var(--gold-soft);
    }

    .contact-block {
      margin-bottom: 12px;
    }

    .contact-block h3,
    .contact-block h4 {
      margin-bottom: 4px;
    }

    .contact-block p,
    .contact-block a {
      margin-bottom: 2px;
      line-height: 1.35;
    }

    .contact-block p:last-child,
    .contact-block a:last-child {
      margin-bottom: 0;
    }

    .contact-legal {
      margin-top: 8px;
      padding-top: 12px;
      border-top: 1px solid rgba(201, 162, 74, 0.18);
      font-size: 0.83rem;
      line-height: 1.5;
      color: #9f9f9f;
    }

    form {
      display: grid;
      gap: 12px;
    }

    label {
      font-size: 0.92rem;
      color: #e7e7e7;
    }

    input,
    textarea {
      width: 100%;
      padding: 13px 14px;
      border-radius: 10px;
      border: 1px solid rgba(201, 162, 74, 0.2);
      background: #090909;
      color: #fff;
      font: inherit;
    }

    input:focus,
    textarea:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.15);
    }

    #kontakt .card form input[required]:invalid:focus {
      border-color: rgba(220, 100, 90, 0.88);
      box-shadow: 0 0 0 3px rgba(220, 100, 90, 0.18);
    }

    #hindamine .card form input[required]:invalid:focus {
      border-color: rgba(220, 100, 90, 0.88);
      box-shadow: 0 0 0 3px rgba(220, 100, 90, 0.18);
    }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    .form-success-panel {
      display: none;
      padding: 36px 28px 40px;
      border-radius: 14px;
      border: 1px solid rgba(212, 175, 55, 0.35);
      background: linear-gradient(160deg, rgba(212, 175, 55, 0.08) 0%, rgba(9, 9, 9, 0.98) 55%);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
      max-width: 460px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .form-success-panel.is-visible {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 220px;
    }

    .form-success-inner {
      max-width: 420px;
      margin: 0 auto;
      text-align: center;
      width: 100%;
    }

    .form-success-inner h3 {
      margin: 0 0 12px;
      font-size: 1.12rem;
      font-weight: 600;
      line-height: 1.35;
      color: #d4af37;
      letter-spacing: 0.01em;
    }

    .form-success-inner p {
      margin: 0;
      line-height: 1.6;
      text-align: center;
      color: #e8e8e8;
      font-size: 1.02rem;
    }

    .form-success-inner > p:not(.phone):not(.trust) {
      margin: 0 0 8px;
    }

    .form-success-inner p.form-success-lead {
      margin-bottom: 2px;
    }

    .form-success-inner p.form-success-meta {
      margin-top: 0;
      margin-bottom: 8px;
    }

    .form-success-inner p.phone {
      margin: 12px 0;
      font-weight: 700;
      font-size: 1.02rem;
    }

    .form-success-inner p.phone a {
      font-weight: 700;
    }

    .form-success-inner p.trust {
      margin-top: 12px;
      margin-bottom: 0;
      font-size: 0.875rem;
      line-height: 1.55;
      color: #e8e8e8;
      opacity: 0.7;
    }

    .form-success-panel a {
      color: #e1bf72;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .form-success-panel a:hover {
      color: #f0d78c;
    }

    .form-success-panel .form-success-reset {
      margin-top: 1.5rem;
      flex-shrink: 0;
      font-size: 0.82rem;
      font-weight: 600;
    }

    .call-popup {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(0, 0, 0, 0.56);
      z-index: 120;
    }

    .call-popup.is-visible {
      display: flex;
    }

    .call-popup-card {
      width: min(92vw, 360px);
      border: 1px solid rgba(201, 162, 74, 0.34);
      border-radius: 14px;
      padding: 22px 20px 20px;
      background: linear-gradient(165deg, #111111 0%, #070707 100%);
      box-shadow: 0 22px 48px rgba(0, 0, 0, 0.56);
      text-align: center;
    }

    .call-popup-card p {
      margin: 0 0 14px;
      color: #ededed;
      line-height: 1.5;
    }

    .call-popup-number {
      color: #d4af37;
      font-weight: 650;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .call-popup-actions {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 2px;
    }

    .call-popup-close {
      margin-top: 12px;
      display: inline-block;
      font-size: 0.86rem;
      color: #a5a5a5;
      background: transparent;
      border: 0;
      cursor: pointer;
      padding: 4px 6px;
    }

    footer {
      padding: 34px 0 40px;
      color: #9b9b9b;
      text-align: center;
      font-size: 0.9rem;
      border-top: 1px solid rgba(201, 162, 74, 0.15);
      background: #060606;
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.65s ease, transform 0.65s ease;
      will-change: opacity, transform;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      .reveal,
      .reveal.visible {
        opacity: 1;
        transform: none;
        transition: none;
      }

      .case-cta-arrow {
        animation: none;
      }
    }

    @media (max-width: 980px) {
      .section-title {
        max-width: 22ch;
      }

      .card-wide {
        grid-column: span 1;
      }

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

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

      .pricing-grid {
        grid-template-columns: 1fr;
      }

      .cases-grid,
      .grid-feature {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .hero {
        min-height: 100svh;
        align-items: flex-start;
        padding-top: 50px;
        padding-bottom: 10px;
      }

      .hero-inner {
        width: 100%;
        max-width: 100%;
        min-height: calc(100svh - 74px);
        display: flex;
        flex-direction: column;
        padding: 0 18px;
      }

      .hero h1 {
        gap: 0;
        margin-top: 18px;
        margin-bottom: 20px;
      }

      .hero h1 .gold-line {
        font-size: clamp(21px, 5.3vw, 30px);
        line-height: 1.05;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
        letter-spacing: 0.25px;
      }

      .hero h1 .gold-line-soft {
        font-size: clamp(18px, 4.6vw, 24px);
        line-height: 1.05;
        margin-top: 8px;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
        letter-spacing: 0.2px;
      }

      .hero-subtitle {
        font-size: clamp(13px, 3.2vw, 16px);
        line-height: 1.18;
        white-space: normal;
        max-width: 30ch;
        letter-spacing: 0.01em;
        margin-bottom: 0;
      }

      .hero-subtitle.hero-subtitle-lead {
        margin-bottom: 18px;
      }

      .hero-subtitle:not(.hero-subtitle-lead) {
        margin-top: 14px;
        margin-bottom: 28px;
        opacity: 1;
        color: #ffffff;
        font-size: clamp(18px, 4.2vw, 21px);
      }

      .hero-buttons {
        gap: 10px;
        margin-top: 68px;
        margin-bottom: 24px;
      }

      .hero-label {
        margin: 24px auto 54px;
      }

      #tasuta-pakkumine .cta-box {
        padding-left: 16px;
        padding-right: 16px;
      }

      #tasuta-pakkumine .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
      }

      #tasuta-pakkumine .cta-actions .btn {
        width: 100%;
        min-height: 52px;
      }
    }

    @media (max-width: 390px) {
      .hero {
        min-height: 100svh;
        padding-top: 48px;
        padding-bottom: 8px;
      }

      .hero-inner {
        width: 100%;
        min-height: calc(100svh - 64px);
        padding: 0 16px;
      }

      .hero h1 {
        margin-top: 18px;
        margin-bottom: 20px;
      }

      .hero h1 .gold-line {
        font-size: clamp(20px, 7vw, 26px);
        line-height: 1.05;
      }

      .hero h1 .gold-line-soft {
        font-size: clamp(16px, 5.9vw, 21px);
        line-height: 1.05;
        margin-top: 8px;
      }

      .hero-subtitle {
        font-size: clamp(12px, 3.5vw, 14px);
        line-height: 1.16;
        max-width: 28ch;
      }

      .hero-subtitle.hero-subtitle-lead {
        margin-bottom: 18px;
      }

      .hero-subtitle:not(.hero-subtitle-lead) {
        margin-top: 14px;
        margin-bottom: 28px;
        color: #ffffff;
        opacity: 1;
        font-size: clamp(17px, 4.7vw, 19px);
      }

      .hero-label {
        margin: 24px auto 54px;
      }

      .hero-buttons {
        margin-top: 68px;
        margin-bottom: 24px;
      }

      .nav-inner {
        padding-left: 18px;
        padding-right: 18px;
      }

      .nav-end {
        gap: 7px;
        margin-right: 0;
      }

      .lang-switcher {
        margin-left: 4px;
      }
    }

    @media (max-width: 680px) {
      .nav-inner {
        min-height: 60px;
      }

      .brand-logo-img {
        height: 52px;
      }

      .nav-links {
        gap: 10px;
      }

      .nav-links a {
        font-size: 0.86rem;
      }

      .section {
        padding: 84px 0;
      }

      .grid-2,
      .grid-3,
      .steps {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: 100svh;
      }

      .hero-inner {
        padding: 0 16px;
      }

      .hero-buttons {
        justify-content: center;
        gap: 10px;
      }
    }

    @media (max-width: 768px) {
      .nav-inner {
        position: relative;
        gap: 10px;
      }

      .nav-end {
        margin-left: auto;
        margin-right: 2px;
        gap: 8px;
      }

      .lang-switcher {
        display: inline-flex;
        align-items: center;
        margin-left: 5px;
        font-size: 0.72rem;
        letter-spacing: 0.065em;
        gap: 4px;
      }

      .lang-switcher a {
        padding: 6px 5px;
      }

      .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
      }

      .nav-links {
        display: none;
      }

      .mobile-nav-links {
        display: none;
        position: fixed;
        z-index: 80;
        top: 60px;
        left: 0;
        right: 0;
        margin-left: 0;
        padding: 0 20px;
        flex-direction: column;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        scrollbar-width: thin;
        background: linear-gradient(180deg, rgba(6, 6, 6, 0.98), rgba(8, 8, 8, 0.95));
        border-top: 1px solid rgba(201, 162, 74, 0.2);
        border-bottom: 1px solid rgba(201, 162, 74, 0.2);
      }

      .top-nav.menu-open .mobile-nav-links {
        display: flex;
      }

      .mobile-nav-links .menu-group + .menu-group {
        margin-top: 26px;
        padding-top: 0;
        border-top: 1px solid rgba(201, 162, 74, 0.12);
      }

      .mobile-nav-links .menu-item {
        display: block;
        width: 100%;
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid rgba(201, 162, 74, 0.14);
      }

      .mobile-nav-links .menu-group .menu-item:last-child {
        border-bottom: 0;
      }
    }

    /* Estonian — Tasuta hindamine (mobile only) */
    @media (max-width: 768px) {
      html[lang="et"] #hindamine .section-title {
        max-width: none;
        white-space: nowrap;
      }

      html[lang="et"] #hindamine .section-title br {
        display: none;
      }

      html[lang="et"] #hindamine .hindamine-title-line2:empty {
        display: none;
      }

      html[lang="et"] #hindamine .card form button[type="submit"].btn-primary {
        font-family: inherit;
        font-size: 1.0625rem;
        font-weight: 630;
        line-height: 1.25;
        -webkit-text-size-adjust: 100%;
      }
    }