/* ============================================
   PÁGINA CONTACTO - ESTUDIO ENJAMBRE
   ============================================ */

/* TIPOGRAFÍAS */
@font-face {
    font-family: 'Obviously';
    src: url('../Fonts/Obviously-Regular.woff2') format('woff2'),
         url('../Fonts/Obviously-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Obviously';
    src: url('../Fonts/Obviously-Bold.woff2') format('woff2'),
         url('../Fonts/Obviously-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Obviously', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Fix menú hamburguesa en página contacto */
.hamburger span {
    background: #ffbc00 !important;
}

.nav-logo img {
    filter: none !important;
}



/* ============================================
   HERO CONTACTO
   ============================================ */
.hero-contacto {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 30px 80px;
    background: #000;
    position: relative;
}

.hero-contacto::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #ffbc00;
    opacity: 0.05;
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-contacto h1 {
    font-size: 4em;
    font-weight: 700;
    color: #ffbc00;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-contacto .subtitle {
    font-size: 1.3em;
    color: #fff;
    opacity: 0.9;
}

/* ============================================
   INFO RÁPIDA
   ============================================ */
.info-contacto {
    padding: 80px 30px;
    background: #0a0a0a;
}

.info-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    background: #000;
    border: 1px solid rgba(255, 188, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #ffbc00;
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.2em;
    color: #ffbc00;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card a,
.info-card p {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.info-card a:hover {
    color: #ffbc00;
}

/* ============================================
   FORMULARIO
   ============================================ */
.formulario-section {
    padding: 100px 30px;
    background: #000;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-header h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Form Groups */
.contact-form {
    background: #0a0a0a;
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 188, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    color: #ffbc00;
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    font-family: 'Obviously', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffbc00;
    background: #0a0a0a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* Botón de Envío */
.btn-submit {
    width: 100%;
    padding: 18px 30px;
    background: #ffbc00;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'Obviously', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #e6a900;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 188, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3em;
    transition: transform 0.3s;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* Mensaje de Éxito */
.form-success {
    display: none;
    text-align: center;
    padding: 25px;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 2em;
    color: #4CAF50;
    display: block;
    margin-bottom: 10px;
}

.form-success p {
    color: #4CAF50;
    font-size: 1.1em;
    font-weight: 600;
}

/* ============================================
   FOOTER (hereda estilos)
   ============================================ */
#footer-contacto {
    background: transparent;
    padding: 60px 30px 30px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: baseline;
    overflow: visible;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* MOBILE - Centrar todo */
@media (max-width: 768px) {
    .hero-contacto {
        min-height: 50vh;
        padding: 120px 20px 60px;
        text-align: center;
    }

    .hero-contacto h1 {
        font-size: 2.5em;
        text-align: center;
    }

    .hero-contacto .subtitle {
        font-size: 1.1em;
        text-align: center;
    }

    .info-contacto {
        padding: 60px 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }

    .info-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .formulario-section {
        padding: 60px 15px;
    }

    .form-container {
        width: 100%;
        padding: 0 10px;
    }

    .form-header {
        text-align: center;
        padding: 0 10px;
    }

    .form-header h2 {
        font-size: 2em;
    }

    .contact-form {
        padding: 35px 20px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .btn-submit {
        padding: 16px 25px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }
    
    .hero-contacto {
        padding: 100px 15px 50px !important;
        width: 100%;
    }
    
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .hero-contacto h1 {
        font-size: 2em !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
    }

    .hero-contacto .subtitle {
        font-size: 1em !important;
        padding: 0 !important;
    }
    
    .hero-contacto::before {
        width: 300px;
        height: 300px;
    }

    .info-contacto {
        padding: 40px 15px !important;
    }

    .info-grid {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }

    .info-card {
        padding: 25px 15px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .info-card h3 {
        font-size: 1.1em;
    }
    
    .info-card a,
    .info-card p {
        font-size: 0.9em;
        word-wrap: break-word;
    }

    .formulario-section {
        padding: 40px 15px !important;
    }

    .form-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .form-header {
        padding: 0 !important;
        margin-bottom: 30px !important;
    }

    .form-header h2 {
        font-size: 1.6em !important;
    }
    
    .form-header p {
        font-size: 0.95em;
    }

    .contact-form {
        padding: 25px 15px !important;
        width: 100% !important;
    }

    .form-group {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .form-group label {
        font-size: 0.9em;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 12px !important;
        width: 100% !important;
        font-size: 0.95em !important;
    }
    
    .btn-submit {
        padding: 14px 20px !important;
        font-size: 1em !important;
    }
}