/* Las fuentes ya se cargan desde includes/header.php con display=optional */

/* =========================================
VARIABLES Y CONFIGURACIÓN
========================================= */
:root {
    /* Colores */
    --primary: #2d6a4f;
    --primary-light: #52b788;
    --primary-dark: #1b4332;
    --accent: #d8f3dc;
    --accent-pink: #f8edeb;
    --accent-yellow: #fefae0;
    --accent-blue: #e0f4f4;
    
    /* Texto */
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-light: #374151; /* gris oscuro, elegante y legible */
    
    /* Fondos */
    --bg-white: #ffffff;
    --bg-cream: #fafbfc;
    
    /* Bordes */
    --border: #e5e5e5;
    
    /* Dimensiones */
    --max-width: 1280px;
    --radius: 20px;
    --radius-sm: 12px;
}

/* =========================================
2. RESET Y BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 {font-size: 3rem;font-weight: revert-layer;}
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

/* =========================================
3. BOTONES
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.btn-primary {
    background: #235505;
    color: var(--bg-white);
}

.btn-primary:hover {
    background: rgb(255, 255, 255);
    transform: translateY(-2px);
     color: #000000;
     border-style:solid;
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

/* =========================================
4. HEADER Y NAVEGACIÓN
========================================= */
.site-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 60%;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0.25rem;
}

/* Menú Desktop */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-body);
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--text-dark);
    color: var(--bg-white) !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary);
    color: var(--bg-white) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Botón Menú Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Overlay para móvil */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
5. SECCIONES PRINCIPALES
========================================= */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-top: 1.5rem;
    text-align: left;
}
/* =========================================
   HERO + CABECEROS: BAMBÚ EN TODAS LAS PÁGINAS
   ========================================= */
.hero,
.page-header {
    position: relative;
    background: #d8f3dc; /* color de respaldo si la imagen no carga */
    overflow: hidden;
}
.hero::before,
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../images/fondos/fondo-testa.webp') center / cover no-repeat;
    opacity: 0.5; /* PC: imagen tal cual, sin velo */
    pointer-events: none;
    z-index: 0;
}
.hero > .container,
.page-header > .container {
    position: relative;
    z-index: 1;
}
/* MÓVIL: bambú sutil con opacidad */
@media (max-width: 768px) {
    .hero::before,
    .page-header::before {
        opacity: 0.25; /* ← regula sutileza en móvil */
    }
}
/* =========================================
7. FEATURES
========================================= */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
}

.feature {
    position: relative;
}

.feature-number {
font-family: 'Space Grotesk', sans-serif;
font-size: 4rem;
font-weight: 700;
color: #235505;
opacity: 1;
line-height: 1;
margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* =========================================
8. ABOUT
========================================= */
.about-section { 
    background: var(--bg-cream); 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6rem; 
    align-items: center; 
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
   /* aspect-ratio: 4 / 5;*/
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content h2 { 
    margin-bottom: 2rem; 
    font-size: 3rem; 
}

.about-content p { 
    font-size: 1.125rem; 
    line-height: 1.8; 
    margin-bottom: 1.5rem; 
    color: var(--text-body); 
}

/* =========================================
9. CONDITIONS (PATOLOGÍAS)
========================================= */
.conditions {
    background: var(--bg-white);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.condition-card {
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

/* Colores cíclicos: funcionan con cualquier número de tarjetas */
.condition-card:nth-child(4n+1) { background: var(--accent); }
.condition-card:nth-child(4n+2) { background: var(--accent-pink); }
.condition-card:nth-child(4n+3) { background: var(--accent-yellow); }
.condition-card:nth-child(4n+4) { background: var(--accent-blue); }

.condition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.condition-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.condition-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.condition-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* =========================================
10. STATS
========================================= */
.stats-section {
    padding: 6rem 0;
    background: var(--text-dark);
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

/* =========================================
11. SERVICIOS
========================================= */
.services-home {
    background: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius);
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Servicios Detail Page */
.services-intro {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.intro-content h2 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    text-align:left;
}

.services-detail {
    padding: 8rem 0;
    background: var(--bg-white);
}

.service-detail {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: stretch;
margin-bottom: 8rem;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
border-radius: 25px;
overflow: hidden;
height: 100%;
min-height: 420px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    border-radius: 25px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.2;
}

.image-placeholder span {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
    z-index: 2;
}

.service-detail-content h2 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    color:#235505;
}

.service-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    margin: 2rem 0 2.5rem;
    line-height: 1rem;
}

.benefits-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* =========================================
12. BLOG
========================================= */
.blog-home, .blog-section {
    background: var(--bg-white);
}

.blog-section {
    padding: 4rem 0 6rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    background-size: cover;
    background-position: center;
    border-radius: 30px;
}

.blog-content {
    padding: 2.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.blog-content h2,
.blog-content h3 {
    font-size: 1.625rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h2 a,
.blog-content h3 a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-content p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Single Post */
.single-post {
    padding: 4rem 0 6rem;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    margin-top: 3rem;
}

.post-header {
    margin-bottom: 3rem;
}

.post-category {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.post-header h1 {
    font-size: 3.5rem;
    margin: 1.5rem 0;
    line-height: 1.1;
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-cream);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 3rem;
    padding: 2rem 2.5rem;
    background: var(--bg-cream);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.8;
    font-style: italic;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-body);
}

.post-content h2 {
    /*font-size: 2.25rem;*/
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.25rem;
}
.post-content p {
    margin-bottom: 1.75rem;
}
.post-content p:last-child {
    margin-bottom: 0;
}
/* Los párrafos vacíos de Quill no añaden margen extra */
.post-content p:has(> br:only-child) {
    margin-bottom: 0;
}

.post-content ul,
.post-content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.75rem;
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

.post-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.post-share strong {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 600;
}

.related-posts {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.related-posts h2 {
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.post-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1.25rem;
    margin: 0 0 1.75rem;
    font-style: italic;
    color: var(--text-body);
}


/* =========================================
   TABULACIONES DEL EDITOR (ql-indent)
   ========================================= */
.post-content .ql-indent-1 { padding-left: 2.5em; }
.post-content .ql-indent-2 { padding-left: 5em; }
.post-content .ql-indent-3 { padding-left: 7.5em; }

#editor-container .ql-editor blockquote {
    border-left: 3px solid #2d6a4f;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #4a4a4a;
}
/* =========================================
13. SIDEBAR
========================================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.widget-cta {
    background: var(--primary);
    color: var(--bg-white);
}

.widget-cta h3 {
    color: var(--bg-white);
}

.widget-cta p {
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.widget-button {
    display: block;
    background: var(--bg-white);
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.widget-button:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.widget-phone {
    margin-top: 1rem;
}

.widget-phone a {
    color: #7fffd4;
    font-size: 1.2em;
}

.search-form {
    display: flex;
    gap: 0.75rem;
}

.search-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.9375rem;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form button {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}

.search-form button:hover {
    background: var(--primary-light);
}

.category-list li,
.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-list li:last-child,
.recent-posts li:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

.category-list a,
.recent-posts a {
    font-weight: 500;
    display: block;
    padding: 0.25rem 0;
}

.category-list a:hover,
.recent-posts a:hover {
    color: var(--primary);
}

.recent-posts time {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.375rem;
}

.category-select {
    display: none;
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    background: var(--bg-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4a4a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.category-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* =========================================
14. TESTIMONIALS
========================================= */
.testimonials {
    background: var(--accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 6rem;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =========================================
15. CTA FINAL
========================================= */
.cta-final {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 8rem 0;
    text-align: center;
}

.cta-final h2 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final .btn-primary {
    background: var(--primary);
}

.cta-final .btn-primary:hover {
    background: var(--primary-light);
}

.cta-final .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.cta-final .btn-secondary:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

/* =========================================
16. PRICING
========================================= */
.pricing {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1.5px solid var(--border);
    transition: all 0.4s;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    border-color: var(--primary);
    background: var(--accent);
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.price-card ul {
    margin-bottom: 2.5rem;
    text-align: left;
}

.price-card ul li {
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.price-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* =========================================
17. CONTACT
========================================= */
.contact-section {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.contact-method {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s;
    border: 1.5px solid var(--border);
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-method p {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
}

.contact-form-container h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-form-container > p {
    color: var(--text-body);
    margin-bottom: 3rem;
    font-size: 1.0625rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-body);
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
    margin: 0.125rem 0 0 0;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: var(--radius-sm);
}

.info-card.highlight {
    background: var(--accent);
    border: 1.5px solid var(--primary-light);
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.info-card p {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* =========================================
18. FOOTER
========================================= */
.site-footer {
    background: #183b03eb;
    color: var(--bg-white);
    padding: 6rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.25rem;
}

.footer-section h3 .logo-symbol {
    color: var(--primary-light);
}

.footer-section p {
    font-size: 0.9375rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
color: var(--bg-white);
font-size: 0.9375rem;
opacity: 1;
}

.footer-section a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.footer-bottom {
    background: rgb(0 0 0 / 55%);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom .container {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* =========================================
19. FAQS
========================================= */
.faq-section-page {
    padding: 4rem 0 6rem;
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-light);
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer-content p {
    margin: 0;
}

/* =========================================
20. WHATSAPP FLOAT
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
21. BREADCRUMBS
========================================= */
.page-header {
    background: var(--accent);
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-body);
}

.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumbs ol {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;                 /* grosor del separador (2px si lo quieres más marcado) */
    height: 0.85em;             /* alto relativo al texto */
    background: var(--text-light);
    margin: 0 0.75rem;
    vertical-align: middle;     /* centrado vertical exacto */
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs li:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* =========================================
22. RESPONSIVE
========================================= */

/* Tablet (hasta 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.75rem; }
    
    .container {
        padding: 0 2rem;
    }
    
    .post-layout,
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
        position: static;
        margin-top: 3rem;
    }
    
    .post-main,
    .blog-main {
        order: 1;
    }
    
    .features-grid,
    .conditions-grid,
    .services-grid,
    .blog-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Mobile (hasta 768px) */
@media (max-width: 768px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .top-bar {
        display: none;
    }
    
    .site-header {
        padding: 0.875rem 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 5rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    /* Menú Hamburguesa Activo */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 100px 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--text-dark);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
    }
    
    .nav-cta {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
        background: var(--primary);
        color: var(--bg-white) !important;
        padding: 1rem 2rem !important;
        border-radius: 50px;
    }
    
    .features-grid,
    .conditions-grid,
    .services-grid,
    .blog-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-layout {
        padding: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    /* Hero responsive */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: 2;
        justify-content: center;
    }
    
    .hero-logo-img {
        max-height: 280px;
    }
    
    /* Blog responsive */
    .blog-image {
        height: 260px;
    }
    
    .blog-content {
        padding: 2rem;
    }
    
    .blog-content h2,
    .blog-content h3 {
        font-size: 1.5rem;
    }
    
    /* FAQ responsive */
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Sidebar responsive */
    .category-list {
        display: none;
    }
    
    .category-select {
        display: block;
    }
    
    /* Search form responsive */
    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-form input,
    .search-form button {
        width: 100%;
    }
    
    .search-form button {
        text-align: center;
    }
}

/* Mobile muy pequeño (hasta 480px) */
@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.125rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .nav-links {
        width: 85%;
        padding: 90px 1.5rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .hero-logo-img {
        max-height: 200px;
    }
    
    .widget .search-form {
        gap: 0.625rem;
    }
    
    .widget .search-form input {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
    
    .widget .search-form button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}


.pagination-wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link, .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-body);
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
}

.page-number.active {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-cream);
}
/* =========================================
BANNER DE VACACIONES
========================================= */
.vacation-banner {
    background: var(--accent-yellow);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.vacation-banner .container {
    max-width: 800px;
    margin: 0 auto;
}

.banner-imagen {
    margin-bottom: 1.5rem;
}

.banner-imagen img {
   /* width: 100%;
    max-width: 800px;*/
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-mensaje {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.banner-fechas {
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 500;
}

@media (max-width: 768px) {
    .vacation-banner {
        padding: 1.5rem 0;
    }
    
    .banner-imagen img {
        max-width: 100%;
    }
    
    .banner-mensaje {
        font-size: 1rem;
    }
    
    .banner-fechas {
        font-size: 0.9375rem;
    }
}

/* =========================================
   FONDO DE BAMBÚ: MÉTODO SIMPLE (background-image)
   El fondo nunca se sale de la capa y el texto
   siempre queda encima sin necesidad de z-index
   ========================================= */

/* --- Hero de la portada --- */
.hero {
    background-color: #d8f3dc; /* respaldo si la imagen no carga */
    background-image: url('../images/fondos/fondo-testa-2.webp');
    background-size: cover;
    background-position: center;
    
    
}

/* --- Cabeceras verdes (servicios, faqs, blog, contacto) --- */
body.page-servicios .page-header,
body.page-faqs .page-header,
body.page-blog .page-header,
body.page-contacto .page-header {
    background-color: #d8f3dc;
    background-image: url('../images/fondos/fondo-testa.webp');
    background-size: cover;
    background-position: center;
}

/* MÓVIL: velo verde encima para verlo sutil */
@media (max-width: 768px) {
    .hero,
    body.page-servicios .page-header,
    body.page-faqs .page-header,
    body.page-blog .page-header,
    body.page-contacto .page-header {
        background-image: linear-gradient(rgba(216, 243, 220, 0.75), rgba(216, 243, 220, 0.75)),
                          url('../images/fondos/fondo-testa.webp');
    }
}


/* =========================================
HERO: botón "Ver Patologías" alineado a la derecha,
en caja con el párrafo superior
========================================= */
.hero-content a.btn {
    display: block; /* ocupa su propia línea */
    width: fit-content; /* pero solo el ancho del botón */
    margin-left: auto; /* lo empuja al borde derecho de la columna */
    margin-right: 0;
}

/* En móvil lo centramos para que no quede descolgado */
@media (max-width: 768px) {
    .hero-content a.btn {
        margin-left: auto;
        margin-right: auto;
    }
}

.condition-prefix {
display: block;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 1.2px;
text-transform: uppercase;
color: var(--primary-dark);
opacity: 1;
margin-bottom: 0.35rem;
}


/* =========================================
   ENLACES E IMÁGENES DENTRO DEL ARTÍCULO
   ========================================= */
.post-content a {
    color: #2d6a4f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post-content a:hover {
    color: #1b4332;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* =========================================
   ARTÍCULOS RECIENTES CON MINIATURA (SIDEBAR)
   ========================================= */
.recent-posts li a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.25rem 0;
}

.recent-posts .recent-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.recent-posts li a:hover .recent-thumb {
    transform: scale(1.05);
}

.recent-posts .recent-title {
    font-size: 0.9375rem;
    line-height: 1.45;
    font-weight: 500;
}


/* =========================================
   MENÚ DE TEMAS DE FAQ (unificado desde faqs.php)
   ========================================= */
.faq-themes-nav {
    padding: 1.25rem 0;
}
.faq-themes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.faq-theme-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #ffffff;                          /* Opción A: blanco sólido, sin degradado */
    border: 2px solid var(--primary, #2d6a4f);    /* Opción B: borde verde */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);   /* separa el botón del bambú */
    color: var(--text-body, #050505);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s;
}
.faq-theme-link:hover {
    background: var(--primary, #2d6a4f);
    color: #fff;
    transform: translateY(-2px);
}
.faq-theme-count {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.faq-theme-link:hover .faq-theme-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
@media (max-width: 768px) {
    .faq-theme-link {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* =========================================
   FAQ: CONTENIDO RICO (respuestas con editor)
   ========================================= */
.faq-answer-content p {
    margin: 0 0 0.9rem;
}
.faq-answer-content p:last-child {
    margin-bottom: 0;
}
.faq-answer-content ul,
.faq-answer-content ol {
    margin: 0 0 0.9rem;
    padding-left: 1.4rem;
}
.faq-answer-content ul li {
    list-style: disc;
    margin-bottom: 0.35rem;
}
.faq-answer-content ol li {
    list-style: decimal;
    margin-bottom: 0.35rem;
}
.faq-answer-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.faq-answer-content a:hover {
    color: var(--primary-dark);
}
.faq-answer-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 0 0 0.9rem;
    font-style: italic;
}

/* =========================================
   MODAL DE CONFIRMACIÓN (contacto / pedir cita)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.modal-content {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: slideIn 0.3s forwards;
}
@keyframes slideIn {
    to { transform: scale(1); }
}
.modal-content.success { border-top: 5px solid #10b981; }
.modal-content.error { border-top: 5px solid #ef4444; }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.modal-close:hover {
    background: var(--bg-cream);
    color: var(--text-dark);
}
.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}
.success-icon { background: #d1fae5; color: #10b981; }
.error-icon { background: #fee2e2; color: #ef4444; }
.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.modal-content p {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.modal-subtext {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}
.modal-btn {
    margin-top: 2rem;
    min-width: 150px;
}
.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.privacy-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
}
.privacy-consent label {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    cursor: pointer;
    text-align: left;
}
.privacy-consent a {
    font-weight: 600;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
        width: 95%;
    }
    .modal-content h2 { font-size: 1.5rem; }
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* =========================================
   CABECERA VERDE CON BAMBÚ: PEDIR CITA
   (misma testa que contacto/servicios/faqs/blog)
   ========================================= */
body.page-pedir-cita .page-header {
    background-color: #d8f3dc;
    background-image: url('../images/fondos/fondo-testa.webp');
    background-size: cover;
    background-position: center;
}

/* MÓVIL: velo verde encima para verlo sutil */
@media (max-width: 768px) {
    body.page-pedir-cita .page-header {
        background-image: linear-gradient(rgba(216, 243, 220, 0.75), rgba(216, 243, 220, 0.75)),
            url('../images/fondos/fondo-testa.webp');
    }
}

/* =========================================
   SECCIÓN DE PRECIOS (clases pw-* sin conflictos)
   ========================================= */
.pw-section {
    padding: 5rem 0;
    background: var(--bg-cream, #f8f9fa);
}
.pw-titulo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark, #1a1a1a);
}
.pw-subtitulo {
    text-align: center;
    color: var(--text-body, #4a5568);
    margin-bottom: 3rem;
}
.pw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
    padding-top: 14px; /* deja sitio al badge */
}
.pw-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.pw-card.destacada {
    background: #eef7f0; /* verde suave */
    border: 2px solid var(--primary, #2d6a4f);
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.15);
}
.pw-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #2d6a4f);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.pw-nombre {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.pw-precio {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary, #2d6a4f);
    margin-bottom: 0.25rem;
}
.pw-duracion {
    color: var(--text-light, #718096);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.pw-incluye {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    text-align: left;
}
.pw-incluye li {
    padding: 0.45rem 0 0.45rem 1.6rem;
    position: relative;
    color: var(--text-body, #4a5568);
    border-bottom: 1px dashed var(--border, #e2e8f0);
}
.pw-incluye li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary, #2d6a4f);
    font-weight: 700;
}
.pw-boton {
    margin-top: auto;
}
.pw-vermas {
    text-align: center;
    margin-top: 2.5rem;
}

/* =========================================
   BARRA FIJA MÓVIL (llamar / pedir cita)
   ========================================= */
.barra-movil {
    display: none;
}
@media (max-width: 768px) {
    .barra-movil {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        gap: 0.5rem;
        padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(8px);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    }
    .barra-movil-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.85rem 0.5rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
    }
    .barra-movil-btn.llamar {
        background: #ffffff;
        color: var(--primary, #2d6a4f);
        border: 2px solid var(--primary, #2d6a4f);
    }
    .barra-movil-btn.cita {
        background: var(--primary, #2d6a4f);
        color: #ffffff;
    }
    /* Hueco para que la barra no tape el contenido */
    body {
        padding-bottom: 78px;
    }
    /* En la página de pedir cita la barra sobra (ya está el formulario) */
    body.page-pedir-cita .barra-movil {
        display: none;
    }
    body.page-pedir-cita {
        padding-bottom: 0;
    }
}
/* =========================================
   CABECEROS UNIFICADOS: fondo sutil en TODAS las páginas
   ========================================= */
/* 1) Mata cualquier fondo "fuerte" pintado directo en el elemento */
.page-header,
.hero:not(.hero-2026) {
background-image: none !important;
background-color: #d8f3dc;
}

/* 2) La imagen SOLO a través de la capa sutil ::before */
.hero::before,
.page-header::before {
    opacity: 0.5; /* ← PC: misma sutileza que ves ahora en Precios */
}

/* 3) Móvil: aún más suave */
@media (max-width: 768px) {
    .hero::before,
    .page-header::before {
        opacity: 0.25;
    }
}

.blog-image-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius, 12px) var(--radius, 12px) 0 0;
}
.blog-image-link .blog-image {
    transition: transform 0.35s ease;
}
.blog-card:hover .blog-image-link .blog-image {
    transform: scale(1.05); /* zoom suave al pasar el ratón */
}

/* Tarjeta de blog: TODA la superficie clicable con UN solo enlace */
.blog-card {
    position: relative;
}
.blog-card .card-link::after {
    content: '';
    position: absolute;
    inset: 0;      /* cubre imagen + categoría + extracto + todo */
    z-index: 1;
}
/* Feedback visual al pasar el ratón por cualquier zona */
.blog-card:hover .blog-image {
    transform: scale(1.05);
}
.blog-card:hover .card-link {
    color: var(--primary, #2d6a4f);
}
.blog-card:hover .read-more {
    color: var(--primary, #2d6a4f);
}

/* =========================================
   ANCLAS: compensa la cabecera fija en todos los saltos
   ========================================= */
[id] {
    scroll-margin-top: 200px; /* altura de la cabecera + un poco de aire */
}

/* =========================================
   HERO: dos columnas (texto izq. + logo der.) y logo contenido
   ========================================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.hero-content,
.hero-image {
    min-width: 0; /* evita que la imagen «rompa» la columna */
}
.hero-image {
    display: flex;
    justify-content: center;
    order: -1; /* invierte las columnas: logo izq., texto der. */
}
.hero-logo-img {
    width: 100%;
    max-width: 430px;   /* ← el logo ya no puede hacerse gigante */
    height: auto;
    display: block;
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content .hero-subtitle {
        text-align: left !important;
    }
    .hero-logo-img {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* =========================================
   HERO: título en UNA línea por encima de todo
   ========================================= */
.hero-title {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    line-height: 1.15;
    margin: 0.25rem 0 2rem;
    white-space: nowrap; /* fuerza la línea única en PC */
}
.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-title {
        white-space: normal; /* en móvil puede saltar de línea */
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .h2-movil {
        font-size: 1.35rem;
        line-height: 1.3;
    }
}

/* --------- MIGAS DE PAN (arreglo global y móvil) --------- */
.breadcrumbs ol,
.breadcrumbs li {
    list-style: none !important;
}
.breadcrumbs ol {
    margin: 0 0 1rem !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.4;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}
.breadcrumbs li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: #6b7280;
}
.breadcrumbs a {
    color: var(--primary, #2d6a4f);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs li:last-child span {
    color: #6b7280;
}

/* --------- ANTI-SALTOS (CLS): espacio reservado para imágenes --------- */
.about-image img {
    width: 100%;
    height: auto;
    /*aspect-ratio: 4 / 3;*/
    object-fit: cover;
}
.service-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
/* --------- Botón «Pedir Cita» del footer --------- */
.btn-footer-cita {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.65rem 1.75rem;
    margin-top:15px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, color 0.25s ease;
}
.btn-footer-cita:hover {
    background: #25aa04;
    color: #000000;
}
/* --------- Artículo: tipografía por defecto --------- */
.post-content { font-size: 1.0625rem; line-height: 1.8; color: #374151; }
.post-content p { margin: 0 0 1.25rem; line-height: 1.8; }
.post-content h2 { font-size: 1.75rem; line-height: 1.3; margin: 2rem 0 1rem; }
.post-content h3 { font-size: 1.35rem; line-height: 1.35; margin: 1.6rem 0 0.8rem; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.post-content blockquote {
    border-left: 4px solid #2d6a4f; padding-left: 1.25rem; margin: 1.5rem 0;
    color: #4a5568; font-style: italic;
}



/* =========================================
PATOLOGÍAS: ACORDEÓN (estilo FAQs)
========================================= */
.pat-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .pat-list {
        grid-template-columns: 1fr;
    }
}
.pat-item {
background: var(--bg-cream);
border-radius: var(--radius-sm);
margin-bottom: 1rem;
border: 1px solid var(--border);
overflow: hidden;
transition: all 0.3s ease;
}
.pat-item.active {
border-color: var(--primary-light);
background: #a2edc759; /* verde sutil ≈ rgba(162, 237, 199, 0.17) */
box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
}
.pat-question {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1.5rem 2rem;
background: none;
border: none;
cursor: pointer;
text-align: left;
font-family: 'Space Grotesk', sans-serif;
font-size: 1.25rem;
font-weight: 600;
color: var(--text-dark);
transition: color 0.3s;
}
.pat-question:hover,
.pat-item.active .pat-question { color: var(--primary); }
.pat-titulo { display: flex; flex-direction: column; gap: 0.25rem;color: #235505;font-size: 25px; }
.pat-titulo .condition-prefix { margin-bottom: 0; }
.pat-icon {
font-size: 1.75rem;
font-weight: 300;
color: var(--primary);
line-height: 1;
flex-shrink: 0;
transition: transform 0.3s ease;
}
.pat-item.active .pat-icon { transform: rotate(45deg); }
.pat-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pat-answer-content { padding: 0 2rem 1.75rem; }
.pat-answer-content ul {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.25rem 2.5rem;
}
.pat-answer-content ul li {
padding: 0.5rem 0 0.5rem 1.5rem;
position: relative;
color: var(--text-body);
font-size: 0.9375rem;
line-height: 1.6;
}
.pat-answer-content ul li::before {
content: '→';
position: absolute;
left: 0;
color: var(--primary);
font-weight: 600;
}
@media (max-width: 768px) {
.pat-question { padding: 1.25rem 1.5rem; font-size: 1.05rem; }
.pat-answer-content { padding: 0 1.5rem 1.5rem; }
.pat-answer-content ul { grid-template-columns: 1fr; }
}

/* ---- Servicios: imagen a columna completa solo en PC ---- */
@media (max-width: 1024px) {
.service-detail-image {
height: auto;
min-height: 0;
}
.service-detail-image img {
height: auto;
aspect-ratio: 3 / 2;
object-fit: cover;
}
}


/* =========================================
KIT 2026: CONTORNO DIFUMINADO (imágenes editoriales)
========================================= */
.about-image img,
.post-featured-image img {
-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 45%, transparent 100%);
mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 45%, transparent 100%);
}
/* ---- Fundido RECTANGULAR para las imágenes de terapia ---- */
.service-detail-image img {
-webkit-mask-image:
linear-gradient(to bottom, transparent 0%, #000 26%, #000 84%, transparent 100%),
linear-gradient(to right, transparent 0%, #000 26%, #000 84%, transparent 100%);
-webkit-mask-composite: source-in;
mask-image:
linear-gradient(to bottom, transparent 0%, #000 26%, #000 84%, transparent 100%);
mask-image:
linear-gradient(to bottom, transparent 0%, #000 26%, #000 84%, transparent 100%),
linear-gradient(to right, transparent 0%, #000 26%, #000 84%, transparent 100%);
mask-composite: intersect;
}


/* =========================================
HERO 2026 — editorial oscuro con acentos
========================================= */
.hero-2026 {
position: relative;
background: radial-gradient(1200px 600px at 85% -10%, rgba(82, 183, 136, .18), transparent 60%),
linear-gradient(165deg, #081c15 0%, #123829 55%, #1b4332 100%);
overflow: hidden;
padding: 7rem 0 6rem;
}
.hero-2026::before {
content: '';
position: absolute;
inset: 0;
background: url('../images/fondos/fondo-testa.webp') center / cover no-repeat;
opacity: .07;
pointer-events: none;
}
.hero-2026 > .container { position: relative; z-index: 1; }
.hero2-grid {
display: grid;
grid-template-columns: 1.1fr .9fr;
gap: 4rem;
align-items: center;
}
.hero2-eyebrow {
display: inline-flex;
align-items: center;
gap: .5rem;
background: rgba(255, 255, 255, .08);
border: 1px solid rgba(255, 255, 255, .18);
color: #95d5b2;
padding: .5rem 1.1rem;
border-radius: 999px;
font-size: .85rem;
font-weight: 600;
letter-spacing: .08em;
text-transform: uppercase;
margin-bottom: 1.75rem;
backdrop-filter: blur(6px);
}
.hero2-title {
color: #ffffff;
font-size: clamp(2.6rem, 5.2vw, 4.25rem);
line-height: 1.08;
letter-spacing: -0.03em;
margin-bottom: 1.75rem;
}
.hero2-accent { color: #95d5b2; }
.hero2-sub {
color: rgba(255, 255, 255, .82);
font-size: 1.125rem;
line-height: 1.75;
margin-bottom: 1.25rem;
max-width: 34rem;
}
.hero2-sub strong { color: #ffffff; }
.hero2-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 2.25rem; }
.hero-2026 .btn-primary { background: #52b788; color: #081c15; font-weight: 700; }
.hero-2026 .btn-primary:hover { background: #95d5b2; color: #081c15; transform: translateY(-2px); }
.btn-ghost {
background: transparent;
color: #ffffff;
border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { border-color: #95d5b2; color: #95d5b2; }
.hero2-trust {
display: flex;
flex-wrap: wrap;
gap: .75rem 1.5rem;
list-style: none;
margin: 0;
padding: 0;
}
.hero2-trust li { color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 500; }
.hero2-visual { position: relative; }
.hero2-img {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 28px;
box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
display: block;
}
.hero2-badge {
position: absolute;
left: 1.25rem;
bottom: -1.1rem;
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .6rem 1.2rem;
border-radius: 12px;
font-weight: 700;
font-size: .9rem;
box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}
.hero2-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.hero2-actions {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
margin-top: 4.5rem;
}
.hero2-pill {
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .8rem 1.6rem;
border-radius: 999px;
background: rgba(255, 255, 255, .06);
border: 1px solid rgba(255, 255, 255, .16);
color: #ffffff;
font-weight: 600;
font-size: .95rem;
backdrop-filter: blur(6px);
transition: all .3s;
}
.hero2-pill:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); color: #ffffff; }
@media (max-width: 900px) {
.hero2-grid { grid-template-columns: 1fr; gap: 3rem; }
.hero-2026 { padding: 5rem 0 4rem; }
.hero2-badge { left: 1rem; bottom: -1rem; }
}


/* ---- Badge de estado en líneas apiladas ---- */
.hero2-badge { align-items: center; }
.hero2-badge-text {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.15rem;
text-align: left;
line-height: 1.3;
}
.hero2-badge-line { display: block; }
.hero2-badge-line:first-child { font-weight: 800; }


/* =========================================
TESTIMONIOS: bloque verde pino (captura objetivo)
========================================= */
.testimonials {
background: #235505;
}
.testimonials .section-tag {
color: rgba(255, 255, 255, 0.9);
}
.testimonials .section-header h2 {
color: #ffffff;
}
.testimonials .section-header p {
color: rgba(255, 255, 255, 0.85);
}
.testimonial {
background: var(--bg-white);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
/* Botones fantasma (borde blanco) sobre el verde */
.testimonials .btn-secondary,
.testimonials .btn-outline {
background: transparent;
color: #ffffff;
border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.testimonials .btn-secondary:hover,
.testimonials .btn-outline:hover {
background: rgba(255, 255, 255, 0.12);
color: #ffffff;
border-color: #ffffff;
}
/* Botón sólido verde oscuro */
.testimonials .btn-primary {
background: #235505;
color: #ffffff;
}
.testimonials .btn-primary:hover {
background: #ffffff;
color: #235505;
}
/* ---- Difuminado suave: final sin corte marcado ---- */
.hero2-img,
.service-detail-image img {
-webkit-mask-image:
linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18px, rgba(0,0,0,.75) 40px, #000 100px, #000 calc(100% - 100px), rgba(0,0,0,.75) calc(100% - 55px), rgba(0,0,0,.35) calc(100% - 25px), transparent 100%),
linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 18px, rgba(0,0,0,.75) 40px, #000 100px, #000 calc(100% - 100px), rgba(0,0,0,.75) calc(100% - 55px), rgba(0,0,0,.35) calc(100% - 25px), transparent 100%);
-webkit-mask-composite: source-in;
mask-image:
linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18px, rgba(0,0,0,.75) 40px, #000 100px, #000 calc(100% - 100px), rgba(0,0,0,.75) calc(100% - 55px), rgba(0,0,0,.35) calc(100% - 25px), transparent 100%),
linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 18px, rgba(0,0,0,.75) 40px, #000 100px, #000 calc(100% - 100px), rgba(0,0,0,.75) calc(100% - 55px), rgba(0,0,0,.35) calc(100% - 25px), transparent 100%);
mask-composite: intersect;
}