/*
Theme Name: Markting Theme
Author: Antigravity
Version: 1.0
*/

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

    :root {
      --blue: #575AFF;
      --yellow: #FFBE11;
      --dark: #0D0D1A;
      --gray-900: #1A1A2E;
      --gray-700: #3D3D5C;
      --gray-500: #7B7B9A;
      --gray-200: #E4E4EF;
      --gray-100: #F4F4F8;
      --white: #FFFFFF;
      --radius: 2px;
      --font: 'Onest', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--white);
      color: var(--dark);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ── GRID ── */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--gray-200);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
    }
    .dropdown { position: relative; display: flex; align-items: center; }
    .dropdown > a { display: flex; align-items: center; gap: 4px; }
    .dropdown-menu {
      position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
      background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.08); padding: 8px 0; min-width: 220px;
      opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.2,0.8,0.2,1); z-index: 100;
      list-style: none; display: flex; flex-direction: column; gap: 0;
    }
    .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    .dropdown-menu li { display: block; }
    .dropdown-menu a { display: block; padding: 10px 20px; color: var(--gray-700); font-weight: 500; font-size: 14px; text-decoration: none; }
    .dropdown-menu a:hover { background: var(--gray-100); color: var(--blue); }
    .nav-brand {
      display: flex;
      align-items: center;
    }
    .nav-logo img { height: 36px; display: block; }
    .nav-links {
      display: flex;
      gap: 40px;
      list-style: none;
      margin-left: auto;
    }
    .menu-close-item { display: none; }
    .nav-links a {
      text-decoration: none;
      color: var(--gray-700);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-cta {
      background: var(--blue);
      color: var(--white);
      border: none;
      padding: 6px 14px;
      font-family: var(--font);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border-radius: var(--radius);
      transition: background 0.2s, transform 0.15s;
      letter-spacing: 0.02em;
    }
    .nav-cta:hover { background: #4244e0; transform: translateY(-1px); }

    /* ── HERO ── */
    #hero {
      padding: 160px 0 120px;
      border-bottom: 1px solid var(--gray-200);
      position: relative;
      overflow: hidden;
    }
    .hero-video-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }
    .hero-video-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0.82);
    }
    .hero-video-bg video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    #hero .container {
      position: relative;
      z-index: 1;
    }
    .hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 24px;
    }
    .hero-tag::before {
      content: '';
      display: block;
      width: 24px;
      height: 2px;
      background: var(--blue);
    }
    .hero-h1 {
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--dark);
      margin-bottom: 24px;
    }
    .hero-h1 span { color: var(--blue); }
    .hero-desc {
      font-size: 18px;
      font-weight: 400;
      color: var(--gray-700);
      line-height: 1.7;
      margin-bottom: 40px;
      max-width: 480px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      align-items: center;
    }
    .btn-primary {
      background: var(--blue);
      color: var(--white);
      border: none;
      padding: 16px 32px;
      font-family: var(--font);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      border-radius: var(--radius);
      transition: background 0.2s, transform 0.15s;
      letter-spacing: 0.01em;
      text-decoration: none;
      display: inline-block;
    }
    .btn-primary:hover { background: #4244e0; transform: translateY(-1px); }
    .btn-ghost {
      color: var(--gray-700);
      border: 1px solid var(--gray-200);
      padding: 15px 32px;
      font-family: var(--font);
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      border-radius: var(--radius);
      background: transparent;
      transition: border-color 0.2s, color 0.2s;
      letter-spacing: 0.01em;
      text-decoration: none;
      display: inline-block;
    }
    .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

    .hero-guarantee {
      margin-top: 32px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 16px 20px;
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
      background: var(--gray-100);
    }
    .hero-guarantee-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .hero-guarantee p {
      font-size: 13px;
      color: var(--gray-700);
      line-height: 1.5;
    }
    .hero-guarantee strong { color: var(--dark); font-weight: 600; }

    .hero-visual {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .hero-stat {
      background: var(--gray-100);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
      padding: 28px 24px;
    }
    .hero-stat:first-child {
      grid-column: 1 / -1;
      background: var(--blue);
      border-color: var(--blue);
    }
    .hero-stat:first-child .stat-num { color: var(--white); }
    .hero-stat:first-child .stat-label { color: rgba(255,255,255,0.7); }
    .stat-num {
      font-size: 40px;
      font-weight: 800;
      color: var(--dark);
      line-height: 1;
      margin-bottom: 6px;
      letter-spacing: -0.03em;
    }
    .stat-num span { color: var(--yellow); }
    .stat-label {
      font-size: 13px;
      color: var(--gray-500);
      font-weight: 400;
      line-height: 1.4;
    }

    /* ── SECTION COMMON ── */
    section { padding: 100px 0; }
    .section-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 16px;
    }
    .section-title {
      font-size: clamp(28px, 3vw, 44px);
      font-weight: 800;
      letter-spacing: -0.025em;
      line-height: 1.15;
      color: var(--dark);
      margin-bottom: 16px;
    }
    .section-desc {
      font-size: 17px;
      color: var(--gray-700);
      max-width: 560px;
      line-height: 1.7;
      margin-bottom: 64px;
    }
    .section-header {
      margin-bottom: 64px;
    }
    .section-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 40px;
      margin-bottom: 64px;
    }
    .section-header-row .section-title { margin-bottom: 0; }
    .section-header-row .section-desc { margin-bottom: 0; }
    hr.divider {
      border: none;
      border-top: 1px solid var(--gray-200);
    }

    /* ── EXPERTISE ── */
    #expertise { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
    .expertise-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      background: var(--gray-200);
      border: 1px solid var(--gray-200);
    }
    .expertise-card {
      background: var(--white);
      padding: 40px 32px;
      transition: background 0.2s;
    }
    .expertise-card:hover { background: #FAFAFE; }
    .expertise-num {
      font-size: 11px;
      font-weight: 700;
      color: var(--blue);
      letter-spacing: 0.1em;
      margin-bottom: 20px;
      font-variant-numeric: tabular-nums;
    }
    .expertise-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 20px;
      transform-origin: 12px 28px;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    /* hover the icon itself bounces in */
    .expertise-card:hover .expertise-icon {
      transform: scale(1.08) rotate(-4deg);
    }
    /* yellow accent elements pulse on hover */
    .expertise-icon [fill="#FFBE11"],
    .expertise-icon [stroke="#FFBE11"] {
      transform-origin: center;
      transform-box: fill-box;
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
    }
    .expertise-card:hover .expertise-icon [fill="#FFBE11"],
    .expertise-card:hover .expertise-icon [stroke="#FFBE11"] {
      transform: scale(1.4);
    }
    /* blue stroke draws */
    .expertise-icon [stroke="#575AFF"] {
      transition: stroke-width 0.3s ease;
    }
    .expertise-card:hover .expertise-icon [stroke="#575AFF"] {
      stroke-width: 2;
    }
    .expertise-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 12px;
      letter-spacing: -0.01em;
      line-height: 1.3;
    }
    .expertise-card p {
      font-size: 14px;
      color: var(--gray-700);
      line-height: 1.65;
    }

    /* ── PROCESS ── */
    .process-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border: 1px solid var(--gray-200);
    }
    .process-step {
      padding: 40px 32px;
      border-right: 1px solid var(--gray-200);
      position: relative;
    }
    .process-step:last-child { border-right: none; }
    .process-arrow {
      position: absolute;
      top: 48px;
      right: -12px;
      width: 24px;
      height: 24px;
      z-index: 1;
    }
    .process-step:last-child .process-arrow { display: none; }
    .step-num {
      font-size: 48px;
      font-weight: 800;
      color: var(--gray-200);
      line-height: 1;
      margin-bottom: 16px;
      letter-spacing: -0.04em;
    }
    .process-step h3 {
      font-size: 16px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }
    .process-step p {
      font-size: 13px;
      color: var(--gray-700);
      line-height: 1.6;
    }

    /* ── CASES ── */
    #cases { background: var(--dark); }
    #cases .section-label { color: var(--yellow); }
    #cases .section-title { color: var(--white); }
    #cases .section-desc { color: rgba(255,255,255,0.55); }
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    a.case-card {
      display: block;
      text-decoration: none;
      color: inherit;
      cursor: pointer;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius);
      padding: 40px 32px;
      transition: background 0.3s, border-color 0.3s, transform 0.3s;
    }
    a.case-card:hover {
      background: rgba(87,90,255,0.1);
      border-color: rgba(87,90,255,0.5);
      transform: translateY(-4px);
    }
    .case-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--yellow);
      margin-bottom: 16px;
    }
    .case-card h3 {
      font-size: 26px;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .case-subtitle {
      font-size: 14px;
      color: rgba(255,255,255,0.45);
      margin-bottom: 32px;
      font-weight: 400;
    }
    .case-metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 32px;
      padding: 24px 0;
      border-top: 1px solid rgba(255,255,255,0.08);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .metric-val {
      font-size: 28px;
      font-weight: 800;
      color: var(--white);
      line-height: 1;
      margin-bottom: 4px;
      letter-spacing: -0.03em;
    }
    .metric-val span { color: var(--yellow); }
    .metric-label {
      font-size: 12px;
      color: rgba(255,255,255,0.45);
      line-height: 1.4;
    }
    .case-desc {
      font-size: 14px;
      color: rgba(255,255,255,0.6);
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .case-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .case-chip {
      font-size: 11px;
      font-weight: 500;
      color: rgba(255,255,255,0.5);
      border: 1px solid rgba(255,255,255,0.12);
      padding: 4px 10px;
      border-radius: 2px;
      letter-spacing: 0.03em;
    }

    /* ── CLIENTS ── */
    #clients {
      position: relative;
      overflow: hidden;
    }
    #clients::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 0%, rgba(87,90,255,0.03) 0%, transparent 70%);
      pointer-events: none;
    }
    .clients-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1px;
      background: var(--gray-200);
      border: 1px solid var(--gray-200);
      border-radius: 16px;
      overflow: hidden;
    }
    .client-item {
      background: var(--white);
      padding: 28px 20px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 140px;
      transition: background 0.25s, transform 0.25s;
      cursor: default;
    }
    .client-item:hover {
      background: var(--gray-50);
      z-index: 1;
    }
    .client-logo {
      max-width: 110px;
      max-height: 36px;
      display: block;
      opacity: 0.7;
      transition: opacity 0.3s, transform 0.3s;
      flex-shrink: 0;
    }
    .client-item:hover .client-logo {
      opacity: 1;
      transform: scale(1.05);
    }
    .client-name {
      font-size: 12px;
      font-weight: 500;
      color: var(--gray-400);
      letter-spacing: 0.02em;
      text-align: center;
      line-height: 1.3;
      transition: color 0.2s;
    }
    .client-item:hover .client-name {
      color: var(--gray-600);
    }

    /* ── TEAM ── */
    #team { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .team-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
      overflow: hidden;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    .team-card:hover { 
      box-shadow: 0 12px 32px rgba(0,0,0,0.08); 
      transform: translateY(-4px);
    }
    .team-photo-wrap {
      width: 100%;
      aspect-ratio: 1;
      overflow: hidden;
      background: var(--gray-200);
      position: relative;
    }
    .team-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
      display: block;
    }
    .team-card:hover .team-photo { transform: scale(1.04); }
    .team-card:first-child {
      border-color: var(--blue);
      box-shadow: 0 0 0 1px var(--blue), 0 8px 32px rgba(87,90,255,0.12);
    }
    .team-card:first-child .team-info h4::after {
      content: " · CEO";
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.1em;
      color: var(--yellow);
      vertical-align: middle;
      margin-left: 4px;
    }
    .team-info { 
      padding: 20px; 
      transition: transform 0.3s ease; 
    }
    .team-card:hover .team-info { transform: translateY(-2px); }
    .team-info h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 4px;
    }
    .team-info .role {
      font-size: 12px;
      color: var(--gray-500);
      font-weight: 400;
    }
    .team-divider { border-top: 1px solid var(--gray-200); margin: 12px 0; }
    .team-info .exp {
      font-size: 12px;
      color: var(--gray-700);
    }

    /* ── FAQ ── */
    .faq-list { border-top: 1px solid var(--gray-200); }
    .faq-item {
      border-bottom: 1px solid var(--gray-200);
      cursor: pointer;
    }
    .faq-q {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 0;
      gap: 24px;
    }
    .faq-q h4 {
      font-size: 16px;
      font-weight: 600;
      color: var(--dark);
      letter-spacing: -0.01em;
      flex: 1;
    }
    .faq-icon {
      width: 24px;
      height: 24px;
      border: 1px solid var(--gray-200);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.2s, border-color 0.2s;
    }
    .faq-item.open .faq-icon {
      background: var(--blue);
      border-color: var(--blue);
    }
    .faq-icon svg { transition: transform 0.25s; }
    .faq-item.open .faq-icon svg { transform: rotate(45deg); }
    .faq-a {
      font-size: 15px;
      color: var(--gray-700);
      line-height: 1.7;
      padding-bottom: 24px;
      max-width: 640px;
      display: none;
    }
    .faq-item.open .faq-a { display: block; }

    /* ── CONTACT FORM ── */
    #contact { background: var(--blue); }
    #contact .section-label { color: rgba(255,255,255,0.6); }
    #contact .section-title { color: var(--white); }
    #contact .section-desc { color: rgba(255,255,255,0.65); }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }
    .form-fields { display: flex; flex-direction: column; gap: 16px; }
    .form-field { display: flex; flex-direction: column; gap: 6px; }
    .form-field label {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255,255,255,0.6);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .form-field input,
    .form-field textarea,
    .form-field select {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: var(--radius);
      padding: 14px 16px;
      font-family: var(--font);
      font-size: 15px;
      color: var(--white);
      outline: none;
      transition: border-color 0.2s, background 0.2s;
      width: 100%;
    }
    .form-field input::placeholder,
    .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
    .form-field input:focus,
    .form-field textarea:focus {
      border-color: rgba(255,255,255,0.6);
      background: rgba(255,255,255,0.12);
    }
    .form-field textarea { resize: none; height: 120px; }
    .form-submit {
      background: var(--white);
      color: var(--blue);
      border: none;
      padding: 16px 40px;
      font-family: var(--font);
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      border-radius: var(--radius);
      transition: background 0.2s, transform 0.15s;
      margin-top: 8px;
      width: 100%;
      letter-spacing: 0.01em;
    }
    .form-submit:hover { background: rgba(255,255,255,0.92); transform: translateY(-1px); }
    .form-info { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
    .form-info-item { display: flex; gap: 16px; align-items: flex-start; }
    .form-info-icon {
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,0.1);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .form-info-item h5 {
      font-size: 14px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 4px;
    }
    .form-info-item p {
      font-size: 13px;
      color: rgba(255,255,255,0.55);
      line-height: 1.5;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--dark);
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 48px 0;
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-logo img { height: 28px; opacity: 0.8; filter: brightness(0) invert(1); }
    .footer-copy {
      font-size: 13px;
      color: rgba(255,255,255,0.35);
    }
    .footer-links { display: flex; gap: 32px; }
    .footer-links a {
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--white); }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(32px) scale(0.98);
      transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
/* ROI Calculator Styles */
#roi-calculator {
    padding: 80px 0;
    background: var(--gray-100);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.calc-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.calc-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.input-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.range-slider {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
}

.calc-results {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.res-box {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.res-current {
    background: #fff;
    border: 1px solid var(--gray-200);
}

.res-pro {
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--blue);
}

.res-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.res-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--blue);
}

.res-pro .res-value {
    color: var(--yellow);
}

.res-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}

.res-gain {
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(87, 90, 255, 0.2);
    color: var(--yellow);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.calc-info {
    margin-top: 24px;
}

.res-vs {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    position: relative;
}

.vs-badge {
    background: var(--blue);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark, #111);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .container { padding: 0 20px; }
    section { padding: 60px 0; }
    nav { backdrop-filter: none; }
    .hamburger { display: flex; }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        margin: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(160deg, #f8f9ff 0%, #ffffff 100%);
        z-index: 999999;
        padding: 80px 32px 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.mobile-open {
        transform: translateX(0);
    }
    .menu-close-item {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        border: none !important;
        padding: 0;
        margin: 0;
        opacity: 1 !important;
        transform: none !important;
    }
    .menu-close-btn {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background 0.2s;
    }
    .menu-close-btn:hover {
        background: rgba(0,0,0,0.05);
    }
    .nav-links li {
        border-bottom: 1px solid rgba(0,0,0,0.06);
        margin: 0;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .nav-links.mobile-open li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.mobile-open li:nth-child(2) { transition-delay: 0.05s; }
    .nav-links.mobile-open li:nth-child(3) { transition-delay: 0.10s; }
    .nav-links.mobile-open li:nth-child(4) { transition-delay: 0.15s; }
    .nav-links.mobile-open li:nth-child(5) { transition-delay: 0.20s; }
    .nav-links.mobile-open li:nth-child(6) { transition-delay: 0.25s; }
    .nav-links.mobile-open li:nth-child(7) { transition-delay: 0.30s; }
    .nav-links a {
        padding: 18px 0;
        font-size: 20px;
        font-weight: 500;
        display: block;
        color: #1a1a2e;
        letter-spacing: 0.01em;
    }
    .menu-cta-item {
        border: none !important;
        margin-top: 12px;
    }
    .menu-cta-link {
        display: block !important;
        text-align: center;
        background: #575AFF;
        color: #fff !important;
        padding: 16px 24px !important;
        border-radius: 10px;
        font-size: 17px !important;
        font-weight: 600 !important;
    }
    .nav-links .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        padding: 0 0 8px 16px;
        border: none;
        background: transparent;
    }
    .nav-links .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }
    .nav-links .dropdown-menu a {
        font-size: 15px;
        padding: 12px 0;
        color: #555;
    }
    .nav-cta { display: none; }
    body.menu-open .mascot-wrap { display: none !important; }
    body.menu-open .cookie-banner { z-index: 0 !important; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-h1 { font-size: 32px; }
    .hero-desc { max-width: 100%; font-size: 16px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-visual { grid-template-columns: 1fr; }
    .stat-num { font-size: 32px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--gray-200); }
    .process-step:last-child { border-bottom: none; }
    .process-arrow { display: none; }
    .case-metrics { grid-template-columns: 1fr; gap: 16px; }
    .case-card { padding: 28px 24px; }
    .case-card h3 { font-size: 22px; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-info { padding-top: 0; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-desc { max-width: 100%; }
    .hero-guarantee { padding: 12px 16px; }
}

/* ── Cases CTA ── */
.cases-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── Enhanced Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-stat {
    animation: fadeInUp 0.6s ease both;
}
.hero-stat:nth-child(2) { animation-delay: 0.15s; }
.hero-stat:nth-child(3) { animation-delay: 0.3s; }

.expertise-card {
    animation: fadeInScale 0.5s ease both;
}
.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.15s; }
.expertise-card:nth-child(5) { animation-delay: 0.25s; }
.expertise-card:nth-child(6) { animation-delay: 0.35s; }

.hero-h1 span {
    animation: pulse 3s ease-in-out infinite;
    display: inline-block;
}

/* Responsive cases grid */
@media (max-width: 960px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .cases-grid { grid-template-columns: 1fr; }
}

/* Floating Widget */
.floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.6);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Related Services Grid */
#related-services {
    padding: 80px 0;
    background: var(--bg-secondary, #f8f9ff);
}
#related-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.service-card:hover {
    border-color: var(--blue, #575AFF);
    box-shadow: 0 4px 12px rgba(87, 90, 255, 0.1);
    transform: translateY(-2px);
}
.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
.card-arrow {
    color: var(--blue, #575AFF);
    font-size: 18px;
    flex-shrink: 0;
}
