/* Manrope v20 (SIL OFL 1.1) — локальна копія файлів Google Fonts, варіативний шрифт 300–800 */
  /* cyrillic-ext */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* greek */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-greek.woff2') format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  :root {
    --green: #124734;
    --green-dark: #0c3326;
    --green-mid: #1a5e45;
    --green-light: #2d8a64;
    --cream: #ebebeb;
    --cream-dark: #d8d8d8;
    --white: #ffffff;
    --text-dark: #0d2e22;
    --text-mid: #3a5a4e;
    --text-light: #4a6e60;
    --accent: #ffde32;
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--cream); }
  ::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

  /* ─── NAVIGATION ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 60px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 71, 52, 0.97);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
  }

  nav.scrolled {
    height: 60px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.25);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--green);
    letter-spacing: -1px;
  }

  .nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

  .nav-logo-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  .nav-logo-sub {
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-top: -2px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.2px;
  }

  .nav-links a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
  }

  .nav-cta {
    background: var(--accent) !important;
    color: var(--green) !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
  }

  .nav-cta:hover {
    background: #5cc494 !important;
    transform: translateY(-1px);
  }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    background: var(--green);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 60px 80px;
  }

  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,138,100,0.15) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(76,175,130,0.08) 0%, transparent 50%);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76,175,130,0.15);
    border: 1px solid rgba(76,175,130,0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease both;
  }

  .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
  }

  .hero-h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s 0.1s ease both;
  }

  .hero-h1 span {
    color: var(--accent);
    display: block;
  }

  .hero-sub {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 560px;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
  }

  .btn-primary {
    background: var(--accent);
    color: var(--green);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    letter-spacing: 0.2px;
  }

  .btn-primary:hover {
    background: #5cc494;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(76,175,130,0.35);
  }

  .btn-secondary {
    background: transparent;
    color: rgba(255,255,255,0.85);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.2);
    transition: all 0.25s;
    cursor: pointer;
    font-family: var(--font);
  }

  .btn-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    color: white;
    background: rgba(255,255,255,0.06);
  }

  .hero-stats {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    z-index: 2;
    animation: fadeUp 0.6s 0.4s ease both;
  }

  .hero-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
  }

  .hero-stat:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
  }

  .hero-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: white;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 6px;
  }

  .hero-stat-num span {
    color: var(--accent);
    font-size: 22px;
  }

  .hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
  }

  .hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.6s 0.6s ease both;
  }

  .hero-scroll span {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
  }

  .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollAnim 1.5s infinite;
  }

  @keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.01% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ─── SECTION BASE ─── */
  section { padding: 100px 60px; }

  .section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }

  .section-label.light { color: rgba(255,255,255,0.5); }
  .section-label.light::before { background: var(--accent); }

  .section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 20px;
  }

  .section-title.light { color: white; }

  .section-sub {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
  }

  .section-sub.light { color: rgba(255,255,255,0.82); }

  /* ─── STATS STRIP ─── */
  #stats {
    background: var(--cream-dark);
    padding: 60px;
    overflow: hidden;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
  }

  .stat-card {
    background: white;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
  }

  .stat-card:first-child { border-radius: 16px 0 0 16px; }
  .stat-card:last-child { border-radius: 0 16px 16px 0; }

  .stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }

  .stat-card:hover::after { transform: scaleX(1); }
  .stat-card:hover { background: var(--green); }
  .stat-card:hover .stat-num { color: white; }
  .stat-card:hover .stat-unit { color: var(--accent); }
  .stat-card:hover .stat-label { color: rgba(255,255,255,0.6); }

  .stat-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -2px;
    line-height: 1;
    transition: color 0.3s;
  }

  .stat-unit {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    display: inline;
    transition: color 0.3s;
  }

  .stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.4;
    transition: color 0.3s;
  }

  /* ─── ABOUT ─── */
  #about {
    background: white;
  }

  .about-visual {
    position: relative;
  }

  .about-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--green);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
  }

  /* карусель сертифікатів */
  .cert-carousel {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 50%, var(--green-light) 100%);
    border-radius: 20px;
  }

  .cert-track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cert-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
  }

  .cert-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  }

  .cert-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
    z-index: 10;
  }

  .cert-btn:hover { background: #fff; }
  .cert-btn-prev { left: 12px; }
  .cert-btn-next { right: 12px; }

  .about-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .about-cert {
    background: var(--green);
    color: white;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
  }

  .about-cert-label {
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 500;
  }

  .about-cert-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
  }

  .timeline {
    margin-top: 48px;
  }

  .timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
  }

  .timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 1px;
    background: var(--cream-dark);
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border: 2px solid var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--green);
    flex-shrink: 0;
    transition: all 0.3s;
  }

  .timeline-item:hover .timeline-dot {
    background: var(--green);
    color: white;
    border-color: var(--green);
  }

  .timeline-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 4px;
  }

  .timeline-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    padding-top: 8px;
  }

  /* ─── HORIZONTAL TIMELINE (single row, winding road connector) ─── */
  .timeline--horiz {
    display: flex;
    overflow-x: auto;
    margin-top: 48px;
    padding-bottom: 12px;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--cream-dark) transparent;
    cursor: grab;
    user-select: none;
  }

  .timeline--horiz:active { cursor: grabbing; }

  .timeline--horiz .timeline-item {
    display: grid;
    grid-template-rows: 190px 48px 190px;
    flex: 0 0 230px;
    flex-shrink: 0;
    position: relative;
    gap: 0;
    padding-right: 0;
  }

  /* dots ride the peaks/dips of the road curve below */
  .timeline--horiz .timeline-item:nth-child(odd)  { grid-template-rows: 160px 48px 220px; }
  .timeline--horiz .timeline-item:nth-child(even) { grid-template-rows: 220px 48px 160px; }

  .timeline--horiz .timeline-item::before { display: none !important; }
  /* the road SVG replaces the plain-timeline connector; kill the generic one */
  .timeline--horiz .timeline-item:not(:last-child)::after { content: none; }

  /* the road itself: an SVG path running through every dot's exact position */
  .tl-road {
    position: absolute;
    top: 0;
    left: 0;
    width: 2070px;
    height: 428px;
    pointer-events: none;
    z-index: 0;
  }
  .tl-road-base {
    fill: none;
    stroke: var(--green);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
  .tl-road-stripe {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 14 12;
    opacity: 0;
  }
  .timeline--horiz.animated .tl-road-base {
    animation: tlRoadDraw 1.8s ease forwards;
  }
  .timeline--horiz.animated .tl-road-stripe {
    animation: tlRoadStripeIn 1s ease 0.5s forwards;
  }

  .tl-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 16px 14px 0;
    opacity: 0;
  }

  .tl-bot {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 14px 16px 0 0;
    opacity: 0;
  }

  .timeline--horiz .timeline-dot {
    width: 48px;
    height: 48px;
    font-size: 13px;
    position: relative;
    z-index: 1;
    margin: 0;
    align-self: center;
    opacity: 0;
    transform: scale(0.5);
  }

  /* "you are here" marker on the most recent milestone */
  .timeline--horiz .timeline-item:last-child .timeline-dot {
    background: var(--green);
    color: white;
    border-color: var(--green);
  }
  .timeline--horiz .timeline-item:last-child .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
  }
  .timeline--horiz.animated .timeline-item:last-child .timeline-dot::after {
    animation: tlPulse 2s ease-out 1.3s infinite;
  }

  .timeline--horiz .timeline-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0;
    margin-bottom: 8px;
  }

  .timeline--horiz .timeline-text {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.55;
    padding-top: 0;
  }

  /* ─── Timeline animations ─── */
  @keyframes tlFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes tlFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes tlDotPop {
    from { opacity: 0; transform: scale(0.4); }
    to   { opacity: 1; transform: scale(1); }
  }
  @keyframes tlRoadDraw {
    from { stroke-dashoffset: 1000; }
    to   { stroke-dashoffset: 0; }
  }
  @keyframes tlRoadStripeIn {
    from { opacity: 0; }
    to   { opacity: 0.9; }
  }
  @keyframes tlRoadDrawY {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
  }
  @keyframes tlPulse {
    0%   { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(1.7); opacity: 0; }
  }

  .timeline--horiz.animated .tl-bot   { animation: tlFadeUp   0.45s ease forwards; }
  .timeline--horiz.animated .tl-top   { animation: tlFadeDown 0.45s ease forwards; }
  .timeline--horiz.animated .timeline-dot { animation: tlDotPop 0.35s ease forwards; }

  .timeline--horiz .timeline-item:nth-child(1) .tl-top,
  .timeline--horiz .timeline-item:nth-child(1) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(1) .timeline-dot { animation-delay: 0s; }
  .timeline--horiz .timeline-item:nth-child(2) .tl-top,
  .timeline--horiz .timeline-item:nth-child(2) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(2) .timeline-dot { animation-delay: 0.18s; }
  .timeline--horiz .timeline-item:nth-child(3) .tl-top,
  .timeline--horiz .timeline-item:nth-child(3) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(3) .timeline-dot { animation-delay: 0.36s; }
  .timeline--horiz .timeline-item:nth-child(4) .tl-top,
  .timeline--horiz .timeline-item:nth-child(4) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(4) .timeline-dot { animation-delay: 0.54s; }
  .timeline--horiz .timeline-item:nth-child(5) .tl-top,
  .timeline--horiz .timeline-item:nth-child(5) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(5) .timeline-dot { animation-delay: 0.72s; }
  .timeline--horiz .timeline-item:nth-child(6) .tl-top,
  .timeline--horiz .timeline-item:nth-child(6) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(6) .timeline-dot { animation-delay: 0.9s; }
  .timeline--horiz .timeline-item:nth-child(7) .tl-top,
  .timeline--horiz .timeline-item:nth-child(7) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(7) .timeline-dot { animation-delay: 1.08s; }
  .timeline--horiz .timeline-item:nth-child(8) .tl-top,
  .timeline--horiz .timeline-item:nth-child(8) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(8) .timeline-dot { animation-delay: 1.26s; }
  .timeline--horiz .timeline-item:nth-child(9) .tl-top,
  .timeline--horiz .timeline-item:nth-child(9) .tl-bot,
  .timeline--horiz .timeline-item:nth-child(9) .timeline-dot { animation-delay: 1.44s; }

  /* cert carousel in quality section */
  .cert-doc-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 480px;
  }

  /* ─── SERVICES ─── */
  #services {
    background: var(--green);
    position: relative;
    overflow: hidden;
  }

  #services::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(76,175,130,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 24px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .service-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.35s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76,175,130,0.15), transparent);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
  }

  .service-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(76,175,130,0.4);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  }

  .service-card:hover::before { opacity: 1; }

  .service-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
  }

  .service-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
  }

  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-top: 20px;
    text-decoration: none;
    transition: gap 0.2s;
    position: relative;
    z-index: 1;
  }

  .service-link:hover { gap: 10px; }

  /* ─── IT STACK ─── */
  #it {
    background: var(--cream);
    position: relative;
  }

  .it-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
  }

  .it-blocks {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .it-block {
    border: 1.5px solid var(--cream-dark);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
  }

  .it-block.active {
    border-color: var(--green);
    box-shadow: 0 8px 32px rgba(18,71,52,0.1);
  }

  .it-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    transition: background 0.3s;
    width: 100%;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }

  .it-block.active .it-block-header { background: var(--green); }

  .it-block.active .it-block-icon { background: rgba(255,255,255,0.15); }

  .it-block-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s;
  }

  .it-block.active .it-block-name { color: white; }

  .it-block-sub {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
  }

  .it-block.active .it-block-sub { color: rgba(255,255,255,0.6); }

  .it-block-arrow {
    margin-left: auto;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s;
  }

  .it-block.active .it-block-arrow { color: var(--accent); transform: rotate(90deg); }

  .it-block-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
  }

  .it-block.active .it-block-body { max-height: 200px; }

  .it-block-content {
    padding: 16px 24px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .it-tag {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
  }

  .it-visual {
    position: sticky;
    top: 100px;
  }

  .it-card {
    background: var(--green);
    border-radius: 24px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
  }

  .it-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(76,175,130,0.25) 0%, transparent 70%);
  }

  .it-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76,175,130,0.2);
    border: 1px solid rgba(76,175,130,0.3);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
  }

  .it-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
  }

  .it-card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .it-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .it-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
  }

  .it-feature-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
  }

  .starlink-badge {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
  }

  .starlink-icon {
    font-size: 22px;
  }

  /* ─── QUALITY ─── */
  #quality {
    background: white;
  }

  .quality-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: stretch;
    margin-top: 60px;
  }

  .cert-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .cert-card {
    background: var(--green);
    border-radius: 20px;
    padding: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
  }

  .cert-card:hover { transform: translateY(-4px); }

  .cert-card::before {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
  }

  .cert-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .cert-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .cert-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
  }

  .quality-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .q-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--cream);
    transition: all 0.25s;
  }

  .q-step:last-child { border-bottom: none; }
  .q-step:hover { padding-left: 8px; }

  .q-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--cream-dark);
    letter-spacing: -1px;
    min-width: 40px;
    line-height: 1;
    padding-top: 2px;
    transition: color 0.25s;
  }

  .q-step:hover .q-num { color: var(--accent); }

  .q-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
  }

  .q-step-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
  }

  .auditors {
    margin-top: 32px;
    padding: 24px;
    background: var(--cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .auditor-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
  }

  .auditor-name {
    background: white;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
  }

  /* ─── PARTNERS ─── */
  #partners {
    background: var(--cream);
    overflow: hidden;
    padding-bottom: 80px;
  }

  .marquee-section {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .marquee-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0 0 16px 60px;
  }

  .marquee-row {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
  }

  /* fade edges */
  .marquee-row::before,
  .marquee-row::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }
  .marquee-row::before {
    left: 0;
    background: linear-gradient(to right, var(--cream), transparent);
  }
  .marquee-row::after {
    right: 0;
    background: linear-gradient(to left, var(--cream), transparent);
  }

  .marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 32s linear infinite;
  }

  .marquee-track.reverse {
    animation: marquee-reverse 28s linear infinite;
  }

  .marquee-row:hover .marquee-track { animation-play-state: paused; }

  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes marquee-reverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

  .marquee-card {
    background: white;
    border: 1.5px solid var(--cream-dark);
    border-radius: 14px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    min-width: 140px;
    flex-shrink: 0;
    transition: all 0.25s;
    cursor: default;
  }

  .marquee-card:hover {
    border-color: var(--green);
    box-shadow: 0 6px 24px rgba(18,71,52,0.1);
    transform: translateY(-3px);
  }

  .marquee-card img {
    display: block;
    max-height: 44px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: filter 0.3s;
    filter: grayscale(100%) opacity(0.6);
  }

  .marquee-card:hover img {
    filter: grayscale(0%) opacity(1);
  }

  /* логотип із широким зображенням (2 бренди в 1) */
  .marquee-card--wide {
    min-width: 190px;
  }

  .marquee-card--wide img {
    max-width: 170px;
  }

  /* логотип із темним фоном */
  .marquee-card--dark {
    background: #1a2e24;
  }

  .marquee-card--dark img {
    mix-blend-mode: screen;
    filter: grayscale(100%) opacity(0.65);
  }

  .marquee-card--dark:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 24px rgba(18,71,52,0.25);
  }

  .marquee-card--dark:hover img {
    filter: grayscale(0%) opacity(1);
  }

  .brand-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-mid);
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: color 0.25s;
  }

  .marquee-card:hover .brand-text { color: var(--green); }

  .marquee-divider {
    height: 20px;
  }

  /* ─── PNG ICONS ─── */

  /* Базовий контейнер іконки у послугах */
  .service-icon {
    width: 52px;
    height: 52px;
    background: rgba(76,175,130,0.15);
    border: 1px solid rgba(76,175,130,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 10px;
    transition: all 0.3s;
    flex-shrink: 0;
  }

  .service-card:hover .service-icon {
    background: var(--accent);
    border-color: var(--accent);
  }

  .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
  }

  /* IT блок іконка */
  .it-block-icon {
    width: 36px;
    height: 36px;
    background: var(--cream);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
  }

  .it-block-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
  }

  .it-block.active .it-block-icon {
    background: rgba(255,255,255,0.15);
  }

  .it-block.active .it-block-icon img {
    mix-blend-mode: normal;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }

  /* Кар'єра — perk іконка */
  .perk-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .perk-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.75;
  }

  /* ─── CAREER ─── */
  #career {
    background: var(--green);
    position: relative;
    overflow: hidden;
  }

  #career::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(76,175,130,0.1) 0%, transparent 70%);
    pointer-events: none;
  }

  .career-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .career-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
  }

  .perk {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
  }

  .perk:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
  }

  .perk-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
  }

  .perk-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
  }

  .career-roles {
    margin-top: 48px;
  }

  .jobs-widget-wrap {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 24px 24px 0;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  }

  .jobs-widget-footer {
    padding: 14px 20px;
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
    font-size: 13px;
    color: #666;
    text-align: right;
  }

  .jobs-widget-footer a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
  }

  .jobs-widget-footer a:hover {
    color: var(--accent);
  }

  .roles-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
  }

  .role-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
  }

  .role-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(76,175,130,0.4);
    padding-left: 28px;
  }

  .role-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
  }

  .role-dept {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
  }

  .role-arrow {
    color: var(--accent);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .role-item:hover .role-arrow { opacity: 1; }

  /* ─── SOCIAL MEDIA ─── */
  #social {
    background: var(--cream);
  }

  #social .elfsight-app-87a7ab1f-e0c1-448d-a885-59eceb3f46f0 {
    margin-top: 56px;
    display: block;
    min-height: 400px;
  }

  /* ─── CONTACT ─── */
  #contact {
    background: white;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 56px;
    margin-top: 60px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 16px;
    padding: 24px 28px;
    transition: background 0.35s, border-color 0.35s;
    position: relative;
    overflow: hidden;
    min-height: 200px;
  }

  .contact-card--hotline {
    grid-column: 1 / -1;
    min-height: auto;
    background: var(--cream);
    border-color: transparent;
  }

  .cc-photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right center;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.35s, transform 0.35s;
    pointer-events: none;
  }

  .contact-card:hover .cc-photo {
    opacity: 1;
    transform: translateX(0);
  }

  .cc-content {
    position: relative;
    z-index: 1;
    max-width: 62%;
  }

  .contact-card--hotline .cc-content { max-width: 100%; }

  .contact-card:hover {
    background: var(--green);
    border-color: var(--green);
  }

  .contact-card:hover .cc-name,
  .contact-card:hover .cc-detail { color: rgba(255,255,255,0.92); }

  .contact-card:hover .cc-role { color: rgba(255,255,255,0.5); }

  .contact-card:hover .cc-phone { color: var(--accent) !important; }

  .contact-card:hover .cc-detail a { color: rgba(255,255,255,0.75); }

  .cc-role {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-mid);
    background: rgba(18,71,52,0.07);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 10px;
    transition: color 0.3s, background 0.3s;
  }

  .contact-card:hover .cc-role {
    background: rgba(255,255,255,0.12);
  }

  .cc-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    transition: color 0.3s;
  }

  .cc-detail {
    font-size: 13.5px;
    color: #555;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: color 0.3s;
  }

  .cc-detail a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.3s;
  }

  .cc-phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    transition: color 0.3s;
  }

  .contact-form {
    background: var(--cream);
    border-radius: 24px;
    padding: 44px;
  }

  .form-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
  }

  .form-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    min-width: 0;
  }

  .form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-mid);
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .form-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: white;
    border: 1.5px solid var(--cream-dark);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--text-dark);
    transition: all 0.25s;
    outline: none;
  }

  .form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(18,71,52,0.08);
  }

  /* ─── CUSTOM SELECT (native <select> popup can't be recolored in Chrome/Windows) ─── */
  .custom-select {
    position: relative;
  }

  .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
  }

  .custom-select-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .custom-select-arrow {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-right: 2px solid var(--text-mid);
    border-bottom: 2px solid var(--text-mid);
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .custom-select.open .custom-select-arrow {
    transform: rotate(-135deg);
  }

  .custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--cream-dark);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
    max-height: 260px;
    overflow-y: auto;
    z-index: 80;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .custom-select-option {
    padding: 11px 14px;
    border-radius: 7px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }

  .custom-select-option:hover,
  .custom-select-option.is-active {
    background: var(--green);
    color: #fff;
  }

  textarea.form-input {
    resize: vertical;
    min-height: 100px;
  }

  .form-submit {
    width: 100%;
    background: var(--green);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 8px;
    letter-spacing: 0.3px;
  }

  .form-submit:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(18,71,52,0.25);
  }

  .form-secondary {
    display: block;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    color: var(--green);
    padding: 15px;
    border: 1.5px solid var(--green);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 10px;
    letter-spacing: 0.3px;
  }

  .form-secondary:hover {
    background: rgba(18,71,52,0.06);
    border-color: var(--green-mid);
    transform: translateY(-2px);
  }

  /* ─── FOOTER ─── */
  footer {
    background: var(--green-dark);
    padding: 60px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
  }

  .footer-brand-name {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
  }

  .footer-brand-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 260px;
  }

  .footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
  }

  .footer-links a:hover { color: var(--accent); }

  .footer-services-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
  }

  .footer-services-list span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
  }

  .footer-more-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 16px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }

  .footer-more-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--green-dark);
  }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
  }

  .footer-socials {
    display: flex;
    gap: 10px;
  }

  .social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .social-btn:hover {
    background: var(--accent);
    color: var(--green);
    border-color: var(--accent);
  }

  /* ─── REVEAL ANIMATIONS (disabled — blocks are static) ─── */
  .reveal { opacity: 1; transform: none; }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 { transition-delay: 0s; }

  /* ─── MOBILE MENU ─── */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1200px) {
    .hero-stats { display: none; }
    #hero { padding: 120px 40px 80px; }
  }

  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 72px;
      left: 0;
      right: 0;
      background: rgba(18,71,52,0.98);
      padding: 20px 24px;
      gap: 4px;
      backdrop-filter: blur(12px);
      z-index: 999;
    }
    .menu-toggle { display: flex; }
    section { padding: 70px 24px; }
    #stats { padding: 40px 24px; }
    .stat-strip-light { padding: 40px 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 38px; letter-spacing: -1px; }
    .stat-unit { font-size: 16px; }
    .stat-card:first-child { border-radius: 16px 0 0 0; }
    .stat-card:last-child { border-radius: 0 0 16px 0; }
    /* ─── Timeline: vertical road on tablet/mobile ─── */
    @keyframes tlFadeRight {
      from { opacity: 0; transform: translateX(-14px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    .tl-road { display: none; }

    .timeline--horiz {
      display: flex;
      flex-direction: column;
      overflow: visible;
      margin-top: 32px;
      padding: 4px 0 0;
      cursor: default;
      user-select: auto;
    }
    .timeline--horiz:active { cursor: default; }

    /* undo the desktop wave offset — mobile rows stack in a straight column */
    .timeline--horiz .timeline-item:nth-child(odd),
    .timeline--horiz .timeline-item:nth-child(even) {
      grid-template-rows: auto auto;
    }

    .timeline--horiz .timeline-item {
      display: grid;
      grid-template-columns: 48px 1fr;
      grid-template-rows: auto auto;
      grid-template-areas:
        "dot top"
        "dot bot";
      column-gap: 20px;
      row-gap: 2px;
      flex: none;
      padding-bottom: 36px;
      position: relative;
    }
    .timeline--horiz .timeline-item:last-child { padding-bottom: 0; }

    .timeline--horiz .timeline-item:not(:last-child)::after {
      content: '';
      display: block;
      position: absolute;
      top: 48px;
      left: 22px;
      right: auto;
      bottom: 0;
      width: 4px;
      height: auto;
      border-radius: 4px;
      background: repeating-linear-gradient(
        to bottom,
        var(--green) 0, var(--green) 14px,
        transparent 14px, transparent 24px
      );
      opacity: 0.55;
      z-index: 0;
      transform: scaleY(0);
      transform-origin: top center;
    }
    .timeline--horiz.animated .timeline-item:not(:last-child)::after {
      animation-name: tlRoadDrawY;
    }

    .timeline--horiz .timeline-dot {
      grid-area: dot;
      align-self: start;
    }

    .timeline--horiz .tl-top,
    .timeline--horiz .tl-bot {
      padding: 0;
    }
    .timeline--horiz .tl-top { grid-area: top; justify-content: flex-start; }
    .timeline--horiz .tl-bot { grid-area: bot; justify-content: flex-start; }
    .timeline--horiz .tl-top:empty,
    .timeline--horiz .tl-bot:empty { display: none; }

    .timeline--horiz.animated .tl-top,
    .timeline--horiz.animated .tl-bot {
      animation-name: tlFadeRight;
    }
    .cert-doc-frame { min-height: 280px; }
    .services-grid { grid-template-columns: 1fr; }
    .it-layout { grid-template-columns: 1fr; }
    .it-visual { display: none; }
    .quality-layout { grid-template-columns: 1fr; align-items: start; }
    .cert-cards { grid-template-columns: 1fr; }
    .career-layout { grid-template-columns: 1fr; }
    .career-perks { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .contact-card--hotline { grid-column: 1; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    #hero { padding: 100px 24px 60px; }
    .hero-h1 { font-size: 38px; letter-spacing: -1px; }
  }

  @media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    footer { padding: 40px 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card:first-child { border-radius: 16px 16px 0 0; }
    .stat-card:last-child { border-radius: 0 0 16px 16px; }
  }

  /* ════════════════════════════════════════
     SUB-PAGE DESIGN SYSTEM
  ════════════════════════════════════════ */

  /* ─── Active nav item ─── */
  .nav-links li.active > a {
    color: white;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
  }

  /* ─── Page hero (compact, sub-pages) ─── */
  .page-hero {
    background: var(--green);
    position: relative;
    overflow: hidden;
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 140px 60px 80px;
  }
  .page-hero .hero-bg,
  .page-hero .hero-grid { position: absolute; inset: 0; pointer-events: none; }

  /* ─── Section blocks ─── */
  .s-block {
    padding: 100px 60px;
    position: relative;
  }
  .s-block-sm { padding: 80px 60px; position: relative; }
  .s-inner { max-width: 1200px; margin: 0 auto; }
  .s-inner-sm { max-width: 1200px; margin: 0 auto; }

  .s-green { background: var(--green); overflow: hidden; }
  .s-green::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(76,175,130,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .s-white { background: var(--white); }
  .s-cream { background: var(--cream); }

  /* ─── Icon boxes ─── */
  .icon-box {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    padding: 12px;
    margin-bottom: 20px;
    transition: all 0.3s;
  }
  .icon-box img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
  }
  /* On dark (green) background */
  .icon-d {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
  }
  .icon-d img { filter: brightness(0) invert(1); opacity: 0.9; }
  /* On light (white/cream) background */
  .icon-l {
    background: var(--green);
  }
  .icon-l img { filter: brightness(0) invert(1); opacity: 0.9; }

  /* ─── Feature card (dark bg) ─── */
  .fc-dark {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .fc-dark:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(76,175,130,0.45);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  }
  .fc-dark .fc-title {
    font-size: 19px; font-weight: 700; color: white;
    margin-bottom: 10px; letter-spacing: -0.3px;
  }
  .fc-dark .fc-desc {
    font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.7;
  }

  /* ─── Feature card (light bg) ─── */
  .fc-light {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.35s;
  }
  .fc-light:hover {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(18,71,52,0.1);
    transform: translateY(-5px);
  }
  .fc-light .fc-title {
    font-size: 19px; font-weight: 700; color: var(--text-dark);
    margin-bottom: 10px; letter-spacing: -0.3px;
  }
  .fc-light .fc-desc {
    font-size: 14px; color: var(--text-light); line-height: 1.7;
  }

  /* ─── Grid utilities ─── */
  .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .g2-60 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .g2-60.center { align-items: center; }

  @media (max-width: 1024px) {
    .g3, .g4 { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .g2, .g3, .g4, .g2-60 { grid-template-columns: 1fr !important; }
    .s-block, .s-block-sm { padding: 60px 24px; }
    .page-hero { padding: 120px 24px 60px; min-height: 44vh; }
  }

  /* ─── CTA block ─── */
  .cta-block {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 100px 60px;
  }
  .cta-block .section-title { margin-bottom: 20px; }
  .cta-block .section-sub { margin-bottom: 40px; }
  @media (max-width: 700px) { .cta-block { padding: 60px 24px; } }

  /* ─── Stat strip (light bg variant) ─── */
  .stat-strip-light { background: var(--cream-dark); padding: 60px; overflow: hidden; }

  /* ─── Timeline (full width variant) ─── */
  .timeline-full {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    max-width: 800px;
  }

  /* ─── Two-column IT block ─── */
  .it-page-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 60px;
  }
  .it-page-row.flip .col-text { order: 2; }
  .it-page-row.flip .col-list { order: 1; }
  .it-page-row h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0 12px;
    letter-spacing: -0.8px;
    line-height: 1.15;
  }
  .it-page-row p {
    font-size: 16px; color: var(--text-light);
    line-height: 1.75; margin-bottom: 0;
  }
  .it-page-row .block-icon-wrap {
    width: 64px; height: 64px;
    background: var(--green);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    padding: 14px; flex-shrink: 0;
  }
  .it-page-row .block-icon-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .it-feat-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
  }
  .it-feat-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: var(--text-mid); line-height: 1.55;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    transition: all 0.2s;
  }
  .it-feat-list li:hover {
    border-color: var(--green);
    background: #f0f7f4;
  }
  .it-feat-list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
  }
  @media (max-width: 900px) {
    .it-page-row { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px; }
    .it-page-row.flip .col-text { order: 0; }
    .it-page-row.flip .col-list { order: 0; }
  }

  /* ─── Quality steps (full) ─── */
  .qstep-list {
    display: flex; flex-direction: column;
    gap: 0; margin-top: 48px;
    max-width: 800px; margin-left: auto; margin-right: auto;
  }
  .qstep {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--cream-dark);
    transition: padding-left 0.25s;
    cursor: default;
  }
  .qstep:last-child { border-bottom: none; }
  .qstep:hover { padding-left: 8px; }
  .qstep-num {
    font-size: 44px; font-weight: 900;
    color: var(--cream-dark); letter-spacing: -2px;
    line-height: 1; min-width: 64px;
    transition: color 0.25s;
  }
  .qstep:hover .qstep-num { color: var(--accent); }
  .qstep-title {
    font-size: 18px; font-weight: 700;
    color: var(--text-dark); margin-bottom: 6px;
  }
  .qstep-desc {
    font-size: 14px; color: var(--text-light); line-height: 1.7;
  }

  /* ─── Cert cards (large) ─── */
  .cert-card-xl {
    background: var(--green);
    border-radius: 24px; padding: 48px 40px;
    color: white; position: relative; overflow: hidden;
    transition: transform 0.3s;
  }
  .cert-card-xl:hover { transform: translateY(-5px); }
  .cert-card-xl::before {
    content: '';
    position: absolute; bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
  }
  .cert-xl-num {
    font-size: 30px; font-weight: 900;
    color: var(--accent); letter-spacing: 0.5px; margin-bottom: 10px;
  }
  .cert-xl-title {
    font-size: 20px; font-weight: 700; margin-bottom: 16px;
  }
  .cert-xl-desc {
    font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.75;
  }

  /* ─── Auditor cards ─── */
  .auditor-card-xl {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px; padding: 40px;
    transition: all 0.3s;
  }
  .auditor-card-xl:hover {
    border-color: var(--green);
    box-shadow: 0 8px 32px rgba(18,71,52,0.1);
    transform: translateY(-3px);
  }
  .auditor-xl-name {
    font-size: 22px; font-weight: 800;
    color: var(--green); margin-bottom: 10px;
  }
  .auditor-xl-desc {
    font-size: 15px; color: var(--text-light); line-height: 1.7;
  }

  /* ─── Checklist ─── */
  .checklist {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 24px;
  }
  .checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: var(--text-mid); line-height: 1.55;
  }
  .checklist li::before {
    content: '✓';
    color: var(--accent); font-weight: 800; font-size: 15px; flex-shrink: 0;
    margin-top: 1px;
  }

  /* ─── Steps card (dark) ─── */
  .steps-card-dark {
    background: var(--green);
    border-radius: 20px; padding: 40px;
    color: white;
  }
  .steps-card-dark .sc-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 28px;
  }
  .steps-card-dark .sc-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .steps-card-dark .sc-item:last-child { border-bottom: none; }
  .steps-card-dark .sc-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent); color: var(--green);
    font-weight: 900; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .steps-card-dark .sc-text {
    font-size: 14px; color: rgba(255,255,255,0.85);
    padding-top: 5px; line-height: 1.5;
  }

  /* ─── Retail stat ─── */
  .retail-stat {
    display: flex; align-items: baseline; gap: 10px;
    padding: 24px 0;
    border-bottom: 1px solid var(--cream-dark);
  }
  .retail-stat:last-child { border-bottom: none; }
  .retail-num {
    font-size: 52px; font-weight: 900; color: var(--green);
    line-height: 1; letter-spacing: -2px;
  }
  .retail-lbl {
    font-size: 15px; color: var(--text-light);
  }

  /* ─── Contact card (hover green) ─── */
  .contact-card-xl {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px; padding: 36px;
    transition: all 0.3s; cursor: default;
    position: relative; overflow: hidden;
  }
  .contact-card-xl:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(18,71,52,0.2);
  }
  .contact-card-xl .cx-role {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
  }
  .contact-card-xl .cx-name {
    font-size: 20px; font-weight: 800;
    color: var(--text-dark); margin-bottom: 16px;
    transition: color 0.3s;
  }
  .contact-card-xl:hover .cx-name { color: white; }
  .contact-card-xl .cx-detail {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 14px; color: var(--text-light);
    transition: color 0.3s;
  }
  .contact-card-xl:hover .cx-detail { color: rgba(255,255,255,0.7); }
  .contact-card-xl .cx-phone {
    font-size: 18px; font-weight: 700;
    color: var(--green); text-decoration: none;
    transition: color 0.3s;
  }
  .contact-card-xl:hover .cx-phone { color: var(--accent); }
  .contact-card-xl:hover .cc-photo { opacity: 1; transform: translateX(0); }

  /* ─── RC card ─── */
  .rc-card-new {
    background: var(--cream);
    border-radius: 16px; padding: 36px;
    border: 1.5px solid var(--cream-dark);
    transition: all 0.3s;
    position: relative; overflow: hidden;
  }
  .rc-card-new:hover {
    border-color: var(--green);
    box-shadow: 0 8px 32px rgba(18,71,52,0.1);
  }
  .rc-card-new:hover .cc-photo { opacity: 1; transform: translateX(0); }
  .rc-card-new .rc-name { font-size: 18px; font-weight: 800; color: var(--green); margin-bottom: 12px; }
  .rc-card-new .rc-addr { font-size: 14px; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
  .rc-card-new .rc-person { font-size: 14px; color: var(--text-mid); margin-bottom: 4px; font-weight: 600; }
  .rc-card-new a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }

  /* ─── Social links ─── */
  .social-link-xl {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark); font-weight: 600; font-size: 15px;
    transition: all 0.25s;
  }
  .social-link-xl:hover {
    background: var(--green);
    color: white; border-color: var(--green);
    transform: translateX(4px);
  }
  .social-link-xl .sl-badge {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--cream); display: flex;
    align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; color: var(--green);
    flex-shrink: 0; transition: all 0.25s;
  }
  .social-link-xl:hover .sl-badge { background: rgba(255,255,255,0.2); color: white; }

  /* ─── Accordion ─── */
  .acc-item {
    border: 1.5px solid var(--cream-dark);
    border-radius: 14px; overflow: hidden; background: var(--white);
    margin-bottom: 10px; transition: border-color 0.25s;
  }
  .acc-item.open { border-color: var(--green); }
  .acc-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 28px; cursor: pointer;
    font-size: 17px; font-weight: 700; color: var(--text-dark);
    user-select: none; transition: background 0.2s;
  }
  .acc-header:hover { background: #f5faf7; }
  .acc-arrow {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--cream); display: flex;
    align-items: center; justify-content: center;
    font-size: 18px; color: var(--green); font-weight: 700;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
  }
  .acc-item.open .acc-arrow { transform: rotate(45deg); background: var(--accent); color: var(--green); }
  .acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .acc-item.open .acc-body { max-height: 300px; }
  .acc-content {
    padding: 0 28px 24px;
    font-size: 15px; color: var(--text-light); line-height: 1.75;
  }

  /* ─── Dark contact info box ─── */
  .dark-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 40px;
  }
  .dark-box .db-label {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  }
  .dark-box .db-name { font-size: 22px; font-weight: 800; color: white; margin-bottom: 4px; }
  .dark-box .db-sub { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
  .dark-box .db-phone { font-size: 22px; font-weight: 800; color: var(--accent); text-decoration: none; display: block; margin-bottom: 8px; }
  .dark-box .db-email { font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none; }

  /* ─── PANELS ─── */
  .panel {
    overflow: hidden;
  }

  /* Footer always on top of sticky panels */
  footer {
    position: relative;
    z-index: 200;
  }

  /* form card on white/light bg */
  .form-card {
    background: var(--white);
    border-radius: 20px; padding: 48px 40px;
    box-shadow: 0 4px 40px rgba(18,71,52,0.07);
    min-width: 0;
  }
  @media (max-width: 700px) { .form-card { padding: 32px 24px; } }

  /* ─── POSLUHY — SERVICE TABS ─── */
  .svc-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 48px;
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    /* padding-right reserves space so last button shadow isn't clipped */
    padding: 6px 24px 10px 6px;
    margin-left: -6px;
  }
  .svc-nav::-webkit-scrollbar { display: none; }

  .svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }

  .svc-btn:hover {
    border-color: var(--green-light);
    color: var(--green);
    box-shadow: 0 3px 12px rgba(18,71,52,0.13);
  }

  .svc-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: white;
    box-shadow: 0 4px 18px rgba(18,71,52,0.3);
  }

  .svc-btn-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: opacity 0.2s;
  }

  .svc-btn:hover .svc-btn-icon { opacity: 0.85; }

  .svc-btn.active .svc-btn-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
  }

  /* Panel */
  .svc-panel {
    display: none;
  }

  .svc-panel.active {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
    animation: fadeUp 0.3s ease both;
  }

  /* Left info card */
  .svc-info-card {
    background: var(--green);
    border-radius: 20px;
    padding: 36px 32px 40px;
    position: sticky;
    top: 88px;
  }

  .svc-info-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }

  .svc-info-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
  }

  .svc-info-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .svc-info-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .svc-info-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--green);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .svc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,222,50,0.35);
  }

  /* Right sub-cards */
  .svc-sub-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .svc-sub-card {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 16px;
    padding: 28px 28px 26px;
    transition: border-color 0.25s, box-shadow 0.25s;
  }

  .svc-sub-card:hover {
    border-color: var(--green-light);
    box-shadow: 0 4px 24px rgba(18,71,52,0.08);
  }

  .svc-sub-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 10px;
  }

  .svc-sub-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.72;
  }

  /* ─── POSLUHY — RC GRID ─── */
  .rc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .rc-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(18,71,52,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .rc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(18,71,52,0.14);
  }

  .rc-photo {
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  /* Unique gradient fallbacks per RC */
  .rc-photo--1  { background-color: #0c3a2a; }
  .rc-photo--2  { background-color: #102e38; }
  .rc-photo--3  { background-color: #182840; }
  .rc-photo--4  { background-color: #2a2014; }
  .rc-photo--5  { background-color: #0e2e3a; }
  .rc-photo--6  { background-color: #1e1e2e; }
  .rc-photo--7  { background-color: #1a2e18; }
  .rc-photo--8  { background-color: #22222e; }
  .rc-photo--9  { background-color: #0c3326; }
  .rc-photo--10 { background-color: #0c2a3a; }

  /* Diagonal stripe pattern when no photo */
  .rc-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 12px
    );
    pointer-events: none;
  }

  .rc-photo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 11px;
    border-radius: 7px;
    text-transform: uppercase;
    z-index: 1;
  }

  .rc-body { padding: 22px 22px 26px; }

  .rc-city {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.4px;
    margin-bottom: 5px;
  }

  .rc-address {
    font-size: 12px;
    color: var(--text-light);
    font-style: normal;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
  }

  .rc-address svg { flex-shrink: 0; margin-top: 1px; stroke: var(--green-light); }

  .rc-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .rc-service-item {
    font-size: 12px;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.45;
  }

  .rc-service-item.rc-highlight { color: var(--green); font-weight: 600; }

  .rc-dot {
    width: 6px;
    height: 6px;
    background: var(--green-light);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
  }

  .rc-dot--accent { background: var(--accent); }

  /* ─── Responsive — POSLUHY ─── */
  @media (max-width: 1100px) {
    .svc-panel.active { grid-template-columns: 1fr; }
    .svc-info-card { position: static; }
    .rc-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 640px) {
    .svc-btn { padding: 12px 14px; font-size: 13px; }
    .svc-sub-card { padding: 22px 20px; }
    .svc-sub-title { font-size: 16px; }
    .rc-grid { grid-template-columns: 1fr; }
  }

  /* ─── КАРʼЄРА — JOB TAGS ─── */
  .job-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
  .job-tag {
    background: rgba(29,154,120,.12);
    color: #1D9A78;
    border: 1px solid rgba(29,154,120,.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* Accordion body розширено для тегів */
  .acc-item.open .acc-body { max-height: 450px; }

  /* ─── КАРʼЄРА — ШЛЯХ КАНДИДАТА ─── */
  .journey-steps {
    display: flex;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 56px;
    position: relative;
  }
  .journey-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #1D9A78;
    z-index: 0;
  }
  .journey-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
  }
  .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFDE32;
    color: #124734;
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .step-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
  }
  .step-desc {
    font-size: 14px;
    color: #8FC4B0;
    line-height: 1.5;
  }
  @media (max-width: 640px) {
    .journey-steps { flex-direction: column; gap: 32px; }
    .journey-steps::before { display: none; }
    .journey-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 0; }
    .step-num { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 18px; }
    .step-title, .step-desc { text-align: left; }
  }
  @media (max-width: 900px) and (min-width: 641px) {
    .journey-steps { gap: 8px; }
    .journey-step { padding: 0 8px; }
    .step-desc { font-size: 13px; }
  }

  /* ─── КАРʼЄРА — ГАЛЕРЕЯ ─── */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--cream-dark);
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
  }
  .gallery-item:hover img { transform: scale(1.05); }
  @media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

  /* ─── КАРʼЄРА — ФОРМА: FILE INPUT ─── */
  input[type="file"].form-file {
    padding: 10px 18px;
    cursor: pointer;
    color: var(--text-light);
  }
  input[type="file"].form-file::-webkit-file-upload-button {
    background: var(--green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    margin-right: 12px;
    transition: background .2s;
  }
  input[type="file"].form-file::-webkit-file-upload-button:hover {
    background: var(--green-mid);
  }

  /* ─── КАРʼЄРА — HERO CTA BAR (floating below hero) ─── */
  .hero-cta-bar {
    position: relative;
    z-index: 5;
    margin-top: -42px;
    padding: 0 60px;
    display: flex;
    justify-content: center;
  }
  .hero-cta-inner {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10,42,30,0.18);
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.35s ease both;
  }
  .hero-cta-inner .btn-primary {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 28px rgba(255,222,50,0.4);
  }
  .hero-cta-inner .btn-primary:hover {
    background: #ffe75e;
    box-shadow: 0 12px 36px rgba(255,222,50,0.55);
    transform: translateY(-3px);
  }
  .hcta-link {
    display: inline-flex;
    align-items: center;
    padding: 18px 26px;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
  }
  .hcta-link:hover { background: rgba(18,71,52,0.07); }
  @media (max-width: 640px) {
    .hero-cta-bar { padding: 0 20px; margin-top: -32px; }
    .hero-cta-inner { width: 100%; flex-direction: column; align-items: stretch; padding: 14px; }
    .hero-cta-inner .btn-primary { justify-content: center; }
    .hcta-link { justify-content: center; }
  }

  /* ─── КАРʼЄРА — ЛІЧИЛЬНИКИ ─── */
  .s-counters {
    background: #0a2a1e;
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
  }
  .counters-bg-pattern {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 50%, rgba(29,154,120,0.15) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 50%, rgba(18,71,52,0.4) 0%, transparent 60%);
    pointer-events: none;
  }
  .counters-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
  }
  .counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .counter-item:last-child { border-right: none; }
  .counter-num {
    font-size: 44px;
    font-weight: 800;
    color: #FFDE32;
    letter-spacing: -1px;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
  }
  .counter-suffix {
    font-size: 26px;
    font-weight: 700;
    color: #FFDE32;
  }
  .counter-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
  }
  @media (max-width: 1100px) { .counters-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 700px) {
    .s-counters { padding: 60px 24px; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 16px 8px; }
    .counter-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
    .counter-num { font-size: 34px; }
    .counter-suffix { font-size: 20px; }
  }

  /* ─── КАРʼЄРА — ШЛЯХ КАНДИДАТА v2 ─── */
  .journey-bg-title {
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 160px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    letter-spacing: 10px;
    pointer-events: none;
    user-select: none;
    line-height: 1;
  }
  /* Override v1 flex with grid */
  .journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-direction: unset;
    justify-content: unset;
  }
  /* Solid line: step 1→3 — draws left→right on scroll-in */
  .journey-steps::before {
    left: 12.5%;
    right: 37.5%;
    background: #1D9A78;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s 0.15s cubic-bezier(.4,0,.2,1);
  }
  /* Dashed line: step 3→4 */
  .journey-steps::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 62.5%;
    right: 12.5%;
    height: 0;
    border-top: 2px dashed rgba(29,154,120,0.4);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s 0.85s cubic-bezier(.4,0,.2,1);
  }
  .journey-steps.in-view::before,
  .journey-steps.in-view::after { transform: scaleX(1); }

  /* Staged reveal: steps 1→4 fade up in sequence */
  .journey-step {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .journey-steps.in-view .journey-step { opacity: 1; transform: translateY(0); }
  .journey-steps.in-view .journey-step:nth-child(1) { transition-delay: 0.05s; }
  .journey-steps.in-view .journey-step:nth-child(2) { transition-delay: 0.30s; }
  .journey-steps.in-view .journey-step:nth-child(3) { transition-delay: 0.55s; }
  .journey-steps.in-view .journey-step:nth-child(4) { transition-delay: 0.95s; }

  .journey-step.future .step-num {
    background: transparent;
    border: 2px dashed #1D9A78;
    color: #1D9A78;
    box-shadow: none;
  }
  .step-days {
    font-size: 12px;
    color: rgba(29,154,120,0.75);
    margin-top: 6px;
    font-style: italic;
  }
  @media (max-width: 640px) {
    .journey-bg-title { font-size: 72px; bottom: -16px; }
    .journey-steps {
      grid-template-columns: 1fr;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
    .journey-steps::before, .journey-steps::after { display: none; }
    .journey-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 0; }
    .journey-step .step-num { margin: 0; flex-shrink: 0; }
  }

  /* ─── КАРʼЄРА — КОМАНДА ─── */
  #team { background: white; }
  .team-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
  }
  .team-headline-small {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .team-headline-big {
    font-size: 68px;
    font-weight: 900;
    color: #124734;
    letter-spacing: -2px;
    line-height: 0.92;
    margin-bottom: 24px;
  }
  .team-headline-big span {
    color: transparent;
    text-shadow:
      -2px -2px 0 var(--accent),
       2px -2px 0 var(--accent),
      -2px  2px 0 var(--accent),
       2px  2px 0 var(--accent),
       0   -2px 0 var(--accent),
       0    2px 0 var(--accent),
      -2px  0   0 var(--accent),
       2px  0   0 var(--accent);
  }
  .team-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 360px;
  }
  .team-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 1.1;
  }
  .team-photo-wrap {
    position: relative;
    overflow: hidden;
    background: #EAF7F2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: tpBlobMorph 16s ease-in-out infinite alternate;
  }
  .team-photo-wrap:hover { transform: translateY(-4px); }
  .team-photo-wrap.large {
    grid-row: 1 / 3;
    grid-column: 1;
    background: linear-gradient(150deg, #124734 0%, #1a5e45 100%);
    box-shadow: 0 20px 50px rgba(18,71,52,0.22);
    animation-duration: 19s;
  }
  .team-photo-wrap.small-1 {
    grid-row: 1; grid-column: 2;
    background: linear-gradient(150deg, #1D9A78 0%, #2d8a64 100%);
    box-shadow: 0 16px 40px rgba(29,154,120,0.25);
    animation-duration: 14s;
    animation-delay: -3s;
  }
  .team-photo-wrap.small-2 {
    grid-row: 2; grid-column: 2;
    background: linear-gradient(150deg, #FFDE32 0%, #f4c800 100%);
    box-shadow: 0 16px 40px rgba(244,200,0,0.3);
    animation-duration: 17s;
    animation-delay: -7s;
  }

  /* organic blob shape instead of a plain circle, slowly breathing */
  @keyframes tpBlobMorph {
    0%   { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
    50%  { border-radius: 63% 37% 40% 60% / 55% 65% 35% 45%; }
    100% { border-radius: 38% 62% 55% 45% / 60% 45% 55% 40%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .team-photo-wrap { animation: none; border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  }

  /* rotating employee photos behind the stat, tinted so the number stays readable */
  .tp-slides { position: absolute; inset: 0; }
  .tp-slide {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    opacity: 0;
  }
  .tp-tint { position: absolute; inset: 0; z-index: 1; }
  .team-photo-wrap.large .tp-tint {
    background: linear-gradient(150deg, rgba(18,71,52,0.82) 0%, rgba(26,94,69,0.78) 100%);
  }
  .team-photo-wrap.small-1 .tp-tint {
    background: linear-gradient(150deg, rgba(29,154,120,0.8) 0%, rgba(45,138,100,0.76) 100%);
  }
  .team-photo-wrap.small-2 .tp-tint {
    background: linear-gradient(150deg, rgba(255,222,50,0.85) 0%, rgba(244,200,0,0.8) 100%);
  }

  @keyframes tpCrossfade3 {
    0%   { opacity: 0; transform: scale(1.04); }
    8%   { opacity: 1; transform: scale(1.04); }
    25%  { opacity: 1; transform: scale(1.12); }
    33%  { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.12); }
  }
  @keyframes tpCrossfade2 {
    0%   { opacity: 0; transform: scale(1.04); }
    8%   { opacity: 1; transform: scale(1.04); }
    42%  { opacity: 1; transform: scale(1.1); }
    50%  { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.1); }
  }
  .team-photo-wrap.large .tp-slide { animation: tpCrossfade3 36s ease-in-out infinite; }
  .team-photo-wrap.large .tp-slide:nth-child(1) { animation-delay: 0s; }
  .team-photo-wrap.large .tp-slide:nth-child(2) { animation-delay: 12s; }
  .team-photo-wrap.large .tp-slide:nth-child(3) { animation-delay: 24s; }

  .team-photo-wrap.small-1 .tp-slide,
  .team-photo-wrap.small-2 .tp-slide { animation: tpCrossfade2 28s ease-in-out infinite; }
  /* staggered per shape so all three don't switch in sync */
  .team-photo-wrap.small-1 .tp-slide:nth-child(1) { animation-delay: 0s; }
  .team-photo-wrap.small-1 .tp-slide:nth-child(2) { animation-delay: 14s; }
  .team-photo-wrap.small-2 .tp-slide:nth-child(1) { animation-delay: 7s; }
  .team-photo-wrap.small-2 .tp-slide:nth-child(2) { animation-delay: 21s; }

  @media (prefers-reduced-motion: reduce) {
    .tp-slide { animation: none !important; opacity: 1; }
    .tp-slide:not(:first-child) { display: none; }
  }

  .tp-num, .tp-cap { position: relative; z-index: 2; }
  .tp-num {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
  }
  .tp-num i { font-style: normal; font-size: 0.6em; vertical-align: super; }
  .tp-cap {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 8px rgba(0,0,0,0.15);
  }
  .team-photo-wrap.large .tp-num { font-size: 72px; }
  .team-photo-wrap.small-2 .tp-num { color: #124734; text-shadow: none; }
  .team-photo-wrap.small-2 .tp-cap { color: rgba(18,71,52,0.75); text-shadow: none; }
  @media (max-width: 900px) {
    .team-photo-wrap.large .tp-num { font-size: 60px; }
    .tp-num { font-size: 44px; }
  }
  @media (max-width: 900px) {
    .team-layout { grid-template-columns: 1fr; gap: 40px; }
    .team-headline-big { font-size: 52px; }
    .team-photos { max-width: 340px; margin: 0 auto; }
  }
  @media (max-width: 480px) {
    .team-headline-big { font-size: 40px; }
  }