/* ========================================
   ARTURO PULIDO LANDING PAGE - MOBILE FIRST
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #154118;
    --green-primary: #2b7725;
    --green-light: #2efb1f;
    --green-accent: #35cc2a;
    --green-pale: #deffdb;
    --blue-gray: #95b5c7;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Helvetica', 'Inter', sans-serif;
    color: var(--black);
    line-height: 1.053;
    overflow-x: hidden;
    background: var(--white);
}

/* ========================================
   ANIMACIONES DE ENTRADA
   ======================================== */

/* Estado inicial — oculto antes de entrar en pantalla */
.form-card,
.investors-content,
.investors-text,
.btn-cta,
.location-card,
.locations-title,
.locations-description,
.about-title,
.about-description,
.about-text,
.btn-community,
.social-icons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Estado visible — cuando JS añade .animate-in */
.form-card.animate-in,
.investors-content.animate-in,
.investors-text.animate-in,
.btn-cta.animate-in,
.location-card.animate-in,
.locations-title.animate-in,
.locations-description.animate-in,
.about-title.animate-in,
.about-description.animate-in,
.about-text.animate-in,
.btn-community.animate-in,
.social-icons.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger en location cards */
.location-card:nth-child(2) { transition-delay: 0.1s; }
.location-card:nth-child(3) { transition-delay: 0.2s; }
.location-card:nth-child(4) { transition-delay: 0.3s; }

/* Stagger en investors-text y btn-cta */
.investors-text { transition-delay: 0.1s; }
.btn-cta        { transition-delay: 0.2s; }

/* Ellipse 1 — entra deslizando desde la derecha */
.ellipse1-wrapper {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ellipse1-wrapper.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Logo y play-btn del hero-1 animan al cargar la página */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes playBtnFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hero-content {
    animation: heroFadeIn 0.8s ease 0.3s both;
}

.hero-1 .play-btn {
    animation: playBtnFadeIn 0.7s ease 0.6s both;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(-72deg, var(--green-light) 0%, var(--green-dark) 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: linear-gradient(90deg, #20492b 0%, var(--green-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Gradiente / desvanecido inferior — hero-1 y hero-2 */
.hero-1::after,
.hero-2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0)    0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.logo {
    width: 100%;
    max-width: 240px;
    height: auto;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   HERO VIDEO + PLAY BUTTON
   ======================================== */
.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.25s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

.play-btn svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

.play-btn svg circle {
    display: none;
}

.play-btn svg polygon {
    fill: white;
}

.play-btn.hidden {
    display: none;
}

/* ========================================
   ELLIPSE 1 — Entre hero-1 y form-section
   ======================================== */
.ellipse1-wrapper {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-top: -150px;
    margin-bottom: -200px;
    padding-top: 55px;
    pointer-events: none;
    overflow: visible;
}

.ellipse1-img {
    width: 95%;
    max-width: 560px;
    height: auto;
    display: inline-block;
}

/* ========================================
   FORM SECTION
   ======================================== */
.form-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.form-card {
    background: var(--green-pale);
    border-radius: 60px;
    padding: 40px 30px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 11px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.form-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    padding-top: 8px;
    margin-bottom: 20px;
}

.form-subtitle {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.form-subtitle strong {
    font-weight: 700;
}

.form-description {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.form-description strong {
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    width: 100%;
    height: 50px;
    background: var(--green-primary);
    border: none;
    border-radius: 25px;
    padding: 0 25px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 22px;
    color: var(--white);
    text-align: center;
    letter-spacing: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contact-form input::placeholder {
    color: var(--white);
    opacity: 1;
}

.contact-form select {
    width: 100%;
    height: 50px;
    background: var(--green-primary);
    border: none;
    border-radius: 25px;
    padding: 0 25px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 22px;
    color: var(--white);
    text-align: center;
    -webkit-text-align-last: center;
    text-align-last: center;
    letter-spacing: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background: #1a5c2a;
    color: var(--white);
    letter-spacing: 1px;
    font-size: 16px;
}

.contact-form select option:disabled {
    opacity: 0.6;
}

.btn-submit {
    width: 70%;
    max-width: 260px;
    height: 50px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--green-light) 0%, var(--green-primary) 50%, var(--green-light) 100%);
    border: none;
    border-radius: 25px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ========================================
   INVESTORS SECTION
   ======================================== */
.investors-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    overflow-x: clip;
}

/* ========================================
   ELLIPSE 2 — Fondo de investors-content
   ======================================== */
.investors-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px 20px;
}

.ellipse2-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270%;
    max-width: 870px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.investors-content .investors-title,
.investors-content .investors-subtitle {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* ========================================
   CARRUSEL — Investors Photos
   ======================================== */
.carousel-wrapper {
    width: 100%;
    /*overflow: hidden;*/
    margin-bottom: 40px;
}

@keyframes carousel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--scroll-width, -480px)); }
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    width: max-content;
    animation: carousel-scroll 9s linear infinite;
    will-change: transform;
}

.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

.photo-item {
    flex: 0 0 auto;
    width: 140px;
    height: 175px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.investors-content .logo {
    width: 50%;
    max-width: 200px;
    margin-bottom: 20px;
}

.investors-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: var(--white);
    line-height: 0.88;
    margin-bottom: 10px;
}

.investors-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--white);
}

.investors-text {
    max-width: 400px;
    margin: 0 auto 30px;
}

.investors-text p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
}

.investors-text strong {
    font-weight: 700;
}

.btn-cta {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(90deg, var(--green-light) 0%, var(--green-primary) 32%, var(--green-primary) 62%, var(--green-light) 100%);
    border-radius: 25px;
    font-weight: 400;
    font-size: 22px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.02);
}

/* ========================================
   LOCATIONS WRAPPER
   ======================================== */
.locations-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 680px;
}

/* ========================================
   LOCATIONS TEXT SECTION
   ======================================== */
.locations-text-section {
    position: relative;
    z-index: 2;
    padding: 90px 30px 60px;
    text-align: center;
    background: linear-gradient(to bottom, transparent 27%, #ffffff 33%, #ffffff 55%, transparent 80%);
}

/* ========================================
   LOCATIONS VIDEO SECTION
   ======================================== */
.locations-section {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    text-align: center;
    z-index: 0;
}

.locations-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.locations-logo {
    display: none;
}

.locations-section .play-btn {
    z-index: 3;
}

.locations-section::before,
.locations-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 45%;
    pointer-events: none;
    z-index: 1;
}

.locations-section::before {
    top: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0)    100%
    );
}

.locations-section::after {
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0)    0%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

.logo-dark {
    width: 50%;
    max-width: 180px;
    margin-bottom: 30px;
}

.locations-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 20px;
}

.locations-description {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
    max-width: 400px;
    margin: 0 auto 40px;
}

/* ========================================
   LOCATIONS GRID SECTION
   ======================================== */
.locations-grid-section {
    padding: 60px 20px;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.location-card {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.location-beach {
    background: linear-gradient(129deg, var(--green-primary) 16%, var(--green-light) 93%);
}

.location-sea {
    background: linear-gradient(-59deg, #8ebf56 7%, #20492b 86%);
}

.location-field {
    background: linear-gradient(-59deg, #c5e953 7%, #419f64 86%);
}

.location-city {
    background: linear-gradient(-59deg, #9be4b5 7%, #20492b 86%);
}

.location-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.location-text {
    color: var(--white);
    font-size: 20px;
    line-height: 1.1;
}

.location-text span {
    display: block;
    font-weight: 300;
}

.location-text strong {
    display: block;
    font-weight: 700;
}

/* ========================================
   FORM SECTION 2
   ======================================== */
.form-section-2 {
    background: linear-gradient(to bottom, var(--white) 0%, var(--blue-gray) 100%);
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    position: relative;
    padding: 0px 37px 580px;
    background: linear-gradient(to bottom, var(--blue-gray) 0%, var(--blue-gray) 60%, var(--white) 100%);
    text-align: center;
    min-height: 600px;
    overflow-x: clip;
}

.about-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: auto;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.about-description {
    font-weight: 300;
    font-size: 20px;
    color: var(--black);
    margin-bottom: 15px;
    text-shadow: 0 4px 9px rgba(0, 0, 0, 0.25);
}

.about-description strong {
    font-weight: 700;
}

.about-text {
    font-weight: 300;
    font-size: 14px;
    color: var(--white);
    max-width: 380px;
    margin: 0 auto 30px;
    line-height: 1.3;
}

.btn-community {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(90deg, #35cc2a, #20492b 51.44%, rgba(53, 204, 42, 0.95));
    border-radius: 67px;
    box-shadow: 0px 4px 11.9px rgba(0, 0, 0, 0.25);
    font-weight: 400;
    font-size: 22px;
    color: var(--white);
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    transition: transform 0.3s ease;
}

.btn-community:hover {
    transform: scale(1.02);
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.social-icon {
    height: 40px;
    width: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(90deg, var(--green-primary) 0%, var(--green-dark) 100%);
    padding: 30px 20px;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 20px;
    height: 20px;
}

.footer-lang {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 200;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 200;
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-credits {
    font-family: 'Plain', 'Inter', sans-serif;
    font-weight: 100;
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE - Larger Mobile / Small Tablet
   ======================================== */
/* @media (min-width: 480px) {
    .form-title {
        font-size: 52px;
    }

    .form-card {
        padding: 50px 40px;
        border-radius: 80px;
    }

    .contact-form input {
        height: 55px;
        font-size: 26px;
    }

    .btn-submit {
        height: 55px;
        font-size: 28px;
    }

    .investors-title {
        font-size: 52px;
    }

    .investors-subtitle {
        font-size: 32px;
    }

    .locations-title {
        font-size: 42px;
    }

    .location-card {
        border-radius: 50px;
    }

    .location-icon {
        width: 80px;
        height: 80px;
    }

    .location-text {
        font-size: 24px;
    }

    .about-title {
        font-size: 52px;
    }
} */

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */
/* @media (min-width: 768px) {
    .form-card {
        max-width: 500px;
        padding: 60px 50px;
        border-radius: 100px;
    }

    .form-title {
        font-size: 62px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .form-description {
        font-size: 20px;
    }

    .contact-form input {
        height: 60px;
        font-size: 30px;
        border-radius: 30px;
    }

    .btn-submit {
        height: 60px;
        font-size: 32px;
        border-radius: 30px;
    }

    .photo-item {
        width: 180px;
        height: 220px;
    }

    .locations-grid {
        max-width: 600px;
        gap: 30px;
    }

    .location-card {
        border-radius: 60px;
    }

    .about-title {
        font-size: 62px;
    }

    .about-description {
        font-size: 26px;
    }

    .btn-community {
        font-size: 28px;
    }
} */

/* ========================================
   RESPONSIVE - Desktop
   ======================================== */
/* @media (min-width: 1024px) {
    .hero-section {
        max-height: 100vh;
    }

    .hero-image {
        max-height: 100vh;
        object-fit: cover;
        object-position: center;
    }

    .form-card {
        max-width: 600px;
        padding: 70px 60px;
    }

    .form-title {
        font-size: 72px;
    }

    .form-subtitle {
        font-size: 18px;
    }

    .form-description {
        font-size: 22px;
    }

    .investors-title {
        font-size: 72px;
    }

    .investors-subtitle {
        font-size: 42px;
    }

    .investors-text p {
        font-size: 22px;
    }

    .btn-cta {
        font-size: 28px;
        padding: 25px 50px;
    }

    .locations-title {
        font-size: 52px;
    }

    .locations-description {
        font-size: 22px;
        max-width: 600px;
    }

    .locations-grid {
        max-width: 700px;
    }

    .location-icon {
        width: 100px;
        height: 100px;
    }

    .location-text {
        font-size: 28px;
    }

    .about-section {
        min-height: 800px;
    }

    .about-title {
        font-size: 72px;
    }

    .about-description {
        font-size: 30px;
    }

    .about-text {
        font-size: 18px;
        max-width: 500px;
    }

    .btn-community {
        font-size: 32px;
    }
} */
