body.page-about .about-hero-section {
    padding-top: calc(var(--section-padding-vertical) + 24px);
    padding-bottom: calc(var(--section-padding-vertical) - 10px);
    min-height: 100svh;
    display: flex;
    align-items: flex-start;
}


body.page-about .about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

body.page-about .about-hero-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

body.page-about .about-hero-title {
    text-align: left;
    margin-bottom: 0.6em;
}

body.page-about .about-hero-subtitle {
    text-align: left;
    margin-bottom: 2em;
}

body.page-about .about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

body.page-about .about-hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.page-about .about-hero-badge {
    border-radius: 16px;
    padding: 18px 20px;
    background: radial-gradient(circle at top left,
        rgba(var(--color-accent-secondary-rgb), 0.18),
        rgba(0, 0, 0, 0.8));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.09);
    position: relative;
    overflow: hidden;
}

body.page-about .about-hero-badge::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(var(--color-accent-secondary-rgb), 0.0),
        rgba(var(--color-accent-secondary-rgb), 0.18),
        rgba(var(--color-accent-secondary-rgb), 0.0)
    );
    opacity: 0;
    animation: aboutGlow 6s linear infinite;
    pointer-events: none;
}

body.page-about .about-hero-badge-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

body.page-about .about-hero-badge-main {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

body.page-about .about-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.page-about .about-hero-stat {
    padding: 10px 14px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-about .about-hero-stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(240, 240, 245, 0.8);
    margin-bottom: 2px;
}

body.page-about .about-hero-stat-value {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

@keyframes aboutGlow {
    0%   { opacity: 0; transform: translate3d(-10%, -10%, 0) rotate(0deg); }
    35%  { opacity: 1; }
    70%  { opacity: 0; transform: translate3d(10%, 10%, 0) rotate(180deg); }
    100% { opacity: 0; transform: translate3d(15%, 15%, 0) rotate(360deg); }
}

body.page-about .about-cols-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 2rem;
}

body.page-about .about-col-card {
    padding: 22px 22px 20px;
    border-radius: var(--border-radius-main);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

body.page-about .about-col-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

body.page-about .about-col-card p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 0.8rem;
}

body.page-about .about-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 2rem;
}

body.page-about .about-service-card {
    padding: 22px 22px 20px;
    border-radius: var(--border-radius-main);
    background-color: #ffffff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

body.page-about .about-service-card h3 {
    font-family: var(--font-header);
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

body.page-about .about-service-card p {
    color: var(--color-text-dark);
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

body.page-about .about-service-card a {
    font-weight: 600;
}

body.page-about .about-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

body.page-about .about-video-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

body.page-about .about-video-text p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 0.7rem;
}

body.page-about .about-list {
    list-style: none;
    padding-left: 0;
    margin: 0.6rem 0 0;
}

body.page-about .about-list li::before {
    content: "•";
    margin-right: 0.4rem;
    color: var(--color-accent-secondary);
}

body.page-about .about-list li {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 0.25rem;
}

body.page-about .about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

body.page-about .about-feature-card {
    padding: 20px 18px 18px;
    border-radius: var(--border-radius-main);
    background-color: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

body.page-about .about-feature-card h3 {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

body.page-about .about-feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

body.page-about .faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 2rem;
}

body.page-about .faq-section .faq-item {
    border-radius: var(--border-radius-main);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

body.page-about .faq-section .faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
}

body.page-about .faq-section .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.95rem;
    color: var(--color-text-medium);
}

body.page-about .about-final-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 1.5rem;
}

body.page-about .ambassador-video-frame {
    position: relative;
    aspect-ratio: 9 / 16;    
    height: min(72svh, 720px);
    width: auto;
    max-width: clamp(340px, 24vw, 460px);
    margin-left: auto;
    border-radius: 24px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

body.page-about .ambassador-video-frame img.ambassador-video-poster {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

body.page-about .ambassador-video-frame video.ambassador-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    object-fit: cover;
    border-radius: inherit;
    transition: opacity 0.35s ease;
    background: #000;
}

body.page-about .ambassador-video-frame.is-playing img.ambassador-video-poster {
    opacity: 0;
}

body.page-about .ambassador-video-frame.is-playing video.ambassador-video {
    display: block;
    opacity: 1;
}

body.page-about .ambassador-play-button {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.70);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
    text-decoration: none;
    z-index: 2;
}

body.page-about .ambassador-play-button:hover,
body.page-about .ambassador-play-button:focus-visible {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 16px 32px rgba(0, 0, 0, 0.6);
    transform: translateX(-50%) translateY(-1px);
    outline: none;
}

body.page-about .ambassador-play-button:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

body.page-about .ambassador-play-button-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--color-accent-secondary),
        var(--color-accent-primary)
    );
    box-shadow: 0 0 18px rgba(0, 229, 208, 0.55);
    flex-shrink: 0;
}

body.page-about .ambassador-play-button-icon svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

body.page-about .ambassador-play-button-label {
    white-space: nowrap;
}

body.page-about .ambassador-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1024px) {
    body.page-about .about-hero-section {
        min-height: auto;
    }

    body.page-about .about-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-about .about-hero-title,
    body.page-about .about-hero-subtitle {
        text-align: left;
    }

    body.page-about .about-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-about .about-cols-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-about .about-video-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-about .ambassador-video-frame {
    margin: 14px auto 0 auto;
    height: min(64svh, 660px);
    max-width: 380px;
}

}

@media (max-width: 768px) {
    body.page-about .about-hero-section {
        padding-top: calc(var(--section-padding-vertical-mobile) + 60px);
        padding-bottom: var(--section-padding-vertical-mobile);
    }

    body.page-about .about-cols-grid,
    body.page-about .about-services-grid,
    body.page-about .about-features-grid,
    body.page-about .faq-section .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-about .about-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-about .about-hero-badge {
        margin-top: 10px;
    }

    body.page-about .ambassador-video-frame {
        max-width: 260px;
		 height: min(56svh, 560px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
    }

    body.page-about .ambassador-play-button {
        bottom: 14px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    body.page-about .ambassador-play-button-icon {
        width: 30px;
        height: 30px;
    }
}

body.page-about .about-hero-actions{
    margin-bottom: 28px;
}

body.page-about .about-hero-section{
  align-items: flex-start; /* było: center */
}

@media (max-height: 820px) {
  body.page-about .about-hero-section{
    padding-top: calc(var(--section-padding-vertical) + 16px);
  }
}

body.page-about .about-hero-actions{
  margin-bottom: 26px;
}

body.page-about .ambassador-video-frame{
  
  height: clamp(
    360px,
    calc((100vh - 80px - (var(--section-padding-vertical) * 2)) * 0.92),
    620px
  );

  width: auto;
  max-width: none;
  margin-left: auto;
}

@media (max-width: 1400px){
  body.page-about .ambassador-video-frame{
    height: clamp(
      340px,
      calc((100vh - 80px - (var(--section-padding-vertical) * 2)) * 0.88),
      560px
    );
  }
}

@media (max-height: 760px){
  body.page-about .about-hero-section{
    padding-bottom: calc(var(--section-padding-vertical) * 0.65);
    min-height: calc(100vh - 80px);
  }
}

body.page-about{
  --header-h: 80px;
}

body.page-about .about-hero-section{
  min-height: calc(100svh - var(--header-h));
  padding-top: calc(var(--section-padding-vertical) + 16px);
  padding-bottom: calc(var(--section-padding-vertical) - 16px);
  align-items: flex-start;
}

body.page-about .about-hero-grid{
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.15fr);
  align-items: start;
}

body.page-about .about-hero-actions{
  margin-bottom: 34px;
}

body.page-about .ambassador-video-frame{
  justify-self: end;
  height: clamp(
    520px,
    calc((100svh - var(--header-h) - 120px) * 0.92),
    760px
  );
  width: auto;
  max-width: none;
}

@media (max-height: 820px){
  body.page-about .ambassador-video-frame{
    height: clamp(
      460px,
      calc((100svh - var(--header-h) - 120px) * 0.88),
      680px
    );
  }
  body.page-about .about-hero-actions{
    margin-bottom: 28px;
  }
}

@media (max-width: 768px){
  body.page-about .ambassador-video-frame{
    max-width: 260px;
    height: min(56svh, 560px);
  }
}

@media (max-width: 768px) {

  body.page-about .about-hero-grid{
    grid-template-columns: 1fr;
  }

  body.page-about .ambassador-video-frame{
    width: min(92vw, 420px);
    aspect-ratio: 9 / 16;
    height: auto;
    max-width: none;
    margin: 18px auto 0;
  }

  body.page-about .ambassador-video-frame img.ambassador-video-poster,
  body.page-about .ambassador-video-frame video.ambassador-video{
    object-fit: contain;
    background: #000;
  }
}

@media (max-width: 768px){

  body.page-about{
    overflow-x: hidden;
  }

  body.page-about .about-hero-actions,
  body.page-about .about-hero-actions a,
  body.page-about .main-cta-buttons,
  body.page-about .main-cta-buttons a{
    max-width: 100%;
  }

  body.page-about .cta-button{
    white-space: normal !important;
    word-break: break-word;
    text-wrap: balance;
  }

  body.page-about .ambassador-play-button{
    max-width: calc(100% - 24px);
  }

  body.page-about .ambassador-play-button-label{
    white-space: normal !important;
  }

  body.page-about .about-hero-title,
  body.page-about .about-hero-subtitle{
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768px){

  body.page-about{
    overflow-x: clip;
  }

  body.page-about .about-hero-grid{
    width: 100%;
    max-width: 100%;
  }
  body.page-about .about-hero-main,
  body.page-about .about-hero-side{
    min-width: 0;
    max-width: 100%;
  }

  body.page-about .animate-on-scroll{
    transform: none !important;
  }

  body.page-about .about-hero-actions,
  body.page-about .about-hero-badge{
    max-width: 100%;
  }
  body.page-about .about-hero-actions a{
    max-width: 100%;
  }
}

@media (max-width: 768px){

  body.page-about .about-hero-side{
    align-items: center;
  }

  body.page-about .ambassador-video-frame{
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    width: min(92vw, 420px);
    max-width: 100% !important;
  }

  body.page-about .ambassador-video-frame img.ambassador-video-poster,
  body.page-about .ambassador-video-frame video.ambassador-video{
    display: block;
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 1025px){
  body.page-about .about-hero-badge{
    margin-top: 60px;
  }
}

body.page-about p,
body.page-about li,
body.page-about .section-subtitle,
body.page-about .service-item p,
body.page-about .about-col-card p,
body.page-about .about-service-card p,
body.page-about .about-video-text p,
body.page-about .faq-section .faq-answer,
body.page-about .about-hero-subtitle,
body.page-about .about-hero-badge-main{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}

@media (max-width: 420px){
  body.page-about p,
  body.page-about li,
  body.page-about .section-subtitle,
  body.page-about .service-item p,
  body.page-about .about-col-card p,
  body.page-about .about-service-card p,
  body.page-about .about-video-text p,
  body.page-about .faq-section .faq-answer,
  body.page-about .about-hero-subtitle,
  body.page-about .about-hero-badge-main{
    text-align: left;
  }
}

@media (max-width: 768px){

  body.page-about .about-hero-main p,
  body.page-about .about-us-intro-section p,
  body.page-about .services-overview-section p,
  body.page-about .service-item p,
  body.page-about .about-col-card p,
  body.page-about .about-service-card p,
  body.page-about .about-video-text p,
  body.page-about .faq-section .faq-answer,
  body.page-about .about-list li,
  body.page-about .about-hero-badge-main{
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
  }

  body.page-about h1,
  body.page-about h2,
  body.page-about h3{
    text-align: left !important;
  }
}

@media (max-width: 768px){

  body.page-about .about-hero-subtitle{
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
  }

  body.page-about .service-item p,
  body.page-about .about-col-card p,
  body.page-about .about-service-card p,
  body.page-about .about-video-text p,
  body.page-about .faq-section .faq-answer,
  body.page-about .about-list li{
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
  }

  body.page-about .about-hero-badge,
  body.page-about .about-hero-badge *{
    text-align: left !important;
    hyphens: none;
  }
}
