/* ======================================================= */
/* ESTILOS GENERALES Y LAYOUT */
/* ======================================================= */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E0DACE;
    color: #8c8c8e;
    line-height: 1.6;
}

/* Quitar outline azul por defecto del navegador */
* {
    outline: none;
}

/* Estilos generales para enlaces */
a {
    color: inherit;
    text-decoration: none;
}

h2 {
    color: #654321;
}

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

/* ======================================================= */
/* CABECERA Y NAVEGACIÓN */
/* ======================================================= */
.header {
    background-color: #F7F5F0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: 700;
    font-size: 1.2em;
    color: #D2B48C;
}

.logo img {
    height: 140px;
    width: auto;
    vertical-align: middle;
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header nav ul li {
    margin-left: 20px;
}

.header nav ul li a {
    text-decoration: none;
    color: #1c1c1c;
    font-weight: 600;
    font-size: 0.9em;
    transition: color 0.3s;
}

.header nav ul li a:hover {
    color: #D2B48C;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    position: absolute;
    background-color: #E0DACE;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 5px;
    left: -10px;
    top: 100%;
    margin-top: 10px;
}

.dropdown-content a {
    color: #444444;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    font-weight: 400;
    text-transform: capitalize;
    transition: color 0.3s;
}

.dropdown-content a:hover {
    color: #454549;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

/* ======================================================= */
/* SECCIONES PÁGINA DE INICIO (INDEX) */
/* ======================================================= */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.2) 0%, rgba(205, 133, 63, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    max-width: 700px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(210, 180, 140, 0.9);
    color: #DEB887;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta-button-main {
    background-color: #BCB88A;
    color: #DEB887;
    padding: 18px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(210, 180, 140, 0.4);
    letter-spacing: 0.5px;
    outline: none;
}

.cta-button-main:hover {
    background-color: #A8A67A;
    color: #DEB887;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(210, 180, 140, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid white;
    display: inline-block;
    outline: none;
}

.cta-button-secondary:hover {
    background-color: #E0DACE;
    color: #D2B48C;
    transform: translateY(-2px);
}

/* ======================================================= */
/* HIGHLIGHTS BAR */
/* ======================================================= */
.highlights-bar {
    background: #F7F5F0;
    padding: 50px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlights-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    font-size: 2.5em;
}

.highlight-text h3 {
    font-size: 1.3em;
    color: #654321;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.highlight-text p {
    color: #8c8c8e;
    font-size: 0.9em;
    margin: 0;
}

/* ======================================================= */
/* SECCIÓN POR QUÉ ELEGIRNOS */
/* ======================================================= */
.why-us-section {
    padding: 80px 20px;
    background: #E0DACE;
}

.why-us-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5em;
    color: #654321;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1em;
    color: #8c8c8e;
}

.why-us-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.point {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: left;
}

.point:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(86, 95, 179, 0.15);
}

.point-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.point h3 {
    font-size: 1.4em;
    color: #654321;
    margin-bottom: 10px;
    font-weight: 700;
}

.point p {
    color: #8c8c8e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.point-details {
    color: #D2B48C;
    font-size: 0.9em;
    font-weight: 600;
}

/* ======================================================= */
/* SECCIÓN SERVICIOS */
/* ======================================================= */
.services {
    padding: 80px 20px;
    background: #E0DACE;
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(210, 180, 140, 0.15);
    border-color: #D2B48C;
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.4em;
    color: #654321;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: #8c8c8e;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.card-features li {
    color: #D2B48C;
    font-size: 0.9em;
    font-weight: 600;
    padding: 8px 0;
}

.card-link {
    color: #D2B48C;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    transition: color 0.3s ease;
    margin-top: auto;
}

.card-link:hover {
    color: #DEB887;
}

/* ======================================================= */
/* SECCIÓN ABOUT */
/* ======================================================= */
.about-section {
    padding: 80px 20px;
    background: #E0DACE;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.3em;
    color: #654321;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text > p {
    color: #8c8c8e;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    color: #654321;
    font-size: 1.5em;
    font-weight: 700;
    min-width: 30px;
}

.feature h4 {
    font-size: 1.1em;
    color: #654321;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.feature p {
    color: #8c8c8e;
    font-size: 0.9em;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ======================================================= */
/* SECCIÓN TRATAMIENTOS DESTACADOS */
/* ======================================================= */
.featured-treatments {
    padding: 80px 20px;
    background: #E0DACE;
}

.featured-treatments .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.treatment-card {
    background: #E0DACE;
    color: #8B4513;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(86, 95, 179, 0.2);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(86, 95, 179, 0.3);
}

.treatment-card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.treatment-card h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    font-weight: 700;
}

.treatment-card p {
    font-size: 0.9em;
    opacity: 0.9;
}

/* ======================================================= */
/* SECCIÓN TESTIMONIOS */
/* ======================================================= */
.testimonials-section {
    padding: 80px 20px;
    background: #E0DACE;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #D2B48C;
    transition: all 0.3s ease;
    outline: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(210, 180, 140, 0.15);
}

.testimonial-stars {
    font-size: 1.2em;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: #8c8c8e;
    font-size: 1em;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: #654321;
    font-size: 1.05em;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.testimonial-author span {
    color: #654321;
    font-size: 0.85em;
    font-weight: 600;
}

/* ======================================================= */
/* SECCIÓN CTA FINAL */
/* ======================================================= */
.cta-final {
    padding: 80px 20px;
    background: #E0DACE;
    color: #8B4513;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-final > .container > p {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.cta-info-item span {
    font-size: 2em;
}

.cta-info-item strong {
    display: block;
    font-weight: 700;
}

.cta-info-item p {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

/* ======================================================= */
/* SECCIÓN UBICACIONES */
/* ======================================================= */
.locations {
    padding: 60px 20px;
    background: #E0DACE;
    text-align: center;
}

.locations h2 {
    font-size: 2em;
    color: #654321;
    margin-bottom: 40px;
    font-weight: 700;
}

.location-cards {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.location-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 2px solid #D2B48C;
}

.location-card h3 {
    color: #D2B48C;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.location-card p {
    color: #8c8c8e;
    margin: 5px 0;
}

.location-hours {
    color: #654321;
    font-weight: 600;
    font-size: 0.95em;
}

/* Sección de bloque de servicio (imagen y texto) */
.service-block,
.about-us-section,
.testimonials-section,
.locations,
.services {
    padding: 50px 0;
}

.service-block-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.text-block {
    flex: 1;
    padding: 0 20px;
    text-align: left;
}

.text-block h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #654321;
    margin-bottom: 20px;
    text-align: left;
}

.service-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.service-link {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #444;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #E0DACE;
    transition: all 0.3s;
}

.service-link:hover {
    background-color: #e5989b;
    color: #fff;
    border-color: #e5989b;
}

.image-block {
    flex: 1;
    text-align: right;
}

.image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sección de tarjetas de servicios */
.services h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #654321;
    margin-bottom: 50px;
    text-align: center;
}

.service-cards,
.location-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #654321;
}

/* Sección de testimonios (reducida y resaltada) */
.testimonials-section {
    padding: 40px 20px;
    background-color: #E0DACE;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2em;
    color: #654321;
    margin-bottom: 30px;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial-card {
    flex: 1;
    max-width: 450px;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #654321;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    line-height: 1.5;
    font-size: 0.95em;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-size: 1em;
    color: #333;
}

/* Sección de ubicación */
.locations h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #654321;
    margin-bottom: 50px;
    text-align: center;
}

.location-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.location-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #654321;
}

/* ======================================================= */
/* ESTILOS DE LAS PÁGINAS DE SERVICIO (EJ. FISIOTERAPIA) */
/* ======================================================= */
.page-header {
    padding: 50px 0;
    background-color: #E0DACE;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 2.5em;
    color: #654321;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1em;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section {
    padding: 80px 40px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin: 30px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 2.5em;
    color: #654321;
    margin-bottom: 30px;
    font-weight: 800;
    text-align: center;
}

.content-section h3 {
    font-size: 1.4em;
    color: #D2B48C;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-section h4 {
    font-size: 1.1em;
    color: #654321;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.content-section p {
    color: #666666;
    line-height: 2;
    margin-bottom: 25px;
    font-size: 1.1em;
    text-align: justify;
}

.content-section ul {
    list-style-type: none;
    padding: 0;
    margin: 30px 0;
}

.content-section li {
    padding: 15px 0 15px 40px;
    position: relative;
    color: #666666;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.content-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D2B48C;
    font-weight: bold;
    font-size: 1.1em;
}

.content-section li h3 {
    margin-top: 0;
}

.content-section li p {
    margin-bottom: 0;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(86, 95, 179, 0.12);
    display: block;
}

/* Layout para detalle de cada terapia (imagen + texto lado a lado) */
.therapy-detail {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}
.therapy-text {
    flex: 1 1 55%;
    text-align: left;
}
.therapy-text h2 {
    font-size: 1.8em;
    color: #654321;
    margin-bottom: 12px;
}
.therapy-image {
    flex: 1 1 40%;
    text-align: right;
}
.therapy-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

@media (max-width: 992px) {
    .therapy-detail {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
    .therapy-text, .therapy-image {
        flex: 1 1 100%;
        text-align: center;
    }
    .therapy-image img {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Estilos para la sección de equipo */
.team-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    flex-basis: 250px;
    text-align: center;
    margin-bottom: 20px;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* Estilos para la sección de "Acerca de Nosotros" */
.about-us-section {
    padding: 60px 20px;
    background-color: #E0DACE;
    text-align: center;
}

.about-us-section h2 {
    font-size: 2.5em;
    color: #654321;
    margin-bottom: 20px;
}

.about-us-section p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* ======================================================= */
/* PIE DE PÁGINA */
/* ======================================================= */
.footer {
    background: #F7F5F0;
    color: #654321;
    padding: 40px 20px;
    border-top: 3px solid #8B4513;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3em;
    font-weight: 800;
}

.footer-brand img {
    height: 60px;
    width: auto;
}

.footer-brand span {
    color: #D2B48C;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #654321;
    text-decoration: none;
    font-size: 0.95em;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #8B4513;
    opacity: 1;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    background-color: #654321;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    background-color: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
}

.footer-copyright {
    text-align: center;
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(101, 67, 33, 0.2);
}

.social-media a {
    color: #654321;
    margin-left: 15px;
    text-decoration: none;
}

.social-media a:hover {
    text-decoration: underline;
}

/* ======================================================= */
/* ESTILOS RESPONSIVOS */
/* ======================================================= */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        align-items: center;
    }

    .header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .header nav ul li {
        margin-left: 0;
    }

    .service-block-container {
        flex-direction: column;
    }
    
    .text-block, .image-block {
        text-align: center;
        padding: 0; /* Elimina el padding para que el contenido se ajuste */
    }

    .text-block p, .text-block h2 {
        text-align: center; /* Centra el texto en móviles */
    }

    .service-links {
        justify-content: center;
    }

    .content-section h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-brand {
        order: 1;
    }

    .footer-links {
        order: 2;
        flex-direction: column;
        gap: 15px;
    }

    .footer-contact {
        order: 3;
    }

    .footer-contact a {
        width: 100%;
        justify-content: center;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .services,
    .locations,
    .service-block,
    .content-section {
        padding: 50px 20px;
    }

    .services h2,
    .locations h2,
    .text-block h2,
    .content-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .service-cards,
    .location-cards,
    .why-us-points {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .point {
        flex-basis: 100%;
        max-width: 400px; /* Limita el ancho para que no se vea demasiado estirado */
    }

    .card,
    .location-card {
        width: 100%;
        max-width: 350px;
    }

    .footer .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links {
        order: 2;
    }

    .footer-contact {
        order: 3;
    }

    .social-media {
        margin-top: 10px;
    }

    .content-section h3 {
        font-size: 1.3em;
    }

    .content-section li {
        padding: 15px;
    }
}

/* ======================================================= */
/* Nuestras Terapias - diseño moderno, limpio y compacto */
/* ======================================================= */
.therapies-section-toyfis {
    padding: 50px 20px;
    background: #E0DACE;
}
.therapies-header {
    text-align: center;
    margin-bottom: 35px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.therapies-main-title {
    font-size: 1.8em;
    font-weight: 800;
    color: #654321;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.therapies-subtitle {
    font-size: 1.2em;
    color: #555555;
    margin: 0 0 14px 0;
    line-height: 1.4;
    font-weight: 400;
}
.therapies-intro-text {
    font-size: 1em;
    color: #888888;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
}
.therapies-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}
.therapy-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 22px 14px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.therapy-card:hover {
    border-color: #D2B48C;
    box-shadow: 0 16px 40px rgba(210, 180, 140, 0.18);
    transform: translateY(-5px);
}
.therapy-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: inherit;
}
.therapy-card-icon-wrapper {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E0DACE;
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.therapy-card:hover .therapy-card-icon-wrapper {
    background: linear-gradient(135deg, #DEB887 0%, #D2B48C 100%);
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 8px 20px rgba(86, 95, 179, 0.25);
}
.therapy-card-icon {
    width: 26px;
    height: 26px;
    color: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.therapy-card-title {
    font-size: 0.85em;
    font-weight: 700;
    color: #654321;
    margin-bottom: 6px;
    line-height: 1.2;
}
.therapy-card-desc {
    font-size: 0.75em;
    color: #666666;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 992px) {
    .therapies-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .therapies-section-toyfis {
        padding: 45px 16px;
    }
    .therapies-header {
        margin-bottom: 30px;
    }
    .therapies-main-title {
        font-size: 1.5em;
        margin-bottom: 8px;
    }
    .therapies-subtitle {
        font-size: 0.8em;
        margin-bottom: 12px;
    }
    .therapies-intro-text {
        font-size: 0.75em;
    }
    .therapies-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 14px;
    }
    .therapy-card {
        padding: 18px 12px;
    }
    .therapy-card-icon-wrapper {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }
    .therapy-card-icon {
        width: 22px;
        height: 22px;
    }
    .therapy-card-title {
        font-size: 0.8em;
    }
    .therapy-card-desc {
        font-size: 0.7em;
    }
}

@media (max-width: 480px) {
    .therapies-section-toyfis {
        padding: 40px 12px;
    }
    .therapies-header {
        margin-bottom: 25px;
    }
    .therapies-main-title {
        font-size: 1.2em;
    }
    .therapies-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .therapy-card {
        padding: 16px 10px;
    }
}

/* ======================================================= */
/* PÁGINA EQUIPO - ESTILOS MODERNOS */
/* ======================================================= */
.team-hero {
    background: #E0DACE;
    color: #8B4513;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.team-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.team-hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 20px;
}

.team-member-card {
    background: #E0DACE;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(86, 95, 179, 0.2);
}

.team-member-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #E0DACE;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.team-member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.team-member-info {
    padding: 30px;
    text-align: center;
}

.team-member-info h3 {
    font-size: 1.4em;
    color: #654321;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.team-member-role {
    color: #D2B48C;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member-description {
    color: #666666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.specialty-tag {
    background: #E0DACE;
    color: #D2B48C;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.team-section-title {
    text-align: center;
    font-size: 1.8em;
    color: #654321;
    margin-bottom: 50px;
    font-weight: 700;
}

/* ======================================================= */
/* PÁGINA CONTACTO - ESTILOS MODERNOS */
/* ======================================================= */
.contact-hero {
    background: linear-gradient(135deg, #D2B48C 0%, #654321 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-info-box {
    background: #E0DACE;
    padding: 36px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-box h2 {
    font-size: 1.6em;
    color: #654321;
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: #D2B48C;
    fill: none;
    stroke-width: 2;
}

.contact-details h3 {
    margin: 0 0 5px 0;
    color: #654321;
    font-size: 1.1em;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    color: #666666;
    font-size: 0.95em;
}

.contact-details a {
    color: #D2B48C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #654321;
    text-decoration: underline;
}

.contact-form-box h2 {
    font-size: 1.6em;
    color: #654321;
    margin-bottom: 30px;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #654321;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D2B48C;
    background-color: #f9f9ff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #D2B48C 0%, #CD853F 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 95, 179, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.map-section {
    padding: 60px 20px;
    background: #E0DACE;
}

.map-section h2 {
    text-align: center;
    font-size: 1.8em;
    color: #654321;
    margin-bottom: 20px;
    font-weight: 700;
}

.map-section p {
    text-align: center;
    color: #666666;
    margin-bottom: 40px;
    font-size: 1em;
}

.google-map {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Media queries para Equipo y Contacto */
@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 1.8em;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .contact-hero h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 60px 15px;
    }

    .team-hero h1 {
        font-size: 1.4em;
    }

    .team-hero p {
        font-size: 0.95em;
    }

    .team-member-image {
        height: 250px;
    }

    .team-member-info {
        padding: 20px;
    }

    .team-member-info h3 {
        font-size: 1.1em;
    }

    .contact-hero {
        padding: 60px 15px;
    }

    .contact-hero h1 {
        font-size: 1.4em;
    }

    .contact-container {
        padding: 30px 15px;
    }

    .map-section {
        padding: 40px 15px;
    }

    .google-map iframe {
        height: 300px;
    }
}

/* ======================================================= */
/* PÁGINA DE TRATAMIENTOS */
/* ======================================================= */
.page-hero {
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.page-hero .hero-content p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
}

.treatments-intro {
    padding: 60px 20px;
    background-color: #E0DACE;
    text-align: center;
}

.treatments-intro .container {
    max-width: 900px;
}

.treatments-intro h2 {
    font-size: 2.2em;
    color: #654321;
    margin-bottom: 25px;
    font-weight: 700;
}

.treatments-intro p {
    font-size: 1.05em;
    color: #8c8c8e;
    line-height: 1.7;
    margin-bottom: 15px;
}

.treatments-intro p strong {
    color: #D2B48C;
}

.treatments-categories {
    padding: 80px 20px;
    background-color: #E0DACE;
}

.treatment-category {
    background: #E0DACE;
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-header {
    margin-bottom: 20px;
    border-bottom: 3px solid #D2B48C;
    padding-bottom: 15px;
}

.treatment-category h2 {
    font-size: 1.8em;
    color: #654321;
    font-weight: 700;
    margin: 0;
}

.category-intro {
    font-size: 1.05em;
    color: #8c8c8e;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.condition {
    background: #E0DACE;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #654321;
    transition: all 0.3s ease;
}

.condition:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(86, 95, 179, 0.1);
    border-left-color: #D2B48C;
}

.condition h3 {
    font-size: 1.2em;
    color: #654321;
    font-weight: 700;
    margin-bottom: 12px;
}

.condition p {
    color: #8c8c8e;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.treatment-process {
    padding: 80px 20px;
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: white;
}

.treatment-process h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 60px;
    color: #654321;
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(101, 67, 33, 0.1);
    border-color: #654321;
}

.step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #654321;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.3em;
    color: white;
    margin: 15px 0;
    font-weight: 700;
}

.step p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.cta-section {
    padding: 80px 20px;
    background: #E0DACE;
    text-align: center;
}

.cta-section .container {
    max-width: 700px;
}

.cta-section h2 {
    font-size: 2.2em;
    color: #654321;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1em;
    color: #8c8c8e;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-button-main {
    display: inline-block;
    background-color: #D2B48C;
    color: white;
    padding: 15px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border: 2px solid #D2B48C;
}

.cta-button-main:hover {
    background-color: #DEB887;
    border-color: #DEB887;
    transform: translateY(-3px);
}

/* ======================================================= */
/* RESPONSIVE - TRATAMIENTOS */
/* ======================================================= */
@media (max-width: 1024px) {
    .treatment-category {
        padding: 40px 30px;
    }

    .conditions-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 20px;
    }

    .page-hero .hero-content h1 {
        font-size: 2em;
    }

    .page-hero .hero-content p {
        font-size: 1em;
    }

    .treatments-intro {
        padding: 50px 20px;
    }

    .treatments-intro h2 {
        font-size: 1.6em;
    }

    .treatments-intro p {
        font-size: 0.95em;
    }

    .treatments-categories {
        padding: 60px 20px;
    }

    .treatment-category {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .treatment-category h2 {
        font-size: 1.5em;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .treatment-process {
        padding: 60px 20px;
    }

    .treatment-process h2 {
        font-size: 1.6em;
        margin-bottom: 40px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.6em;
    }

    .cta-button-main {
        padding: 12px 40px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 15px;
    }

    .page-hero .hero-content h1 {
        font-size: 1.5em;
    }

    .page-hero .hero-content p {
        font-size: 0.9em;
    }

    .treatments-intro {
        padding: 40px 15px;
    }

    .treatments-intro h2 {
        font-size: 1.4em;
    }

    .treatment-category {
        padding: 20px 15px;
    }

    .treatment-category h2 {
        font-size: 1.3em;
    }

    .condition {
        padding: 20px;
    }

    .condition h3 {
        font-size: 1.05em;
    }

    .condition p {
        font-size: 0.9em;
    }

    .treatment-process h2 {
        font-size: 1.4em;
    }

    .step-number {
        font-size: 2em;
    }

    .step h3 {
        font-size: 1.1em;
    }

    .step p {
        font-size: 0.9em;
    }
}

/* ======================================================= */
/* PÁGINA DE SERVICIOS INDIVIDUALES (PODOLOGÍA) */
/* ======================================================= */
.page-hero {
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero .hero-content p {
    font-size: 1.2em;
    opacity: 0.95;
}

.service-intro {
    padding: 60px 20px;
    background: #E0DACE;
    text-align: center;
}

.service-intro .container {
    max-width: 800px;
}

.service-intro h2 {
    font-size: 2.2em;
    color: #654321;
    margin-bottom: 15px;
    font-weight: 800;
}

.service-intro p {
    font-size: 1.05em;
    color: #8c8c8e;
    line-height: 1.7;
}

.service-features {
    padding: 60px 20px;
    background: #E0DACE;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: #E0DACE;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(86, 95, 179, 0.15);
}

.feature-box .feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.2em;
    color: #654321;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-box p {
    color: #8c8c8e;
    font-size: 0.9em;
}

.service-cards-showcase {
    padding: 80px 20px;
    background: #E0DACE;
}

.service-cards-showcase h2 {
    text-align: center;
    font-size: 2.2em;
    color: #654321;
    margin-bottom: 80px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-large {
    height: 100%;
    display: flex;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(86, 95, 179, 0.2);
    position: relative;
}

.service-card-link:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(86, 95, 179, 0.3);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    font-size: 2.5em;
}

.service-card-link h3 {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0;
}

.service-card-link p {
    font-size: 0.95em;
    margin: 15px 0;
    opacity: 0.95;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 0.9em;
}

.service-features-list li {
    padding: 5px 0;
    opacity: 0.9;
}

.service-arrow {
    position: absolute;
    right: 35px;
    bottom: 35px;
    font-size: 1.5em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card-link:hover .service-arrow {
    right: 30px;
    opacity: 1;
}

.content-section {
    padding: 80px 20px;
    background: #ffffff;
}

.content-section:nth-child(even) {
    background: #ffffff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 2.2em;
    color: #654321;
    margin-bottom: 20px;
    font-weight: 800;
}

.content-text > p {
    color: #8c8c8e;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-text h3 {
    font-size: 1.3em;
    color: #654321;
    margin: 25px 0 15px 0;
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.benefits-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #8c8c8e;
    font-size: 0.95em;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D2B48C;
    font-weight: bold;
    font-size: 1.2em;
}

.content-highlight {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, #D2B48C 0%, #654321 100%);
    color: #654321;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(101, 67, 33, 0.25);
    border-left: 4px solid #D2B48C;
}

.highlight-box.alternate {
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: #ffffff;
    border-left: 4px solid #654321;
}

.highlight-stat {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 10px;
    color: #D2B48C;
}

.highlight-box.alternate .highlight-stat {
    color: #654321;
    font-size: 3em;
}

.highlight-box p {
    font-size: 1em;
    margin: 0;
    font-weight: 600;
    color: inherit;
    letter-spacing: 0.5px;
}

.highlight-box.alternate p {
    color: #ffffff;
    opacity: 1;
    font-weight: 700;
    font-size: 1.1em;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.treatment-item {
    background: #E0DACE;
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid #654321;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.treatment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(86, 95, 179, 0.15);
}

.treatment-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.treatment-item h3 {
    font-size: 1.3em;
    color: #654321;
    margin-bottom: 10px;
    font-weight: 700;
}

.treatment-item p {
    color: #8c8c8e;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.treatment-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-item ul li {
    color: #D2B48C;
    font-size: 0.9em;
    padding: 5px 0;
    font-weight: 600;
}

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: white;
    text-align: center;
}

.cta-section .container {
    max-width: 700px;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ======================================================= */
/* RESPONSIVE - PODOLOGÍA */
/* ======================================================= */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 20px;
    }

    .page-hero .hero-content h1 {
        font-size: 2em;
    }

    .page-hero .hero-content p {
        font-size: 1em;
    }

    .service-intro {
        padding: 50px 20px;
    }

    .service-intro h2 {
        font-size: 1.8em;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-box {
        padding: 20px;
    }

    .service-cards-showcase h2 {
        font-size: 1.8em;
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-link {
        padding: 25px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .content-text h2 {
        font-size: 1.8em;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .treatment-item {
        padding: 25px;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 15px;
    }

    .page-hero .hero-content h1 {
        font-size: 1.5em;
    }

    .page-hero .hero-content p {
        font-size: 0.9em;
    }

    .service-intro {
        padding: 40px 15px;
    }

    .service-intro h2 {
        font-size: 1.4em;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 15px;
    }

    .feature-box .feature-icon {
        font-size: 2em;
    }

    .service-cards-showcase h2 {
        font-size: 1.4em;
    }

    .service-card-link {
        padding: 20px;
    }

    .service-card-header {
        gap: 10px;
    }

    .service-icon {
        font-size: 1.8em;
    }

    .service-card-link h3 {
        font-size: 1.1em;
    }

    .service-card-link p {
        font-size: 0.85em;
    }

    .service-arrow {
        right: 20px;
        bottom: 20px;
        font-size: 1.2em;
    }

    .content-section {
        padding: 40px 15px;
    }

    .content-text h2 {
        font-size: 1.4em;
    }

    .content-text h3 {
        font-size: 1.1em;
    }

    .highlight-box {
        padding: 25px;
    }

    .highlight-stat {
        font-size: 1.8em;
    }

    .treatment-item {
        padding: 20px;
    }

    .treatment-icon {
        font-size: 1.8em;
    }

    .treatment-item h3 {
        font-size: 1.1em;
    }

    .cta-section {
        padding: 60px 15px;
    }

    .cta-section h2 {
        font-size: 1.4em;
    }

    .cta-button-main {
        padding: 12px 30px;
        font-size: 0.9em;
    }
}

/* ======================================================= */
/* RESPONSIVE - REDISEÑO INDEX */
/* ======================================================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

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

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

    .cta-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 0.95em;
    }

    .hero-badge {
        font-size: 0.85em;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .cta-button-main,
    .cta-button-secondary {
        width: 100%;
    }

    .highlights-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .why-us-section {
        padding: 60px 20px;
    }

    .why-us-points {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 1.8em;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

    .cta-final h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.4em;
    }

    .hero-content p {
        font-size: 0.85em;
    }

    .hero-cta-group {
        gap: 10px;
    }

    .cta-button-main,
    .cta-button-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .highlights-bar .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-icon {
        font-size: 2em;
    }

    .why-us-section {
        padding: 40px 15px;
    }

    .section-header h2 {
        font-size: 1.5em;
    }

    .section-header p {
        font-size: 0.95em;
    }

    .card {
        padding: 25px;
    }

    .card h3 {
        font-size: 1.15em;
    }

    .point {
        padding: 25px;
    }

    .point h3 {
        font-size: 1.15em;
    }

    .about-text h2 {
        font-size: 1.4em;
    }

    .feature {
        gap: 10px;
    }

    .treatment-card {
        padding: 25px;
    }

    .treatment-card-icon {
        font-size: 2em;
    }

    .testimonial-card {
        padding: 20px;
    }

    .cta-final h2 {
        font-size: 1.4em;
    }

    .cta-final > .container > p {
        font-size: 0.95em;
    }

    .cta-info {
        gap: 15px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .cta-info-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-info-item span {
        font-size: 1.5em;
    }

    .cta-info-item strong {
        font-size: 0.95em;
    }

    .cta-info-item p {
        font-size: 0.8em;
    }

    .location-card {
        padding: 25px;
    }

    .location-card h3 {
        font-size: 1.1em;
    }
}

/* ======================================================= */
/* ESTILOS PARA CARDS DE FISIOTERAPIA */
/* ======================================================= */

.therapy-detail-card {
    background: #E0DACE;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.therapy-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.therapy-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.therapy-detail-header h2 {
    color: #D2B48C;
    margin: 0;
    font-size: 2em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #E0DACE;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #D2B48C;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 1.5em;
}

.technology-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.technology-card {
    background: #E0DACE;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.technology-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.technology-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.technology-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.technology-card-header h3 {
    color: #D2B48C;
    margin: 0;
    font-size: 1.3em;
    flex: 1;
}

.technology-benefits {
    margin-top: 20px;
}

.technology-benefits h4 {
    color: #D2B48C;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.technology-benefits ul {
    list-style: none;
    padding: 0;
}

.technology-benefits li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.technology-benefits li:last-child {
    border-bottom: none;
}

/* Responsive Design para Fisioterapia */
@media (max-width: 768px) {
    .therapy-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .therapy-detail-header h2 {
        font-size: 1.5em;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .technology-cards-grid {
        grid-template-columns: 1fr;
    }

    .technology-card-header {
        flex-direction: column;
        text-align: center;
    }

    .technology-card-header h3 {
        text-align: center;
    }
}

/* ======================================================= */
/* ESTILOS PARA LA PÁGINA DE BLOG */
/* ======================================================= */

.hero-blog {
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: #654321;
    padding: 60px 0;
    text-align: center;
}

.hero-blog .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2em;
    margin: 0;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #D2B48C;
}

.post-header h1 {
    font-size: 2em;
    color: #D2B48C;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9em;
    color: #666;
}

.image-text-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.image-text-row .text-content {
    flex: 1;
    min-width: 300px;
}

.image-text-row .image-content {
    flex: 1;
    min-width: 250px;
}

.benefit-section {
    margin: 50px 0;
    padding: 30px;
    background: #E0DACE;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefit-section h3 {
    color: #D2B48C;
    margin-bottom: 20px;
}

.benefit-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.benefit-content .text-content {
    flex: 1;
    min-width: 300px;
}

.benefit-content .image-content {
    flex: 1;
    min-width: 250px;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.lifecycle-item {
    background: #E0DACE;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.lifecycle-item h3 {
    color: #D2B48C;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.technique-card {
    background: #E0DACE;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.technique-card img {
    margin-bottom: 20px;
}

.technique-card h3 {
    color: #D2B48C;
    margin-bottom: 15px;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.symptom-item {
    background: #E0DACE;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #D2B48C;
}

.cta-section {
    background: linear-gradient(135deg, #D2B48C 0%, #DEB887 100%);
    color: #654321;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.cta-button {
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    background: #E0DACE;
    color: #D2B48C;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.share-section {
    margin-top: 20px;
}

.share-link {
    display: inline-block;
    margin: 0 10px;
    color: #D2B48C;
    text-decoration: none;
    font-weight: 500;
}

.share-link:hover {
    text-decoration: underline;
}

/* Responsive Design para Blog */
@media (max-width: 768px) {
    .hero-blog .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .image-text-row,
    .benefit-content {
        flex-direction: column;
    }

    .lifecycle-grid,
    .techniques-grid {
        grid-template-columns: 1fr;
    }

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

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* ======================================================= */
/* ESPACIADO ENTRE PÁRRAFOS */
/* ======================================================= */

p {
    margin-bottom: 1.5em; /* Aumenta el espacio inferior de todos los párrafos */
}

.content-section p {
    line-height: 1.7; /* Mejora la legibilidad con mayor interlineado */
    margin-bottom: 1.8em; /* Espacio extra en secciones de contenido */
}

/* Para párrafos consecutivos, asegurar buen espaciado */
.content-section p + p {
    margin-top: 0.5em;
}

/* Clase opcional para párrafos con más espacio */
.parrafo-espaciado {
    margin-bottom: 2em;
}

/* ======================================================= */
/* SECCIÓN DE EXPERIENCIA */
/* ======================================================= */
.experience-section {
    background-color: #F7F5F0;
    padding: 80px 20px;
    text-align: center;
}

.experience-content {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-main h2 {
    font-size: 3.5em;
    color: #654321;
    margin-bottom: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.experience-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-feature {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon-large {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.experience-feature h3 {
    font-size: 1.4em;
    color: #654321;
    margin-bottom: 10px;
    font-weight: 600;
}

.experience-feature p {
    color: #666;
    font-size: 1em;
    margin: 0;
}

/* ======================================================= */
/* ESTILOS RESPONSIVOS PARA EXPERIENCIA */
/* ======================================================= */
@media (max-width: 768px) {
    .experience-main h2 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    
    .experience-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .experience-feature {
        padding: 30px 20px;
    }
    
    .feature-icon-large {
        font-size: 3em;
    }
}
