/* Estilos generales */
:root {
    --primary-color: #0077cc;
    --primary-dark: #005fa3;
    --primary-light: #e6f7ff;
    --secondary-color: #28a745;
    --secondary-light: #e3f5e9;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --text-lightest: #ffffff;
    --background-color: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 5px 20px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-large: 12px;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* Barra superior */
.top-bar {
    background-color: var(--primary-dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-info {
    display: flex;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-icon {
    font-size: 16px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 14px;
}

.social-icon:hover {
    color: var(--primary-light);
}

/* Cabecera */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 10%;
    margin-right: 10px;
}

.logo-foot-img {
    width: 15%;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 24px;
    margin-bottom: 0;
    line-height: 1;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.menu a:hover {
    color: var(--primary-color);
}

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

.menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Sección Hero */
.hero {
    background-image: linear-gradient(rgba(52, 152, 219, 0.8), #8e44adcc), 
    url("/edomcare/ag.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(var(--primary-light) 20%, transparent 20%);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {

    color: #ffffff;
   
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--text-lightest);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* Secciones con encabezado */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

/* Sección Nosotros */
.about-us {
    background-color: var(--background-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.image-caption {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 80%;
}

.about-text h3 {
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.value-item h4 {
    margin-bottom: 5px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.timeline {
    margin-top: 60px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.timeline-date {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-weight: 600;
    position: absolute;
    left: calc(50% - 80px);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 40%;
    margin-left: 50%;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 80px);
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
    border-right: none;
    border-left: 10px solid white;
}

/* Sección Servicios */
.services {
    background-color: var(--background-alt);
}

.services-tabs {
    margin-bottom: 60px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-features {
    margin-top: 20px;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
    .service-card.palliative-care {
    background-color: var(--secondary-light);
    border: 1px solid var(--secondary-color);
  }
  
  .service-card.palliative-care .service-icon {
    color: var(--secondary-color);
  }
  
  .palliative-care-info {
    background-color: var(--secondary-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 40px;
  }
  
  .palliative-care-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
  }
  
  .palliative-care-info ul {
    list-style-type: none;
    padding-left: 0;
  }
  
  .palliative-care-info ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
  }
  
  .palliative-care-info ul li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
  }

.services-cta {
    text-align: center;
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 60px;
}

.services-cta h3 {
    margin-bottom: 10px;
}

.services-cta p {
    margin-bottom: 20px;
}

/* Sección Cómo Trabajamos */
.how-we-work {
    background-color: white;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--primary-light);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Sección Equipo */
.team {
    background-color: var(--background-alt);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member {
    display: flex;
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.member-image {
    width: 40%;
    flex-shrink: 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.member-info {
    padding: 20px;
    width: 60%;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    margin-bottom: 15px;
    font-size: 14px;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-cta {
    text-align: center;
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius);
}

.team-cta h3 {
    margin-bottom: 10px;
}

.team-cta p {
    margin-bottom: 20px;
}

/* Sección Testimonios */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonial-slide {
    width: 100%;
    padding: 0 15px;
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-card {
    background-color: var(--primary-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(0, 119, 204, 0.1);
    font-family: serif;
    line-height: 1;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.testimonial-controls button {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.testimonial-cta {
    text-align: center;
}

.testimonial-cta h3 {
    margin-bottom: 10px;
}

.testimonial-cta p {
    margin-bottom: 20px;
}

/* Sección Cobertura */
.coverage {
    background-color: var(--background-alt);
}

.coverage-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-container img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.coverage-info h3 {
    margin-bottom: 20px;
}

.coverage-list {
    margin-bottom: 30px;
}

.coverage-list li {
    display: flex;
    margin-bottom: 20px;
}

.coverage-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.coverage-details h4 {
    margin-bottom: 5px;
}

.coverage-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.coverage-note {
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: var(--radius);
}

.coverage-note p {
    margin-bottom: 15px;
}

/* Sección FAQ */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--background-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-cta {
    text-align: center;
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius);
}

.faq-cta h3 {
    margin-bottom: 10px;
}

.faq-cta p {
    margin-bottom: 20px;
}

/* Sección Contacto */
.contact {
    background-color: white;
}

.contact-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-methods {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.method-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.method-details h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.method-details p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.method-link {
    font-weight: 600;
}

.contact-social h3 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: var(--background-alt);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 5px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 14px;
}


/* Estilos del fondo oscuro */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Contenedor de la ventana */
.modal-content {
    background: rgb(255, 255, 255);
    padding: 10px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Botón de cerrar */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    background: none;
}

/* Estilos del iframe */
iframe {
    width: 100%;
    height: 400px;
    border: none;
}
section {
    padding: 30px 0;
}

/* Sección CTA */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--primary-light);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

   /* Estilos para el botón flotante */
   .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* background-color: #25D366; */
    color: white;
    background-image: url("/img/logo-wasap.png");
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}

/* Pie de página */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: white;
}

.footer-logo .logo-text h3 {
    color: white;
    margin-bottom: 0;
}

.footer-logo .logo-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social .social-icon {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social .social-icon:hover {
    color: white;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact .contact-icon {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 0;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container,
    .about-content,
    .coverage-map,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 20px;
        transform: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-right: 10px solid white;
        border-left: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {

    .logo-img {
        width: 15%;
        margin-right: 10px;
    }
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .tabs-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .team-member {
        flex-direction: column;
    }
    
    .member-image {
        width: 100%;
    }
    
    .member-info {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-info {
        flex-direction: column;
        gap: 10px;
    }
}
/* Botón volver arriba */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .arrow-up {
    font-size: 24px;
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
    }
  }

  @media (max-width: 768px) {
    .whatsapp-float {
      bottom: 70px;
      right: 20px;
      width: 40px;
      height: 40px;
    }
  }
