/* ==========================================================================
   kovertiz - CONTACT.CSS (VIOLET ONLY - NO ORANGE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #030610;
    --card: #0d1221;
    --kovertiz-violet: #818cf8; /* Único color de acento */
    --glow: rgba(129, 140, 248, 0.2);
    --text-white: #f9fafb;
    --text-dim: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text-white); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HELPERS */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HERO SECTION */
.contact-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(129, 140, 248, 0.15), transparent 70%);
}
.kicker { color: #818cf8; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 15px; display: block; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.lead { color: var(--text-dim); max-width: 650px; margin: 0 auto; font-size: 1.1rem; }

/* MAIN CONTENT GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    padding: 40px 0 100px;
}

/* SIDEBAR INFO CARDS */
.info-card {
    background: #0d1221;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: 0.3s;
}
.info-card:hover { border-color: #818cf8; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(129, 140, 248, 0.1); }
.info-card i { color: #818cf8; font-size: 1.5rem; margin-bottom: 15px; display: block; }
.info-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.info-card p { color: var(--text-dim); font-size: 0.95rem; }

/* FORM CONTAINER */
.contact-form-container {
    background: #0d1221;
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #818cf8; /* Violeta kovertiz */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* INPUTS - Forzando que no hereden naranjas */
input, select, textarea {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #818cf8 !important;
    background: rgba(129, 140, 248, 0.05) !important;
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.2) !important;
}

/* BOTÓN FINAL */
.btn-primary {
    background: #818cf8 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 30px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: none !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: 0.3s ease !important;
}

.btn-primary:hover {
    background: #717cf0 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(129, 140, 248, 0.3) !important;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .contact-info { grid-template-columns: 1fr; }
    .contact-form-container { padding: 30px; }
}

/* FAQ SECTION SEO - kovertiz */
.contact-faq {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    color: var(--kovertiz-violet);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* BREADCRUMBS INTEGRATION - kovertiz Style */
.contact-hero .breadcrumbs {
    margin-bottom: 30px; /* Separación del Kicker */
    display: flex;
    justify-content: center; /* Centrado con el Hero */
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.breadcrumbs li {
    color: var(--text-dim);
}

.breadcrumbs li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.7;
}

.breadcrumbs li a:hover {
    color: var(--kovertiz-violet);
    opacity: 1;
}

/* Separador sutil */
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 12px;
    opacity: 0.2;
    color: var(--text-white);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--text-white);
    font-weight: 600;
}

/* Estilo unificado para todos los campos de kovertiz */
input[type="text"],
input[type="email"],
select#subject,
textarea#message {
    background-color: #1a1a1a !important; /* Fondo oscuro coherente */
    color: #ffffff !important;            /* Texto blanco */
    border: 1px solid #333 !important;    /* Borde sutil */
    border-radius: 4px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;               /* Evita que los campos se salgan del contenedor */
    transition: border-color 0.2s ease;
}

/* Estilo coherente y transparente para kovertiz */
input[type="text"],
input[type="email"],
select#subject,
textarea#message {
    background-color: transparent !important; /* Ahora toman el color del fondo de la web */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Borde sutil semi-transparente */
    border-radius: 6px !important;
    padding: 12px !important;
    width: 100% !important;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

/* El select necesita un fondo para las opciones (si no, no se leen) */
select#subject {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.1em !important;
    padding-right: 2.5rem !important;
}

/* IMPORTANTE: Las opciones sí deben tener fondo porque el menú desplegable es nativo */
select#subject option {
    background-color: #1a1a1a !important; /* Pon aquí el color de fondo de tu web */
    color: #ffffff !important;
}

/* Efecto al pasar el mouse o escribir para mejorar la visibilidad */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.05) !important; /* Un brillo muy ligero al clicar */
}