/* ============================================================
   PODSTRONA O NAS — pełny redesign
   ============================================================ */

/* --- Reveal utility --- */

.about-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-reveal.is-visible { opacity: 1; transform: translateY(0); }
.about-reveal.delay-1    { transition-delay: 0.12s; }
.about-reveal.delay-2    { transition-delay: 0.24s; }

/* ---- HERO -------------------------------------------------- */

.about-hero {
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
}

/* Floaters */
.about-hero-floaters {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.6s ease;
}

.about-hero-floaters.is-hidden { opacity: 0; }

.about-hero-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-yellow);
    filter: blur(22px);
    opacity: 0.28;
    animation: about-hero-float ease-in-out infinite;
}

.about-hero-dot.dot-a { width: 220px; height: 220px; top: 6%;    left: 5%;   animation-duration: 26s; animation-delay: 0s; }
.about-hero-dot.dot-b { width: 130px; height: 130px; top: 52%;   left: 20%;  animation-duration: 22s; animation-delay: -7s; }
.about-hero-dot.dot-c { width: 260px; height: 260px; top: 4%;    right: 3%;  animation-duration: 30s; animation-delay: -14s; }
.about-hero-dot.dot-d { width: 100px; height: 100px; bottom: 10%; right: 25%; animation-duration: 19s; animation-delay: -4s; }

@keyframes about-hero-float {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(18px, 14px) scale(1.05); }
    50%  { transform: translate(-12px, 24px) scale(0.97); }
    75%  { transform: translate(-22px, -10px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* Stagger reveal dla hero */
.about-hero-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: about-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-hero-reveal.d1 { animation-delay: 0.05s; }
.about-hero-reveal.d2 { animation-delay: 0.2s; }
.about-hero-reveal.d3 { animation-delay: 0.36s; }
.about-hero-reveal.d4 { animation-delay: 0.52s; }
.about-hero-reveal.d5 { animation-delay: 0.64s; }
.about-hero-reveal.d6 { animation-delay: 0.76s; }

@keyframes about-hero-in {
    to { opacity: 1; transform: translateY(0); }
}

.about-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 68px;
    line-height: 1.06;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.about-hero-content h1 em {
    font-style: italic;
    color: var(--accent-yellow);
    -webkit-text-stroke: 1px rgba(55, 70, 43, 0.4);
}

.about-hero-content p {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(74, 74, 74, 0.72);
    max-width: 660px;
    margin: 0 auto;
}

.about-hero-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.about-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    border: 1px solid rgba(55, 70, 43, 0.16);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(55, 70, 43, 0.65);
    background: rgba(253, 249, 241, 0.6);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.about-hero-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-yellow);
    flex-shrink: 0;
}

.about-hero-pill:hover {
    border-color: rgba(55, 70, 43, 0.35);
    color: var(--text-green-dark);
    background: rgba(253, 249, 241, 0.9);
}

/* OTO jako watermark za treścią hero */
.about-hero::after {
    content: 'OTO';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 240px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(55, 70, 43, 0.055);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -4px;
}

/* ---- MARQUEE ----------------------------------------------- */

.about-marquee {
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid rgba(55, 70, 43, 0.08);
    border-bottom: 1px solid rgba(55, 70, 43, 0.08);
    margin-bottom: 100px;
}

.about-marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: about-marquee-scroll 32s linear infinite;
}

.about-marquee-track span {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-green-dark);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.about-marquee-dot {
    color: var(--accent-yellow) !important;
    font-size: 20px !important;
}

@keyframes about-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ---- KIM JESTEŚMY ------------------------------------------ */

.about-main {
    padding: 90px 0 100px;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.about-image-box {
    position: relative;
    height: 520px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(55, 70, 43, 0.12);
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-box:hover img { transform: scale(1.04); }

/* Nakładka z tekstem rok/lokalizacja */
.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(253, 249, 241, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 70, 43, 0.1);
    border-radius: 16px;
    padding: 14px 22px;
    display: flex;
    gap: 20px;
}

.about-image-badge span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(55, 70, 43, 0.7);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.about-image-badge span strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-green-dark);
    letter-spacing: 0;
    text-transform: none;
}

/* Tekstowa strona */
.about-text-box {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    overflow: visible;
}

/* Żółta linia akcentu przed nagłówkiem */
.about-text-box::before {
    display: none;
}

.about-small-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(55, 70, 43, 0.55);
}

.about-text-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 28px;
}

/* Żółta kreska pod tytułem */
.about-text-box h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-text-box:hover h2::after { width: 100px; }

.about-text-box p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(74, 74, 74, 0.76);
    margin-top: 24px;
    margin-bottom: 0;
}

/* ---- CO ROBIMY — ciemne karty ----------------------------- */

.about-actions {
    padding: 0 0 110px;
}

.about-actions-intro {
    max-width: 680px;
    margin: 0 auto 64px;
    text-align: center;
}

.about-actions-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-top: 8px;
}

/* Siatka — połączone ciemne kafelki jak w sekcji CEL */
.about-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(55, 70, 43, 0.08);
    border-radius: 28px;
    overflow: hidden;
}

.about-action-card {
    position: relative;
    padding: 48px 40px;
    background-color: var(--text-green-dark);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: background-color 0.35s ease,
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.about-action-card:hover {
    background-color: rgba(40, 54, 30, 0.95);
    transform: translateY(-8px);
    box-shadow: 0 28px 52px rgba(55, 70, 43, 0.28);
}

/* Żółta linia od góry na hover */
.about-action-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0;
}

.about-action-card:hover::before { width: 100%; }

/* Watermark numer */
.about-action-card::after {
    content: attr(data-num);
    position: absolute;
    bottom: -20px; right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 140px;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(253, 249, 241, 0.07);
    pointer-events: none;
    user-select: none;
}

.about-action-card > span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(255, 214, 68, 0.7);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.about-action-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.about-action-card p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(253, 249, 241, 0.6);
    position: relative;
    z-index: 1;
    flex: 1;
}

/* ---- DLACZEGO — editorial pełna szerokość ---------------- */

.about-why {
    padding: 0 0 110px;
}

.about-why-box {
    position: relative;
    background: none;
    border: none;
    border-radius: 0;
    overflow: visible;
    max-width: none;
    padding: 0;
    display: block;
}

/* Pełna szerokość — centered editorial */
.about-why-inner {
    background-color: var(--text-green-dark);
    border-radius: 32px;
    padding: 100px 80px;
    text-align: center;
    overflow: hidden;
    position: relative;
    display: block;
}

/* Crosshatch tło */
.about-why-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(253, 249, 241, 0.03) 0px,
            rgba(253, 249, 241, 0.03) 1px,
            transparent 1px,
            transparent 56px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(253, 249, 241, 0.03) 0px,
            rgba(253, 249, 241, 0.03) 1px,
            transparent 1px,
            transparent 56px
        );
    pointer-events: none;
}

/* Wielki cudzysłów za tekstem */
.about-why-mark {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 320px;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 214, 68, 0.1);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.about-why-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.about-why-content .about-small-label {
    color: rgba(255, 214, 68, 0.7);
}

/* Żółta kreska oddzielająca label od tytułu */
.about-why-content .about-small-label::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent-yellow);
    margin: 12px auto 20px;
    border-radius: 2px;
}

.about-why-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--bg-cream);
    margin-bottom: 28px;
}

.about-why-content p {
    font-size: 18px;
    line-height: 1.85;
    color: rgba(253, 249, 241, 0.6);
    margin-bottom: 0;
}

/* ---- CTA --------------------------------------------------- */

.about-cta {
    padding: 0 0 130px;
}

.about-cta-box {
    position: relative;
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(255, 214, 68, 0.18) 0%,
        rgba(255, 214, 68, 0.06) 60%,
        transparent 100%
    );
    border: 1px solid rgba(55, 70, 43, 0.12);
    box-shadow: 0 2px 40px rgba(55, 70, 43, 0.05);
}

/* Dekoracyjny wodoznak */
.about-cta-box::before {
    content: 'OTO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 220px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(55, 70, 43, 0.05);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.about-cta-box::after { display: none; }

.about-cta-box h2 {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-green-dark);
    margin-bottom: 20px;
}

.about-cta-box p {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(74, 74, 74, 0.7);
    max-width: 580px;
    margin: 0 auto 36px;
}

.about-cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.about-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-green-dark);
    text-decoration: none;
    border: 1px solid rgba(55, 70, 43, 0.22);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-link-btn:hover {
    background-color: rgba(55, 70, 43, 0.06);
    border-color: rgba(55, 70, 43, 0.4);
}

/* ---- RESPONSYWNOŚĆ ----------------------------------------- */

@media (max-width: 1000px) {
    .about-hero-content h1 { font-size: 52px; }

    .about-main-grid { grid-template-columns: 1fr; }

    .about-actions-grid { grid-template-columns: 1fr; }

    .about-why-inner { padding: 70px 48px; }
    .about-why-content h2 { font-size: 40px; }

    .about-actions-intro h2 { font-size: 44px; }

    .about-hero-stats { flex-wrap: wrap; }
    .about-hero-stat { max-width: 160px; }
}

@media (max-width: 650px) {
    .about-hero { padding: 90px 0 40px; }
    .about-hero-content h1 { font-size: 42px; }
    .about-hero-stats { gap: 20px; flex-direction: column; align-items: center; }
    .about-hero-stat { border-right: none; border-bottom: 1px solid rgba(55,70,43,0.1); padding: 16px 0; }
    .about-hero-stat:last-child { border-bottom: none; }

    .about-main { padding: 60px 0 80px; }
    .about-image-box { height: 340px; }
    .about-text-box h2 { font-size: 36px; }

    .about-action-card { padding: 36px 28px; }
    .about-action-card h3 { font-size: 26px; }

    .about-why-inner { padding: 60px 28px; border-radius: 24px; }
    .about-why-content h2 { font-size: 34px; }
    .about-why-mark { font-size: 200px; }

    .about-cta-box { padding: 56px 28px; border-radius: 24px; }
    .about-cta-box h2 { font-size: 38px; }
    .about-cta-buttons { flex-direction: column; }
}
