/* --- ESTILOS GLOBALES Y RESETEO --- */
:root {
    --primary-yellow: #FFD700; /* Amarillo eléctrico */
    --pure-black: #0A0A0A;
    --deep-black: #111111;
    --light-gray: #A9A9A9;
    --white: #FFFFFF;
    --font-montserrat: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-montserrat);
    background-color: var(--pure-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 900;
    text-transform: lowercase;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* --- SECCIÓN 1: HERO --- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: var(--pure-black);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
    width: 150px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--pure-black);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    transform: translateY(-3px);
}

/* --- SECCIÓN 2: ACTITUD --- */
.attitude-section {
    display: flex;
    align-items: center;
    padding: 100px 0;
    border-top: 1px solid #222;
}

.attitude-content {
    flex: 1;
    padding-right: 50px;
}

.attitude-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.attitude-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.attitude-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

.attitude-visual {
    flex: 1;
}

.attitude-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.2);
}

/* --- SECCIÓN 3: SERVICIOS --- */
.services-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--deep-black);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
    color: var(--primary-yellow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--pure-black);
    border: 1px solid #333;
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background-color: var(--primary-yellow);
    color: var(--pure-black);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-yellow);
}

.service-card:hover h3 {
    color: var(--pure-black);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-weight: 300;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--pure-black);
    border-bottom-color: var(--pure-black);
}

/* --- SECCIÓN 4: PROCESO --- */
.process-section {
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
}

.process-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.process-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
    color: var(--primary-yellow);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.step {
    padding: 20px;
    border-left: 3px solid var(--primary-yellow);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    display: block;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step p {
    font-weight: 300;
    color: var(--light-gray);
}

/* --- SECCIÓN 5: CONTACTO --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--pure-black);
    text-align: center;
    background-image: url('https://www.transparenttextures.com/patterns/crissxcross.png');
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    color: var(--primary-yellow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #444;
    color: var(--white);
    font-family: var(--font-montserrat);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-yellow);
}

.submit-button {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: var(--primary-yellow);
    color: var(--pure-black);
}

.contact-info {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #555;
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .attitude-section {
        flex-direction: column;
        text-align: center;
    }
    .attitude-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* --- ESTILOS PARA EL POP-UP DE ÉXITO --- */
.success-popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9); /* Fondo semitransparente */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background-color: var(--deep-black);
    border: 2px solid var(--primary-yellow);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    border-radius: 8px;
    animation: slideInUp 0.4s ease-out;
}

.popup-content h3 {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-transform: lowercase;
}

.popup-content p {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 25px;
}

.close-popup-button {
    background-color: var(--primary-yellow);
    color: var(--pure-black);
    padding: 12px 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: lowercase;
    transition: all 0.3s ease;
}

.close-popup-button:hover {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

/* Animaciones para el pop-up */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}