  :root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --dark3: #222222;
    --white: #ffffff;
    --off-white: #e8e4dc;
    --accent: #ffd234;        /* corp color — 14.7:1 on #0a0a0a ✓ */
    --accent2: #c9a020;       /* hover, darker — 7.2:1 on #0a0a0a ✓ */
    --muted: #8a8a8a;         /* was #666 (3.6:1 fail) → #8a8a8a = 6.4:1 on #0a0a0a ✓ */
    --muted2: #a0a0a0;        /* secondary — 8.2:1 on #0a0a0a ✓ */
    --text-secondary: #b8b8b8; /* body secondary — 10:1 on #0a0a0a ✓ */
    --border: rgba(255,255,255,0.1);
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
  }

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

  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
    backdrop-filter: blur(8px);
  }
  .nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 36px; align-items: center; }
  .nav-links a {
    color: #cccccc; /* #ccc on dark nav = 12.6:1 ✓ */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--accent);
    color: var(--black) !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.04em;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--accent2) !important; }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,210,52,0.06) 0%, transparent 70%),
                radial-gradient(ellipse 60% 80% at 20% 80%, rgba(255,210,52,0.03) 0%, transparent 60%);
  }
  .hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px;
  }
  .hero-lang-toggle-holder {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
  }
  .hero-tag {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--accent);
  }
  .h1-line { display: block; white-space: nowrap; }
  .hero-sub {
    font-size: 20px;
    color: var(--text-secondary); /* #b8b8b8 = 10:1 on #0a0a0a ✓ */
    max-width: 620px;
    line-height: 1.6;
    margin-top: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
  }
  .hero-sub span {
    color: var(--white);
  }
  .hero-cta-row {
    display: flex;
    gap: 16px;
    margin-top: 44px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--black);
    border: none;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .btn-primary:hover {
    background: var(--accent2);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255,210,52,0.3);
  }


  .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
  }
  /* STATS */
  .stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
    padding: 40px 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    opacity: 0;
    animation: fadeUp 0.8s ease 1s forwards;
    width: 100%;
    max-width: 900px;
  }
  .stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--border);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label {
    font-size: 15px;
    color: var(--text-secondary); /* #b8b8b8 = 10:1 ✓ */
    margin-top: 8px;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  /* TRUST */
  .trust-section {
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .trust-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 32px;
  }
  /* TRUST LOGOS — hover pill effect */
  .trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    background: transparent;
    transition: background 0.25s ease;
    cursor: default;
  }
  .trust-logo-item:hover {
    background: rgba(255,255,255,0.92);
  }
  .trust-logo-img {
    height: 74px;
    width: 180px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: filter 0.25s ease, opacity 0.25s ease;
    flex-shrink: 0;
  }
  .trust-logo-item:hover .trust-logo-img {
    filter: none;
    opacity: 1;
  }

  /* Reorder trust logos consistently across all viewports */
  .trust-section .trust-logo-item:nth-child(1) { order: 1; }
  .trust-section .trust-logo-item:nth-child(2) { order: 2; }
  .trust-section .trust-logo-item:nth-child(3) { order: 3; }
  .trust-section .trust-logo-item:nth-child(4) { order: 4; }
  .trust-section .trust-logo-item:nth-child(5) { order: 7; }
  .trust-section .trust-logo-item:nth-child(6) { order: 8; }
  .trust-section .trust-logo-item:nth-child(7) { order: 6; }
  .trust-section .trust-logo-item:nth-child(8) { order: 5; }
  .trust-section .trust-logo-item:nth-child(9) { order: 9; }
  .trust-section .trust-logo-item:nth-child(10) { order: 11; }
  .trust-section .trust-logo-item:nth-child(11) { order: 10; }
  .trust-section .trust-logo-item:nth-child(12) { order: 12; }
  .trust-section .trust-logo-item:nth-child(13) { order: 13; }
  .trust-section .trust-logo-item:nth-child(14) { order: 14; }
  .trust-section .trust-logo-item:nth-child(15) { order: 15; }
  .trust-section .trust-logo-item:nth-child(16) { order: 16; }

  /* SECTION STRUCTURE */
  section {
    padding: 100px 60px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
  #problems { padding-bottom: 60px; }
  #formats { padding-top: 40px; }
  .section-tag {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: pre-line;
  }
  .section-subtitle {
    font-size: 20px;
    color: var(--text-secondary); /* #b8b8b8 ✓ */
    margin-top: 16px;
    line-height: 1.6;
    max-width: 560px;
  }

  .divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 0 60px;
    max-width: calc(100% - 120px);
  }

  /* PROBLEMS */
  .problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
    background: transparent;
  }
  .problem-card {
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 48px 36px;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .problem-card:hover { background: var(--dark2); }
  .problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
  }
  .problem-card:hover::before { height: 100%; }
  /* triangle layout on narrower desktops */
  @media (min-width: 901px) and (max-width: 1440px) {
    .problems-grid {
      grid-template-columns: repeat(4, 1fr);
      background: transparent;
    }
    .problem-card:nth-child(1) { grid-column: 1 / 3; }
    .problem-card:nth-child(2) { grid-column: 3 / 5; }
    .problem-card:nth-child(3) {
      grid-column: 2 / 4;
      max-width: none;
      justify-self: stretch;
    }
  }
  .problem-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: 20px;
  }
  .problem-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
  }
  .problem-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
  .problem-result {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* FORMATS — portrait cards */
  .formats-section { padding: 100px 60px 60px; max-width: 1200px; margin: 0 auto; }
  .formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .format-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }
  .format-card:hover {
    border-color: rgba(255,210,52,0.4);
    transform: translateY(-4px);
  }
  .format-portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer;
  }
  .format-portrait canvas,
  .format-portrait video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .format-portrait-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
  }
  .format-portrait-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255,210,52,0.12);
    border: 1px solid rgba(255,210,52,0.3);
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .format-body {
    padding: 24px 28px 28px;
  }
  .format-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
  }
  .format-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  /* HOW WE WORK */
  .process-section { padding: 100px 60px 60px; max-width: 1200px; margin: 0 auto; }
  .process-steps {
    margin-top: 80px;
    position: relative;
    padding-left: 36px;
    padding-bottom: 0;
  }
  .process-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
  }
  .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 0.15s ease-out;
  }
  .process-step {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    align-items: start;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .process-step:last-child { border-bottom: none; padding-bottom: 0; }
  .process-step.step-visible { opacity: 1; transform: translateY(0); }
  .step-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .step-desc {
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: break-word;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  }
  .process-step.step-visible .step-desc {
    opacity: 1;
    transform: translateY(0);
  }

  /* TESTIMONIAL */
  .testimonial-section {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .testimonial-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 60px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .testimonial-card::before {
    content: '"' / '';
    position: absolute;
    top: -20px; right: 40px;
    font-family: var(--font-display);
    font-size: 200px;
    color: rgba(232,197,71,0.04);
    line-height: 1;
    pointer-events: none;
  }
  .testimonial-photo {
    width: 200px; height: 200px;
    border-radius: 2px;
    object-fit: cover;
    background: var(--dark3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .testimonial-body {}
  .testimonial-quote {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.6;
    color: var(--white);
    font-style: normal;
    font-weight: 500;
    margin-bottom: 28px;
  }
  .testimonial-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
  }
  .testimonial-role {
    font-size: 15px;
    color: var(--muted2); /* #a0a0a0 = 8.2:1 ✓ */
    margin-top: 4px;
  }

  /* CTA */
  .cta-section {
    padding: 120px 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  .cta-inner {
    background: linear-gradient(135deg, rgba(255,210,52,0.08) 0%, rgba(255,210,52,0.02) 100%);
    border: 1px solid rgba(255,210,52,0.2);
    border-radius: 4px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
  }
  .cta-inner::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
  }
  .cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .cta-sub {
    font-size: 20px;
    color: var(--text-secondary); /* #b8b8b8 ✓ */
    margin-bottom: 44px;
  }

  /* FAQ */
  .faq-section { padding: 100px 60px 60px; max-width: 1200px; margin: 0 auto; }
  .faq-list { margin-top: 60px; }
  .faq-item {
    border-bottom: 1px solid var(--border);
  }
  .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    padding: 28px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.2s;
  }
  .faq-question:hover { color: var(--accent); }
  .faq-icon {
    width: 28px; height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s;
    color: var(--accent);
  }
  .faq-item.open .faq-icon {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
    transform: rotate(45deg);
  }
  .faq-answer {
    font-size: 15px;
    color: var(--text-secondary); /* #b8b8b8 ✓ */
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  .faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 28px;
  }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
  }
  .sami-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 40px 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
  }
  .sami-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .sami-footer-brand img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
  }
  .sami-footer-brand p {
    font-size: 13px;
    color: #a0a0a0;
    margin: 0;
    opacity: 0.7;
    white-space: pre-wrap;
  }
  .sami-footer-copy {
    font-size: 15px;
    color: #a0a0a0;
    text-align: right;
  }
  .sami-footer-copy p { margin: 0; }
  .footer-brand {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
  }
  .footer-brand span { color: var(--accent); }
  .footer-copy {
    font-size: 15px;
    color: var(--muted2); /* #a0a0a0 = 8.2:1 ✓ */
  }

  /* FOCUS */
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
  }
  .nav-cta:focus-visible { outline-offset: 2px; }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  .hero-photo-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .section-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 32px;
  }

  /* =====================
     HAMBURGER BUTTON
  ===================== */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* =====================
     MOBILE MENU OVERLAY
  ===================== */
  @media (max-width: 600px) {
    .nav-hamburger {
      display: flex;
    }
    .nav-links {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      width: 100vw;
      height: 100vh;
      min-height: 100vh;
      background: rgba(10,10,10,0.98);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 18px;
      z-index: 105;
      backdrop-filter: blur(12px);
      overflow-y: auto;
      padding: 80px 20px 40px;
    }
    .nav-links.open {
      display: flex;
    }
    .nav-links a:not(.nav-cta) {
      font-size: 24px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--white);
    }
    .nav-links a:not(.nav-cta):hover {
      color: var(--accent);
    }
    .nav-cta {
      font-size: 18px !important;
      padding: 14px 32px !important;
    }
  }

  /* =====================
     RESPONSIVE — LAPTOP
  ===================== */
  @media (max-width: 1280px) {
    nav {
      padding: 20px 40px;
    }
    section,
    .formats-section,
    .process-section,
    .testimonial-section,
    .cta-section,
    .faq-section {
      padding: 80px 40px 52px;
    }
    .trust-section {
      padding: 52px 40px;
    }
    .hero {
      padding: 120px 40px 72px;
    }
    .stats-strip {
      padding: 36px 40px;
    }
    .testimonial-card {
      padding: 48px;
      gap: 48px;
    }
    .problems-grid {
      grid-template-columns: repeat(4, 1fr);
      background: transparent;
    }
    .problem-card:nth-child(1) { grid-column: 1 / 3; }
    .problem-card:nth-child(2) { grid-column: 3 / 5; }
    .problem-card:nth-child(3) {
      grid-column: 2 / 4;
      max-width: none;
      justify-self: stretch;
    }
    .problem-card {
      padding: 36px 28px;
    }
    .cta-inner {
      padding: 72px 48px;
    }
    .divider {
      margin: 0 40px;
      max-width: calc(100% - 80px);
    }
    footer {
      padding: 36px 40px;
    }
  }

  /* =====================
     RESPONSIVE — TABLET
  ===================== */
  @media (max-width: 900px) {
    nav {
      padding: 16px 28px;
    }
    .nav-links {
      gap: 20px;
    }
    .hero {
      padding: 100px 28px 60px;
    }
    .stats-strip {
      padding: 32px 24px;
    }
    .trust-section {
      padding: 48px 28px;
    }
    .trust-logos {
      gap: 28px;
    }
    section,
    .formats-section,
    .process-section,
    .testimonial-section,
    .cta-section,
    .faq-section {
      padding: 72px 28px 48px;
    }
    .section-subtitle {
      font-size: 18px;
    }
    /* formats: equal-size product windows on tablet */
    .formats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      justify-items: center;
    }
    .format-card {
      width: 100%;
      max-width: 360px;
    }
    .formats-grid .format-card:last-child:nth-child(odd) {
      grid-column: 1 / -1;
      max-width: 360px;
      margin: 0;
      justify-self: center;
    }
    /* process: switch to 1-col earlier */
    .process-step {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 32px 0;
    }
    .step-desc {
      opacity: 1;
      transform: none;
    }
    .testimonial-card {
      grid-template-columns: 140px 1fr;
      gap: 36px;
      padding: 40px;
    }
    .testimonial-photo {
      width: 140px;
      height: 140px;
      font-size: 48px;
    }
    .cta-inner {
      padding: 60px 36px;
    }
    .divider {
      margin: 0 28px;
      max-width: calc(100% - 56px);
    }
    footer,
    .sami-footer {
      padding: 32px 28px 16px;
    }
  }

  /* =====================
     RESPONSIVE — MOBILE
  ===================== */
  @media (max-width: 600px) {
    nav {
      padding: 14px 20px;
    }
    .hero {
      padding: 80px 20px 48px;
    }
    .hero h1 {
      font-size: clamp(32px, 9vw, 48px);
      letter-spacing: -0.01em;
    }
    .h1-line { display: inline; white-space: normal; }
    .hero-sub {
      font-size: 16px;
      margin-top: 20px;
    }
    .hero-sub br { display: none; }
    .hero-tag {
      font-size: 13px;
      letter-spacing: 0.15em;
    }
    .hero-cta-row {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      width: 100%;
      margin-top: 32px;
    }
    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-outline {
      justify-content: center;
      padding: 15px 40px;
      font-size: 15px;
      width: auto;
      align-self: center;
    }
    /* hero photo — full bleed with padding */
    .hero-photo-wrap {
      margin-left: -20px !important;
      margin-right: -20px !important;
      width: calc(100% + 40px) !important;
      border-radius: 0 !important;
      margin-top: 40px !important;
    }
    .hero-photo-wrap img {
      max-height: 260px !important;
    }
    .sami-carousel-box {
      height: auto !important;
      aspect-ratio: 16 / 9;
    }
    .sami-carousel-box button[aria-label] {
      display: none !important;
    }
    /* stats */
    .stats-strip {
      grid-template-columns: 1fr;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 0;
      gap: 0;
      margin-top: 48px;
    }
    .stat-item {
      border-right: none;
      border-bottom: 1px solid var(--border);
      padding: 24px 20px;
    }
    .stat-item:last-child {
      border-bottom: none;
    }
    .stat-num {
      font-size: 44px;
    }
    /* trust */
    .trust-section {
      padding: 40px 20px;
    }
    .trust-logos {
      gap: 12px;
      row-gap: 8px;
    }
    .trust-logo-item {
      padding: 8px 12px;
    }
    .trust-logo-img {
      height: 40px;
      width: 120px;
    }
    /* sections */
    section,
    .formats-section,
    .process-section,
    .testimonial-section,
    .cta-section,
    .faq-section {
      padding: 56px 20px 40px;
    }
    #problems { padding-bottom: 32px; }
    #formats { padding-top: 32px; }
    .section-title {
      font-size: clamp(26px, 7.5vw, 38px);
    }
    .section-subtitle {
      font-size: 16px;
    }
    /* problems */
    .problems-grid {
      grid-template-columns: 1fr;
      gap: 2px;
    }
    .problem-card:nth-child(1),
    .problem-card:nth-child(2),
    .problem-card:nth-child(3) {
      grid-column: auto;
      max-width: none;
      justify-self: stretch;
    }
    .problem-card {
      padding: 28px 20px;
    }
    .problem-num {
      font-size: 40px;
    }
    .problem-title {
      font-size: 20px;
    }
    .problem-desc {
      font-size: 15px;
    }
    /* formats */
    .formats-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .formats-grid .format-card:last-child:nth-child(odd) {
      grid-column: auto;
      max-width: none;
      margin: 0;
    }
    .format-portrait {
      aspect-ratio: 16 / 9;
    }
    .format-body {
      padding: 20px 20px 24px;
    }
    /* process */
    .process-step {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 28px 0;
    }
    .step-title {
      font-size: 20px;
    }
    .step-desc {
      opacity: 1;
      transform: none;
      font-size: 15px;
    }
    .process-steps {
      padding-left: 20px;
    }
    /* testimonial */
    .testimonial-card {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 28px 20px;
      text-align: center;
    }
    .testimonial-photo {
      width: 88px;
      height: 88px;
      font-size: 36px;
      margin: 0 auto;
    }
    .testimonial-quote {
      font-size: 17px;
    }
    /* cta */
    .cta-inner {
      padding: 40px 20px;
    }
    .cta-title {
      font-size: clamp(26px, 7.5vw, 38px);
    }
    .cta-sub {
      font-size: 16px;
      margin-bottom: 32px;
    }
    /* faq */
    .faq-question {
      font-size: 16px;
      padding: 20px 0;
    }
    .faq-answer {
      font-size: 15px;
    }
    .faq-section {
      padding-bottom: 8px;
    }
    .faq-list {
      margin-top: 28px;
      margin-bottom: 0;
    }
    .faq-item:last-child { border-bottom: none; }

    /* footer */
    footer,
    .sami-footer {
      padding: 16px 20px 12px;
      margin-top: 8px;
      flex-direction: column;
      gap: 12px;
      text-align: center;
    }
    .sami-footer-brand,
    .sami-footer-copy {
      align-items: center;
      text-align: center;
    }
    .sami-footer-brand img {
      margin: 0 auto;
      height: 22px !important;
    }
    /* injected footer (sami-body.html) */
    footer > div {
      align-items: center !important;
      text-align: center !important;
      width: 100%;
      gap: 8px !important;
    }
    footer .footer-brand {
      display: flex;
      justify-content: center;
      width: 100%;
    }
    footer .footer-brand img {
      margin: 0 auto !important;
      height: 22px !important;
    }
    footer .footer-copy {
      text-align: center !important;
    }

    .divider {
      margin: 0 20px;
      max-width: calc(100% - 40px);
    }
  }

/* ===== PREMIUM ENHANCEMENTS (motion · light · micro-interactions) ===== */
:root { --ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* Hero — breathing radial light + living grain */
.hero-bg {
  animation: heroBreathe 16s ease-in-out infinite alternate;
  transform-origin: 50% 42%;
  will-change: transform, opacity;
}
@keyframes heroBreathe {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.14); }
}
.hero-grain { animation: grainPulse 7s ease-in-out infinite; }
@keyframes grainPulse {
  0%, 100% { opacity: 0.02; }
  50%      { opacity: 0.036; }
}

/* Hero headline — per-line reveal with blur */
.hero h1 .h1-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(12px);
  animation: lineRise 1.05s var(--ease) forwards;
  will-change: transform, opacity, filter;
}
.hero h1 .h1-line:nth-child(1) { animation-delay: 0.35s; }
.hero h1 .h1-line:nth-child(2) { animation-delay: 0.50s; }
.hero h1 .h1-line:nth-child(3) { animation-delay: 0.65s; }
@keyframes lineRise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Hero scroll-cue (injected from JS) */
.hero-scroll-ind {
  position: absolute; left: 50%; top: calc(100vh - 66px);
  transform: translateX(-50%);
  width: 25px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 13px;
  display: flex; justify-content: center; padding-top: 7px;
  opacity: 0; animation: pmFadeUp 0.9s ease 1.5s forwards;
  transition: opacity 0.4s ease; z-index: 3; pointer-events: none;
}
.hero-scroll-ind span {
  width: 3px; height: 8px; border-radius: 2px; background: var(--accent);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  75% { opacity: 0; transform: translateY(13px); }
  100% { opacity: 0; }
}
@keyframes pmFadeUp { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Buttons — gloss sweep on hover */
.btn-primary, .btn-outline { position: relative; overflow: hidden; }
.btn-primary::before, .btn-outline::before {
  content: ''; position: absolute; top: 0; left: -160%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease); pointer-events: none;
}
.btn-outline::before {
  background: linear-gradient(100deg, transparent, rgba(255,210,52,0.28), transparent);
}
.btn-primary:hover::before, .btn-outline:hover::before { left: 175%; }

/* Stats — tabular numerals */
.stat-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Trust logos — cascade reveal */
.trust-logos.tl-prep .trust-logo-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), background 0.25s ease;
}
.trust-logos.tl-prep.tl-go .trust-logo-item { opacity: 1; transform: translateY(0); }

/* Cards — cursor-following spotlight */
.format-card { position: relative; isolation: isolate; }
.format-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,210,52,0.16), transparent 46%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  mix-blend-mode: screen; z-index: 3;
}
.format-card:hover::after { opacity: 1; }

/* Photo carousel — slow Ken Burns */
#sami-slides img { animation: kenburns 18s ease-in-out infinite alternate; transform-origin: center; }
@keyframes kenburns { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* Section titles — clean, no accent underline */
.section-title { position: relative; }
.section-title::after { display: none; }
.cta-title { position: relative; }
.cta-title::after { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-grain, #sami-slides img, .hero-scroll-ind, .hero-scroll-ind span { animation: none !important; }
  .hero h1 .h1-line { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .btn-primary::before, .btn-outline::before { display: none; }
  .hero-scroll-ind { opacity: 0.5; }
}

/* Testimonial slider */
.testimonial-slider { position: relative; max-width: 1080px; margin: 0 auto; }
.testimonial-track { position: relative; }
.testimonial-slide { display: none !important; }
.testimonial-slide.is-active { display: grid !important; animation: tsFade 0.5s var(--ease, ease); }
.hidden-testimonial,
.hidden-testimonial.is-active { display: none !important; }
@keyframes tsFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.testimonial-photo { object-fit: cover; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.testimonial-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; font-size: 18px; line-height: 1;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.testimonial-arrow:hover { border-color: #ffd234; color: #ffd234; transform: translateY(-2px); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.testimonial-dot.is-active { background: #ffd234; transform: scale(1.3); }
@media (max-width: 768px) {
  .testimonial-slider { max-width: 100%; }
}


/* Language toggle */
.sami-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.sami-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.sami-lang-btn:hover { color: #fff; }
.sami-lang-btn.is-active {
  background: #ffd234;
  color: #0a0a0a;
}
/* Nav language toggle: centered in the header, same line as logo + menu */
.nav-lang-holder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 102;
}
.nav-lang-holder .sami-lang-toggle {
  position: static;
  transform: none;
  margin: 0;
}
@media (min-width: 601px) {
  .nav-lang-holder {
    margin-left: auto;
    margin-right: auto;
    transform: translateX(80px);
  }
}
/* Tablet: center the language toggle between the logo and menu links, shifted slightly right */
@media (min-width: 601px) and (max-width: 900px) {
  .nav-lang-holder {
    margin-left: auto;
    margin-right: auto;
    transform: translateX(40px);
  }
}
@media (max-width: 600px) {
  .nav-lang-holder {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .nav-lang-holder .sami-lang-toggle {
    padding: 3px;
  }
  .nav-lang-holder .sami-lang-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* Hero sub-text must wrap on small screens */
@media (max-width: 900px) {
  .hero-sub,
  .hero-sub span {
    white-space: normal !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

  /* SKIP LINK (accessibility) */
  .sami-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: #0a0a0a;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
  }
  .sami-skip-link:focus,
  .sami-skip-link:focus-visible {
    left: 16px;
    top: 16px;
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

/* Invisible link on process step title (Діагностика) */
.step-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.step-title-link:hover,
.step-title-link:focus-visible {
  color: inherit;
  text-decoration: none;
}
