/*
Theme Name: TuFizio
Theme URI: https://tufizio.com
Author: TuFizio Dev Team
Author URI: https://tufizio.com
Description: Tema profesional para clínica de fisioterapia y rehabilitación TuFizio. Completamente dinámico y editable desde el panel de WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tufizio
Tags: fisioterapia, salud, clinica, rehabilitation, one-page
*/

/* =============================================
   VARIABLES CSS DINÁMICAS (sobreescritas por PHP)
   ============================================= */
:root {
    --color-primary: #2E8B57;
    --color-secondary: #B2D8C6;
    --color-accent: #FFD1B3;
    --color-text: #1a1a2e;
    --color-light: #F5F5DC;
    --color-white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --border-radius: 20px;
    --shadow: 0 8px 32px rgba(46, 139, 87, 0.12);
    --shadow-hover: 0 16px 48px rgba(46, 139, 87, 0.22);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* =============================================
   UTILIDADES GENERALES
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--color-accent);
    color: #7a4a2a;
    box-shadow: 0 4px 16px rgba(255, 209, 179, 0.45);
}

.btn-primary:hover {
    background: #f5b896;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 209, 179, 0.55);
    color: #7a4a2a;
}

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

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

/* =============================================
   BARRA DE ANUNCIO SUPERIOR
   ============================================= */
.barra-anuncio {
    background: #B2D8C6;
    color: #1e4437;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
    z-index: 1010;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.barra-anuncio a {
    color: #1e4437;
    text-decoration: underline;
    font-weight: 600;
}

.barra-anuncio a:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* =============================================
   LOGO PERSONALIZADO
   ============================================= */
.custom-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo-link img.custom-logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.custom-logo-link:hover img.custom-logo {
    opacity: 0.85;
}

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-branding .custom-logo {
    height: 40px;
    width: auto;
}

.site-branding .site-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-branding .site-title span {
    color: #A89F91;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    gap: 8px;
}

.main-navigation ul li a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: var(--color-primary);
    background: rgba(46, 139, 87, 0.08);
}

.header-phone {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.header-phone a {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
#hero-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1320px;
    margin: 70px auto 0;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
}

.carousel-slide .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.carousel-slide .slide-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    max-width: 55%;
}

.slide-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffd1b3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.carousel-slide h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.85);
}

.carousel-slide p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #f5f5dc;
    margin-bottom: 16px;
    max-width: 90%;
}

.carousel-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    color: #2e8b57;
    font-size: 1.2rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #2e8b57;
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #2e8b57;
    width: 28px;
    border-radius: 6px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    position: relative;
    overflow: hidden;
    background: #b0dbcb;
    width: 1320px;
    height: 226px;
    margin: 20px auto;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-banner * {
    color: #fff !important;
}

.cta-banner-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}

.cta-banner-content {
    flex: 1;
}

.cta-banner-image {
    width: 760px;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cta-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* =============================================
   RECOMENDACIONES DEL MES
   ============================================= */
#recomendaciones {
    padding: 80px 0 60px;
}

.recomendaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.recomendacion-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1/0.85;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recomendacion-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.recomendacion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recomendacion-card:hover img {
    transform: scale(1.05);
}

.recomendacion-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.recomendacion-card:nth-child(1) .card-overlay {
    background: linear-gradient(to top, rgba(46, 139, 87, 0.7) 0%, transparent 100%);
}

.recomendacion-card:nth-child(2) .card-overlay {
    background: linear-gradient(to top, rgba(178, 216, 198, 0.75) 0%, transparent 100%);
}

.recomendacion-card:nth-child(3) .card-overlay {
    background: linear-gradient(to top, rgba(255, 209, 179, 0.75) 0%, transparent 100%);
}

.recomendacion-card .card-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* =============================================
   SESIONES POR CATEGORÍA
   ============================================= */
#sesiones {
    padding: 80px 0;
}

.sesiones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.sesion-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1/0.9;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #e8f5ee, #F5F5DC);
}

.sesion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.sesion-card img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sesion-card:hover img {
    transform: scale(1.06);
}

.sesion-card .sesion-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.sesion-card:nth-child(1) .sesion-label {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.65), rgba(46, 139, 87, 0.25));
    color: #ffffff;
}

.sesion-card:nth-child(2) .sesion-label {
    background: linear-gradient(135deg, rgba(255, 209, 179, 0.75), rgba(255, 209, 179, 0.25));
    color: #2e8b57;
}

.sesion-card:nth-child(3) .sesion-label {
    background: linear-gradient(135deg, rgba(178, 216, 198, 0.75), rgba(178, 216, 198, 0.25));
    color: #1e4437;
}

.sesion-card:nth-child(4) .sesion-label {
    background: linear-gradient(135deg, rgba(168, 159, 145, 0.7), rgba(168, 159, 145, 0.2));
    color: #ffffff;
}

.sesion-card:nth-child(5) .sesion-label {
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.85), rgba(245, 245, 220, 0.3));
    color: #2e8b57;
}

.sesion-card:nth-child(6) .sesion-label {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.6), rgba(46, 139, 87, 0.2));
    color: #ffffff;
}

.sesion-card:nth-child(7) .sesion-label {
    background: linear-gradient(135deg, rgba(255, 209, 179, 0.65), rgba(255, 209, 179, 0.2));
    color: #2e8b57;
}

.sesion-card:nth-child(8) .sesion-label {
    background: linear-gradient(135deg, rgba(178, 216, 198, 0.65), rgba(178, 216, 198, 0.2));
    color: #1e4437;
}

/* =============================================
   BLOG GRID
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary, #2E8B57);
    color: white;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
}

.blog-card-body {
    padding: 22px 20px;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.28rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    color: #555;
    line-height: 1.55;
}

/* =============================================
   HERO PÁGINA SERVICIOS
   ============================================= */
.servicios-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
    background: linear-gradient(135deg, #e8f5ee 0%, #F5F5DC 100%);
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

.servicios-hero .hero-bg {
    display: none;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(26, 26, 46, 0.35), rgba(26, 26, 46, 0.55));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 0 60px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #f0f0f0;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =============================================
   SERVICIOS GRID
   ============================================= */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.servicio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.servicio-card a {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servicio-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.servicio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-card-img img {
    transform: scale(1.08);
}

.servicio-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.servicio-card:hover .servicio-card-img::after {
    opacity: 1;
}

.servicio-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary, #2E8B57);
    color: white;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
    font-weight: 500;
}

.servicio-card-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servicio-card-body h3 {
    font-size: 1.28rem;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.servicio-card-body p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.55;
    flex-grow: 1;
}

.servicio-card:hover h3 {
    color: var(--color-primary, #2E8B57);
}

/* =============================================
   PÁGINA DIRECCIÓN
   ============================================= */
.direccion-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.direccion-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    min-height: 480px;
}

.maps-embed-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.maps-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.maps-placeholder {
    background: #f8f9fa;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #ddd;
    border-radius: 20px;
    color: #888;
}

.direccion-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-card {
    background: #fff;
    padding: 28px 26px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    display: flex;
    gap: 18px;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 1.8rem;
    width: 45px;
    flex-shrink: 0;
}

.info-card h3 {
    margin: 0 0 10px 0;
    color: var(--color-primary, #2E8B57);
    font-size: 1.35rem;
}

.horarios-list {
    padding-left: 0;
    list-style: none;
}

.horarios-list li {
    margin-bottom: 6px;
    color: #444;
}

.contact-link {
    color: var(--color-primary, #2E8B57);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    color: #A89F91;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #20c35b;
    transform: scale(1.05);
}

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
    color: white;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: #B2D8C6;
    color: #2E8B57;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2E8B57;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2E8B57, #B2D8C6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #2E8B57;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(46,139,87,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E8B57;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #2E8B57;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2E8B57;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: #2E8B57;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #1f5e3c;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #2E8B57;
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: #2E8B57;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(46,139,87,0.2);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #2E8B57;
}

.footer-bottom a {
    color: #2E8B57;
}

.footer-bottom a:hover {
    color: #1f5e3c;
}

/* =============================================
   WORDPRESS STANDARD CLASSES
   ============================================= */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #666; margin-top: 8px; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .custom-logo-link img.custom-logo {
        height: 40px;
        max-width: 150px;
    }

    .recomendaciones-grid,
    .sesiones-grid,
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* =============================================
   RESPONSIVE — DIRECCIÓN (max 900px)
   ============================================= */
@media (max-width: 900px) {
    .direccion-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* =============================================
   RESPONSIVE — SERVICIOS GRID (max 992px)
   ============================================= */
@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   RESPONSIVE — MÓVIL (max 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Logo */
    .custom-logo-link img.custom-logo {
        height: 34px;
        max-width: 120px;
    }

    /* Menú hamburguesa */
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .main-navigation.open {
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }

    /* Carousel */
    .carousel-slide {
        height: 520px;
        min-height: 520px;
    }

    .carousel-slide .slide-bg {
        object-position: left center;
    }

    .carousel-slide .slide-content {
        max-width: 100%;
        padding: 40px 24px;
        background: rgba(245, 245, 220, 0.88);
    }

    .carousel-slide h1 {
        font-size: clamp(1.9rem, 6.5vw, 2.9rem);
    }

    .carousel-slide p {
        font-size: 1.05rem;
    }

    .carousel-controls {
        bottom: 20px;
        gap: 12px;
    }

    /* CTA Banner */
    .cta-banner {
        width: 100%;
        height: 3.5cm;
        padding: 10px 16px;
        gap: 12px;
    }

    .cta-banner-inner {
        flex-direction: row;
        height: 100%;
    }

    .cta-banner-content {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .cta-banner-content h2 {
        font-size: 1rem;
        line-height: 1.1;
        margin: 0;
        font-weight: 800;
        letter-spacing: -0.4px;
    }

    .cta-banner-content .cta-subtitle,
    .cta-banner-content p,
    .cta-tag {
        display: none;
    }

    .btn-white {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
        white-space: nowrap;
    }

    .cta-banner-image {
        width: 50%;
        height: 100%;
    }

    .cta-banner-image img {
        object-position: center;
    }

    /* Grids */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .recomendaciones-grid,
    .sesiones-grid,
    .servicios-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Dirección */
    .direccion-map {
        min-height: auto;
    }

    .info-card {
        flex-direction: column;
        padding: 20px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* =============================================
   RESPONSIVE — MÓVIL PEQUEÑO (max 600px)
   ============================================= */
@media (max-width: 600px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}