body { overflow-x: hidden; line-height: 1.6; }

::-webkit-scrollbar-thumb:hover { background: var(--burgundy-mid); }

/* CONTACT HERO */
.contact-hero {
    min-height: unset; display: flex; align-items: center; justify-content: center;
    padding: 8rem 2rem 0.5rem; position: relative; overflow: hidden;
}
.contact-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(123, 45, 53, 0.12) 0%, transparent 60%);
}
.contact-hero .section-container { position: relative; z-index: 1; text-align: center; max-width: 700px; }

.section-title {
    font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600; margin-bottom: 1rem; line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem; color: var(--cream); opacity: 0.65; font-weight: 300; line-height: 1.7;
}

/* CONTACT GRID */
.contact-main { padding: 2rem 2rem 6rem; }
.contact-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem;
    max-width: 1100px; margin: 0 auto;
}
.card {
    background: rgba(42, 16, 21, 0.6); border: 1px solid rgba(123, 45, 53, 0.25);
    border-radius: 16px; padding: 2.5rem; backdrop-filter: blur(8px);
}
.form-title, .info-title {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem;
}

/* FORM */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem;
    color: var(--cream); opacity: 0.8;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.85rem 1rem; background: rgba(26, 10, 14, 0.7);
    border: 1px solid rgba(123, 45, 53, 0.3); border-radius: 10px;
    color: var(--cream); font-family: var(--font-sans); font-size: 0.95rem;
    transition: all 0.3s; outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--cream); opacity: 0.55; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23C9A84C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; min-height: 48px; }
.form-success {
    display: none; text-align: center; padding: 2rem 1rem; animation: fadeIn 0.5s ease;
}
.form-success .check-icon {
    width: 60px; height: 60px; border-radius: 50%; background: rgba(74, 158, 110, 0.15);
    border: 2px solid var(--success); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 1.5rem; color: var(--success);
}
.form-success h3 { font-family: var(--font-display); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; opacity: 0.6; }

/* INFO SIDEBAR */
.info-item {
    display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
    padding-bottom: 1.5rem; border-bottom: 1px solid rgba(123, 45, 53, 0.2);
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
    width: 44px; height: 44px; border-radius: 10px; background: rgba(123, 45, 53, 0.15);
    border: 1px solid rgba(123, 45, 53, 0.25); display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.info-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.info-content p { font-size: 0.85rem; opacity: 0.6; line-height: 1.5; }
.info-content p:has(a) { opacity: 1; }
.info-content a { color: var(--gold); text-decoration: none; transition: opacity 0.3s; }
.info-content a:hover { opacity: 0.8; text-decoration: underline; }

/* MOBILE */

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .contact-hero { min-height: 40vh; padding: 7rem 1.5rem 3rem; }
    .card { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

}

/* trampa para bots del formulario (fuera de la vista, no display:none para que los bots la rellenen) */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.88rem; color: var(--cream); background: rgba(208,106,106,0.15); border: 1px solid rgba(208,106,106,0.4); }

.form-aviso { margin: 0.75rem 0 0; font-size: 0.8rem; line-height: 1.5; color: rgba(245, 237, 228, 0.55); text-align: center; }
.form-aviso a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
