/* iUROP Design System Variables */
:root {
    /* iUROP Color Palette */
    --primary-gold: rgb(247, 206, 0);
    --primary-gold-hex: #f7ce00;
    --gold-dark: rgb(134, 94, 8);
    --gold-light: rgb(255, 187, 0);
    --gold-bright: rgb(254, 213, 11);
    --black: rgb(0, 0, 0);
    --white: rgb(255, 255, 255);
    --gray-light: rgb(217, 217, 217);
    --gray-medium: rgb(117, 117, 117);
    --gray-dark: rgb(169, 169, 169);

    /* iUROP Backgrounds */
    --bg-dark: #0f0f0f;
    --bg-dark-fade: #16161600;
    --bg-glass: rgba(70, 70, 70, 0.3);
    --bg-gold-transparent: #f7ce000f;

    /* iUROP Gradients */
    --gradient-gold: linear-gradient(0deg, rgb(255, 187, 0) 0%, rgb(254, 213, 11) 100%);
    --gradient-gold-fade: linear-gradient(216deg, #ffc504, #ffc5043d 12%, #ffc50400 61%);
    --gradient-dark: linear-gradient(180deg, #0f0f0f, #16161600);

    /* iUROP Border Radius */
    --radius-sm: 25px;
    --radius-md: 40px;
    --radius-lg: 48px;
    --radius-xl: 60px;

    /* iUROP Effects */
    --blur-glass: blur(90px);
    --border-subtle: 1.41px solid rgba(255, 255, 255, .1);
    --border-gold: 1px solid var(--primary-gold-hex);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(247, 206, 0, 0.5);
}

/* Custom Golden Cursor */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="24" viewBox="0 0 16 24"><path fill="%23f7ce00" d="M0 0L0 18L4 14L7 19L9 18L6 13L11 13L0 0Z"/></svg>') 0 0, auto;
}

a,
button,
.service-card,
.client-logo,
.feature,
.faq-question,
input,
textarea,
select {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23f7ce00" d="M2 2L2 16L6 12L9 17L11 16L8 11L13 11L2 2Z"/></svg>') 0 0, pointer;
}

/* Black cursor for golden elements */
.cta-button,
.service-icon,
.feature-icon,
.contact-icon,
.faq-toggle,
.whatsapp-float,
.submit-button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23000000" d="M2 2L2 16L6 12L9 17L11 16L8 11L13 11L2 2Z"/></svg>') 0 0, pointer;
}

/* Header - iUROP Style */
header {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(247, 206, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: var(--border-subtle);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(1);
	transition: all 0.3s ease;
}

.logo img:hover {
    /* Brillo de silueta (Glow) en color Oro */
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(247, 206, 0, 0.8));
    /* Pequeño zoom */
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* iUROP Button Style */
.cta-button {
    background: var(--gradient-gold);
    color: var(--black);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(247, 206, 0, 0.3);
    will-change: transform;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(247, 206, 0, 0.5);
}

/* Hero Section - iUROP Enhanced */
.hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 120px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(247,206,0,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

/* iUROP Gold Glow Effect */
.hero::after {
    content: '';
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 100px);
    width: 200px;
    height: 100px;
    background: var(--gradient-gold-fade);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    color: var(--gray-light);
    text-align: justify;
    min-height: 2.6rem;
    /* Reserve space for typewriter effect */
}

/* Typewriter effect styles */
.typewriter-word {
    opacity: 0;
    animation: wordAppear 0.3s ease forwards;
}

@keyframes wordAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typewriter-cursor {
    display: inline-block;
    background-color: var(--primary-gold);
    margin-left: 8px;
    /* More space from last character */
    width: 2px;
    height: 1.2em;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-buttons {
    opacity: 1;
    /* Keep container visible */
    /* Remove the initial animation */
}

/* Hide button initially for dramatic entrance */
.hero-buttons .cta-button {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.3) translateY(30px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dramatic entrance animation */
.hero-buttons.show-button .cta-button {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: dramaticEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes dramaticEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px) rotate(-10deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-5px) rotate(2deg);
    }

    70% {
        opacity: 1;
        transform: scale(0.95) translateY(2px) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.secondary-button {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-lg);
}

.secondary-button:hover {
    background: var(--bg-gold-transparent);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator - iUROP Style */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-gold);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 10;
    pointer-events: auto;
}

.scroll-indicator.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    pointer-events: none;
    visibility: hidden;
}

.scroll-indicator:hover {
    color: var(--gold-bright);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    transform: rotate(45deg);
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(-5px);
    }

    60% {
        transform: rotate(45deg) translateY(-3px);
    }
}

/* Services Section - iUROP Cards */
.services {
    padding: 80px 0 200px 0;
    /* Extra bottom padding */
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
    min-height: 1.8rem;
    /* Reserve space for typewriter effect */
}

/* Hide services typewriter text initially */
#services-typewriter-text {
    opacity: 0;
}

.services-grid {
    display: block;
    margin-top: 3rem;
    position: relative;
    /* Add clearfix to prevent overlap */
    overflow: hidden;
    /* Add more padding to prevent glow cutoff */
    padding: 60px 40px;
    margin-left: -40px;
    margin-right: -40px;
}

.services-grid::after {
    content: '';
    display: table;
    clear: both;
}

/* iUROP Service Card Style */
.service-card {
    background: var(--gradient-dark);
    padding: 2.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: var(--border-subtle);
    position: relative;
    overflow: hidden;
    /* Contain the glow effect */
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
    will-change: transform;
    width: 48%;
    margin-bottom: 2rem;
    display: inline-block;
    vertical-align: top;
}

/* Exact cascade effect like original */
.service-card:nth-child(1) {
    float: left;
    clear: left;
    margin-right: 4%;
    margin-top: 0;
}

.service-card:nth-child(2) {
    float: right;
    margin-top: 150px;
}

.service-card:nth-child(3) {
    float: left;
    clear: left;
    margin-right: 4%;
    margin-top: 90px;
}

.service-card:nth-child(4) {
    float: right;
    margin-top: 90px;
}

/* iUROP Glassmorphism Effect */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-gold-fade);
    transition: transform 0.8s;
    transform: rotate(-45deg) translate(-100%, -100%);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 80px rgba(247, 206, 0, 0.15), 0 0 50px rgba(247, 206, 0, 0.1);
    border-color: rgba(247, 206, 0, 0.3);
    backdrop-filter: var(--blur-glass);
    background-color: var(--bg-glass);
}

.service-card:hover::before {
    transform: rotate(-45deg) translate(0%, 0%);
    opacity: 1;
}

/* iUROP Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--black);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(247, 206, 0, 0.3);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(247, 206, 0, 0.5);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover h3 {
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(247, 206, 0, 0.3);
}

.service-card p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
    position: relative;
    z-index: 2;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card:hover .service-list li {
    color: var(--white);
    transform: translateX(5px);
}

.service-card:hover .service-list li::before {
    transform: scale(1.3);
    text-shadow: 0 0 10px rgba(247, 206, 0, 0.7);
}

/* Clients Section - iUROP Style */
.clients {
    padding: 60px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.clients-title {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-title p {
    font-size: 1rem;
    color: var(--gray-medium);
    text-align: justify;
    max-width: 500px;
    margin: 0 auto;
}

.clients-slider {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    /* Add fade mask effect like iUROP */
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgb(0, 0, 0) 15%,
            rgb(0, 0, 0) 85%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgb(0, 0, 0) 15%,
            rgb(0, 0, 0) 85%,
            rgba(0, 0, 0, 0) 100%);
    /* Center and limit width */
    max-width: 1000px;
    margin: 0 auto;
}

.clients-track {
    display: inline-flex;
    align-items: center;
    animation: scroll 40s linear infinite;
    gap: 1rem;
    /* Smaller gap for tighter grouping like iUROP */
}

.clients-track:hover {
    animation-play-state: paused;
}

/* iUROP Client Logo Style - Clean without backgrounds */
.client-logo {
    flex-shrink: 0;
    height: 60px;
    width: 190px;
    /* Fixed width for consistency */
    min-width: 190px;
    /* Ensure minimum width */
    max-width: 190px;
    /* Ensure maximum width */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* No background like iUROP */
    border: none;
    /* No borders like iUROP */
    border-radius: 0;
    /* No border radius */
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.client-logo img {
    max-height: 50px;
    max-width: 125px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: transparent;
    /* Keep transparent like iUROP */
    border: none;
    transform: translateY(-2px);
    /* Subtle lift effect */
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1.2) sepia(0.2) hue-rotate(35deg) saturate(1.5);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About Section - iUROP Enhanced */
.about {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* iUROP Feature Style */
.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: var(--border-subtle);
    height: 85px;
    /* Fixed height for consistency */
    min-height: 85px;
    /* Ensure minimum height */
}

.feature:hover {
    background: rgba(247, 206, 0, 0.1);
    border-color: rgba(247, 206, 0, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

/* iUROP Stats Card */
.about-visual {
    background: var(--gradient-dark);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: var(--border-subtle);
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(247,206,0,0.1)"/></svg>');
    background-size: 20px 20px;
    animation: drift 15s linear infinite;
}

@keyframes drift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-20px);
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
    /* Hide stats initially */
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.8s ease;
}

.stat.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat:hover {
    transform: translateY(0) scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated numbers */
.stat-number.counting {
    animation: pulse 0.1s ease infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--gray-light);
}

/* FAQ Section - Completely Redesigned */
.faq {
    padding: 80px 0;
    background: var(--bg-dark);
}

.faq-item {
    background: var(--gradient-dark);
    border: var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(247, 206, 0, 0.3);
    box-shadow: 0 5px 20px rgba(247, 206, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.faq-question:hover {
    background: rgba(247, 206, 0, 0.05);
}

.faq-question h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-gold);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-weight: bold;
    color: var(--black);
    font-size: 18px;
    flex-shrink: 0;
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content-inner {
    padding-bottom: 1.5rem;
}

.faq-content p {
    color: var(--gray-light);
    line-height: 1.6;
    margin: 0;
}

/* When FAQ is open */
.faq-item[data-open="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-item[data-open="true"] .faq-content {
    max-height: 300px;
    padding: 0 1.5rem;
}

/* Contact Section - Redesigned */
.contact {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: var(--border-subtle);
}

.contact-item:hover {
    background: rgba(247, 206, 0, 0.1);
    border-color: rgba(247, 206, 0, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* TABS UI */
.contact-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--gray-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-gold);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(247, 206, 0, 0.3);
}

.tab-button:hover:not(.active) {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* FORMS CONTAINER */
.contact-forms-container {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    min-height: 400px;
    /* Prevent layout jump */
    overflow: hidden;
}

/* Tab Contents with Transition */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSlide 0.4s forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(247, 206, 0, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Date Input Styling */
input[type="date"] {
    position: relative;
    color-scheme: dark;
    /* Native dark calendar */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
    /* Golden Icon */
    cursor: pointer;
    opacity: 0.8;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* BOOKING SLOTS GRID */
.booking-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.booking-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.booking-header p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar for slots */
.slot-grid::-webkit-scrollbar {
    width: 6px;
}

.slot-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.slot-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-message {
    color: var(--gray-medium);
    font-size: 0.9rem;
    text-align: center;
}

.slot-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.slot-btn:hover {
    background: rgba(247, 206, 0, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.slot-btn.active {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(247, 206, 0, 0.4);
}

/* Validation Error Shake */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake-error {
    animation: shake 0.4s ease-in-out;
    border: 1px solid #ff4444 !important;
}

/* SUBMIT BUTTON */
.submit-button {
    background: var(--gradient-gold);
    color: var(--black);
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 206, 0, 0.3);
}

/* SUCCESS OVERLAY */
.success-overlay {
    position: absolute;
    /* Relative to form container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    /* Solid background to cover forms */
    display: flex;
    /* Centered content */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    border-radius: var(--radius-sm);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    padding: 2rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.success-content h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.success-content p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.primary-button {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-button:hover {
    background: var(--primary-gold);
    color: var(--black);
}

/* Footer - iUROP Style */
footer {
    background: var(--bg-dark);
    color: var(--gray-light);
    padding: 3rem 0 1rem;
    text-align: center;
    border-top: var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-align: justify;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: var(--border-subtle);
    padding-top: 1rem;
    margin-top: 2rem;
    color: var(--gray-medium);
}

/* WhatsApp Float Button - iUROP Style */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(247, 206, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-gold 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(247, 206, 0, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--black);
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 4px 20px rgba(247, 206, 0, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(247, 206, 0, 0.4), 0 0 0 10px rgba(247, 206, 0, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(247, 206, 0, 0.4);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 100px 0;
        min-height: 100vh;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 0.8rem;
    }

    .hero-buttons .cta-button {
        display: block;
        margin: 10px auto;
        width: fit-content;
        /* Keep the same animation styles on mobile */
        opacity: 0;
        transform: scale(0.3) translateY(30px);
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    /* Adjust clients slider width for mobile */
    .clients-slider {
        max-width: 95%;
        /* Use percentage on mobile */
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature {
        height: 75px;
        /* Slightly smaller on mobile but still consistent */
        min-height: 75px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        display: block;
        padding: 20px 10px;
        /* Reduced padding for mobile */
        margin-left: -10px;
        margin-right: -10px;
    }

    .service-card {
        width: 100% !important;
        float: none !important;
        margin-top: 2rem !important;
        margin-right: 0 !important;
        margin-bottom: 2rem;
        display: block;
        clear: both;
    }

    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4) {
        margin-top: 2rem !important;
        float: none !important;
        margin-right: 0 !important;
    }

    .service-card:first-child {
        margin-top: 0 !important;
    }

    .client-logo {
        width: 160px;
        /* Smaller but still consistent on mobile */
        min-width: 160px;
        max-width: 160px;
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        height: 50px;
        background: transparent;
        /* Keep transparent on mobile too */
        border: none;
    }

    .client-logo img {
        max-height: 38px;
        max-width: 100px;
    }

    .logo img {
        height: 30px;
    }

    .clients-title h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card {
        padding: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}


/* UI REFINEMENTS & FLATPICKR */

/* Flatpickr Dark & Gold Theme */
.flatpickr-calendar {
    background: var(--bg-dark) !important;
    border: 1px solid rgba(247, 206, 0, 0.2) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    font-family: 'Segoe UI', sans-serif !important;
}

.flatpickr-month {
    background: var(--bg-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white) !important;
    fill: var(--white) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: var(--white) !important;
    font-weight: bold;
}

.flatpickr-weekdays {
    background: var(--bg-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

span.flatpickr-weekday {
    color: var(--primary-gold) !important;
    font-weight: bold;
}

.flatpickr-day {
    color: var(--gray-light) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #333 !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    color: var(--black) !important; /* High contrast */
    font-weight: bold;
}

.flatpickr-day.today {
    border-color: var(--primary-gold) !important;
}

.flatpickr-day:hover {
    background: rgba(247, 206, 0, 0.2) !important;
    border-color: transparent !important;
    color: var(--white) !important;
}

/* Date Input Pointer */
input[type='date'],
.flatpickr-input {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f7ce00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

/* Slot Button Refinements (Overrides) */
.slot-btn {
    will-change: transform;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slot-btn:hover {
    background: rgba(247, 206, 0, 0.15);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: scale(1.05); /* Requested Scale Effect */
}

.slot-btn.active {

/* UI REFINEMENTS & FLATPICKR v2 */

/* 1. Arreglo del input con icono */
.input-with-icon {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding-right: 45px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    height: 50px;
}

.calendar-icon-overlay {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 5;
}

/* 2. Flatpickr Clean Theme */
.flatpickr-calendar {
    background: #1a1a1a !important;
    border: 1px solid var(--primary-gold) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9) !important;
    border-radius: 15px !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 300px !important;
}

.flatpickr-month {
    background: transparent !important;
    color: var(--white) !important;
    fill: var(--white) !important;
    margin-bottom: 5px !important;
    padding-top: 10px !important;
    overflow: visible !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: transparent !important;
}

.flatpickr-prev-month, .flatpickr-next-month {
    fill: var(--primary-gold) !important;
    color: var(--primary-gold) !important;
    padding-top: 5px !important; 
}

.flatpickr-weekdays {
    background: transparent !important;
    border-bottom: none !important;
    margin-bottom: 5px !important;
    padding: 0 10px !important;
}

span.flatpickr-weekday {
    color: var(--gray-medium) !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.flatpickr-days {
    padding: 0 10px 10px 10px !important;
}

.flatpickr-day {
    color: #e0e0e0 !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    height: 36px !important;
    line-height: 36px !important;
    background: transparent !important;
}

.flatpickr-day:hover {
    background: rgba(247, 206, 0, 0.2) !important;
    color: var(--white) !important;
}

.flatpickr-day.selected {
    background: var(--primary-gold) !important;
    color: var(--black) !important;
    font-weight: bold !important;
    box-shadow: 0 0 10px rgba(247, 206, 0, 0.4) !important;
    border-color: var(--primary-gold) !important;
}

.flatpickr-day.today {
    border: 1px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
}

/* Hide Empty State completely */
.empty-state {
    display: none !important;
}

/* SUCCESS OVERLAY FIX */
.success-overlay {
    z-index: 50;
    padding-top: 2rem;
}
