/* ========== CONTACT HERO (VIDEO BG) ========== */
.contact-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #ffffff;
}

.contact-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.contact-hero-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 56px;
    position: relative;
    z-index: 2;
}

.hamburger-white span {
    background-color: #ffffff;
}

.contact-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px 80px;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.contact-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.contact-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 32px;
}

.contact-headline em {
    font-style: italic;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
    color: rgba(255, 255, 255, 0.85);
}

.contact-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-bottom: 48px;
}

.contact-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 40px;
    transition: all 0.3s ease;
    width: fit-content;
}

.contact-hero-cta:hover {
    background: #ffffff;
    color: #111111;
}

/* ========== FORM SECTION ========== */
.contact-form-section {
    background: #f0efe9;
    padding: 120px 56px;
}

.contact-form-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* --- LEFT: Info Column --- */
.contact-info-col {
    flex: 0 0 360px;
    position: sticky;
    top: 40px;
    color: #111111;
}

.contact-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

.contact-info-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #111111;
    margin-bottom: 20px;
}

.contact-info-title em {
    font-style: italic;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
    color: #888;
}

.contact-info-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    color: #666;
    margin-bottom: 52px;
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
}

.info-block {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
}

.info-block:first-child {
    border-top: 1px solid #ddd;
}

.info-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.info-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: #111111;
    text-decoration: none;
    transition: color 0.25s ease;
}

.info-link:hover {
    color: #444;
    text-decoration: underline;
}

.info-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

/* --- RIGHT: Form Column --- */
.contact-form-col {
    flex: 1;
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 1rem;
    color: #777;
    line-height: 1.5;
}

/* Form card */
.contact-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 56px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form.form-sent {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #ef4444;
    font-size: 0.75rem;
}

.optional {
    background: #f0f0f0;
    color: #aaa;
    font-size: 0.7rem;
    padding: 2px 9px;
    border-radius: 20px;
    font-weight: 400;
}

/* Input & Textarea */
.form-input,
.form-textarea {
    width: 100%;
    background: #fafafa;
    border: 1.5px solid #ebebeb;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 0.97rem;
    font-family: 'Inter', sans-serif;
    color: #111111;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bbb;
}

.form-input:hover,
.form-textarea:hover {
    border-color: #ccc;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #111111;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.textarea-hint {
    font-size: 0.78rem;
    color: #bbb;
    margin-top: 7px;
    display: block;
}

/* Service chips */
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.chip input[type="radio"] {
    display: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 40px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    user-select: none;
}

.chip span:hover {
    border-color: #111111;
    color: #111111;
    background: #f5f5f5;
}

.chip input[type="radio"]:checked + span {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer row */
.form-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.form-privacy {
    font-size: 0.8rem;
    color: #bbb;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.form-privacy a {
    color: #888;
    text-decoration: underline;
    transition: color 0.2s;
}

.form-privacy a:hover {
    color: #111;
}

/* Submit button */
.form-submit-btn {
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.2px;
}

.form-submit-btn span {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.form-submit-btn:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

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

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

/* Success state */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 80px 56px;
    gap: 20px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.form-success h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #111111;
}

.form-success p {
    font-size: 1.05rem;
    color: #777;
    max-width: 380px;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .contact-form-container { gap: 60px; }
    .contact-info-col { flex: 0 0 300px; }
}

@media (max-width: 1024px) {
    .contact-hero-content,
    .contact-hero-top-bar { padding-left: 40px; padding-right: 40px; }
    .contact-form-section { padding: 80px 40px; }
    .contact-form-container { flex-direction: column; gap: 64px; }
    .contact-info-col { flex: auto; position: static; }
    .contact-form { padding: 40px; }
}

@media (max-width: 600px) {
    .contact-hero-content,
    .contact-hero-top-bar { padding-left: 24px; padding-right: 24px; }
    .contact-form-section { padding: 60px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
    .form-footer-row { flex-direction: column; align-items: flex-start; }
    .form-submit-btn { width: 100%; justify-content: center; }
}

/* ========== FAQ / SOPORTE SECTION ========== */
.contact-faq-section {
    background: #ffffff;
    padding: 120px 56px;
}

.contact-faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #111111;
}

.faq-title em {
    font-style: italic;
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
    color: #666;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-card {
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.faq-question {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.faq-answer {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.faq-answer a {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #38bdf8;
}

@media (max-width: 1024px) {
    .contact-faq-section {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .contact-faq-section {
        padding: 60px 24px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
