/*
 * BASE Centro de Entrenamiento
 * Forms Stylesheet - forms/registro.html
 * Versión 1.0 - 2025
 */

/* ===================================
   CARGA DE FUENTES
   =================================== */
@font-face {
    font-family: 'TUSKER GROTESK';
    src: url('../../fonts/TuskerGrotesk-7600Semibold.woff2') format('woff2'),
        url('../../fonts/TuskerGrotesk-7600Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica W1G';
    src: url('../../fonts/NeueHaasUnica-Regular.woff2') format('woff2'),
        url('../../fonts/NeueHaasUnica-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica W1G';
    src: url('../../fonts/NeueHaasUnica-Medium.woff2') format('woff2'),
        url('../../fonts/NeueHaasUnica-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica W1G';
    src: url('../../fonts/NeueHaasUnica-Heavy.woff2') format('woff2'),
        url('../../fonts/NeueHaasUnica-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   VARIABLES Y RESET
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-gray: #323738;
    --color-cream: #FDFAF3;
    --color-copper: #C68346;
    --color-steel-blue: #4682B4;
    --color-slate: #485E73;

    --font-display: 'TUSKER GROTESK', sans-serif;
    --font-body: 'Neue Haas Unica W1G', 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-dark-gray);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-slate) 100%);
    color: var(--color-cream);
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(50, 55, 56, 0.3);
}

.logo-container {
    margin-bottom: 25px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 4em;
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.header-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.4em;
    opacity: 0.95;
    margin-top: 10px;
}

/* ===================================
   CONTENIDO PRINCIPAL
   =================================== */
.content {
    max-width: 1000px;
    margin: -60px auto 60px;
    background: var(--color-cream);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(50, 55, 56, 0.15);
    padding: 60px 50px;
    position: relative;
    z-index: 1;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro h1 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 2.8em;
    color: var(--color-dark-gray);
    margin-bottom: 20px;
}

.intro .highlight {
    color: var(--color-copper);
    font-weight: 800;
}

.intro p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2em;
    color: var(--color-slate);
    max-width: 800px;
    margin: 0 auto;
}

.intro strong {
    color: var(--color-copper);
}

/* ===================================
   BENEFICIOS
   =================================== */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.benefit-card {
    background: var(--color-cream);
    border: 2px solid var(--color-slate);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--color-copper);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(198, 131, 70, 0.25);
}

.benefit-card .icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    display: block;
}

.benefit-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.3em;
    color: var(--color-copper);
    margin-bottom: 10px;
}

.benefit-card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95em;
    color: var(--color-slate);
    line-height: 1.5;
}

/* ===================================
   LOADING
   =================================== */
#loading {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(198, 131, 70, 0.1);
    border-top: 6px solid var(--color-copper);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

#loading p {
    font-weight: 500;
    color: var(--color-slate);
    font-size: 1.1em;
}

/* ===================================
   IFRAME
   =================================== */
.form-wrapper {
    margin: 50px 0;
}

iframe {
    width: 100%;
    border: none;
    min-height: 1200px;
    display: none;
    border-radius: 12px;
}

/* ===================================
   CTA ALTERNATIVO
   =================================== */
.alternative-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg,
            rgba(198, 131, 70, 0.05) 0%,
            rgba(70, 130, 180, 0.05) 100%);
    border-radius: 12px;
    border: 2px dashed var(--color-copper);
}

.alternative-cta h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.8em;
    color: var(--color-copper);
    margin-bottom: 15px;
}

.alternative-cta p {
    font-weight: 500;
    font-size: 1.1em;
    color: var(--color-slate);
    margin-bottom: 25px;
}

.whatsapp-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.15em;
    padding: 18px 45px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-dark-gray);
    color: var(--color-cream);
    padding: 50px 20px;
    text-align: center;
}

.footer h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 2em;
    color: var(--color-copper);
    margin-bottom: 15px;
}

.footer-tagline {
    font-weight: 500;
    font-size: 1.15em;
    opacity: 0.95;
    margin-bottom: 35px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05em;
}

.contact-item a {
    color: var(--color-copper);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-steel-blue);
}

.social-links {
    margin: 35px 0;
}

.social-btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 8px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.instagram-btn {
    background: linear-gradient(45deg,
            #f09433 0%, #e6683c 25%,
            #dc2743 50%, #cc2366 75%,
            #bc1888 100%);
    color: white;
}

.instagram-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.back-button {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 15px 40px;
    background: var(--color-copper);
    color: var(--color-cream);
    border-radius: 50px;
    text-decoration: none;
    margin: 25px 0;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(198, 131, 70, 0.3);
}

.back-button:hover {
    background: var(--color-steel-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(70, 130, 180, 0.4);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--color-slate);
    opacity: 0.85;
    font-size: 0.95em;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .logo {
        font-size: 3em;
    }

    .header-subtitle {
        font-size: 1.2em;
    }

    .content {
        padding: 40px 25px;
        margin: -40px 15px 40px;
    }

    .intro h1 {
        font-size: 2.2em;
    }

    .intro p {
        font-size: 1.1em;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    iframe {
        min-height: 1500px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .social-btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5em;
        letter-spacing: 0.08em;
    }

    .intro h1 {
        font-size: 1.8em;
    }

    .benefit-card .icon {
        font-size: 3em;
    }

    .whatsapp-btn,
    .back-button {
        padding: 15px 35px;
        font-size: 1em;
    }
}