* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-green: #35a9da;
    --dark-green: #1d65ac;
    --light-gray: #f8f9fa;
    --dark-text: #333;
    --light-text: #666;
    --yellow: #f1c40f;
    --dark-bg: #222;
    --darker-bg: #1a1a1a;
}

body {
    background-color: #fff;
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    display: flex;
    align-items: center;
    width:200px;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-green);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.quote-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.quote-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Hero Section Styles */
.hero {
    background: url('images/banner333.png') no-repeat center center;
    background-size: cover;
    padding: 200px 20px;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 800px;
    margin: 0 120px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

/* Services Section Styles */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.services-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    font-weight: 700;
    max-width: 60%;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 35%;
}

.services-subtitle span {
    color: var(--primary-green);
    font-weight: 600;
}

/* Services Slider Styles */
.services-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.services-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.service-card {
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    right: 1px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    margin: 26px;
}

.service-content {
    padding: 30px 20px 20px;
}

.service-title {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.service-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

.service-btn i {
    margin-left: 8px;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.services-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: none;
    color: var(--primary-green);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-nav-btn:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.2);
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.services-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.services-dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* Call to Action Section */
.cta {
    padding: 100px 0;
    background-color: white;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cta-image:hover img {
    transform: scale(1.03);
}

.cta-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.cta-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.cta-btn i {
    margin-left: 10px;
}

/* Team Section Styles */
.team {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.team-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    font-weight: 700;
    max-width: 60%;
}

.team-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 35%;
}

.team-subtitle span {
    color: var(--primary-green);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    height: 650px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 25px 20px;
}

.team-name {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.team-rating {
    margin-bottom: 15px;
    color: var(--yellow);
    font-size: 1.2rem;
}

.team-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-text);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

/* About Section Styles */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-images {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-main-image {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-main-image:hover img {
    transform: scale(1.03);
}

.about-small-images {
    display: flex;
    gap: 20px;
}

.about-small-image {
    flex: 1;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-small-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-features {
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--dark-text);
}

.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border: none;
}

.about-btn-primary {
    background-color: var(--primary-green);
    color: white;
}

.about-btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.3);
}

.about-btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.about-btn-secondary:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

/* Testimonials Section Styles */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-name {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.testimonial-role {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 500;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: var(--yellow);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: none;
    color: var(--primary-green);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-nav-btn:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.2);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* Contact Section Styles */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-top: 10px;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: inline-block;
}

.form-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.3);
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: var(--primary-green);
}

.footer-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
}

.newsletter h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.newsletter p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-btn:hover {
    background-color: var(--dark-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Notification Styles */
.notification {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: 500;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-text);
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .logo img {
        width: 120px !important;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Ajustes drásticos para el hero en móvil */
    .hero {
        padding: 250px 15px 60px; /* Aumentamos significativamente el padding superior */
        background-position: center top; /* Aseguramos que la imagen se enfoque en la parte superior */
        background-size: auto 100%; /* Ajustamos el tamaño de la imagen */
    }

    .hero-container {
        margin: 0;
        background-color: rgba(255, 255, 255, 0.85); /* Fondo semi-transparente para el texto */
        padding: 25px 20px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .hero h1 {
        font-size: 1.8rem; /* Reducimos el tamaño del título */
        margin-bottom: 15px;
        color: var(--dark-text); /* Aseguramos contraste */
    }

    .hero h2 {
        font-size: 1.1rem; /* Reducimos el tamaño del subtítulo */
        margin-bottom: 15px;
        color: var(--primary-green); /* Aseguramos contraste */
    }

    .hero p {
        font-size: 0.9rem; /* Reducimos el tamaño del texto */
        margin-bottom: 20px;
        color: var(--dark-text); /* Aseguramos contraste */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .services-header, .team-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .services-title, .team-title {
        max-width: 100%;
        font-size: 2rem;
    }

    .services-subtitle, .team-subtitle {
        max-width: 100%;
    }

    .service-card {
        min-width: 280px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.5rem;
    }

    .cta-image {
        height: 300px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-small-images {
        flex-direction: column;
    }

    .about-small-image {
        height: 120px;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
    
    /* Corrección para el mapa en móvil */
    .map-container {
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }
    
    .map-container iframe {
        width: 100%;
        height: 200px;
    }
    
    /* Ajuste para el equipo en móvil - 2 columnas */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Para pantallas muy pequeñas, mostrar 1 columna */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes adicionales para el hero en pantallas muy pequeñas */
    .hero {
        padding: 220px 10px 50px;
    }
    
    .hero-container {
        margin-top: 115px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .btn {
        max-width: 250px;
        font-size: 0.85rem;
        padding: 12px 25px;
    }
}