/* Contact Hero Section */
:root{
  --bg: #0b0d12;
  --text: #eef2ff;
  --muted: #b9c0d9;
  --primary: #6ee7ff;
  --accent: #8b5cf6;
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --maxw: 1408px; /* 1280 + 10% */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}


body{
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial;
    color:var(--text); background:var(--bg);
    background-image: radial-gradient(80% 80% at 20% 10%, #1f2a44 0%, transparent 70%),
                      radial-gradient(60% 60% at 90% 20%, rgba(104,117,245,.25) 0%, transparent 60%),
                      radial-gradient(70% 70% at 20% 80%, rgba(139,92,246,.18) 0%, transparent 60%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  }



.contact-hero {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-hero-title {
    font-weight:900; line-height:1.05; margin:.4rem 0 1rem;
    font-size: clamp(2.8rem, 2vw + 3.3rem, 5.9rem);
    letter-spacing:-.02em;
    background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
    padding-bottom: 13px;
}

.contact-hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Graphic */
.contact-orb-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-orb-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(1.1);
}

.contact-central-orb {
    width: 150px;
    height: 150px;
    background: rgba(74, 144, 226, 0.1);
    border: 2px dashed rgba(74, 144, 226, 0.3);
    border-radius: 50%;
}

.contact-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-line {
    position: absolute;
    background: rgba(74, 144, 226, 0.1);
    height: 2px;
    border-radius: 1px;
}

.contact-line-1 { width: 120px; top: 20%; left: 20%; transform: rotate(45deg); }
.contact-line-2 { width: 100px; top: 30%; right: 25%; transform: rotate(-30deg); }
.contact-line-3 { width: 140px; bottom: 25%; left: 15%; transform: rotate(60deg); }
.contact-line-4 { width: 110px; bottom: 35%; right: 15%; transform: rotate(-45deg); }

.contact-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(179, 136, 255, 0.1);
    border: 1px dashed rgba(179, 136, 255, 0.3);
    border-radius: 50%;
}

.contact-icon-email { top: 10%; left: 30%; }
.contact-icon-phone { top: 20%; right: 20%; }
.contact-icon-chat { bottom: 20%; left: 25%; }
.contact-icon-calendar { bottom: 10%; right: 30%; }

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #B388FF;
    margin-bottom: 40px;
}

/* Contact Info */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(179, 136, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid #B388FF;
}

.contact-item-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(179, 136, 255, 0.1);
    border-radius: 50%;
}

.contact-item-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #B388FF;
    margin-bottom: 5px;
}

.contact-item-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(179, 136, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B388FF;
    background: rgba(179, 136, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(179, 136, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #101728;
    color: #ffffff;
}

.submit-button {
    background: linear-gradient(135deg, #FF6B9D, #B388FF);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(179, 136, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-top: 40px;
    display:inline-flex; align-items:center; gap:.6rem; 
    padding:1rem 1.3rem; border-radius:999px; font-weight:700;
    background:var(--grad); color:#06101a; box-shadow: var(--shadow);
    transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
    font-size:1.05rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(179, 136, 255, 0.4);
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: rgba(179, 136, 255, 0.02);
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #B388FF;
    text-align: center;
    margin-bottom: 60px;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(179, 136, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(179, 136, 255, 0.05);
    border-color: rgba(179, 136, 255, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #B388FF;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-content,
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-section-title {
        font-size: 2rem;
    }

    .contact-orb-container {
        height: 300px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-section-title {
        font-size: 1.5rem;
    }

    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .contact-item {
        padding: 15px;
        gap: 15px;
    }

    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .submit-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Alertas del formulario */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Animación para las alertas */
.alert {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensajes de estado del formulario */
.status-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    animation: slideInDown 0.3s ease-out;
}

.status-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.status-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Animación para los mensajes */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal de estado centrado */
.status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.4s ease-out;
    transition: all 0.3s ease;
}

.modal-content.success {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f2e1a 100%);
    border: 2px solid #22c55e;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.modal-icon.success {
    color: #22c55e;
    transform: scale(1.1);
}

.modal-icon.error {
    color: #ef4444;
    transform: scale(1.1);
}

.modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.modal-message {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Puntos de carga animados */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #4a90e2;
    border-radius: 50%;
    animation: loadingDots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0s;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-hero-content,
    .contact-form-content {
        gap: 50px;
    }
    
    .contact-hero-title {
        font-size: 3rem;
    }
    
    .contact-section-title {
        font-size: 2.2rem;
    }
    
    .contact-orb-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-hero-content,
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .contact-section-title {
        font-size: 2rem;
    }
    
    .contact-hero-description {
        font-size: 1.1rem;
    }

    .contact-orb-container {
        height: 400px;
        order: -1;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-item {
        padding: 18px;
        gap: 15px;
    }
    
    .contact-item-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .contact-item-content h3 {
        font-size: 1rem;
    }
    
    .contact-item-content p {
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-hero-title {
        font-size: 2.2rem;
    }
    
    .contact-section-title {
        font-size: 1.8rem;
    }
    
    .contact-hero-description {
        font-size: 1rem;
    }
    
    .contact-orb-container {
        height: 350px;
    }
    
    .contact-form-container {
        padding: 25px 18px;
    }
    
    .contact-item {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .form-group {
        gap: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .contact-section-title {
        font-size: 1.5rem;
    }
    
    .contact-hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .contact-hero {
        padding: 90px 0 50px;
        min-height: 75vh;
    }
    
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-orb-container {
        height: 300px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .contact-item {
        padding: 12px;
        gap: 10px;
    }
    
    .contact-item-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .contact-item-content h3 {
        font-size: 0.9rem;
    }
    
    .contact-item-content p {
        font-size: 0.85rem;
    }
    
    .form-group {
        gap: 5px;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .submit-button {
        padding: 12px 25px;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    /* Responsive para el modal */
    .modal-content {
        padding: 25px 18px;
        margin: 15px;
        max-width: 350px;
    }
    
    .modal-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .modal-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .modal-message {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .loading-dots span {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }
    
    .contact-section-title {
        font-size: 1.3rem;
    }
    
    .contact-hero-description {
        font-size: 0.9rem;
    }
    
    .contact-orb-container {
        height: 250px;
    }
    
    .contact-form-container {
        padding: 18px 12px;
    }
    
    .contact-item {
        padding: 10px;
        gap: 8px;
    }
    
    .contact-item-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .submit-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 20px 15px;
        margin: 10px;
        max-width: 300px;
    }
    
    .modal-icon {
        font-size: 2.5rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-message {
        font-size: 0.8rem;
    }
}

/* Imágenes responsivas por defecto */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ajustes específicos */
.contact-hero img {
    max-width: 80%; /* que no ocupe todo en desktop */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-hero img {
        max-width: 60%; /* más chica en tablet */
    }
}

@media (max-width: 480px) {
    .contact-hero img {
        max-width: 50%; /* aún más chica en móviles */
    }
}

