/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0F0832;
    --secondary-color: #FF6B35;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --light-blue: #E3F2FD;
    --font-primary: 'Open Sans', 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow-light: 0 2px 10px rgba(43, 45, 66, 0.1);
    --shadow-medium: 0 4px 20px rgba(43, 45, 66, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 0.5rem;
}

.infoblock {
	padding: 160px 100px;
    background: #f3f3f3;
	
}

.infoblock div {
	margin-bottom: 60px;
}



/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Selector Dropdown */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.lang-dropdown-btn:hover {
    border-color: var(--secondary-color);
    background: var(--light-gray);
}

.dropdown-arrow {
    transition: var(--transition);
}

.lang-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: var(--shadow-medium);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
}

.lang-option.active {
    background: var(--light-blue);
    color: var(--primary-color);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(207deg, #1a1c2a 0%, var(--primary-color) 10%, #060919 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><style>.tech-line{stroke:rgba(255,255,255,0.1);stroke-width:1;fill:none;}.tech-dot{fill:rgba(255,107,53,0.3);}</style></defs><g class="tech-vectors"><line class="tech-line" x1="100" y1="100" x2="300" y2="200"><animate attributeName="x2" values="300;350;300" dur="8s" repeatCount="indefinite"/></line><line class="tech-line" x1="800" y1="150" x2="1000" y2="250"><animate attributeName="x1" values="800;750;800" dur="10s" repeatCount="indefinite"/></line><circle class="tech-dot" cx="200" cy="300" r="2"><animate attributeName="cy" values="300;280;300" dur="6s" repeatCount="indefinite"/></circle><circle class="tech-dot" cx="900" cy="400" r="2"><animate attributeName="cx" values="900;920;900" dur="7s" repeatCount="indefinite"/></circle><line class="tech-line" x1="400" y1="500" x2="600" y2="600"><animate attributeName="y1" values="500;480;500" dur="9s" repeatCount="indefinite"/></line></g></svg>');
    opacity: 0.4;
    z-index: 0;
}

#hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    pointer-events: none;
}


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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-services {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.hero-service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-service-card:hover {
    background: #9b46297d;
    transform: translateX(10px);
    border-color: var(--secondary-color);
}


.hero-service-card span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.hero-service-card-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
	font-size: 2rem;
    display: inline-block;
}

/* Tecnologías Carousel */
.technologies {
    padding: 2rem 0;
    background: var(--light-gray);
    overflow: hidden;
	margin-top: 50px;
}


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

.tech-carousel {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    transition: var(--transition);
    min-width: 80px;
    flex-shrink: 0;
}

.tech-item:hover {
    transform: translateY(-2px);
}

.tech-logo {
    width: auto;
    height: 40px;
    object-fit: contain;
    
    transition: var(--transition);
    filter: none;
}

.tech-item:hover .tech-logo {
    opacity: 1;
    transform: scale(1.05);
}

.tech-item span {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.75rem;
    opacity: 0.7;
    transition: var(--transition);
    text-align: center;
}

.tech-item:hover span {
    opacity: 1;
    color: var(--secondary-color);
}

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

.badge-icon {
    color: var(--secondary-color);
    stroke-width: 2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* Services Section */
.services {
    padding: 5rem 0 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
	display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    color: var(--secondary-color);
	font-size: 30px;
    
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.6;
	font-size: 0.9rem;
}

.service-button {
	padding: 30px 0 0;
	margin-top: auto;
	text-align: center;
}

.service-call-to-action{
	text-align: center;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    padding: 50px;
    
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.8;
	margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--primary-color);
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--medium-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.infoblock {
	padding: 160px 50px;
	}
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
	.infoblock {
	padding: 160px 20px;
	}
}

.advantage-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
	font-size: 30px;
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.advantage-description {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    height: 350px; /* Altura fija para el contenedor */
}

.testimonial-card {
    display: flex;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 350px; /* Altura fija para cada tarjeta */
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-card.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--medium-gray);
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-photo {
    height: 50px;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0rem;
}

.author-position {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-gray);
}

.contact-card {
    background: #ffd9be;
    border-radius: 20px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text {
    padding-right: 2rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5A5A5A;
    margin: 0;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-group select option {
    padding: 0.5rem;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column .footer-logo {
    
    max-width: 200px;
    margin-bottom: 1rem;
    
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
}

.footer-address p {
    margin-bottom: 0.5rem;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-light);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        padding: 0.5rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .language-selector {
        order: -1;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-carousel {
        gap: 0.5rem;
    }

    .tech-item {
        min-width: 70px;
        padding: 0.5rem 0.75rem;
    }

    .tech-logo {
        
        height: 25px;
    }

    .tech-item span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
	
	.logo {
    height: 40px;
    
	}
	
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-text {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
    }
}


/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-slider {
        max-width: 90%;
        margin: 20px auto;
        height: auto; /* Altura automática en móvil */
        min-height: 400px; /* Altura mínima para evitar saltos */
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        height: auto; /* Altura automática en móvil */
        min-height: 400px; /* Altura mínima consistente */
        margin: 0 10px; /* Margen lateral para evitar que toque los bordes */
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem; /* Padding lateral para mejor legibilidad */
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-photo {
        height: 60px;

    }
    
    .author-name {
        font-size: 1rem;
        margin-bottom: 0rem;
    }
    
    .author-position {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .testimonial-nav {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
    
    .nav-dot {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 2.5rem 0;
    }
    
    .testimonials h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonials-slider {
        max-width: 95%;
        margin: 15px auto;
        min-height: 450px; /* Altura mínima mayor para pantallas muy pequeñas */
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
        min-height: 450px;
        margin: 0 5px;
        border-radius: 12px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        padding: 0;
        hyphens: auto; /* Permitir separación de palabras largas */
        word-wrap: break-word;
    }
    
    .author-photo {
        height: 50px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-position {
        font-size: 0.8rem;
    }
    
    .testimonial-nav {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
}

/* Mejoras adicionales para testimonios en todas las pantallas */
@media (max-width: 1024px) {
    .testimonials-slider {
        max-width: 95%;
    }
    
    .testimonial-card {
        padding: 2.5rem 2rem;
    }
    
    .testimonial-text {
        font-size: 1.15rem;
    }
}


/* ===== Google reCAPTCHA v3 Styles ===== */
/* reCAPTCHA v3 es invisible, pero mantenemos estilos para mensajes de error */

/* Error message for reCAPTCHA */
.recaptcha-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    text-align: center;
    display: none;
}

.recaptcha-container.error .recaptcha-error {
    display: block;
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-error-message {
    display: block;
}

/* reCAPTCHA v3 badge positioning (opcional) */
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000;
}

