/* --- CONTACTO VIEW --- */
.contacto-hero {
    background: #00155a;
    /* Institutional blue */
    padding: 120px 0 160px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contacto-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 33, 40, 0.15) 0%, rgba(0, 21, 90, 0) 70%);
    transform: rotate(-15deg);
}

.contacto-hero .display-huge {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.contacto-hero .lead-hero {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.6;
}

.contact-main-container {
    margin-top: -80px;
    margin-bottom: 100px;
    position: relative;
    z-index: 10;
}

.portal-banner-premium {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 21, 90, 0.08);
    border: 1px solid rgba(0, 21, 90, 0.05);
    position: relative;
    overflow: hidden;
}

.portal-banner-premium::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #E32128;
    /* Institutional red */
}

.portal-banner-premium .portal-text h3 {
    color: #00155a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portal-banner-premium .portal-text p {
    color: #555;
    margin-bottom: 0;
    font-size: 1.05rem;
    max-width: 600px;
}

.btn-portal-premium {
    background-color: #00155a;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.05rem;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid #00155a;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .btn-portal-premium {
        margin-top: 0;
    }
}

.btn-portal-premium:hover {
    background-color: transparent;
    color: #00155a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 21, 90, 0.1);
}

/* Contact Info Side */
.contact-info-premium {
    padding-right: 20px;
}

.info-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    border-color: #e0e0e0;
}

.info-card .icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 21, 90, 0.05);
    color: #00155a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-card:hover .icon-box {
    background: #00155a;
    color: #ffffff;
}

.info-card.whatsapp-card .icon-box {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.info-card.whatsapp-card:hover .icon-box {
    background: #25D366;
    color: #ffffff;
}

.info-card .text-box {
    display: flex;
    flex-direction: column;
}

.info-card .text-box .label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 2px;
}

.info-card .text-box .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}

/* Form Side */
.form-premium {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 21, 90, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.form-header h2 {
    font-size: 2.2rem;
    color: #00155a;
    margin-bottom: 12px;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1.05rem;
}

/* Floating labels */
.form-floating-custom {
    position: relative;
}

.form-floating-custom .form-control {
    height: 60px;
    padding: 24px 20px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fafafa;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: none;
}

.form-floating-custom textarea.form-control {
    min-height: 120px;
    padding-top: 28px;
    resize: none;
}

.form-floating-custom .form-control:focus {
    background-color: #ffffff;
    border-color: #00155a;
    box-shadow: 0 0 0 4px rgba(0, 21, 90, 0.05);
}

.form-floating-custom label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 18px 20px;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .15s ease-in-out, transform .15s ease-in-out;
    color: #777;
    font-size: 1rem;
}

.form-floating-custom .form-control:focus~label,
.form-floating-custom .form-control:not(:placeholder-shown)~label {
    transform: scale(.8) translateY(-10px) translateX(2px);
    color: #00155a;
    font-weight: 600;
}

.form-select-custom .form-control {
    height: 60px;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fafafa;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.form-select-custom .form-control:focus {
    background-color: #ffffff;
    border-color: #00155a;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 21, 90, 0.05);
}

/* Modern Checkbox */
.modern-checkbox {
    display: flex;
    align-items: flex-start;
}

.modern-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    margin-right: 12px;
    accent-color: #E32128;
    cursor: pointer;
}

.modern-checkbox label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
}

.modern-checkbox label a {
    color: #00155a;
    text-decoration: underline;
    font-weight: 500;
}

/* Submit Button */
.btn-submit-premium {
    background: #00155a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 20px 30px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-premium:hover {
    background: #E32128;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 33, 40, 0.2);
}

.btn-submit-premium i {
    transition: transform 0.3s ease;
}

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

@media (max-width: 991px) {
    .contact-info-premium {
        padding-right: 0;
        margin-top: 40px;
    }

    .form-premium {
        padding: 30px;
    }
}

/* ========================================================
   GIGARED CENTRO REDESIGN (Frontend-Design Specifics)
   ======================================================== */


/* --- 4. Forms & Floating Labels (contacto-view) --- */
.form-container {
    background: var(--surface-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.custom-input {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 15px;
    background-color: #fcfcfc;
    transition: var(--transition-smooth);
}

.custom-input:focus {
    background-color: #fff;
    border-color: var(--gigared-blue);
    box-shadow: 0 0 0 4px rgba(0, 21, 90, 0.1);
}

.btn-enviar {
    background: var(--gigared-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 700;
    width: 100%;
    transition: var(--transition-smooth);
}

.btn-enviar:hover {
    background: var(--gigared-red);
    transform: translateY(-2px);
}

.contact-info-block {
    background: var(--gigared-blue-light);
    border-radius: 24px;
    padding: 40px;
    color: white;
    box-shadow: var(--shadow-premium);
}

.contact-info-block h4 {
    color: var(--gigared-red-light);
    margin-bottom: 20px;
}

.contact-info-block .info-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-info-block .info-text {
    color: #cbd5ff;
}

.contact-info-block .info-text a {
    color: white;
    font-weight: 600;
}

.contact-info-block .info-text a:hover {
    color: var(--gigared-red-light);
}

/* Premium Modal */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 21, 90, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.premium-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-content {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 450px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.premium-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 5rem;
    color: #25D366; 
    margin-bottom: 20px;
}

.modal-icon.error {
    color: #E32128;
}

.modal-content h3 {
    color: #00155a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-modal-close {
    background: #00155a;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-modal-close:hover {
    background: #E32128;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 33, 40, 0.2);
}
