:root {
    --primary: #F2994A;
    --primary-dark: #cc7a2b;
    --primary-light: rgba(242, 153, 74, 0.1);
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #4a4a4a;
    --text-muted: #666;
    --white: #ffffff;
    --black: #000000;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --container-width: 1140px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .proa-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.align-start {
    align-items: start;
}

.highlight {
    color: var(--primary);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    color: var(--white); /* Ensure text is white at the top */
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    color: var(--text); /* Change to dark text when scrolled over light sections */
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 0.95rem; /* Tamaño fijo para consistencia */
}

.nav-links .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px; /* More rounded for a premium feel in the header */
}

.nav-links a:not(.btn):hover,
/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.lang-dropdown {
    position: absolute;
    top: 100%; /* Ajustado para eliminar el gap */
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.8rem; /* Un poco más de aire para el interactuable */
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 150px;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.lang-switcher:hover .lang-dropdown {
    display: flex;
}

.lang-dropdown li {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
}

.lang-dropdown li:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 153, 74, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #000;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

/* Hero Slider Base */

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem; /* Even lower */
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width); /* Align with Logo */
    margin: 0 auto;
    padding-bottom: 3rem;
    text-align: left;
}

.hero-title {
    font-size: 2.6rem !important; /* Incrementado un 30% */
    line-height: 1.1;
    margin-bottom: 1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.slide.active .hero-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: 1rem; /* Reduced further */
    margin-bottom: 2rem;
    max-width: 450px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.6s;
    line-height: 1.4;
}

.slide.active .hero-subtitle {
    transform: translateY(0);
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.8s;
}

.slide.active .hero-btns {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 5rem;
    right: 5rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-controls button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    color: var(--white); /* Explicit white color */
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor; /* Inherits from header color */
    transition: var(--transition);
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--white);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* About Section */
.about {
    padding: 10rem 0;
}

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

.about h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.image-box {
    position: relative;
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Changed to square for a more modern, balanced look */
    background: #eee;
    border-radius: 40px; /* More rounded */
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.placeholder-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../assets/PEDIDO13%20(4).jpg') center/cover;
    transition: transform 0.5s ease;
}

.placeholder-img:hover::after {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.orange-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
}

/* Causes Section */
.causes {
    padding: 8rem 0;
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.cause-card {
    background: var(--white);
    padding: 2.5rem 1rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cause-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.cause-card > * {
    position: relative;
    z-index: 1;
}

.cause-card:hover, .cause-card.active {
    transform: translateY(-15px) scale(1.02);
    color: var(--white);
    box-shadow: 0 30px 60px rgba(242, 153, 74, 0.25);
}

.cause-card:hover::before, .cause-card.active::before {
    opacity: 1;
}

.cause-icon {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
}

.cause-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* Filter to turn black to #F2994A (Approximate) */
    filter: invert(72%) sepia(21%) saturate(2335%) hue-rotate(345deg) brightness(101%) contrast(91%);
    transition: var(--transition);
}

.cause-card:hover .cause-img, 
.cause-card.active .cause-img {
    filter: brightness(0) invert(1); /* Turn white on hover */
    transform: translateY(-5px);
}

.cause-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cause-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cause-card.active p {
    opacity: 1;
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.partners-title {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.partner-img {
    max-height: 70px; /* Increased from 45px */
    width: auto;
    max-width: 220px; /* Increased from 160px */
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--transition);
}

.partner-img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Team CTA */
.team-cta {
    padding: 6rem 0;
}

.team-cta-box {
    background: var(--primary);
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem); /* Scaled down */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* Scaled down */
    margin-bottom: 3rem;
    max-width: 650px; /* Limit text width here, not in container */
    font-weight: 300;
    line-height: 1.5;
}

.team-cta-footer {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 1;
}

.team-btn {
    background: var(--white) !important;
    color: var(--primary) !important;
    border-radius: 12px;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-icon {
    font-size: 1.4rem;
}

.team-cta-image {
    width: 100%;
    display: flex;
    align-items: center;
}

.team-cta-image img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height to prevent box from being too tall */
    object-fit: cover;
    object-position: top; /* Prioritize the top where faces usually are */
    border-radius: 24px;
}

@media (max-width: 992px) {
    .team-cta-box {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2rem;
    }
}

/* Marquee Divider */
.marquee-divider {
    overflow: hidden;
    background: var(--bg-alt);
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    transform: rotate(-1deg); /* Slight rotation for a professional edge */
    width: 110%;
    margin-left: -5%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span, .marquee-dot {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 1;
    padding: 0 1.5rem; /* Reduced padding for better flow with dots */
    letter-spacing: 1px;
}

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

/* Contact Section */
.contact {
    padding: 8rem 0 10rem; /* Adjusted since marquee takes space */
}

.contact .grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
}

.contact h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 400px;
}

.contact-list {
    margin-top: 2rem;
}

.contact-list li {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: 40px; /* Modern rounded corners */
    box-shadow: 0 40px 100px rgba(0,0,0,0.06); /* Softer, premium shadow */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.btn-block {
    width: 100%;
}

/* Footer - Restored Original Design */
footer {
    padding: 5rem 0;
    background: var(--primary);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-img-footer {
    height: 50px;
    filter: brightness(0) invert(1);
}

.divider-vertical {
    height: 30px;
    width: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    max-width: 200px;
    text-align: left;
}

.footer-social-wrapper {
    text-align: center;
}

.footer-social-wrapper h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon-img-footer {
    height: 24px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.social-icon-img-footer:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer-content {
        gap: 4rem;
        flex-direction: column;
    }
}

/* Header Social styling */
.social-icon-img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    margin-left: 1rem;
}

header.scrolled .social-icon-img {
    filter: invert(72%) sepia(21%) saturate(2335%) hue-rotate(345deg) brightness(101%) contrast(91%);
}

.social-header {
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.2);
    margin-left: 1rem;
    padding-left: 1.5rem;
}

header.scrolled .social-header {
    border-color: rgba(0,0,0,0.1);
}

.footer-social-wrapper h4 {
    margin-bottom: 0.5rem; /* Reduced from 1.5rem */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Reduced from 2.5rem */
}

.social-icon-img-footer {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo-group {
        flex-direction: column;
        gap: 1rem;
    }

    .divider-vertical {
        display: none;
    }

    .footer-tagline {
        text-align: center;
        max-width: 100%;
    }
}
/* --- New Somos Proa Page Styles --- */
.about-hero {
    height: 70vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.proa-brand-section {
    position: relative;
    background: var(--white);
}

.brand-orange-header {
    background: var(--primary);
    padding: 8rem 0 14rem; /* More breathing room */
    color: var(--white);
}

.brand-orange-header .container {
    text-align: left; /* Alignment requested */
}

.brand-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
    max-width: 800px;
}

.brand-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

.mission-vision-wrapper {
    margin-top: -10rem; /* Overlap effect */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.mission-card-premium {
    background: var(--white);
    padding: 3rem 2rem; /* Reduced from 5rem 3rem */
    border-radius: 30px; /* Smaller radius */
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
}

.mission-card-premium:hover {
    transform: translateY(-15px);
}

.premium-icon-box {
    width: 80px; /* Reduced from 120px */
    height: 80px;
    margin: 0 auto 1.5rem;
}

.premium-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Maintain brand color */
    filter: invert(34%) sepia(91%) saturate(1989%) hue-rotate(352deg) brightness(97%) contrast(92%);
}

.mission-card-premium h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.mission-card-premium p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Pillars V4 - Premium Redesign */
.pillars-section {
    background: #fafafa;
    padding: 8rem 0;
}

.pillars-main-title {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: left; /* Changed to Left */
}

.pillars-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
    max-width: 650px;
    text-align: left; /* Changed to Left */
    font-weight: 400;
}

.pillars-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar-card-premium {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(242, 153, 74, 0.1);
    border-color: rgba(242, 153, 74, 0.2);
}

.pillar-icon-box {
    width: 90px;
    height: 90px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Changed to transparent for JPG icons */
    border-radius: 50%;
    transition: var(--transition);
    overflow: hidden; /* Keep the JPG within the circle */
}

.pillar-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Better for icons with backgrounds */
    transition: var(--transition);
}

.pillar-card-premium:hover .pillar-icon-box img {
    transform: scale(1.1);
}

.pillar-card-premium p {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

/* Accent for cards */
.pillar-card-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.pillar-card-premium:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 992px) {
    .mission-vision-wrapper, .pillars-grid-v3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .brand-title {
        font-size: 3rem;
    }
    .about-hero {
        height: 50vh;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
        color: var(--text) !important;
    }

    .nav-links.active a {
        color: var(--text) !important;
    }

    .nav-links.active .lang-btn {
        color: var(--text);
        border-color: rgba(0,0,0,0.1);
    }

    .mobile-menu-btn {
        display: flex;
    }

    header.scrolled .mobile-menu-btn {
        color: var(--text);
    }

    header.scrolled .nav-links {
        background: var(--glass);
        backdrop-filter: blur(10px);
    }

    .social-header {
        border: none;
        margin: 0;
        padding: 1rem 0 0;
        justify-content: center;
    }
    
    header.scrolled .social-icon-img {
        filter: none;
        filter: invert(72%) sepia(21%) saturate(2335%) hue-rotate(345deg) brightness(101%) contrast(91%);
    }

    .about, .contact {
        padding: 5rem 0;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .causes-grid {
        grid-template-columns: 1fr;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Specific delays for cards */
.causes-grid .cause-card:nth-child(2) { transition-delay: 0.1s; }
.causes-grid .cause-card:nth-child(3) { transition-delay: 0.2s; }
.causes-grid .cause-card:nth-child(4) { transition-delay: 0.3s; }
.causes-grid .cause-card:nth-child(5) { transition-delay: 0.4s; }

/* Staggered delays for benefits */
.benefit-item:nth-child(1) { transition-delay: 0.1s; }
.benefit-item:nth-child(2) { transition-delay: 0.2s; }
.benefit-item:nth-child(3) { transition-delay: 0.3s; }
.benefit-item:nth-child(4) { transition-delay: 0.4s; }

/* --- Recruitment Page Rebuilt Styles --- */
.hero-simple {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../assets/PEDIDO13.jpg') center/cover;
    color: var(--white);
    text-align: center;
}

.hero-overlay-soft {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.hero-title-main {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

/* --- Intro Premium Rebuilt --- */
.intro-premium {
    padding: 10rem 0;
}

.grid-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.main-photo-frame {
    position: relative;
    border-radius: 30px;
    z-index: 1;
}

.team-photo {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    display: block;
    position: relative;
    z-index: 2;
}

.decorative-blob {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.tag-accent {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.display-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text);
}

.text-body p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.emphasized {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.25rem !important;
}

.btn-styled {
    margin-top: 1rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(242, 153, 74, 0.3);
}

@media (max-width: 991px) {
    .grid-intro {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .intro-visual {
        order: -1;
    }
}

.benefits-full-orange {
    background: #E68D35; /* Orange from capture */
    color: var(--white);
    padding: 8rem 0;
}

.grid-2-special {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.white-tag {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.benefits-h2-large {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1;
    font-weight: 800;
}

.b-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.b-arrow {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.b-item h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.b-item p {
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Form Section Rebuilt: Light Background version */
.recruitment-form-section {
    background: var(--bg-alt);
    padding: 8rem 0 10rem;
}

.form-header {
    margin-bottom: 4rem;
    color: var(--text);
}

.form-tag {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary);
}

.form-title-h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.premium-form-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 30px;
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.02),
        0 20px 48px rgba(0,0,0,0.05);
}

.recruitment-grid-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.radio-flex {
    display: flex;
    gap: 1.5rem;
    padding: 0.4rem 0;
}

.file-drop-zone {
    border: 1.5px dashed #ccc;
    background: #fdfdfd;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    font-size: 0.9rem;
}

.btn-orange-full {
    background: var(--primary);
    color: var(--white);
    width: auto;
    min-width: 200px;
    margin: 1rem auto 0;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-orange-full:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    .grid-2-special {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row, .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .premium-form-card {
        padding: 2.5rem;
    }
}
