.contact-section-new {
    padding: 100px 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.contact-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #166534, #4ade80);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    bottom: 100px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4ade80, #166534);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.contact-layout-new {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Info Cards Grid */
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card-modern {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transition: left 0.5s;
}

.info-card-modern:hover::before {
    left: 100%;
}

.info-card-modern:hover {
    transform: translateX(5px);
    border-color: #4ade80;
    box-shadow: 0 8px 30px rgba(22, 101, 52, 0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transition: all 0.3s ease;
}

.info-card-modern.ubicacion .info-icon-circle {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.info-card-modern.whatsapp .info-icon-circle {
    background: linear-gradient(135deg, #25d366, #1fa855);
}

.info-card-modern.email .info-icon-circle {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.info-card-modern.horario .info-icon-circle {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.info-card-modern:hover .info-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.info-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.info-card-modern p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.info-card-modern a {
    color: #166534;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.info-card-modern a:hover {
    color: #15803d;
}

.availability,
.response-time {
    display: inline-block;
    padding: 4px 12px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.social-card-new {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.social-card-new h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-icons-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn-new.facebook {
    background-color: #1877f2;
}

.social-btn-new.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn-new:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Formulario Moderno */
.contact-form-card-new {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.form-header-new {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #166534, #15803d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: #fff;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(22, 101, 52, 0);
    }
}

.form-header-new h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.form-header-new p {
    font-size: 15px;
    color: #64748b;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert-error {
    background-color: #fee2e2;
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.alert i {
    font-size: 20px;
}

/* Inputs Modernos */
.form-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.input-wrapper-new {
    position: relative;
}

.input-wrapper-new input,
.input-wrapper-new textarea {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    font-family: inherit;
}

.input-wrapper-new input:focus,
.input-wrapper-new textarea:focus {
    outline: none;
    border-color: #166534;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.1);
}

.input-wrapper-new label {
    position: absolute;
    left: 50px;
    top: 16px;
    color: #94a3b8;
    font-size: 15px;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: transparent;
}

.input-wrapper-new input:not(:placeholder-shown) ~ label,
.input-wrapper-new input:focus ~ label,
.input-wrapper-new textarea:not(:placeholder-shown) ~ label,
.input-wrapper-new textarea:focus ~ label {
    top: -10px;
    left: 45px;
    font-size: 12px;
    color: #166534;
    background-color: #fff;
    padding: 0 8px;
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 17px;
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.3s ease;
}

.input-wrapper-new input:focus ~ .input-icon,
.input-wrapper-new textarea:focus ~ .input-icon {
    color: #166534;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #166534, #4ade80);
    transition: width 0.4s ease;
    border-radius: 0 0 12px 12px;
}

.input-wrapper-new input:focus ~ .input-border,
.input-wrapper-new textarea:focus ~ .input-border {
    width: 100%;
}

.textarea-wrapper {
    margin-bottom: 25px;
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

/* SELECT MODERNO REDISEÑADO */
.select-wrapper-new {
    position: relative;
    width: 100%;
}

.select-modern {
    width: 100%;
    padding: 16px 40px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background-color: #f8fafc;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1e293b;
}

.select-modern:focus {
    outline: none;
    border-color: #166534;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.1);
}

.select-modern option {
    padding: 12px;
    background-color: #fff;
    color: #1e293b;
}

.select-modern option:first-child {
    color: #94a3b8;
}

.select-icon {
    position: absolute;
    left: 18px;
    top: 17px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.select-modern:focus ~ .select-icon {
    color: #166534;
}

.select-arrow {
    position: absolute;
    right: 18px;
    top: 17px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.select-modern:focus ~ .select-arrow {
    color: #166534;
    transform: rotate(180deg);
}

.select-wrapper-new .input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #166534, #4ade80);
    transition: width 0.4s ease;
    border-radius: 0 0 12px 12px;
}

.select-modern:focus ~ .input-border {
    width: 100%;
}

/* CAPTCHA */
.captcha-wrapper {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 2px solid #d1fae5;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.captcha-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #166534;
    font-weight: 700;
    font-size: 16px;
}

.captcha-header i {
    font-size: 20px;
}

.captcha-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: center;
}

.captcha-question {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #166534;
    text-align: center;
    border: 2px dashed #4ade80;
    grid-column: 1 / -1;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
}

.captcha-input {
    flex: 1;
}

.refresh-captcha {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #166534, #15803d);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: rotate(180deg);
}

/* Submit Button */
.submit-btn-new {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn-new:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(22, 101, 52, 0.4);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

.btn-loading {
    display: none;
    position: relative;
    z-index: 1;
}

.submit-btn-new.loading .btn-text,
.submit-btn-new.loading .btn-icon {
    display: none;
}

.submit-btn-new.loading .btn-loading {
    display: block;
}

@media (max-width: 1024px) {
    .contact-layout-new {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section-new {
        padding: 60px 0;
    }
    
    .contact-form-card-new {
        padding: 30px 20px;
    }
    
    .form-grid-new {
        grid-template-columns: 1fr;
    }
    
    .captcha-content {
        grid-template-columns: 1fr;
    }
}
/* SELECT CUSTOM PROFESIONAL */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.select-icon-custom {
    position: absolute;
    left: 18px;
    top: 17px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.custom-select-wrapper.active .select-icon-custom {
    color: #166534;
}

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px 16px 50px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: #cbd5e1;
}

.custom-select.active .custom-select-trigger {
    border-color: #166534;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.1);
}

.custom-select-text {
    font-size: 15px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.custom-select.selected .custom-select-text {
    color: #1e293b;
}

.custom-select-arrow {
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.custom-select.active .custom-select-arrow {
    transform: rotate(180deg);
    color: #166534;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}

.custom-select.active .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: #f0fdf4;
    padding-left: 25px;
}

.custom-option.selected {
    background-color: #dcfce7;
    color: #166534;
    font-weight: 600;
}

.custom-option i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.3s ease;
}

.custom-option:hover i,
.custom-option.selected i {
    color: #166534;
}

.custom-option span {
    font-size: 15px;
    color: #1e293b;
}

/* Scrollbar personalizado para las opciones */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animación del borde inferior */
.custom-select-wrapper .input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #166534, #4ade80);
    transition: width 0.4s ease;
    border-radius: 0 0 12px 12px;
    pointer-events: none;
}

.custom-select.active ~ .input-border {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-select-options {
        max-height: 220px;
    }
    
    .custom-option {
        padding: 12px 16px;
    }
}
