/* --- ABOUT HERO --- */
.about-hero {
    background-color: #A5A5A5;
    padding: 60px 20px 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-title {
    font-family: 'delio', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    color: #284A27;
    margin-bottom: 10px;
    z-index: 1;
    text-align: center;
}

.about-hero-logo {
    width: 60%;
    max-width: 500px;
    z-index: 2;
}

.about-background {
    background-color: #284A27;
    padding-bottom: 0px;
    display: flow-root;
}

/* --- YELLOW BANNER --- */
.yellow-banner {
    background-color: #D3A74D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    width: 90%;
    margin: -48px auto 48px auto;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    height: 96px;
}

.banner-text {
    font-family: 'Signaturide', sans-serif;
    color: #284A27;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    gap: 4px;
}

.banner-text-small { font-size: 1rem; font-weight: 800; }
.banner-text-large { font-size: 1.25rem; font-weight: 900; }

.banner-historia .banner-text-small { font-size: 1.3rem; font-weight: 900; }
.banner-historia .banner-text-large { font-size: 0.9rem; font-weight: 800; }

.banner-pattern-left {
    width: 32px;
    margin-left: 20px;
    align-self: stretch;
    background-image: conic-gradient(transparent 90deg, #1c331a 90deg 180deg, transparent 180deg 270deg, #1c331a 270deg);
    background-size: 32px 32px;
}

.banner-pattern-right {
    width: 32px;
    margin-right: 20px;
    align-self: stretch;
    background-image: conic-gradient(#1c331a 90deg, transparent 90deg 180deg, #1c331a 180deg 270deg, transparent 270deg);
    background-size: 32px 32px;
}

/* --- ABOUT CONTENT GRID --- */
.about-content-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 5px;
}

.about-row { display: flex; gap: 20px; align-items: stretch; }

.about-row-1 { gap: 55px; }
.about-row-1 .about-card-light { flex: 0 0 42%; min-height: 120px; align-self: center; }
.about-row-1 .about-placeholder { flex: 1; min-height: 320px; }

.about-row-2 { gap: 25px; }
.about-row-2 .about-placeholder { flex: 0 0 24%; min-height: 280px; }
.about-row-2 .about-card-dark {
    flex: 0 0 44%; min-height: 160px; max-height: 200px;
    align-self: center; margin-left: auto;
}

.about-row-3 .about-card-light { flex: 0 0 56%; min-height: 120px; align-self: center; }
.about-row-3 .about-placeholder { flex: 1; min-height: 300px; }

.about-card-light {
    background-color: #FFF0D0;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: -6px 6px 0px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-card-dark {
    background-color: #2A4E28;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: -6px 6px 0px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-placeholder {
    background-color: #7A7A7A;
    border-radius: 36px;
    box-shadow: -6px 6px 0px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
}

.about-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: inherit;
}

.about-double-placeholder { display: flex; gap: 12px; }

/* Card Typography */
.card-title-mustard {
    color: #CEA248;
    font-family: 'Signaturide', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title-light {
    color: #FFF0D0;
    font-family: 'Signaturide', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 2px;
    margin-top: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.card-text-dark {
    color: #1c331a;
    font-family: 'Signaturide', sans-serif;
    font-weight: 700;
    line-height: 1.5;
}

.card-text-light {
    color: rgba(255, 240, 208, 0.85);
    font-family: 'Signaturide', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

.text-xs { font-size: 0.7rem; }
.text-sm { font-size: 0.85rem; }
.text-md { font-size: 1rem; }
.mt-20 { margin-top: 16px; }
.mt-40 { margin-top: 40px; }
.text-gold { color: #CEA248; }

/* --- MARQUEES --- */
.about-marquee-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.about-marquee-block:first-of-type { margin-bottom: 60px; }

.about-marquee-label {
    text-align: center;
    font-family: 'Signaturide', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px #FFF0D0;
    letter-spacing: 0.08em;
}

.about-marquee-strip {
    background-color: #FFF0D0;
    width: 100%;
    padding: 12px 0;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;  
    white-space: nowrap;
}

.about-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}

/* Right → Left animation (first marquee) */
.marquee-rtl {
    animation: marquee-rtl 22s linear infinite;
}

/* Left → Right animation (second marquee) */
.marquee-ltr {
    animation: marquee-ltr 22s linear infinite;
}

@keyframes marquee-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marquee-ltr {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}


.about-marquee-content {
    display: flex;
    flex-shrink: 0;
    color: #CEA248;
    font-family: 'Signaturide', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.about-marquee-content span.sep {
    margin: 0 20px;
}


.about-marquee-strip:hover .about-marquee-track {
    animation-play-state: paused;
}

.about-checker-divider {
    width: 100%;
    height: 32px;
    background-image: conic-gradient(transparent 90deg, #FFF0D0 90deg 180deg, transparent 180deg 270deg, #FFF0D0 270deg);
    background-size: 32px 32px;
    margin: 0 0 80px 0;
}

.about-historia-section { text-align: center; margin-bottom: 60px; }

.about-historia-title {
    color: #FFF0D0;
    font-family: 'delio', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- TIMELINE --- */
.about-timeline-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 100px 0;
    overflow-x: hidden;
}

.timeline-row {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

.timeline-placeholder {
    flex: 0 0 25%;
    position: relative;
    display: flex;
    z-index: 2;
}

.timeline-placeholder .about-placeholder { flex: 1; min-height: 420px; }

.timeline-placeholder.left::before {
    content: "";
    position: absolute;
    right: 50%; top: 50%;
    transform: translateY(-50%);
    width: 100vw; height: 14px;
    background-color: #FFF0D0;
    z-index: -1;
}

.timeline-placeholder.right::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translateY(-50%);
    width: 100vw; height: 14px;
    background-color: #FFF0D0;
    z-index: -1;
}

.timeline-content {
    flex: 0 0 45%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
}

.timeline-title-light {
    color: #FFF0D0;
    font-family: 'Signaturide', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.timeline-title-gold {
    color: #CEA248;
    font-family: 'Signaturide', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.timeline-text {
    color: #FFF0D0;
    font-family: 'Signaturide', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
}

.timeline-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

/* --- WHY GIGI --- */
.about-why-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 5% 20px 5%;
}

.why-box {
    width: 100%;
    max-width: 1000px;
    background-color: #CEA248;
    border-radius: 40px;
    padding: 30px 40px 50px 40px;
    box-shadow: -6px 6px 0px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.why-title {
    color: #FFF0D0;
    font-family: 'Signaturide', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.why-box-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.why-inner-box {
    width: 55%;
    background-color: #2A4E28;
    border-radius: 15px;
    padding: 20px 40px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-logo {
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 200px;
    flex-shrink: 0;
    filter: drop-shadow(-4px 4px 0px rgba(0,0,0,0.3));
}

.why-inner-text {
    text-align: center;
    color: #CEA248;
    font-family: 'Signaturide', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    white-space: nowrap;
}

.why-icons {
    position: absolute;
    right: 60px; top: 50%;
    transform: translateY(-50%);
    width: 70px; height: 70px;
}

.why-icon-circle {
    width: 32px; height: 32px;
    background-color: #FFF0D0;
    border-radius: 50%;
    position: absolute;
    box-shadow: inset 0 0 0 2px #FFF0D0, inset 0 0 0 4px #2A4E28;
}

.why-icon-circle::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 2px; height: 10px;
    background-color: #2A4E28;
    transform-origin: top left;
    transform: rotate(220deg);
}

.why-icon-circle:nth-child(1) { top: -20px; right: -10px; }
.why-icon-circle:nth-child(2) { top: 15px; left: -10px; transform: scale(0.9); }
.why-icon-circle:nth-child(3) { bottom: -25px; right: -5px; }

.why-description {
    color: #FFF0D0;
    font-family: 'Signaturide', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --- ABOUT FOOTER --- */
.about-footer-gold {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #CEA248;
    font-family: 'Signaturide', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 30px 5% 40px 5%;
    box-sizing: border-box;
    margin: 0 auto;
}

.footer-gold-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CEA248;
    text-decoration: none;
}

.footer-gold-left svg { width: 30px; height: 30px; }

.footer-gold-center { letter-spacing: 0.1em; }

.footer-gold-right {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}



/* ---------- Small desktop / Tablet landscape ---------- */
@media (max-width: 1000px) {
    .about-content-grid { max-width: 780px; }
    .timeline-row { gap: 20px; }
    .why-inner-box { padding: 18px 25px; }
    .why-inner-text { font-size: 1.15rem; }
}

/* ---------- Tablet portrait ---------- */
@media (max-width: 900px) {
    .about-hero { padding: 50px 20px 85px 20px; }
    .about-hero-title { font-size: 3.6rem; }

    .about-marquee-label { font-size: 2.1rem; }
    .about-historia-title { font-size: 3.2rem; }

    .timeline-title-light { font-size: 1.8rem; }
    .timeline-title-gold { font-size: 2rem; }
    .timeline-text { font-size: 0.85rem; }

    .why-title { font-size: 1.8rem; }
    .why-inner-text { font-size: 1.05rem; }
}

/* ---------- Main mobile breakpoint ---------- */
@media (max-width: 768px) {

    /* HERO */
    .about-hero { padding: 40px 15px 70px 15px; }
    .about-hero-title { font-size: 2.6rem; margin-bottom: 6px; }
    .about-hero-logo { width: 78%; max-width: 320px; }

    /* YELLOW BANNER */
    .yellow-banner {
        height: auto;
        min-height: 78px;
        padding: 14px 0;
        margin: -35px auto 40px auto;
        border-radius: 10px;
        width: 92%;
    }

    .banner-text { padding: 0 8px; }
    .banner-text-small { font-size: 0.8rem; }
    .banner-text-large { font-size: 0.95rem; line-height: 1.25; }

    .banner-historia .banner-text-small { font-size: 1rem; }
    .banner-historia .banner-text-large { font-size: 0.78rem; }

    .banner-pattern-left,
    .banner-pattern-right {
        width: 22px;
        margin-left: 10px;
        margin-right: 10px;
        background-size: 22px 22px;
    }

    /* CONTENT GRID — stack rows vertically */
    .about-content-grid {
        width: 92%;
        max-width: 520px;
        margin: 25px auto 45px auto;
        gap: 18px;
        padding: 0;
    }

    .about-row {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    .about-row-2{
        flex-direction: column-reverse !important;
    }

    .about-row-1 .about-card-light,
    .about-row-1 .about-placeholder,
    .about-row-2 .about-placeholder,
    .about-row-2 .about-card-dark,
    .about-row-3 .about-card-light,
    .about-row-3 .about-placeholder {
        flex: 0 0 auto !important;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        align-self: stretch !important;
        min-height: auto;
    }

    .about-row-1 .about-placeholder,
    .about-row-2 .about-placeholder,
    .about-row-3 .about-placeholder {
        min-height: 220px;
        border-radius: 28px;
    }

    .about-row-2 .about-card-dark { max-height: none; }

    .about-card-light,
    .about-card-dark { padding: 24px 20px; }

    .card-title-mustard { font-size: 1.1rem; margin-bottom: 10px; }
    .card-title-light { font-size: 1.4rem; }

    .card-text-dark,
    .card-text-light { font-size: 0.82rem; }

    .text-xs { font-size: 0.75rem; }
    .text-sm { font-size: 0.8rem; }
    .text-md { font-size: 0.9rem; }

    /* MARQUEES */
    .about-marquee-block { margin-top: 28px; }
    .about-marquee-block:first-of-type { margin-bottom: 40px; }

    .about-marquee-label {
        font-size: 1.35rem;
        -webkit-text-stroke: 1px #FFF0D0;
        letter-spacing: 0.04em;
        padding: 0 10px;
    }

    .about-marquee-strip { padding: 9px 0; }
    .about-marquee-content { font-size: 0.95rem; }
    .about-marquee-content span.sep { margin: 0 10px; }

    /* CHECKER + HISTORIA */
    .about-checker-divider {
        height: 24px;
        background-size: 24px 24px;
        margin-bottom: 45px;
    }

    .about-historia-section { margin-bottom: 35px; padding: 0 15px; }
    .about-historia-title { font-size: 2.3rem; letter-spacing: 0.06em; }

    /* TIMELINE — stack vertically */
    .about-timeline-section {
        gap: 45px;
        padding: 55px 0;
    }

    .timeline-row {
        flex-direction: column;
        width: 92%;
        max-width: 520px;
        gap: 18px;
        align-items: center;
    }

    .timeline-placeholder {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .timeline-placeholder .about-placeholder {
        min-height: 220px;
        border-radius: 28px;
    }

    /* hide long horizontal white connector lines */
    .timeline-placeholder.left::before,
    .timeline-placeholder.right::before { display: none; }

    .timeline-content {
        flex: 0 0 auto;
        width: 100%;
        padding: 0 8px;
    }

    .timeline-title-light,
    .timeline-title-gold {
        font-size: 1.5rem;
        margin-bottom: 18px;
        text-align: center;
    }

    .timeline-text {
        font-size: 0.82rem;
        line-height: 1.55;
        margin-top: 12px;
    }

    /* remove hard line breaks so text wraps naturally on mobile */
    .timeline-text br { display: none; }

    .timeline-logo-img { max-width: 200px; height: auto; }

    .mt-40 { margin-top: 18px; }

    /* WHY GIGI — stack everything */
    .about-why-section { padding: 40px 4% 15px 4%; }

    .why-box {
        padding: 25px 20px 30px 20px;
        border-radius: 30px;
        margin-bottom: 28px;
    }

    .why-title { font-size: 1.5rem; margin-bottom: 12px; }

    .why-box-row {
        flex-direction: column;
        gap: 18px;
        padding-top: 10px;
    }

    .marquee-rtl,
    .marquee-ltr {
        animation-duration: 16s;  
    }
    .about-marquee-content {
        font-size: 0.95rem;
    }

    /* logo becomes static, above the inner box */
    .why-logo {
        position: static;
        transform: none;
        width: 140px;
        max-width: 60%;
        margin: 0 0 5px 0;
        order: -1;   /* keep the logo first visually */
    }

    .why-inner-box {
        width: 100%;
        padding: 18px 18px;
        min-height: auto;
    }

    .why-inner-text {
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.3;
    }

    /* show clock icons in a neat row */
    .why-icons {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 8px;
    }

    .why-icon-circle,
    .why-icon-circle:nth-child(1),
    .why-icon-circle:nth-child(2),
    .why-icon-circle:nth-child(3) {
        position: relative;
        top: auto; right: auto; bottom: auto; left: auto;
        transform: none;
    }

    .why-icon-circle:nth-child(2) { transform: scale(0.85); }

    .why-description {
        font-size: 0.9rem;
        line-height: 1.55;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .why-description br { display: none; }

    /* FOOTER — stack */
    .about-footer-gold {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 25px 5% 35px 5%;
        font-size: 0.95rem;
    }

    .footer-gold-right { align-items: center; text-align: center; }
    .footer-gold-left svg { width: 24px; height: 24px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
    .about-hero { padding: 30px 12px 55px 12px; }
    .about-hero-title { font-size: 2rem; }
    .about-hero-logo { width: 88%; max-width: 260px; }

    .yellow-banner { margin: -25px auto 30px auto; padding: 12px 0; }
    .banner-text-small { font-size: 0.7rem; }
    .banner-text-large { font-size: 0.8rem; }

    .banner-pattern-left,
    .banner-pattern-right {
        width: 18px;
        margin-left: 7px;
        margin-right: 7px;
        background-size: 18px 18px;
    }

    .about-content-grid { margin: 20px auto 40px auto; gap: 14px; }
    .about-row { gap: 14px !important; }

    .about-card-light,
    .about-card-dark { padding: 20px 16px; border-radius: 16px; }

    .card-title-mustard { font-size: 1rem; }
    .card-title-light { font-size: 1.15rem; }
    .card-text-dark,
    .card-text-light { font-size: 0.78rem; }

    .text-xs { font-size: 0.7rem; }
    .text-sm { font-size: 0.74rem; }
    .text-md { font-size: 0.82rem; }

    .about-row-1 .about-placeholder,
    .about-row-2 .about-placeholder,
    .about-row-3 .about-placeholder { min-height: 180px; }

    .about-marquee-label { font-size: 1.1rem; }
    .about-marquee-content { font-size: 0.82rem; }
    .about-marquee-content span.sep { margin: 0 8px; }

    .about-historia-title { font-size: 1.75rem; }

    .timeline-placeholder .about-placeholder { min-height: 180px; }
    .timeline-title-light,
    .timeline-title-gold { font-size: 1.25rem; }
    .timeline-text { font-size: 0.76rem; }
    .timeline-logo-img { max-width: 160px; }

    .why-box { padding: 20px 14px 25px 14px; }
    .why-title { font-size: 1.3rem; }
    .why-logo { width: 110px; }
    .why-inner-text { font-size: 0.85rem; }
    .why-description { font-size: 0.82rem; }

    .about-footer-gold { font-size: 0.82rem; }
    .footer-gold-left svg { width: 20px; height: 20px; }

    .banner-text{
        gap: 0px;
    }
       
}

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
    .about-hero-title { font-size: 1.6rem; }
    .banner-text-large { font-size: 0.72rem; }
    .banner-text-small { font-size: 0.62rem; }
    .about-historia-title { font-size: 1.5rem; }
    .timeline-title-light,
    .timeline-title-gold { font-size: 1.1rem; }
    .why-title { font-size: 1.15rem; }
    .why-inner-text { font-size: 0.78rem; }
}