/**
* Template Name: damepelota
* Updated: 2025 with Bootstrap v5.3.3
* Author: remotefocused.com
*/
/*--------------------------------------------------------------
# Font & Color Variables

--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: 'DM Sans', sans-serif;
    --heading-font: 'DM Sans', sans-serif;
    --nav-font: 'DM Sans', sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #363636; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #1e6044; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #1e6044; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #8bc451; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #fbfff8; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #363636; /* The default color of the main navmenu links */
    --nav-hover-color: #1e6044; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #686c68; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #1e6044; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.surface-background {
    --background-color: #8bc451;
}

.dark-background {
    --background-color: #363636;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #1e6044;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #8bc451;
    --contrast-color: #f0f4ef;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-optical-sizing: auto;
    /*overflow-x: hidden;*/
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-optical-sizing: auto;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: '';
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--background-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(
        var(--accent-color) 50%,
        color-mix(in srgb, var(--accent-color), transparent 75%) 52%
    );
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* Selection
------------------------------*/
::selection {
    background: color-mix(in srgb, var(--heading-color), transparent 75%);
}

::-moz-selection {
    background: color-mix(in srgb, var(--heading-color), transparent 75%);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 45px;
    margin-left: 8px;
}

@media (min-width: 300px) {
    .header .logo img {
    max-height: 40px;
    margin-left: 6px;}
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Redes */
.header .header-contact {
    display: flex;
    gap: 6px;
}

.header .header-contact a {
    font-size: 18px;
    display: inline-block;
    background: color-mix(in srgb, var(--accent-color), transparent 87%);
    color: var(--accent-color);
    line-height: 1;
    padding: 10px 0;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.header .header-contact a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
    text-decoration: none;
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .container-fluid {
        flex-wrap: wrap;
    }

    .header .header-contact {
        order: 3;
        margin-left: auto;
    }

    .header #navmenu {
        order: 2;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 10px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        letter-spacing: 0cm;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        text-transform: uppercase;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        top: 60px;
        left: 80px;
        right: 15px;
        height: auto;
        max-height: 80vh;
        padding: 15px 10px 20px 10px;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 5px 20px;
        font-family: var(--nav-font);
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        text-transform: uppercase;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: var(--nav-color);
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
        border-radius: 6px;
        background-color: #ffffff;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 14px;
    position: relative;
}

.footer .footer-newsletter {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
    background: url(../img/newsletter-bg.jpg) center center / cover no-repeat
        fixed;
    background-size: cover;
    background-position: center;
    overflow-x: clip;
}

@supports (background-image: url('image.webp')) {
    .footer .footer-newsletter {
        background-image: url('../img/newsletter-bg.webp');
    }
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* opacity */
}

.footer .footer-newsletter h4 {
    font-size: 24px;
    color: var(--contrast-color);
    letter-spacing: 0ch;
}

.footer .newsletter-text {
    color: var(--background-color);
    font-size: 14px;
    position: relative;
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 8px 9px;
    position: relative;
    border-radius: 4px;
    background-color: var(--background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type='email'] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: var(--background-color);
    font-family: var(--nav-font);
    font-size: small;
}

.footer .footer-newsletter .newsletter-form input[type='email']:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type='submit'] {
    border: 0;
    font-family: var(--default-font);
    font-weight: 400;
    font-size: 15px;
    padding: 0 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 5px;
}

.footer .footer-newsletter .newsletter-form input[type='submit']:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 30%);
}

.footer .footer-top {
    padding: 50px 20px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 30%);
    font-size: 16px;
    color: color-mix(in srgb, var(--contrast-color), transparent 10%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--contrast-color);
    border-color: var(--contrast-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    color: var(--contrast-color);
}

.footer .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-links ul i {
    margin-right: 3px;
    font-size: 12px;
    line-height: 0;
    color: var(--contrast-color);
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    display: inline-block;
    color: color-mix(in srgb, var(--contrast-color), transparent 30%);
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--contrast-color);
}

.footer .footer-challenge a {
    color: var(--contrast-color);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--heading-font);
}

.footer .footer-contact p {
    margin-bottom: 5px;
    color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact .email-link {
    display: flex;
    align-items: center;
}

.footer-contact .email-link a {
    display: inline-block;
    color: color-mix(in srgb, var(--contrast-color), transparent 30%);
    line-height: 1;
    text-decoration: none;
    font-weight: bold;
}

.footer-contact .email-link a:hover {
    color: var(--contrast-color);
    text-decoration: none;
}

.footer .copyright {
    padding: 25px 20px;
    border-top: 1px solid
        color-mix(in srgb, var(--surface-color), transparent 10%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-style: bold;
    color: color-mix(in srgb, var(--surface-color), transparent 30%);
    align-items: center;
    gap: 8px;
}

.footer .credits i {
    font-size: 14px;
    color: var(--surface-color);
    transition: transform 0.3s ease;
}

.footer .credits a {
    color: var(--surface-color);
    font-weight: 600;
    text-decoration: none;
}

.footer .credits a:hover {
    text-decoration: underline;
}

.footer .credits:hover i {
    transform: scale(1.1) rotate(-6deg);
}

@media (max-width: 640px) {
    .damepelota {
        background: url(../img/newsletter-bg.jpg) center center / cover
            no-repeat scroll;
    }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: '';
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color)
        transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 996;
    background-color: var(--surface-color);
    width: 44px;
    height: 44px;
    border-radius: 5px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--accent-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--surface-color), transparent 20%);
    color: var(--accent-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 100px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: color-mix(
        in srgb,
        var(--default-color),
        transparent 96%
    );
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 25px 0;
    position: relative;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: '/';
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 2rem 1.25rem;
    scroll-margin-top: 100px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/* ==== Overrides #report ==== */
/* Base: desktop chico / laptop */
section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
#report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {
    padding: 24px 12px;
    scroll-margin-top: 100px;
    padding-bottom: 50px;
    overflow: visible;
    color: var(--default-color);
    background-color: var(--background-color);
}

/* Tablet grande / desktop ancho */
@media (min-width: 1200px) and (max-width: 1439px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {
    padding-bottom: 50px;
    }
}

/* Desktop muy ancho (2K aprox) */
@media (min-width: 1440px) and (max-width: 1919px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* 4K o pantallas grandes */
@media (min-width: 1920px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* Tablet vertical / phablets */
@media (min-width: 769px) and (max-width: 991px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* Tablet chica */
@media (min-width: 601px) and (max-width: 768px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* Móviles grandes (iPhone Plus/Max, Pixel XL) */
@media (min-width: 401px) and (max-width: 600px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* Móviles chicos */
@media (max-width: 400px) {
    section#report:not(.section-challenge):not(#stats):not(#team):not(#call-to-action),
    #report.section:not(.section-challenge):not(#stats):not(#team):not(#call-to-action) {

    padding-bottom: 50px;
    }
}

/* --- Iframe del formulario dentro de #report --- */


/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    font-family: var(--default-font);
}

.section-title span {
    position: absolute;
    top: 4px;
    color: color-mix(in srgb, var(--heading-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
}

.section-title p {
    font-size: 18px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    padding: 0 20px;
    font-family: var(--nav-font);
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 20px;
    }

    .section-title span {
        font-size: 38px;
    }
}

/*--# Challenge Section Titles--*/

.section-challenge-title {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 15px;
    position: relative;
}

.section-challenge-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.section-challenge-title span {
    position: absolute;
    top: 4px;
    color: color-mix(in srgb, var(--accent-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
}

.section-challenge-title p {
    font-size: 18px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

@media (max-width: 575px) {
    .section-challenge-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 20px;
    }

    .section-challenge-title span {
        font-size: 38px;
    }
}

/*--------------------------------------------------------------
# Dame Pelota Section
--------------------------------------------------------------*/

.damepelota {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-left: auto;
    margin-right: auto;
    min-height: 65vh;
    padding: clamp(40px, 6vw, 96px) 15px clamp(12px, 2.5vw, 24px);
    display: flex;
    align-items: center;
    background: url(../img/home-bg.jpg) center center / cover no-repeat fixed;
    overflow-x: clip;
}

/* WebP fallback */
@supports (background-image: url('image.webp')) {
    .damepelota {
        background-image: url('../img/home-bg.webp');
    }
}

/* Overlay oscuro */
.damepelota .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Contenido */
.damepelota .container {
    position: relative;
    z-index: 2;
}

/* Limitar ancho del texto cuando no hay imagen */
.damepelota .container > .row > div {
    max-width: 720px;
}

/* Anti margin-collapse del último <p> */
.damepelota .container::after {
    content: '';
    display: block;
    height: 0.01px;
}

/* Título */
.damepelota h1 {
    margin: 0 0 20px 0;
    font-size: 52px;
    font-weight: 400;
    line-height: 56px;
    color: var(--contrast-color);
    font-family: var(--default-font);
}

/* Párrafos */
.damepelota p {
    margin: 0 0 2px 0; /* separación ultra compacta */
    font-size: 25px;
    line-height: 1.4;
    font-weight: 00;
    color: var(--contrast-color);
    font-family: var(--default-font);
}
.damepelota p:last-child {
    margin-bottom: 0;
}

/* Botón primario */
.damepelota .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--default-font);
    font-weight: 400;
    font-size: 15px;
    display: inline-block;
    padding: 10px 28px 12px 28px;
    border-radius: 5px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}
.damepelota .btn-get-started:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 640px) {
    .damepelota {
        background: url(../img/home-bg.jpg) center center / cover no-repeat
            scroll;
    }
    .damepelota h1 {
        font-size: 38px;
        line-height: 46px;
    }
    .damepelota p {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 2px;
    }
    .damepelota .btn-get-started {
        font-size: 13px;
    }
}

/* Animación opcional */
@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
    --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
    padding-top: 0;
}

.featured-services .service-item {
    background-color: var(--background-color);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    height: 100%;
}

.featured-services .service-item .icon {
    margin-bottom: 10px;
}

.featured-services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: 0.3s;
}

.featured-services .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.featured-services .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.featured-services .service-item:hover {
    transform: translateY(-10px);
}

.featured-services .service-item:hover h4 a {
    color: var(--accent-color);
}

/* === Full-bleed para columnas de imagen dentro de un .container === */
@media (min-width: 768px) {
    .full-bleed-left,
    .full-bleed-right {
        position: relative;
    }

    /* sangra la col hasta el borde izq. del viewport */
    .full-bleed-left {
        margin-left: calc((100vw - 100%) / -2);
        padding-left: calc((100vw - 100%) / 2);
    }

    /* sangra la col hasta el borde der. del viewport */
    .full-bleed-right {
        margin-right: calc((100vw - 100%) / -2);
        padding-right: calc((100vw - 100%) / 2);
    }

    /* que el <picture>/<img> se comporte como textura */
    .full-bleed-left picture,
    .full-bleed-right picture {
        display: block;
        height: 100%;
    }
    .full-bleed-left img,
    .full-bleed-right img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover; /* textura */
        object-position: center;
    }
}

/*--------------------------------------------------------------
# Challenge Section
--------------------------------------------------------------*/
#challenge {
    --edge-gap: 0;
    --bleed: calc(50vw - 50%);
    overflow-x: clip; /* evita scroll horizontal */
}

#challenge .challenge-block .row {
    --bs-gutter-x: 0;
}

/* ==== IMÁGENES ==== */
#challenge .challenge-img-col {
    position: relative;
    width: 100%;
    min-height: clamp(220px, 48vw, 360px);
}
#challenge .challenge-img-col picture {
    display: block;
    height: 100%;
    width: 100vw; /* full edge-to-edge */
    margin-left: calc(50% - 50vw); /* centra y sangra */
}
#challenge .challenge-img-col img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

/* Tablet/Desktop: bleed hacia los extremos y pegado al texto */
@media (min-width: 768px) {
    #challenge {
        --edge-gap: 24px;
    }
    #challenge .challenge-img-col {
        min-height: 420px;
    }

    /* Bloque A — imagen a la izquierda */
    #challenge .challenge-block-a .col-md-6.order-1 .challenge-img-col picture {
        width: calc(100% + var(--bleed) - var(--edge-gap));
        margin-left: calc(-1 * var(--bleed) + var(--edge-gap));
    }
    /* Bloque B — imagen a la derecha */
    #challenge
        .challenge-block-b
        .col-md-6.order-md-2
        .challenge-img-col
        picture {
        width: calc(100% + var(--bleed) - var(--edge-gap));
        margin-right: calc(-1 * var(--bleed) + var(--edge-gap));
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    #challenge {
        --edge-gap: 32px;
    }
    #challenge .challenge-img-col {
        min-height: 52vh;
    }
}
@media (min-width: 1400px) {
    #challenge {
        --edge-gap: 48px;
    }
    #challenge .challenge-img-col {
        min-height: 60vh;
    }
}

/* ==== TIPOGRAFÍA Y RITMO ==== */
#challenge .challenge-title {
    font-family: var(--heading-font, var(--default-font));
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.12;
    margin: 0 0 0.75rem 0;
    color: var(--heading-color);

    font-size: clamp(34px, 8vw, 44px); /* XS */
}
#challenge .challenge-block-b .challenge-title {
    color: var(--contrast-color);
}

@media (min-width: 768px) {
    #challenge .challenge-title {
        font-size: clamp(36px, 5.6vw, 56px);
    } /* MD */
}
@media (min-width: 992px) {
    #challenge .challenge-title {
        font-size: clamp(38px, 4.2vw, 60px);
    } /* LG */
}
@media (min-width: 1200px) {
    #challenge .challenge-title {
        font-size: clamp(40px, 3.4vw, 64px);
    } /* XL (3.4vw) */
}
@media (min-width: 1400px) {
    #challenge .challenge-title {
        font-size: clamp(44px, 3.4vw, 72px);
    } /* XXL */
}
@media (min-width: 1600px) {
    #challenge .challenge-title {
        font-size: clamp(48px, 3.2vw, 80px);
    } /* 3XL */
}

/* Cuerpo/quote y bloques */
#challenge .challenge-items {
    margin: 1rem 0 1.25rem;
}
#challenge .challenge-items .d-flex {
    margin-bottom: 1rem;
}
#challenge .challenge-items p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
#challenge .challenge-block-b h5 {
    color: inherit;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}
#challenge .quote {
    line-height: 1;
    vertical-align: -0.15em;
}
#challenge .split-cite {
    margin-top: 14px;
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1pt;
    opacity: 0.9;
}

/* Ajustes de lectura en desktop */
@media (min-width: 768px) {
    #challenge .challenge-items {
        margin: 1.5rem 0;
    }
    #challenge .challenge-items .d-flex {
        margin-bottom: 1.25rem;
    }
    #challenge .challenge-items p {
        font-size: 1.0625rem;
    }
}
@media (min-width: 992px) {
    #challenge .challenge-items p {
        font-size: 1.125rem;
    }
}

/* Mobile: padding SOLO en los bloques de texto, no en el wrapper del bloque */
@media (max-width: 767.98px) {
    #challenge .challenge-block > .content.content-intro {
        padding: 0 !important;
    }

    #challenge
        .challenge-block
        .row
        > [class*='col-'].order-2
        > .content.content-intro {
        padding: 40px 20px !important;
    }
}

/*--------------------------------------------------------------
# Stats Section (Mejorada)
--------------------------------------------------------------*/
section#stats {
    position: relative;
    z-index: 1;
    background-color: var(--accent-color);
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.stats {
    padding: 20px 0;
}

.stats .content h2 {
    font-size: clamp(32px, 5vw, 56px); /* mucho más grande en desktop */
    line-height: 1.2;
    font-weight: 800;
    font-family: var(--default-font);
    color: var(--contrast-color);
    margin-bottom: 10px;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 0;
    transition: transform 0.3s ease, background 0.3s ease;
}
.stats-item:hover {
    transform: translateY(-4px);
}

.stats-item i {
    font-size: 3rem !important;
    color: var(--surface-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats .stats-item span {
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    display: block;
    color: var(--contrast-color);
}

.stats .stats-item h5 {
    font-weight: 700;
    color: var(--default-color);
    text-transform: uppercase;
    margin: 0;
}

.stats .stats-item p {
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    section#stats {
        padding: 0 20px 25px 20px;
    }

    .stats .content {
        text-align: left;
        justify-content: flex-start !important;
    }

    .stats .content h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .stats .stats-item {
        justify-content: flex-start !important;
        text-align: left;
    }

    .stats .stats-item i {
        font-size: 2.5rem !important;
    }

    .stats .stats-item span {
        font-size: 32px;
    }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .supporting {
    padding: 50px 0;
}

.portfolio .btn-get-started {
    margin-top: 10px;
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--default-font);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 12px 28px;
    border-radius: 5px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.porfotlio .purpose-quote h3 {
    color: var(--accent-color);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 var(--gap-quote-body) 0;
    font-size: clamp(20px, 2.8vw, 28px);
}

.portfolio .btn-get-started:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.portfolio h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 20px 10px 20px;
    color: var(--heading-color);
}

.portfolio h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    text-align: center;
    margin: 5px 0 20px 0;
}

/* =======================
   Filters: hidden but kept in markup
   ======================= */
.portfolio .portfolio-filters {
    display: none !important; /* Hide filters now, can be re-enabled later */
}
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}
.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    margin: 0 10px;
    line-height: 1;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
}
.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: var(--accent-color);
}
.portfolio .portfolio-filters li:first-child {
    margin-left: 0;
}
.portfolio .portfolio-filters li:last-child {
    margin-right: 0;
}
@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 16px;
        margin: 0 5px;
        font-weight: 700;
    }
}

/* =======================
   Items
   ======================= */
.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

/* Portfolio info aligned to match the image width (not full container width) */
.portfolio .portfolio-item .portfolio-info {
    left: 12px;
    right: 12px;
    bottom: 0;
    z-index: 1;
    opacity: 1 !important; /* Always visible */
    transform: none !important;
    /* Solid background with transparency from --default-color */
    background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
    color: var(--contrast-color);
    padding: 12px 12px;
    pointer-events: none; /* Allow click-through to stretched preview link */
    /* Smooth hover feedback for background and text color */
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Slightly darker overlay background on hover */
.portfolio .portfolio-item:hover .portfolio-info {
    background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* Title styling inside overlay */
.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    padding-right: 0;
    margin: 0;
    color: var(--contrast-color);
}

/* Optional text inside overlay */
.portfolio .portfolio-item .portfolio-info p {
    color: color-mix(in srgb, var(--contrast-color), transparent 30%);
    font-size: 14px;
    margin-bottom: 0;
    padding-right: 0;
}

/* =======================
   Hide zoom icon, keep link
   ======================= */
.portfolio .portfolio-item .portfolio-info .preview-link i {
    display: none !important; /* Hide zoom icon only */
}

/* Lightbox link covers overlay for click */
.portfolio .portfolio-item .portfolio-info .preview-link {
    position: absolute;
    inset: 0; /* Fill overlay area */
    display: block;
    z-index: 2; /* Above overlay */
    background: transparent;
    text-indent: -9999px; /* Hide text visually */
    line-height: 0;
    pointer-events: auto; /* Clickable */
}

/* Hide details link if unused */
.portfolio .portfolio-item .portfolio-info .details-link {
    display: none !important;
}

/* Prevent any vertical shift on hover */
.portfolio .portfolio-item:hover .portfolio-info {
    bottom: 0 !important;
}
#impact {
    --gap-logo-quote: clamp(18px, 2.8vw, 28px);
    --gap-quote-body: clamp(20px, 3.2vw, 36px);
    --frame-border: 10px;
    --frame-radius: 12px;
    --frame-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    color: var(--default-color);
    background: var(--background-color);
    overflow-x: clip;
}

#impact .intro-green {
    color: #fff;
}

#impact .intro-split .row {
    --bs-gutter-x: 0;
}

#impact .intro-split .img-col {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(240px, 42vw, 520px);
}

#impact .photo-frame {
    width: clamp(280px, 44vw, 720px);
    aspect-ratio: 4 / 3;
    border: var(--frame-border) solid #fff;
    box-shadow: var(--frame-shadow);
    background: #fff;
    overflow: hidden;
    margin: clamp(12px, 4vw, 20px) auto;
}

#impact .photo-frame picture {
    display: block;
    width: 100%;
    height: 100%;
}
#impact .photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#impact .intro-split .content-title {
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.12;
    margin: 0 0 0.75rem 0;
    color: var(--heading-color);
    font-size: clamp(34px, 8vw, 44px);
}
@media (min-width: 768px) {
    #impact .intro-split .content-title {
        font-size: clamp(36px, 5.6vw, 56px);
    }
}
@media (min-width: 992px) {
    #impact .intro-split .content-title {
        font-size: clamp(38px, 4.2vw, 60px);
    }
}
@media (min-width: 1200px) {
    #impact .intro-split .content-title {
        font-size: clamp(40px, 3.4vw, 64px);
    }
}
@media (min-width: 1400px) {
    #impact .intro-split .content-title {
        font-size: clamp(44px, 3.4vw, 72px);
    }
}
@media (min-width: 1600px) {
    #impact .intro-split .content-title {
        font-size: clamp(48px, 3.2vw, 80px);
    }
}

/* Impact (>=768px) */
@media (min-width: 768px) {
    #impact .intro-split .img-col {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    #impact .photo-frame {
        margin: 0;
    }
}

#impact .intro-logo {
    display: grid;
    place-items: center;
    margin-bottom: var(--gap-logo-quote);
}
#impact .intro-logo img {
    width: clamp(140px, 14vw, 260px);
    height: auto;
}

#impact .purpose-quote {
    color: #fff;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 var(--gap-quote-body) 0;
    font-size: clamp(18px, 4vw, 22px);
}
@media (min-width: 768px) {
    #impact .purpose-quote {
        font-size: clamp(20px, 2.8vw, 28px);
    }
}
@media (min-width: 992px) {
    #impact .purpose-quote {
        font-size: clamp(21px, 2.1vw, 30px);
    }
}
@media (min-width: 1200px) {
    #impact .purpose-quote {
        font-size: clamp(22px, 1.7vw, 32px);
    }
}
@media (min-width: 1400px) {
    #impact .purpose-quote {
        font-size: clamp(24px, 1.7vw, 36px);
    }
}
@media (min-width: 1600px) {
    #impact .purpose-quote {
        font-size: clamp(26px, 1.6vw, 40px);
    }
}
#impact .purpose-quote .quote {
    line-height: 1;
    vertical-align: -0.1em;
}

#impact .impact-body p {
    margin: 0 0 1rem 0;
    color: #fff;
    line-height: 1.65;
    font-size: clamp(1rem, 2.6vw, 1.125rem);
}
#impact .impact-body p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767.98px) {
    #impact .intro-split.content.content-intro {
        padding: 0 !important;
    }
    #impact
        .intro-split
        .row
        > [class*='col-'].order-2
        > .content.content-intro {
        padding: 40px 20px !important;
    }
}

@media (min-width: 768px) {
    #impact .intro-split .content.content-intro.px-3.ps-md-4.pe-md-5 {
        padding-inline: clamp(16px, 3vw, 40px);
        padding-block: clamp(16px, 4vw, 56px);
    }
}

@media (min-width: 768px) {
    #impact .intro-split .row {
        align-items: stretch !important;
    }
    #impact .intro-split .row > [class*='col-'] {
        display: flex;
    }
    #impact .intro-split .img-col {
        flex: 1 1 auto;
        height: 100%;
    }
}

#impact .photo-frame picture {
    background: #fff;
}

#impact .photo-frame img {
    object-fit: contain;
    object-position: center;
}

#impact .intro-logo img {
    width: clamp(110px, 10vw, 200px);
    height: auto;
}

@media (min-width: 1400px) {
    #impact .intro-logo img {
        width: clamp(110px, 8vw, 190px);
    }
}

/*--------------------------------------------------------------
# gathers & report Section
--------------------------------------------------------------*/
/* --------------------------------------------------------------
   REPORT SECTION
-------------------------------------------------------------- */

/* Card del formulario  */
.report .php-email-form {
  background-color: var(--background-color);
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
  height: 100%;
}

@media (max-width: 575px) {
  .report .php-email-form { padding: 20px; }
}

.report .report-form {
  max-width: 560px;
  margin-inline: auto;
}

.report .php-email-form .form-select {
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 0;
  box-shadow: none;
  color: var(--default-color);
  background-color: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.report .php-email-form .form-select:focus {
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: none;
  background-color: var(--background-color);
}

.report .php-email-form .form-select:required:invalid,
.report .php-email-form .form-select option[disabled][value=""] {
  color: var(--heading-color);
  font-weight: 400;
}

.report .php-email-form .form-select:valid {
  color: var(--heading-color);
  font-weight: 800;
}

.report .php-email-form .loading,
.report .php-email-form .error-message,
.report .php-email-form .sent-message {
  margin-bottom: 12px;
}

.report .php-email-form button[type='submit'] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  border-radius: 5px;
  transition: 0.4s;
  font-family: var(--default-font);
  font-weight: 400;
  font-size: 15px;
  display: inline-block;
  margin-top: 4px;
}

.report .php-email-form button[type='submit']:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.report .php-email-form button[type='submit']:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-color), transparent 25%);
  outline-offset: 2px;
}
/* Report section spacing */
.report.section {
  padding-block: 24px;
}

#report .section-title {
  padding: 8px 0;
  margin-bottom: 10px;
}

#report .section-title h2,
#report .section-title p {
  margin-bottom: 6px;
}

/*-------end report section -------*/

.gathers .gathers-carousel,
.gathers .gathers-slider {
    overflow: hidden;
}

.gathers .gather-item {
    box-sizing: content-box;
    min-height: 320px;
}

.gathers .gather-item .gather-img {
    display: block;
    margin: 10px auto 5px auto;
    position: relative;
    z-index: 2;
    width: 90px;
    border: 6px solid var(--background-color);
}

.gathers .gather-item h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0 0;
}

.gathers .gather-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    text-align: center;
    margin: 5px 0 20px 0;
}

.gathers .gather-item .quote-icon-left,
.gathers .gather-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.gathers .gather-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.gathers .gather-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.gathers .gather-item p {
    margin: 0 15px 0 15px;
    padding: 20px 20px 20px 20px;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    position: relative;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.gathers .swiper-wrapper {
    height: auto;
}

.gathers .swiper-pagination {
    margin-top: 0;
    position: relative;
}

.gathers .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--background-color);
    opacity: 1;
    border: 1px solid var(--accent-color);
}

.gathers .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.call-to-action:before {
    content: '';
    background: var(--background-color);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
}

.call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--default-color);
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-family: var(--default-font);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
    background-color: var(--heading-color);
}

.call-to-action .cta-btn:hover {
    background: color-mix(in srgb, var(--accent-color) 70%, white 15%);
}

/* --------------------------------------------------------------
   TEAM
-------------------------------------------------------------- */

/* ===== 0) ROOT & TOKENS ===== */
#team {
    color: var(--default-color);
    background-color: var(--background-color);
    scroll-margin-top: 100px;
    overflow-x: clip;
    overflow-y: visible;
    padding-block: 0;
    --edge-gap: 24px;
    --bleed: calc(50vw - 50%);
    --brand-green: #146b3a;
    --gap-logo-quote: clamp(18px, 2.8vw, 28px);
    --gap-quote-body: clamp(20px, 3.2vw, 36px);
    --team-avatar-size: clamp(160px, 22vw, 220px);
    --team-overlap-ratio: 0.25;
    --team-info-gap: 24px;
    --team-info-x: 20px;
}

#team .intro-green {
    background-color: var(--accent-color);
    color: var(--background-color);
}
#team .intro-split .row {
    --bs-gutter-x: 0;
}

#team .intro-split .img-col {
    position: relative;
    width: 100%;
    min-height: clamp(220px, 48vw, 360px);
}
#team .intro-split .img-col picture {
    display: block;
    width: 100vw;
    height: 100%;
    margin-left: calc(50% - 50vw); /
}
#team .intro-split .img-col img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    object-position: center;
}

/* Desktop/Tablet */
@media (min-width: 768px) {
    #team .intro-split .img-col {
        min-height: 420px;
    }
    #team .intro-split .col-md-6.order-1 .img-col picture {
        width: calc(100% + var(--bleed) - var(--edge-gap));
        margin-left: calc(-1 * var(--bleed) + var(--edge-gap));
    }

    #team .intro-split .row {
        align-items: stretch !important;
    }
    #team .intro-split .row > [class*='col-'] {
        display: flex;
    }
    #team .intro-split .img-col {
        flex: 1 1 auto;
        height: 100%;
    }
    #team .intro-split .img-col picture,
    #team .intro-split .img-col img {
        height: 100%;
    }
}
@media (min-width: 992px) {
    #team .intro-split .img-col {
        min-height: 52vh;
    }
}
@media (min-width: 1400px) {
    #team .intro-split .img-col {
        min-height: 60vh;
    }
}

#team .intro-split .content-title,
#team .intro-split h5,
#team .intro-split p {
    color: var(--background-color);
}

#team .intro-split .challenge-items .bi {
    color: var(--surface-color);
}

@media (max-width: 767.98px) {
    #team .intro-split.content.content-intro {
        padding: 0 !important;
    }
    #team .intro-split .row > [class*='col-'].order-2 > .content.content-intro {
        padding: 40px 20px !important;
    }
}

@media (min-width: 768px) {
    #team .intro-split .content.content-intro.px-3.pe-md-4.ps-md-5 {
        padding-inline: clamp(16px, 3vw, 40px);
        padding-block: clamp(16px, 4vw, 56px);
    }

}

/* ===== LOGO + CITA ===== */
#team .intro-logo {
    display: grid;
    place-items: center;
    margin-bottom: var(--gap-logo-quote);
}
#team .intro-logo img {
    width: clamp(140px, 14vw, 260px);
    height: auto;
}

#team .intro-split .purpose-quote {
    color: var(--background-color);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 var(--gap-quote-body) 0;
    font-size: clamp(20px, 2.8vw, 28px);
}
@media (min-width: 768px) {
    #team .intro-split .purpose-quote {
        font-size: clamp(20px, 2.8vw, 28px);
    }
}
@media (min-width: 992px) {
    #team .intro-split .purpose-quote {
        font-size: clamp(21px, 2.1vw, 30px);
    }
}
@media (min-width: 1200px) {
    #team .intro-split .purpose-quote {
        font-size: clamp(22px, 1.7vw, 32px);
    }
}
@media (min-width: 1400px) {
    #team .intro-split .purpose-quote {
        font-size: clamp(24px, 1.7vw, 36px);
    }
}
@media (min-width: 1600px) {
    #team .intro-split .purpose-quote {
        font-size: clamp(26px, 1.6vw, 40px);
    }
}
#team .intro-split .purpose-quote .quote {
    line-height: 1;
    vertical-align: -0.1em;
}

/* ===== 3) TÍTULO de la intro  ===== */
#team .intro-split .content-title {
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.12;
    margin: 0 0 0.75rem 0;
    font-size: clamp(34px, 8vw, 44px); /* XS */
}
@media (min-width: 768px) {
    #team .intro-split .content-title {
        font-size: clamp(36px, 5.6vw, 56px);
    }
}
@media (min-width: 992px) {
    #team .intro-split .content-title {
        font-size: clamp(38px, 4.2vw, 60px);
    }
}
@media (min-width: 1200px) {
    #team .intro-split .content-title {
        font-size: clamp(40px, 3.4vw, 64px);
    }
} /* 3.4vw */
@media (min-width: 1400px) {
    #team .intro-split .content-title {
        font-size: clamp(44px, 3.4vw, 72px);
    }
}
@media (min-width: 1600px) {
    #team .intro-split .content-title {
        font-size: clamp(48px, 3.2vw, 80px);
    }
}

/* ===== 4) RITMO del bloque (bullets) ===== */
#team .intro-split .challenge-items {
    margin: 1.25rem 0 1.5rem;
}
#team .intro-split .challenge-items .d-flex {
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    #team .intro-split .challenge-items .d-flex {
        margin-bottom: 1.25rem;
    }
}

/* ===== 5) SECTION TITLE “Nosotros” ===== */
#team .section-title {
    margin-top: clamp(32px, 6vw, 72px);
    margin-bottom: clamp(20px, 4vw, 40px);
    text-align: center;
}
#team .section-title h2 {
    margin-bottom: 0.5rem;
}
#team .section-title p {
    max-width: clamp(40ch, 80vw, 62ch);
    margin-inline: auto;
    line-height: 1.65;
}

/* ===== 6) TEAM MEMBERS ===== */
.team .member .pic {
    width: var(--team-avatar-size);
    height: var(--team-avatar-size);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    place-content: center;
    place-items: center;
    margin: 0 auto var(--team-info-gap) auto;
}
.team .member .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team .member .member-info {
    margin: calc(-1 * var(--team-avatar-size) * var(--team-overlap-ratio))
        var(--team-info-x) 0 var(--team-info-x);
    background-color: var(--background-color);
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
}
.team .member .member-info:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Tipografía en card */
.team .member h4 {
    font-weight: 700;
    margin: 0 0 10px 0;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}
.team .member h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
}
.team .member span {
    display: block;
    font-size: 13px;
    text-align: left;
}
.team .member p {
    margin-top: 5px;
    padding-bottom: 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* Social anclado */
.team .member .social {
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.team .member .social a {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
    transition: color 0.3s;
}
.team .member .social a:hover {
    color: var(--accent-color);
}
.team .member .social i {
    font-size: 16px;
    margin: 0 2px;
}

/* ===== 7) RESPONSIVE TOKENS (solo ajustes de variables) ===== */
@media (max-width: 992px) {
    #team {
        --team-info-x: 16px;
    }
}
@media (max-width: 768px) {
    #team {
        /* ojo: esto NO afecta el split verde (ya controlado arriba) */
        --team-avatar-size: clamp(160px, 26vw, 190px);
        --team-overlap-ratio: 0.25;
        --team-info-gap: 24px;
        --team-info-x: 12px;
    }
    .team .member .member-info {
        text-align: center;
    }
}
@media (max-width: 480px) {
    #team {
        --team-avatar-size: clamp(140px, 38vw, 170px);
        --team-overlap-ratio: 0.22;
        --team-info-gap: 22px;
        --team-info-x: 10px;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info-wrap {
    background-color: var(--background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

.contact .info-item i {
    font-size: 18px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .php-email-form {
    background-color: var(--background-color);
    height: 100%;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type='text'],
.contact .php-email-form input[type='email'],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--background-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type='text']:focus,
.contact .php-email-form input[type='email']:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type='text']::placeholder,
.contact .php-email-form input[type='email']::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type='submit'] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 5px;
    font-family: var(--default-font);
    font-weight: 400;
    font-size: 15px;
}

.contact .php-email-form button[type='submit']:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
    background-color: var(--background-color);
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# ReCAPTCHA — centrado + respiración
--------------------------------------------------------------*/

/* Centrado común (aplica a cualquier sección que use el wrapper) */
.captcha-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding-top: 25px; /* aire en desktop */
}

/* Un poquito menos de aire en móviles */
@media (max-width: 576px) {
  .captcha-wrapper {
    padding-top: 10px;
  }
}

/* Mantengo tu margen del slot (si te queda mucho espacio, bajalo o quitalo) */
.recaptcha-slot {
  margin: 16px 0 0;
}

