/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #29375A 0%, #29375A 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo-img {
    height: 70px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.phone {
    font-weight: bold;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #f7931e;
    transform: scale(1.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../../images/banner.png');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Tablet específico */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-banner {
        background-image: url('../../images/banner.png');
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 80vh;
        min-height: 500px;
        background-image: url('../../images/banner1.png');
        background-position: center center;
        background-size: cover;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 280px;
        text-align: center;
        padding: 12px 30px;
        font-size: 1rem;
    }
}

.hero-banner2 {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../../images/banner2.png');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(41, 55, 90, 0.8) 0%, rgba(74, 124, 89, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: linear-gradient(45deg, #29375A, #29375A);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
    background: linear-gradient(45deg, #049fed, #049fed);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #29375A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Services Grid */
.hero {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #4a7c59;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #29375A;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-link {
    display: inline-block;
    color: #29375A;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 2px solid #29375A;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: #4a7c59;
    color: white;
    transform: scale(1.05);
}

/* Advisor Widget */
.advisor-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #717070 0%, #049fed 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-width: 300px;
    z-index: 999;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.advisor-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.advisor-content p {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.advisor-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #29375A, #29375A);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.advisor-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.advisor-btn span {
    font-size: 18px;
    font-weight: bold;
}

.advisor-btn strong {
    display: block;
    font-size: 12px;
}

.advisor-btn small {
    display: block;
    font-size: 10px;
    opacity: 0.9;
}

/* Cotizador Section */
.cotizador-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 40px;
}

.cotizador-header {
    text-align: center;
    margin-bottom: 40px;
}

.cotizador-header h2 {
    font-size: 48px;
    color: #29375A;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.benefits span {
    background: linear-gradient(45deg, #29375A, #29375A);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
}

.cotizador-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 36px;
    color: #29375A;
    font-weight: bold;
}

.form-header span {
    font-size: 18px;
    color: #29375A;
    font-style: italic;
}

.cotizador-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    color: #29375A;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74,124,89,0.1);
}

.gender-options,
.insurance-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.gender-options label,
.insurance-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
}

.insurance-options {
    flex-direction: column;
    gap: 10px;
}

.insurance-options label {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.insurance-options label:hover {
    border-color: #4a7c59;
    background-color: #f8f9fa;
}

.insurance-options input[type="radio"]:checked + span {
    color: #4a7c59;
    font-weight: bold;
}

.recaptcha-placeholder {
    margin: 20px 0;
}

.recaptcha-mock {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: #6c757d;
}

.submit-btn {
    background: linear-gradient(45deg, #29375A, #29375A);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    justify-self: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44,85,48,0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #29375A 0%, #29375A 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #f7931e;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Additional styles for specific pages */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/soy.png');
    background-size: cover;
    background-position: top;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Active nav link */
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #29375A;
    margin-bottom: 30px;
    font-weight: bold;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
    max-width: 100%;
}

.about-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Mission Vision Values */
.mvv-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mvv-icon {
    font-size: 3rem;
    color: #29375A;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: #29375A;
    margin-bottom: 20px;
    font-weight: bold;
}

.mvv-card p {
    color: #666;
    line-height: 1.6;
}

.mvv-card ul {
    text-align: left;
    color: #666;
    line-height: 1.8;
}

.mvv-card li {
    margin-bottom: 10px;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #29375A;
    margin-bottom: 60px;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #29375A;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: #29375A;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #049fed;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Contact CTA */
.contact-cta, .services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #8b8b8b 0%, #ffffff 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, #29375A, #29375A);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5530;
}

/* Services Navigation */
.services-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.services-nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-nav-link {
    color: #29375A;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-nav-link:hover {
    background: #f8f9fa;
    border-color: #29375A;
}

/* Service Detail */
.service-detail {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.service-detail:nth-child(even) {
    background: #f8f9fa;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.service-icon-large img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-header-text h2 {
    font-size: 2.2rem;
    color: #29375A;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.service-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.service-description h3,
.service-benefits h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-description {
    width: 150%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
}

.service-description ul {
    list-style: none;
    padding: 0;
}

.service-description li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 25px;
}

/* .service-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-weight: bold;
} */

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #4a7c59;
}

.benefit-item span {
    font-weight: 500;
    color: #2c5530;
}

.service-cta {
    text-align: center;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 2rem;
    color: #2c5530;
    margin-bottom: 30px;
    font-weight: bold;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #4a7c59;
    margin-top: 5px;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #2c5530;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-details p,
.contact-details a {
    color: #666;
    text-decoration: none;
    line-height: 1.6;
}

.contact-details a:hover {
    color: #4a7c59;
}

/* Social Media Section */
.social-media-section {
    margin-top: 40px;
}

.social-media-section h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 20px;
    font-weight: bold;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.social-link.facebook:hover { background: #1877f2; color: white; }
.social-link.twitter:hover { background: #1da1f2; color: white; }
.social-link.instagram:hover { background: #e1306c; color: white; }

.social-link i {
    font-size: 1.5rem;
    color: #4a7c59;
    transition: color 0.3s ease;
}

.social-link:hover i {
    color: white;
}

.social-link span {
    font-weight: 500;
    color: #2c5530;
    transition: color 0.3s ease;
}

.social-link:hover span {
    color: white;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form .form-group select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    resize: vertical;
    font-family: inherit;
}

.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74,124,89,0.1);
}

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    position: relative;
    top: 2px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4a7c59;
    border-color: #4a7c59;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c5530;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #4a7c59;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    margin-top: 40px;
}

.map-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    color: #6c757d;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4a7c59;
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.map-placeholder small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Character counter */
.character-counter {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .header-content {
        position: relative;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        order: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        position: relative;
        top: auto;
        right: auto;
    }

    .contact-info {
        order: 2;
        gap: 10px;
    }

    .contact-info .phone {
        font-size: 9px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #4F83A5 0%, #4F83A5 100%);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transform: translateY(-100vh);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 4;
        width: 100%;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        align-items: stretch;
    }

    .main-nav .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
        border-radius: 0 !important;
        text-align: center;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255,255,255,0.15);
    }

    .cta-button {
        background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
        margin: 10px 20px !important;
        border-radius: 25px !important;
        animation: none !important;
        width: calc(100% - 40px) !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .advisor-widget {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }

    .cotizador-header h2 {
        font-size: 32px;
    }

    .benefits {
        gap: 15px;
    }

    .benefits span {
        padding: 6px 15px;
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Responsive adjustments for tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-grid {
        grid-template-columns: 65% 35%;
        gap: 30px;
    }
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-nav-list {
        gap: 15px;
    }
    
    .service-nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-description {
        width: 100%;
        padding: 0 15px;
        text-align: left;
    }
    
    .service-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .social-links-large {
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mvv-card,
    .contact-form {
        padding: 20px;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .service-icon-large img {
        width: 80px;
        height: 80px;
    }
    
    .service-header-text h2 {
        font-size: 1.8rem;
    }
}

/* Hero Banner Responsive */
@media (max-width: 1024px) {
    .hero-banner {
        background-attachment: scroll;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}



@media (max-width: 480px) {
    .hero-banner {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 250px;
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-text {
        padding: 0 15px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 220px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scrolling para navegación */
html {
    scroll-behavior: smooth;
}

/* Estados de carga */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .submit-btn {
    background: #6c757d;
    cursor: not-allowed;
}

.loading .submit-btn::after {
    content: "Enviando...";
}

/* Mensajes de estado del formulario */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
