/* ============================================
   GRUPO ROBLES - CORPORATE DESIGN SYSTEM
   Bootstrap 4.3 Compatible
   Colors: Primary #346139 | Secondary #ada574
   ============================================ */

/* ============================================
   1. VARIABLES Y RESET
   ============================================ */
:root {
    --primary-color: #346139;
    --secondary-color: #ada574;
    --dark-color: #1a2332;
    --light-gray: #f5f7fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --teal: #346139;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height:70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(52, 97, 57, 0.85) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--teal);
    border-radius: 50px;
    z-index: -1;
    opacity: 0.4;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-social {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-3px);
}

/* ============================================
   3. BUTTONS
   ============================================ */
.btn-primary-custom {
    background: var(--teal);
    border: 2px solid var(--teal);
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 168, 149, 0.3);
}

.btn-outline-primary-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 97, 57, 0.3);
}

.btn-outline-light-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-light-custom {
    background: var(--white);
    border: 2px solid var(--white);
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   4. TICKER SECTION (Franja animada)
   ============================================ */
.ticker-section {
    background: var(--teal);
    color: var(--white);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 7s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 16px;
    font-weight: 600;
    padding: 0 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   5. SECTIONS
   ============================================ */
.section-padding {
    padding: 100px 0;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-dark-custom {
    background: linear-gradient(135deg, #1c2f20 0%, #000 100%);
}

.section-badge {
    display: inline-block;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-badge.badge-light {
    color: #ada574;
    background: rgb(52 97 57);
    padding: 6px 16px;
    border-radius: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   6. CARDS
   ============================================ */
.card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #4a7c4f);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 25px;
}

.card-icon.icon-teal {
    background: linear-gradient(135deg, var(--teal), #0f8c7a);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.card-link i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.card-link:hover i {
    margin-left: 12px;
}

/* Card Dark with Image */
.card-dark {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    min-height: 400px;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card-dark:hover .card-image {
    transform: scale(1.1);
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.3) 100%);
}

.card-title-overlay {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
}

.card-description-overlay {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* ============================================
   7. TESTIMONIAL CARD
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    display: block;
    margin-bottom: 20px;
    line-height: 1.4;
}

.testimonial-avatars {
    display: flex;
    margin-bottom: 20px;
}

.testimonial-avatars img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-right: -15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-count {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

/* ============================================
   8. BUSINESS CARDS (Industria Alimentaria)
   ============================================ */
.business-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.business-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.business-card:hover .business-image {
    transform: scale(1.1);
}

.business-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.business-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.business-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ============================================
   9. ABOUT SECTION
   ============================================ */
.about-image-wrapper {
    position: relative;
}

.rounded-custom {
    border-radius: 20px;
}

.shadow-custom {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--teal);
    border-radius: 50%;
    color: var(--white);
    margin-right: 15px;
    font-size: 12px;
}

.badge-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-color);
    display: block;
}

.badge-title {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.stat-box {
    margin-bottom: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

/* ============================================
   10. SERVICES ACCORDION
   ============================================ */
.services-accordion {
    border-top: 1px solid #e5e5e5;
}

.service-item {
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.service-header {
    display: flex;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-header:hover {
    padding-left: 15px;
}

.service-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-right: 30px;
    min-width: 40px;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    flex-grow: 1;
    margin: 0;
}

.service-toggle {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.service-item.active .service-toggle {
    background: var(--teal);
    color: var(--white);
    transform: rotate(180deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 0 0 70px;
}

.service-item.active .service-content {
    max-height: 600px;
    padding: 0 0 40px 70px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-list li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-light);
}

.service-list li i {
    color: var(--teal);
    margin-right: 10px;
}

/* ============================================
   11. TEAM SECTION
   ============================================ */
.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    background: var(--white);
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.team-role {
    font-size: 13px;
    color: var(--teal);
    margin: 0;
}

.team-btn {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-btn:hover {
    background: var(--teal);
    color: var(--white);
}

/* ============================================
   12. PORTFOLIO
   ============================================ */
.portfolio-nav {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-arrow:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* ============================================
   13. NEWSLETTER & FOOTER
   ============================================ */
.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: 2px solid #e5e5e5;
    padding: 14px 25px;
    font-size: 15px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 14px 25px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.badge-item span {
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-light);
}

.footer-section {
    background: #ada574;
    padding: 30px 0;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 10px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--teal);
    transform: translateY(-3px);
}

.footer-links-bottom {
    display: block;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.footer-links-bottom a {
    color: #fff;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--white);
}

.scroll-top {
    width: 40px;
    height: 40px;
    background: var(--teal);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   14. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   15. RESPONSIVE
   ============================================ */
@media (min-width: 768px) and (max-width:1600px) {
    .hero-section {
        padding-top: 115px;
        height:70vh;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-social {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-content {
        padding: 0 0 30px 0;
    }
    
    .service-item.active .service-content {
        padding: 0 0 30px 0;
    }
    
    .footer-links-bottom {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .card-modern {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* ============================================
   16. UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-lg-right { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.mr-2 { margin-right: 0.5rem !important; }

/* ============================================
   17. MODAL CONTACTO PREMIUM
   ============================================ */

/* Modal Backdrop más oscuro */
.modal-backdrop.show {
    opacity: 0.85;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(52, 97, 57, 0.9) 100%);
}

/* Modal Content con fondo oscuro corporativo */
#contacto .modal-content {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Modal Header */
#contacto .modal-header {
    background: rgba(52, 97, 57, 0.2);
    border-bottom: 2px solid rgba(20, 168, 149, 0.3);
    padding: 30px 40px;
    position: relative;
}

#contacto .modal-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 20px;
}

#contacto .modal-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 40px;
    background: linear-gradient(180deg, #14a895, #346139);
    border-radius: 10px;
}

#contacto .modal-header .close {
    color: #ffffff;
    opacity: 0.8;
    font-size: 32px;
    font-weight: 300;
    text-shadow: none;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

#contacto .modal-header .close:hover {
    opacity: 1;
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* Modal Body */
#contacto .modal-body {
    padding: 40px;
    background: transparent;
}

/* Form Styles */
#contacto #signupForm1 {
    padding: 20px 0;
}

#contacto .form-group {
    margin-bottom: 25px;
}

/* Inputs Premium - Underline Style */
#contacto .form-control2,
#contacto input.form-control2,
#contacto textarea.form-control2 {
    background: transparent;
    border: none;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding: 12px 0;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Select transparente con borde */
#contacto select.form-control2 {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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='rgba(255,255,255,0.6)' 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");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

#contacto select.form-control2 option {
    background: #1a2332;
    color: #ffffff;
    padding: 10px;
}

#contacto select.form-control2:focus {
    border-color: #14a895;
    box-shadow: 0 0 8px rgba(20, 168, 149, 0.4);
    outline: none;
}

#contacto select.form-control2:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

#contacto select.form-control2[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

#contacto .form-control2::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

#contacto .form-control2:focus {
    background: transparent;
    border-bottom: 2px solid #14a895;
    box-shadow: none;
    outline: none;
    color: #ffffff;
}

#contacto .form-control2:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Textarea específico */
#contacto textarea.form-control2 {
    min-height: 100px;
    resize: vertical;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
}

#contacto textarea.form-control2:focus {
    border-bottom: 2px solid #14a895;
}

/* reCAPTCHA container */
#contacto .captcha {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 15px;

    border-radius: 15px;
}

/* Success message */
#contacto #success {
    color: #14a895;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
}

/* Submit Button Premium */
#contacto #btn_contact {
    background: linear-gradient(135deg, #14a895, #0f8c7a);
    border: 2px solid #14a895;
    color: #ffffff;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(20, 168, 149, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contacto #btn_contact:hover {
    background: linear-gradient(135deg, #0f8c7a, #14a895);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 168, 149, 0.4);
}

#contacto #btn_contact:active {
    transform: translateY(-1px);
}

/* Modal Footer */
#contacto .modal-footer {
    background: rgba(52, 97, 57, 0.15);
    border-top: 2px solid rgba(20, 168, 149, 0.2);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contacto .modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#contacto .modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Validation error states */
#contacto .form-control2.error {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

#contacto .form-control2.valid {
    border-color: #14a895;
    background: rgba(20, 168, 149, 0.1);
}

/* Label si existe */
#contacto label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animación de entrada del modal */
#contacto.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

#contacto.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
    #contacto .modal-body {
        padding: 30px 20px;
    }
    
    #contacto .modal-header {
        padding: 25px 20px;
    }
    
    #contacto .modal-title {
        font-size: 24px;
    }
    
    #contacto .modal-footer {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    #contacto #btn_contact {
        width: 100%;
        padding: 14px 30px;
    }
    
    #contacto .modal-footer .btn-secondary {
        width: 100%;
    }
}

/* Info adicional (si decides agregarla) */
#contacto .contact-info {
    background: rgba(20, 168, 149, 0.1);
    border-left: 4px solid #14a895;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

#contacto .contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

#contacto .contact-info strong {
    color: #14a895;
    font-weight: 700;
}
