/* =========================================
   FONTS (LOCAL)
   ========================================= */
@font-face {
    font-family: 'Mermaid1001';
    src: url('assets/fonts/Mermaid1001.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --green-dark:    #1B3B27;
    --green-deep:    #0f2318;
    --green-mid:     #2d6e47;
    --green-light:   #eaf2e5;
    --green-pale:    #f4f9f1;
    --gold:          #c9a850;
    --gold-light:    #e2c47a;
    --white:         #ffffff;
    --text-dark:     #1a1a1a;
    --text-muted:    #5a6e60;
    --font-head:     'Mermaid1001', serif;
    --font-body:     'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.65;
    background-image: url('fondoweb-01.svg');
    background-repeat: repeat;
    background-size: auto;
    background-color: #f4f9f1;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    height: 913px;
    padding-bottom: 130px;
    background-image: url('assets/images/background-hero-03.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 12, 0.31) 100%;
}

.overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem 1.5rem;
    max-width: 76%;
    width: 100%;
}

.overlay h1 {
    font-family: var(--font-head);
    font-size: clamp(2.64rem, 6vw, 4.8rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.overlay p {
    font-family: var(--font-body);
    font-size: clamp(3.2rem, 2.4vw, 1.68rem);
    font-weight: 500;
    margin-bottom: 2.8rem;
    opacity: 0.92;
    letter-spacing: 0.3px;
    line-height: 46px;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-dark {
    display: inline-block;
    background: #0C3725;
    color: var(--white);
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: background 0.28s, border-color 0.28s, transform 0.2s;
    box-shadow: 4px -3px #8CC63F;
}

.btn-dark:hover {
    background: #0a2e1f;
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

/* =========================================
   SERVICES CARDS
   ========================================= */
.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 280px);
    gap: 1.8rem;
    padding: 0 6% 1rem;
    background: transparent;
    position: relative;
    z-index: 10;
    margin-top: -110px;
    justify-content: center;
}

.card {
    width: 280px;
    height: 202px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 6px -6px 0 #8CC63F;
    transition: transform 0.28s;
    flex-shrink: 0;
}

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

.card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    color: inherit;
}

.card-header {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.card-header h4 {
    font-family: var(--font-body);
    font-size: 1.6rem;
    color: var(--green-dark);
    line-height: 1.2;
    margin: 0;
}

.card-content {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.benefits-section {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #123a18;
}
.benefits-section .bg-video{
    opacity: 0.7;
}
.benefits-list li span, .benefits-list li img {
  filter: drop-shadow(3px 3px 8px black);
}
.benefits-columns {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
  justify-content: end;
}

.benefits-list {
    background: transparent;
    color: var(--text-dark);
    padding: 5rem 8% 5rem 7%;
    display: flex;
    align-items: center;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.benefits-list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(27, 59, 39, 0.1);
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    object-fit: contain;
    display: block;
}

.benefits-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 10px;
    transition: transform 0.5s;
}

.benefits-image:hover img {
    transform: scale(1.02);
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-section {
    background-image: url('assets/images/fondo-seccion-pilares.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--green-light);
    padding: 123px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.process-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
}

/* 5 Pillar cards */
.process-pillars {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.pillar-card {
    flex: 1;
    min-width: 197px;
    max-width: 218px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 2rem 1.2rem;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 304px;
    justify-content: center;
}

.pillar-card img {
    width: 50px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 19px;
}

.pillar-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
}

.pillar-card h3 strong {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
}

.pillar-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.55;
    opacity: 0.9;
    margin: 0;
}

.pillar-card p small {
    display: block;
    font-size: 0.56rem;
    opacity: 0.82;
    margin-top: 0.3rem;
    line-height: 1.5;
}

/* Process Legacy sub-section */
.process-legacy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    background: #011714;
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 2.5rem 3.5rem;
    margin-bottom: 3.5rem;
    width: 944px;
    max-width: 100%;
    flex-wrap: wrap;
}

.process-legacy p {
  color: white;
}

.process-legacy > img {
    width: 110px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.process-legacy-text {
    text-align: left;
    flex: 1;
    min-width: 200px;
}

.process-legacy-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--white);
    margin-bottom: 0;
}

.gold-text {
    color: #E19B44;
    font-style: italic;
    font-weight: 600;
}

.btn-legacy-club {
    display: inline-block;
    background: #F8C55C;
    color: #041713;
    text-decoration: none;
    padding: 0.875rem 2.2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 4px -4px 0 rgba(0, 0, 0, 0.18);
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-legacy-club:hover {
    background: #e6b040;
    transform: translateY(-2px);
}

/* Process 4-column icons row */
.process-icons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-icon-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.process-icon-col img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.process-icon-col span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    line-height: 1.4;
}

/* =========================================
   INVESTOR SECTION
   ========================================= */
.investor-section {
    background-image: url('assets/images/fondoinvestors.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;
    gap: 2rem;
    position: relative;
    height: 100vh;
}

.investor-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.11);
    pointer-events: none;
}

.investor-section img {
    position: relative;
    z-index: 1;
    width: 600px;
    max-width: 90%;
    height: auto;
}

.btn-investor {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #0C3725;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2.8rem;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    box-shadow: 6px -6px 0 #8CC63F;
    transition: background 0.25s, transform 0.2s;
}

.btn-investor:hover {
    background: #0a2e1f;
    transform: translateY(-2px);
}

.investor-text {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.92;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    background-color: var(--green-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 6%;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 2rem;
}

.stats-subtitle {
    text-align: center;
    color: var(--white);
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: normal;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    margin-top: 1rem;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 110, 71, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item + .stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.92rem, 3.6vw, 2.88rem);
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.stat-item span {
    display: block;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.14rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* =========================================
   PARTNERS SECTION
   ========================================= */
.partners-section {
    background-image: url('assets/images/benefitsactionbackground-02.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5.5rem 6%;
}

.partners-section h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.35;
}

.partners-content {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.side-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-shrink: 0;
}

.side-buttons button {
    background: transparent;
    border: 2px solid var(--green-dark);
    color: var(--green-dark);
    padding: 0.75rem 2.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.14rem;
    font-weight: 700;
    transition: all 0.25s;
    min-width: 150px;
    letter-spacing: 0.3px;
}

.side-buttons button.active,
.side-buttons button:hover {
    background: var(--green-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27, 59, 39, 0.28);
}

.logo-display {
    overflow: hidden;
    max-width: 700px;
    flex: 1;
    min-height: 80px;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 14s linear infinite;
}

.logo-display:hover .logo-track {
    animation-play-state: paused;
}

.logo-display img {
    height: 67px;
    max-width: 192px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.hidden {
    display: none !important;
}

/* =========================================
   LEADERSHIP — BANNER
   ========================================= */
.leadership-banner {
    background: var(--green-dark);
    padding: 1rem 6%;
    text-align: center;
}

.banner-title {
    font-family: var(--font-head);
    font-size: clamp(2.16rem, 3.2vw, 3.6rem);
    color: var(--white);
    letter-spacing: -0.5px;
}

/* =========================================
   LEADERSHIP — PROFILE
   ========================================= */
.leadership-profile {
    background-image: url(assets/images/groups-background-20.jpg);
    background-size: cover;
    padding: 6rem 6%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.profile-card img {
    width: 82%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.profile-card h3 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0;
}

.profile-card p {
    font-family: var(--font-body);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.55;
    margin: 0;
}

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */
@media (max-width: 1024px) {
    .services-cards {
        grid-template-columns: repeat(2, 280px);
        padding: 0 5% 13rem;
        margin-top: -80px;
    }

    .process-pillars {
        gap: 0rem;
    }

    .process-icons-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-profile {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .benefits-columns {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        padding: 3.5rem 7%;
    }

    .partners-content {
        flex-direction: column;
        align-items: center;
    }

    .side-buttons {
        flex-direction: row;
    }

    .logo-display {
        max-width: 100%;
        width: 100%;
    }

    .leadership-profile {
        grid-template-columns: 1fr;
        
        gap: 3rem;
    }

    .process-legacy {
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .process-legacy-text {
        text-align: center;
    }

    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-top: 1.5rem;
        padding-left: 0;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 540px) {
    .services-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.2rem;
        padding: 0 5% 2.5rem;
        margin-top: -60px;
    }

    .card {
        width: 100%;
        height: auto;
        min-height: 202px;
    }

    .stats-bar {
        gap: 1.5rem;
        padding: 3rem 5%;
    }

    .process-section {
        padding: 3.5rem 5%;
    }

    .process-pillars {
        flex-direction: column;
        align-items: center;
    }

    .pillar-card {
        max-width: 100%;
        width: 100%;
    }

    .process-icons-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .overlay h1 {
        font-size: 1.9rem;
    }

    .overlay p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-dark {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* =========================================
   FOOTER
   ========================================= */
.agro-footer {
    background-color: #042418;
    color: #ffffff;
    padding: 60px 40px 20px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-info {
    flex: 1 1 350px;
}

.footer-logo {
    margin-bottom: 20px;
}

.logo-text {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #c9a44c;
}

.logo-subtext {
    display: block;
    font-size: 22px;
    margin-top: -5px;
    color: #c9a44c;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 25px;
    max-width: 450px;
}

.footer-socials a {
    color: #c9a44c;
    font-size: 20px;
    margin-right: 20px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.footer-links {
    flex: 1 1 150px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #eeeeee;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #c9a44c;
}

.highlight-link a {
    color: #c9a44c !important;
    font-style: italic;
    font-weight: bold;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 768px) {
    .agro-footer {
        padding: 40px 20px 20px 20px;
    }

    .footer-container {
        flex-direction: column;
    }
}

/* =========================================
   POPUP ANDREINA
   ========================================= */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    position: relative;
    border-radius: 19px;
    overflow: hidden;
    max-width: 653px;
    width: 100%;
    background-image: url('assets/images/imagen fondo popup-02');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.94);
    transition: transform 0.25s ease;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.65);
}

.popup-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem 2.8rem;
    background-image: url('assets/images/imagen-fondo-popup-02.jpg');
    flex-direction: column;
}

.popup-photo {
    flex-shrink: 0;
    width: 200px;
}

.popup-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.popup-text {
    text-align: center;
    color: #1B3B27;
}

.popup-text p {
    font-family: var(--font-body);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.popup-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .popup-inner {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .popup-photo {
        width: 140px;
    }
}

/* =========================================
   BACKGROUND VIDEO
   ========================================= */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   INTRO SECTION
   ========================================= */

/* Legacy CSS variables (scoped to intro) */
.intro-section,
.intro-nav-menu {
    --intro-dark:       hsl(215deg 100% 9.41%);
    --intro-gold:       #d4af37;
    --intro-gold-acc:   #b8941f;
    --intro-gold-grad:  linear-gradient(135deg, #d4af37, #b8941f);
    --intro-white:      #ffffff;
    --intro-gray:       #f8f9fa;
    --intro-border:     rgba(212, 175, 55, 0.25);
    --intro-radius-sm:  4px;
    --intro-radius-md:  8px;
    --intro-trans:      0.25s ease;
}

/* ── Container ── */
.intro-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 160px;
    min-height: 89vh;
    background-color: var(--intro-dark);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 100vh;
    
}

/* dark green overlay over bg video */
.intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 30, 12, 0.21);
    pointer-events: none;
    z-index: 1;
}

/* ── Col left ── */
.intro-col-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 2.2rem 3rem 2.2rem 3rem;
}

/* Row 1: logo + controls */
.intro-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.intro-logo img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.intro-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language toggle */
.intro-lang-toggle {
    display: flex;
    gap: 3px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--intro-border);
    border-radius: var(--intro-radius-md);
    padding: 3px;
}

.intro-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 11px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--intro-trans);
}

.intro-lang-btn:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.2);
}

.intro-lang-btn.intro-lang-active {
    background: var(--intro-gold-grad);
    color: #1a1a1a;
}

/* Hamburger toggle */
.intro-hamburger-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--intro-border);
    border-radius: var(--intro-radius-md);
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--intro-trans);
}

.intro-hamburger-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--intro-gold);
}

.intro-hamburger-btn img {
    width: 32px;
    height: auto;
    display: block;
}

/* ── Nav dropdown ── */
.intro-nav-menu {
    position: absolute;
    top: 100px; /* below nav row */
    left: 3rem;
    right: 3rem;
    z-index: 20;
    background: rgba(5, 14, 9, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--intro-border);
    border-radius: var(--intro-radius-md);
    padding: 1.4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
}

.intro-nav-menu.intro-nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.intro-nav-row-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
}

.intro-nav-row-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    align-items: center;
    padding-top: 0.6rem;
    border-top: 1px solid var(--intro-border);
}

.intro-nav-link-main {
    text-decoration: none;
    color: var(--intro-white);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    padding: 4px 0;
    position: relative;
    transition: color var(--intro-trans);
}

.intro-nav-link-main::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--intro-gold);
    transition: width var(--intro-trans);
}

.intro-nav-link-main:hover { color: var(--intro-gold); }
.intro-nav-link-main:hover::after { width: 100%; }

.intro-nav-link-cta {
    text-decoration: none;
    background: var(--intro-gold-grad);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 16px;
    border-radius: var(--intro-radius-md);
    transition: var(--intro-trans);
}

.intro-nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.intro-nav-link-sec {
    text-decoration: none;
    color: rgba(248, 249, 250, 0.8);
    font-size: 0.78rem;
    padding: 4px 9px;
    border: 1px solid var(--intro-border);
    border-radius: var(--intro-radius-sm);
    background: rgba(212, 175, 55, 0.05);
    transition: var(--intro-trans);
    white-space: nowrap;
}

.intro-nav-link-sec:hover {
    color: var(--intro-gold);
    border-color: var(--intro-gold);
    background: rgba(212, 175, 55, 0.12);
    text-decoration: none;
}

/* Row 2: tagline */
.intro-tagline-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.intro-tagline {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.2vw, 3.2rem);
    color: var(--white);
    text-align: center;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
    line-height: 1.35;
}

/* ── Col right: vertical ticker ── */
.intro-col-right {
    position: relative;
    z-index: 2;
    background: rgba(5, 14, 9, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid var(--intro-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.intro-financial-ticker {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 12px;
    font-family: var(--font-body, sans-serif);
    color: var(--intro-gray);
}

/* Pause button */
.intro-ticker-pause {
    background: none;
    border: none;
    border-bottom: 1px solid var(--intro-border);
    cursor: pointer;
    padding: 8px;
    color: var(--intro-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--intro-trans);
}

.intro-ticker-pause:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Scrolling track */
.intro-ticker-track-v {
    display: flex;
    flex-direction: column;
    animation: introTickerScrollV 36s linear infinite;
    flex-shrink: 0;
}

.intro-financial-ticker.intro-ticker-paused .intro-ticker-track-v,
.intro-financial-ticker:hover .intro-ticker-track-v {
    animation-play-state: paused;
}

@keyframes introTickerScrollV {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Ticker item */
.intro-ticker-item-v {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    text-decoration: none;
    color: inherit;
    transition: background var(--intro-trans);
}

a.intro-ticker-item-v:hover {
    background: rgba(212, 175, 55, 0.08);
}

.intro-ticker-label {
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: rgba(212, 175, 55, 0.9);
    text-transform: uppercase;
    white-space: nowrap;
}

.intro-ticker-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    white-space: nowrap;
}

.intro-ticker-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--intro-white);
}

.intro-ticker-change {
    font-size: 11px;
    font-weight: 500;
}

.intro-ticker-change.positive { color: #4caf76; }
.intro-ticker-change.negative { color: #e05252; }

/* Env items slightly different accent */
.intro-ticker-env-item .intro-env-label {
    color: rgba(80, 200, 120, 0.9);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .intro-section {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .intro-col-right {
        border-left: none;
        border-top: 1px solid var(--intro-border);
        height: 160px;
    }

    .intro-ticker-track-v {
        flex-direction: row;
        animation: introTickerScrollH 30s linear infinite;
    }

    .intro-financial-ticker.intro-ticker-paused .intro-ticker-track-v,
    .intro-financial-ticker:hover .intro-ticker-track-v {
        animation-play-state: paused;
    }

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

    .intro-ticker-item-v {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
        border-bottom: none;
        border-right: 1px solid rgba(212, 175, 55, 0.12);
        flex-shrink: 0;
    }

    .intro-col-left {
        padding: 1.6rem 1.5rem;
    }

    .intro-nav-menu {
        left: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 600px) {
    .intro-col-left {
        padding: 1.2rem 1rem;
    }

    .intro-logo img {
        max-height: 52px;
    }

    .intro-tagline {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .intro-nav-menu {
        left: 1rem;
        right: 1rem;
        top: 80px;
    }
}

/* =========================================
   CUSTOM BREAKPOINTS — STAT-ITEM & EXTRAS
   ========================================= */

/* Hide mobile line breaks by default */
.mobile-br {
    display: none;
}

/* 1120px breakpoint */
@media (max-width: 1120px) {
    .stat-item strong {
        font-size: 30px;
    }
}

/* Tablet ≤ 768px */
@media (max-width: 768px) {
    .stat-item strong {
        font-size: 17px;
    }
}

/* Mobile ≤ 540px */
@media (max-width: 540px) {
    .stat-item strong {
        font-size: 37px;
    }

    .btn-legacy-club {
        font-size: 17px;
    }

    .btn-dark {
        font-size: 1.3rem;
    }

    .mobile-br {
        display: inline;
    }
}
