﻿:root {
    --brand-dark-green: #1a4d2e;
    --brand-dark-red: #8b1538;
    --brand-gold: #b8860b;
    --brand-blue: #0a2540;
    --brand-light-blue: #4a90a4;
    --brand-white: #ffffff;
    --text-gray: #6b7280;
    --text-dark: #1f2937;
    --text-light: #9ca3af;
    --section-spacing: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--brand-white);
    color: var(--text-dark);
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0ibm9uZSIvPjxyZWN0IHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiIGZpbHRlcj0idXJsKCNub2lzZSkiLz48ZmlsdGVyIGlkPSJub2lzZSI+PGZkVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48L3N2Zz4=");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9000;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2rem;
    font-family: "Playfair Display", serif;
    color: var(--text-dark);
}

h2 strong {
    font-weight: 700;
    color: var(--text-dark);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.accent-text {
    color: var(--brand-gold);
    font-family: "Manrope", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-dark);
    border-radius: 50px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 30px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: transparent;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn:hover {
    border-color: var(--brand-gold);
    color: var(--text-dark);
}

.btn:hover::before {
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 50px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.admin-bar header {
    top: 32px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Playfair Display", serif;
}

.logo img {
    height: 58px;
    width: auto;
    margin-right: 15px;
}

.menu-toggle {
    width: 40px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.bar {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: 0.4s;
}

.bar:nth-child(2) {
    width: 70%;
}

.menu-toggle:hover .bar:nth-child(2) {
    width: 100%;
}

.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--brand-white);
    z-index: 99;
    transform: translateY(-100%);
    transition: 0.8s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-nav.active {
    transform: translateY(0);
}

body.menu-open header .menu-toggle {
    display: none;
}

.nav-list {
    list-style: none;
    text-align: center;
}

.nav-list a {
    font-size: 3rem;
    display: inline-block;
    margin: 10px 0;
    color: var(--text-light);
    transition: 0.3s;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    transition: width 0.3s;
}

.nav-list a:hover {
    color: var(--text-dark);
    transform: scale(1.1);
    text-decoration: none;
}

.nav-list a:hover::after {
    width: 100%;
}

.close-menu {
    position: fixed;
    top: 30px;
    right: 50px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 200;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.fullscreen-nav.active .close-menu {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: all !important;
    visibility: visible !important;
}

.close-menu:hover {
    color: var(--brand-gold);
    transform: scale(1.2);
}

.hero-section {
    min-height: 100vh;
    height: auto;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    padding-top: 100px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.slide-img,
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s, transform 6s;
}

.slide-img.active,
.slide-video.active {
    opacity: 1;
    transform: scale(1);
}

.hero-visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 60%, var(--brand-white) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 8vw;
    position: relative;
    background: var(--brand-white);
}

.section.featured-video-section {
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: auto;
    background: linear-gradient(180deg, #f8f8f6 0%, #ffffff 100%);
}

.section.featured-video-section--text-only {
    padding-top: 100px;
    padding-bottom: 100px;
}

.featured-video-copy {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.featured-video-copy p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

.featured-video-player {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--brand-gold);
    background: #000;
}

.featured-video-player video {
    width: 100%;
    display: block;
    height: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 300;
    font-family: "Playfair Display", serif;
    color: var(--text-dark);
}

.hero-content h1 strong {
    font-weight: 700;
    display: block;
}

.slide-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.progress-bar {
    width: 100px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    width: 0%;
}

.slide-next {
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: 0.3s;
    border: 0;
    background: none;
}

.slide-next:hover {
    color: var(--brand-gold);
}

.section {
    padding: var(--section-spacing) 50px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--brand-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.vertical-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    opacity: 0.5;
}

.about-left p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-dark);
}

.about-right p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.content-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.content-image-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 11, 0.45);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
    background: #f8f8f6;
    position: relative;
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
}

.content-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.18), rgba(255, 255, 255, 0) 48%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.content-image-card img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    will-change: transform;
}

.content-image-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-gold);
    box-shadow: 0 34px 75px rgba(0, 0, 0, 0.13);
}

.content-image-card:hover::after {
    opacity: 1;
}

.content-image-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.02);
    padding: 40px 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    transition: height 0.3s;
    z-index: 0;
    opacity: 0.1;
}

.stat-item:hover {
    border-color: var(--brand-gold);
    transform: translateY(-5px);
}

.stat-item:hover::before {
    height: 100%;
}

.stat-num {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: var(--brand-dark-green);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: 0.3s;
    cursor: pointer;
    gap: 20px;
    position: relative;
}

.service-item > div {
    flex: 1;
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 300;
    transition: 0.3s;
    font-family: "Playfair Display", serif;
    color: var(--text-dark);
    margin-bottom: 0;
}

.service-item span {
    font-family: "Manrope", sans-serif;
    color: var(--text-gray);
    opacity: 0.5;
    flex-shrink: 0;
}

.service-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    transition: width 0.3s;
    z-index: 2;
}

.service-item:hover h3 {
    color: var(--text-dark);
    padding-left: 20px;
}

.service-item:hover {
    border-bottom-color: transparent;
}

.service-item:hover::after {
    width: 100%;
}

.service-img-preview {
    height: clamp(420px, 39vw, 540px);
    min-height: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.5s;
}

.preview-img.active {
    opacity: 1;
    transform: scale(1.05);
}

.content-section {
    padding: 180px 50px 100px;
    min-height: 60vh;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.content-block {
    max-width: 880px;
}

.content-block h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.content-block .post-meta {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 18px;
}

.content-block .post-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.content-block .entry-content,
.content-block .entry-excerpt {
    color: var(--text-dark);
}

.content-block .entry-content p,
.content-block .entry-excerpt p {
    margin-bottom: 1rem;
}

.posts-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.3s, transform 0.3s;
}

.post-card-media {
    margin: -24px -24px 18px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 16 / 9;
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-4px);
}

.post-card h3 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.post-card p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

footer {
    padding: 80px 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-gray);
    background: #f9fafb;
}

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

.footer-logo {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: block;
    font-weight: 800;
    text-decoration: none;
}

.footer-col h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}

.footer-col a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to bottom, var(--brand-gold), transparent);
    transition: width 0.3s;
}

.footer-col a:hover {
    color: var(--text-dark);
}

.footer-col a:hover::after {
    width: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 901px) and (max-height: 800px) {
    .hero-section {
        padding-top: 120px;
        min-height: calc(100vh - 20px);
    }

    .hero-content {
        padding: 60px 8vw;
    }

    .section.featured-video-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 900px) {
    body.admin-bar header {
        top: 46px;
    }

    header {
        padding: 20px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh 50vh;
        height: auto;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section.featured-video-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section.featured-video-section--text-only {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .featured-video-copy p {
        font-size: 0.95rem;
    }

    .about-grid,
    .services-wrapper,
    .stats-grid,
    .footer-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .content-section,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vertical-line {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, var(--brand-gold), transparent);
        margin: 30px 0;
    }

    .content-image-grid {
        margin-top: 36px;
        grid-template-columns: 1fr;
    }

    .content-image-card img {
        height: 320px;
    }

    .service-img-preview {
        display: none;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-list a {
        font-size: 2rem;
    }

    .close-menu {
        top: 20px;
        right: 20px;
    }
}

.associados-section {
    padding-top: 160px;
}

.associados-hero {
    margin-bottom: 35px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 260px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
    font-family: "Manrope", sans-serif;
}

.search-input:focus {
    border-color: var(--brand-gold);
}

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

.member-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 290px;
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.member-avatar {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.member-name {
    font-size: 1.05rem;
    font-weight: 600;
}

.member-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-gray);
    font-size: 0.88rem;
}

.member-team {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(184, 134, 11, 0.12);
    color: var(--brand-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.load-more {
    margin: 40px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px;
    border: 1px solid var(--text-dark);
    background: transparent;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Manrope", sans-serif;
}

.load-more:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.no-results {
    color: var(--text-gray);
    margin-top: 30px;
}

.contact-section {
    padding-top: 160px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.contact-meta {
    margin-top: 24px;
    color: var(--text-gray);
}

.gold-underline-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.gold-underline-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--brand-gold);
    transition: width 0.3s ease;
}

.gold-underline-link:hover::after {
    width: 100%;
}

.contact-form-card p {
    margin-bottom: 15px;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
}

.contact-form-card input[type="submit"] {
    border-radius: 999px;
    border: 1px solid var(--text-dark);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-card input[type="submit"]:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.posts-grid .post-card .post-card-arrow {
    display: inline-block;
    color: var(--brand-gold);
    font-size: 1.2rem;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

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