/* Reset y configuración base */
.nav-container{
        height: 80px !important;
}
@media screen and (min-width: 1100px) and (max-width: 1600px) {

.hero-image-container{

width: 280px !important;

height: 280px !important;

position: relative;

left: -10px !important;

top: 70px !important;

}

.hero-caption{
    position:relative;
    top:80px;
}

.hero-text{
    margin-top: 90px;
}
    
}





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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
}

h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.momo-trust-display {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.montserrat-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.pt-sans-text {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-style: normal;
}

/* Variables CSS para colores y espaciado */
:root {
    /* Nueva paleta de colores */
    --primary-color: #083588;        /* Azul profundo - principal */
    --primary-light: #6fb2dc;       /* Azul claro - variante */
    --primary-dark: #5a4949;        /* Marrón oscuro - contraste */
    --secondary-color: #a2a59d;     /* Verde gris - secundario */
    --accent-color: #ded5de;        /* Lavanda suave - acento */
    --text-dark: #384741;           /* Verde oscuro para textos */
    --text-light: #5a4949;          /* Marrón para textos secundarios */
    --text-white: #fff;             /* Texto sobre fondos de acento */
    --bg-light: #66927b  ;            /* Lavanda para fondos claros */
    --bg-white: #ffffff;            /* Blanco puro */
    --border-color: #a2a59d;        /* Verde gris para bordes */
    --shadow: 0 4px 6px -1px rgba(56, 71, 65, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(56, 71, 65, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --section-padding: 80px 0;
}

/* Utilidades */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title2{
    color: #fff !important;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Botones */
.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

button.btn-primary, button.btn-secondary, button.btn-whatsapp {
    width: auto;
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--primary-light);
    color: white;
    margin: 5px 0;
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp i {
    display: inline-block;
}

.btn-whatsapp:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* Header y Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f8f7f2 !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.01rem 0;
    transition: var(--transition);
    border-bottom: 1px solid grey;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #f8f7f2;
   
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="60" r="0.8" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="90" r="0.7" fill="rgba(255,255,255,0.07)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    animation: shimmer 15s ease-in-out infinite;
}

/* Adornos florales decorativos en los bordes del hero
   Largura e offsets fluidos: o `overflow: hidden` do .hero recorta o que vazar,
   e `z-index: 1` mantem as folhas atras da foto (z-index 2). */
.hero-flower {
    position: absolute;
    width: clamp(140px, 14vw, 240px);
    max-width: 35%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.hero-flower-top-left {
    top: clamp(0.5rem, 2vw, 2.5rem);
    right: clamp(-3rem, -2vw, -0.5rem);
}

.hero-flower-bottom-left {
    left: clamp(-3rem, -2vw, -0.5rem);
    bottom: clamp(-2rem, -1.5vw, -0.5rem);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 70vh;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    position: relative;
    line-height: 1.4;
    display: block;
    width: 100%;
}

.hero-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0rem auto 2rem auto;
    max-width: 200px;
    opacity: 0;
    animation: fade-in-divider 0.5s ease-in-out 6.5s both;
}

.typewriter-line-1,
.typewriter-line-2,
.typewriter-line-3,
.typewriter-line-4 {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    max-width: 0;
    display: block;
    position: relative;
    color: var(--primary-color);
    font-weight: 500;
}

.typewriter-line-1 {
    animation: typewriter-line-1 1.5s steps(50, end) 0.3s both, blink-cursor 0.75s step-end infinite, hide-cursor 0.1s 2.1s both;
    font-size: 1.8rem;
    line-height: 1.1;
}

.typewriter-line-2 {
    animation: show-line 0.1s 2.2s both, typewriter-line-2 1.2s steps(45, end) 2.3s both, blink-cursor 0.75s step-end infinite, hide-cursor 0.1s 3.5s both;
    font-size: 1.8rem;
    line-height: 1.1;
    margin-top: 0;
    opacity: 0;
    margin-bottom: 10px;
    display: block;
}

.typewriter-line-3 {
    animation: show-line 0.1s 3.6s both, typewriter-line-3 1.4s steps(50, end) 3.7s both, blink-cursor 0.75s step-end infinite, hide-cursor 0.1s 5.1s both;
    margin-top: 0;
    opacity: 0;
    color: #8c047c;
    font-size: 1.4rem;
    line-height: 1.1;
    display: block;
}

.typewriter-line-4 {
    animation: show-line 0.1s 5.2s both, typewriter-line-4 0.9s steps(30, end) 5.3s both, blink-cursor 0.75s step-end infinite, hide-cursor 0.1s 6.2s both;
    margin-top: 0;
    opacity: 0;
    color: #8c047c;
    font-size: 1.4rem;
    display: block;
}


.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    line-height: 1.6;
    opacity: 0;
    animation: fade-in-description 0.6s ease-in-out 3.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    opacity: 0;
    animation: fade-in-buttons 0.6s ease-in-out 2s both;
}

.hero-buttons::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    border-radius: 20px;
    z-index: -1;
    animation: breathe 5s ease-in-out infinite;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Container do retrato. Largura/altura fluidas entre laptop pequeno (1024px,
   onde clamp segura em 280px) e desktop grande (~1500px+, onde chega ao max 350px).
   Em mobile/tablet (<=1023px) as media queries abaixo aplicam overrides fixos. */
.hero-image-container {
    position: relative;
    width: clamp(280px, 24vw, 350px);
    height: clamp(280px, 24vw, 350px);
    aspect-ratio: 1;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ancora o crop a 25% da altura para que a cabeca nao toque a borda
       superior do circulo. Tunavel para 50% 20% (mais cabeca) ou 50% 30%
       (mais ombros) se for preciso. */
    object-position: 50% 25%;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(56, 71, 65, 0.3);
    position: relative;
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 30% 30%, var(--accent-color) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, var(--secondary-color) 0%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.8;
    filter: blur(1px);
}

.hero-caption {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    text-align: center;
    font-style: normal;
    line-height: 1.6;
    max-width: 400px;
    opacity: 0;
    animation: fade-in-description 0.8s ease-in-out 14.5s both;
    letter-spacing: 0.3px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: 
        conic-gradient(from 0deg, transparent, var(--primary-light), transparent, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 0.6; transform: translateX(100%); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes wave {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes expand {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes typewriter-line-1 {
    from { max-width: 0; }
    to { max-width: 100%; }
}

@keyframes typewriter-line-2 {
    from { max-width: 0; }
    to { max-width: 100%; }
}

@keyframes typewriter-line-3 {
    from { max-width: 0; }
    to { max-width: 100%; }
}

@keyframes typewriter-line-4 {
    from { max-width: 0; }
    to { max-width: 100%; }
}

@keyframes hide-line {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes hide-cursor {
    from { border-right-color: rgba(255, 255, 255, 0.9); }
    to { border-right-color: transparent; }
}

@keyframes show-line {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: rgba(255, 255, 255, 0.9); }
}

@keyframes fade-in-divider {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
}

@keyframes fade-in-description {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-buttons {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/bgservicio2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 1;
    border-radius: 12px;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 3;
}

.service-card:hover::after {
    transform: scaleX(1);
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.service-icon {
    font-size: 2rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(56, 71, 65, 0.2));
    flex-shrink: 0;
    color: var(--primary-color);
}

.service-icon i {
    display: inline-block;
}

.service-icon:nth-child(2) {
    animation-delay: 1s;
}

.service-icon:nth-child(3) {
    animation-delay: 2s;
}

.service-icon:nth-child(4) {
    animation-delay: 3s;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.service-preview {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.toggle-btn {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 3;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.toggle-btn:hover::before {
    left: 100%;
}

.toggle-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 71, 65, 0.3);
}

.toggle-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 71, 65, 0.3);
}

.toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(56, 71, 65, 0.2);
}

.toggle-btn svg {
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.toggle-btn.active svg {
    transform: rotate(180deg);
}

.toggle-btn:hover svg {
    transform: translateY(1px);
}

.toggle-btn.active:hover svg {
    transform: rotate(180deg) translateY(1px);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    opacity: 0;
    transform: translateY(-10px);
    position: relative;
    z-index: 2;
    border-top: 0px solid var(--border-color);
}

.service-details.active {
    max-height: 600px;
    margin-top: 1.5rem;
    opacity: 1;
    transform: translateY(0);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-details ul {
    list-style: none;
    margin: 1rem 0;
}

.service-details li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Vision Section */
.vision {
    padding: var(--section-padding);
    padding-top: calc(80px + 3rem);
    padding-bottom: calc(80px + 3rem);
    background: #f8f7f2;
    position: relative;
    overflow: visible;
}

.vision-border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    pointer-events: none;
    display: block;
    transform: rotate(-180deg);
}

.vision-border-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    object-position: bottom center;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.vision-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.vision-pillars {
    display: grid;
    gap: 2rem;
}

.pillar {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: var(--primary-light);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(56, 71, 65, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pillar:hover::before {
    transform: translateX(100%);
}

.pillar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pillar h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar h3 i {
    color: var(--primary-color);
}

.pillar p {
    color: #fff;
    line-height: 1.6;
}

.vision-artwork {
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-plane {
    display: block;
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
}

.logo-plane--nav {
    animation:
        logoPlaneLand 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
        logoPlaneGlide 3.5s ease-in-out 0.9s infinite;
}

.logo-plane--vision {
    width: min(260px, 70vw);
    opacity: 0;
}

.logo-plane--vision.is-arrived {
    opacity: 1;
    animation:
        logoPlaneArrive 0.85s cubic-bezier(0.22, 1, 0.36, 1) both,
        logoPlaneGlide 3.5s ease-in-out 0.85s infinite;
}

@keyframes logoPlaneLand {
    from {
        opacity: 0;
        transform: translate(-48px, -36px) rotate(-18deg) scale(0.75);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes logoPlaneArrive {
    from {
        opacity: 0;
        transform: translate(-90px, -70px) rotate(-22deg) scale(0.65);
    }
    65% {
        transform: translate(8px, 6px) rotate(4deg) scale(1.03);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes logoPlaneGlide {
    0%, 100% {
        transform: translate(0, 0) rotate(-2deg);
    }
    50% {
        transform: translate(6px, -8px) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-plane--nav,
    .logo-plane--vision.is-arrived {
        animation: none !important;
    }

    .logo-plane--vision {
        opacity: 1;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: #f8f7f2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: block;
    position: relative;
    filter: contrast(1.1) brightness(1.05);
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        conic-gradient(from 0deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--accent-color));
    border-radius: 25px;
    z-index: -1;
    animation: rotate 15s linear infinite;
    opacity: 0.3;
}

.profile-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 50px rgba(56, 71, 65, 0.3);
}

/* Faixa laptop grande (13"-15"). A foto ja escala via clamp() na regra base,
   entao podemos manter um gap mais generoso (3rem) sem causar overlap. */
@media (max-width: 1199px) {
    .hero-container {
        gap: 3rem;
    }

    .hero-flower {
        opacity: 0.75;
    }
}

/* Faixa laptop pequeno / tablet horizontal — h1 sem nowrap e foto reduzida */
@media (max-width: 1023px) {
    .hero-text h1 {
        font-size: 2.8rem;
        white-space: normal;
    }

    .hero-image-container {
        width: 290px;
        height: 290px;
    }

    .hero-photo {
        width: 100%;
        height: 100%;
    }

    .hero-flower {
        opacity: 0.55;
    }
}

/* Optimizaciones para dispositivos móviles */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        justify-items: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .typewriter-line-1,
    .typewriter-line-2,
    .typewriter-line-3,
    .typewriter-line-4 {
        display: block;
        max-width: 100%;
        white-space: normal;
        border-right: none;
        animation: none;
        opacity: 1;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        align-items: center;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .hero-image-container {
        width: 250px !important;
        height: 250px !important;
        margin: 0 auto;
    }

    /* Em mobile o hero vira coluna unica e as flores competem com o conteudo */
    .hero-flower {
        display: none;
    }
}

.about-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.credential h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.credential ul {
    list-style: none;
}

.credential li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.credential li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.philosophy {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(56, 71, 65, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 141, 122, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.philosophy:hover::before {
    opacity: 1;
}

.philosophy::after {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    animation: breathe 4s ease-in-out infinite;
}

.philosophy blockquote {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(56, 71, 65, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-method:hover::before {
    transform: translateX(100%);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon i {
    display: inline-block;
}

.contact-method h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--text-light);
}

.quick-actions h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.action-buttons {
    display: grid;
    gap: 0.5rem;
}

/* Forms */
.form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.checkbox-group {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Estilos para lazy loading de imágenes */
.lazy-loading {
    opacity: 0.6;
    filter: blur(2px);
}

.lazy-loaded {
    opacity: 1;
    filter: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.lazy-error {
    opacity: 0.5;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazy-error::after {
    content: '📷';
    font-size: 2rem;
    opacity: 0.5;
}

/* Estilos para páginas internas */
.page-hero {
    background: var(--primary-color);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

/* Estilos específicos para página Sobre Mí */
.personal-intro {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    object-fit: cover;
    aspect-ratio: 1;
}

.intro-photo img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 50px rgba(56, 71, 65, 0.3);
}

.photo-caption {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.photo-caption p {
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

/* Timeline de formación */
.education-experience {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Filosofía terapéutica (sección sobre-mi) */
.sm-philosophy {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.philosophy-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.philosophy-principle {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.philosophy-principle h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.philosophy-principle p {
    color: var(--text-white);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Árbol de valores */
.values-tree {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.tree-root {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.tree-root h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.tree-branches {
    display: grid;
    gap: 1rem;
}

.branch {
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.branch .value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.branch p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Experiencia personal */
.personal-journey {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.journey-content h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.story-text {
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.personal-quote {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.personal-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.3;
}

/* Certificaciones */
.certifications {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.certifications h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    display: inline-block;
}

.cert-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cert-card p {
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Vida personal */
.personal-life {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.life-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.life-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.life-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hobbies-interests {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hobby {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.hobby-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.hobby-icon i {
    display: inline-block;
}

.hobby-content h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hobby-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.life-philosophy {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.life-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.life-photo img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.life-photo img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 50px rgba(56, 71, 65, 0.3);
}

.photo-description {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Estilos específicos para página Blog */
.blog-filters {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    text-align: center;
}

.filter-container h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.filter-tag {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Artículo destacado */
.featured-post {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.featured-text h2 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.featured-text h2 a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag.arteterapia { background: var(--primary-color); }
.category-tag.bienestar { background: var(--primary-light); }
.category-tag.tecnicas { background: var(--secondary-color); }
.category-tag.reflexiones { background: var(--accent-color); color: var(--text-dark); }
.category-tag.casos { background: var(--primary-dark); }

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.featured-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-image:hover img {
    transform: scale(1.05);
}

/* Grid de artículos */
.blog-grid {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.post-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.post-stats-small {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: auto;
}

.read-time {
    color: var(--primary-color);
    font-weight: 500;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    display: inline-block;
    padding: 0.8rem 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-width: 40px;
    text-align: center;
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-dots {
    color: var(--text-light);
    padding: 0.8rem 0.5rem;
}

/* Newsletter */
.newsletter {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.newsletter-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.newsletter-benefits li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.newsletter-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Sidebar del blog */
.blog-sidebar-info {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.popular-posts h3,
.blog-tags h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    transition: var(--transition);
}

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

.popular-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popular-content h4 {
    margin-bottom: 0.5rem;
}

.popular-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: var(--transition);
}

.popular-content h4 a:hover {
    color: var(--primary-color);
}

.popular-stats {
    color: var(--text-light);
    font-size: 0.8rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Búsqueda del blog */
.blog-search {
    position: relative;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.search-input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 71, 65, 0.1);
}

.search-clear {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem;
    border-radius: 50%;
    transition: var(--transition);
}

.search-clear:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Mensajes de búsqueda y filtros */
.no-results-message,
.search-results-message {
    padding: 3rem 0;
    text-align: center;
}

.no-results-content h3,
.search-no-results h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-results-content p,
.search-no-results p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.search-suggestions {
    margin-top: 2rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.suggestion-tags button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.suggestion-tags button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.search-results-count {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Botones de compartir */
.post-share {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.share-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Mensajes del newsletter */
.newsletter-message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    animation: slideIn 0.3s ease;
}

.newsletter-message.success {
    background: #10b981;
    color: white;
}

.newsletter-message.error {
    background: #dc2626;
    color: white;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.message-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.message-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Estilos específicos para página Contacto */
.contact-options {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.option-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.option-card.priority {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-color: var(--primary-color);
}

.option-card.priority .option-icon,
.option-card.priority h3,
.option-card.priority p,
.option-card.priority .response-time {
    color: white;
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.option-icon i {
    display: inline-block;
}

.option-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.option-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.option-card .btn-whatsapp,
.option-card .btn-primary,
.option-card .btn-secondary {
    width: 100%;
    margin-bottom: 1rem;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

.response-time i {
    display: inline-block;
}

/* Formulario detallado */
.detailed-contact-form {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-intro h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-intro p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

.detailed-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 71, 65, 0.1);
}

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

.checkbox-group {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
    height: auto;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
}

.form-submit .btn-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

/* Información adicional */
.contact-info-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

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

.info-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.info-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.info-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.info-header h3 i {
    display: inline-block;
}

.info-content {
    padding: 1.5rem;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-content p strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Horarios */
.schedule {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.schedule-item .day {
    font-weight: 600;
    color: var(--text-dark);
}

.schedule-item .time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Precios */
.pricing {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.price-item .service {
    font-weight: 600;
    color: var(--text-dark);
}

.price-item .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.faq-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Estados del formulario */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-success {
    background: #10b981;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.form-error {
    background: #dc2626;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

/* Validación de campos */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc2626;
}

.form-group.error .error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
}

/* Animaciones para el formulario */
.form-section {
    animation: slideInUp 0.6s ease;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Servicios específicos */
.services-intro {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-icon i {
    display: inline-block;
}

.feature h3 {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Servicios detallados */
.detailed-services {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.service-detail {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 3rem;
    background: var(--accent-color);
    border-radius: 12px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon-large i {
    display: inline-block;
}

.service-title-area h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.service-tagline {
    color: var(--text-light);
    font-style: italic;
    font-size: 1.1rem;
}

.service-description h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.service-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-description ul {
    color: var(--text-light);
    line-height: 1.6;
    margin: 1rem 0 2rem 1.5rem;
}

.service-description li {
    margin-bottom: 0.5rem;
}

.session-includes {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.include-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.include-item strong {
    color: var(--text-dark);
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.detail-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.detail-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-card h4 i {
    color: var(--primary-color);
}

.detail-card p {
    color: var(--text-light);
    font-weight: 600;
}

.service-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Metodología */
.methodology {
    margin: 2rem 0;
}

.method-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Módulos del programa */
.program-includes {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.program-module {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-light);
}

.program-module h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-module h4 i {
    color: var(--primary-color);
}

.program-module p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Talleres grid */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.workshop-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.workshop-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.workshop-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workshop-card h4 i {
    color: var(--primary-color);
}

.workshop-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Testimonios */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: var(--section-padding);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Logo link */

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Estilos para artículos de blog */
.blog-article {
    background: var(--bg-white);
}

.article-header {
    background: var(--bg-light);
    padding: 120px 0 40px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 800px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.featured-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.article-content {
    padding: 3rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    max-width: none;
}

.article-intro {
    margin-bottom: 2rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.main-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.main-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.main-content h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
}

.main-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.main-content ul,
.main-content ol {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0 1.5rem 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
}

.main-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.main-content em {
    color: var(--primary-color);
}

.article-quote {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
}

.article-quote p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.article-quote cite {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

.info-box, .science-box, .technique-box, .case-study, .reflection-box, .encouragement-box, .practice-tracker {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.info-box h4, .science-box h4, .technique-box h4, .case-study h4, .reflection-box h4, .encouragement-box h4, .practice-tracker h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.technique-detail {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.technique-tip {
    background: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.technique-tip p {
    margin: 0;
    color: var(--text-dark);
}

.selection-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.situation-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.situation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.situation-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.tracking-table th,
.tracking-table td {
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    text-align: left;
}

.tracking-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.final-quote {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
}

/* Sidebar del artículo */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-btn {
    display: block;
    padding: 0.8rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: center;
}

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

.bio-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.author-bio p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.related-post h4 {
    margin-bottom: 0.5rem;
}

.related-post h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-post h4 a:hover {
    color: var(--primary-color);
}

.related-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.quick-guide h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.quick-guide p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Sección de comentarios */
.comments-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.comments-section h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.comments-list {
    margin-bottom: 3rem;
}

.comment {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.comment-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.comment-author strong {
    color: var(--text-dark);
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment p {
    line-height: 1.6;
    color: var(--text-light);
}

.comment-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-form h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.article-newsletter {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.article-newsletter h3 {
    margin-bottom: 1rem;
}

.article-newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--border-radius);
}

.newsletter-form button {
    white-space: nowrap;
}

/* Footer */
.footer {
    background: #f8f7f2 !important;
    color: var(--primary-color);
    padding: 3rem 0 1rem;
    padding-top: calc(3rem + 100px);
    position: relative;
    overflow: visible;
}

.footer-border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    pointer-events: none;
    display: block;
    transform: rotate(180deg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--primary-color);
    opacity: 0.9;
}

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(42, 73, 22, 0.2);
    text-align: center;
    color: var(--primary-color);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Responsive para página Sobre Mí */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-photo img {
        max-width: 300px;
    }
    
    .intro-text h2,
    .section-header h2,
    .philosophy-text h2,
    .journey-content h2,
    .certifications h2,
    .life-text h2 {
        font-size: 1.8rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .timeline {
        max-width: 100%;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-principle {
        padding: 1rem;
    }
    
    .philosophy-principle h3 {
        font-size: 1.1rem;
    }
    
    .values-tree {
        padding: 1.5rem;
    }
    
    .tree-branches {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .life-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .life-photo img {
        max-width: 280px;
    }
    
    .hobby {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .hobby-icon {
        align-self: center;
    }
    
    .personal-quote {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .personal-quote::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    /* Hero específico para móvil */
    .hero {
        min-height: auto;
        padding: 120px 16px 60px;
        overflow: hidden;
    }
    
    /* Adornos florais ja sao display:none em <=768px (regra consolidada acima) */

    .services-grid {
        justify-items: center;
    }

    .service-card {
        text-align: center;
    }

    .vision-content,
    .about-content,
    .contact-content {
        text-align: center;
        align-items: center;
    }

    .vision-text,
    .about-text {
        text-align: center;
    }

    .contact-form,
    .contact-info {
        margin: 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 1.5rem 0;
        min-height: auto;
        justify-items: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-visual {
        margin-top: 0;
    }
    
    .hero-text h1 {
        font-size: 2.1rem;
        line-height: 1.25;
        margin-bottom: 1rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .typewriter-line-1,
    .typewriter-line-2,
    .typewriter-line-3,
    .typewriter-line-4 {
        font-size: 1rem !important;
        animation: none;
        border-right: none;
        opacity: 1;
        max-width: 100%;
        white-space: normal;
        display: block;
    }
    
    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .hero-caption {
        font-size: 0.75rem;
        margin-top: 1rem;
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credentials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
        text-align: center;
    }
    
    .service-actions {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Responsive extra para página Sobre Mí */
    .intro-photo img {
        max-width: 250px;
    }
    
    .life-photo img {
        max-width: 220px;
    }
    
    .intro-text h2,
    .section-header h2,
    .philosophy-text h2,
    .journey-content h2,
    .certifications h2,
    .life-text h2 {
        font-size: 1.6rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-year {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .philosophy-principle {
        padding: 0.8rem;
    }
    
    .philosophy-principle h3 {
        font-size: 1rem;
    }
    
    .cert-card {
        padding: 1rem;
    }
    
    .cert-card h3 {
        font-size: 1.1rem;
    }
    
    .personal-quote {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .personal-quote::before {
        font-size: 2.5rem;
        top: -3px;
        left: 10px;
    }
    
    /* Responsive para página Blog */
    .filter-tags {
        gap: 0.5rem;
    }
    
    .filter-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .featured-text h2 {
        font-size: 1.8rem;
    }
    
    .featured-image img {
        height: 300px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .post-image {
        height: 180px;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        padding: 1.5rem;
    }
    
    .sidebar-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .popular-item {
        padding: 0.8rem;
    }
    
    .popular-content h4 a {
        font-size: 0.9rem;
    }
    
    .tag-cloud {
        justify-content: center;
    }
    
    .blog-search {
        max-width: 100%;
    }
    
    .search-input {
        padding: 0.7rem 2.5rem 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .page-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 35px;
    }
    
    .values-tree {
        padding: 1rem;
    }
    
    .tree-root h4 {
        font-size: 1.1rem;
    }
    
    .branch .value {
        font-size: 0.9rem;
    }
    
    .branch p {
        font-size: 0.8rem;
    }
    
    /* Responsive extra para página Blog */
    .filter-container h3 {
        font-size: 1.1rem;
    }
    
    .filter-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .featured-text h2 {
        font-size: 1.6rem;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .post-image {
        height: 160px;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
    }
    
    .post-content p {
        font-size: 0.9rem;
    }
    
    .newsletter-text h2 {
        font-size: 1.6rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        padding: 1rem;
    }
    
    .popular-posts h3,
    .blog-tags h3 {
        font-size: 1.2rem;
    }
    
    .popular-item {
        padding: 0.6rem;
    }
    
    .popular-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .popular-content h4 a {
        font-size: 0.85rem;
    }
    
    .tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .search-input {
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .page-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-width: 30px;
    }
    
    .post-stats,
    .post-stats-small {
        font-size: 0.75rem;
    }
    
    .post-excerpt {
        font-size: 1rem;
    }
    
    /* Responsive para página Contacto */
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .option-card {
        padding: 1.5rem;
    }
    
    .option-icon {
        font-size: 2.5rem;
    }
    
    .option-card h3 {
        font-size: 1.3rem;
    }
    
    .form-intro h2 {
        font-size: 1.8rem;
    }
    
    .form-intro p {
        font-size: 1rem;
    }
    
    .detailed-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
    
    .form-submit .btn-primary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-header {
        padding: 1rem;
    }
    
    .info-header h3 {
        font-size: 1.2rem;
    }
    
    .info-content {
        padding: 1rem;
    }
    
    .schedule-item,
    .price-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .faq-item {
        padding: 0.8rem;
    }
    
    .faq-item strong {
        font-size: 0.95rem;
    }
    
    .faq-item p {
        font-size: 0.85rem;
    }
    
    /* Responsive extra para página Contacto */
    .option-card {
        padding: 1rem;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .option-card h3 {
        font-size: 1.2rem;
    }
    
    .option-card p {
        font-size: 0.9rem;
    }
    
    .form-intro h2 {
        font-size: 1.6rem;
    }
    
    .form-intro p {
        font-size: 0.95rem;
    }
    
    .detailed-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
    
    .form-submit .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .form-note {
        font-size: 0.8rem;
    }
    
    .info-header {
        padding: 0.8rem;
    }
    
    .info-header h3 {
        font-size: 1.1rem;
    }
    
    .info-content {
        padding: 0.8rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .schedule-item,
    .price-item {
        padding: 0.6rem;
    }
    
    .schedule-item .day,
    .price-item .service {
        font-size: 0.9rem;
    }
    
    .schedule-item .time,
    .price-item .price {
        font-size: 0.85rem;
    }
    
    .faq-item {
        padding: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .faq-item strong {
        font-size: 0.9rem;
    }
    
    .faq-item p {
        font-size: 0.8rem;
    }
    
    .pricing-note {
        font-size: 0.75rem;
    }
    
    /* .hero-flower fica oculta a partir de 768px (regra consolidada) */

    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    .hero-image-container {
        width: 180px !important;
        height: 180px !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Telas muito pequenas (ej. iPhone SE) — evitar overflow lateral */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.55rem;
        white-space: normal;
    }

    /* .hero-flower fica oculta a partir de 768px (regra consolidada) */

    .hero-image-container {
        width: 160px !important;
        height: 160px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.post-image{
    max-height: 100px;
}

/* Schedule Popup */
.schedule-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.schedule-popup.active {
    display: flex;
    opacity: 1;
}

.schedule-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.schedule-popup-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.schedule-popup.active .schedule-popup-content {
    transform: scale(1);
}

.schedule-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.schedule-popup-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.schedule-popup-header {
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-popup-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.schedule-popup-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-option-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.schedule-option-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.schedule-option-primary i {
    font-size: 1.2rem;
}

.schedule-option-secondary {
    padding: 1.5rem;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
}

.schedule-option-text {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small i {
    font-size: 1rem;
}

/* Vista de Calendly en el popup */
.schedule-calendly-view {
    width: 100%;
}

.schedule-calendly-view .schedule-popup-header {
    margin-bottom: 1.5rem;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-back:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-3px);
}

.btn-back i {
    font-size: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--bg-light);
    padding: 5rem 0;
}

.faq .section-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq .section-subtitle {
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.open {
    box-shadow: 0 4px 24px rgba(8, 53, 136, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-item.open .faq-question {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.75rem;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.97rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin: 0;
}

.faq-answer p + p {
    border-top: none;
    padding-top: 0.5rem;
}

.faq-actions {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--accent-color);
    padding: 5rem 0;
    text-align: center;
}

.testimonials .section-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonials .section-subtitle {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-stars {
    color: #f5a623;
    font-size: 1rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.testimonial-service {
    font-size: 0.82rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.testimonial-location {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.testimonial-location::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    color: var(--primary-light);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ===== STATS SECTION ===== */
.stats {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
}

.stats-tagline {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 3rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: var(--bg-cream, #f8f6f2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.stat-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.stat-item--wide {
    grid-column: span 2;
}

.stat-item--wide .stat-label {
    font-size: 0.9rem;
    max-width: 420px;
}

.stat-item--highlight {
    background: var(--primary-color);
}

.stat-item--highlight .stat-number {
    color: #fff;
}

.stat-item--highlight .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.btn-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #5cb85c;
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
}

.btn-stats:hover {
    background: #4cae4c;
    color: #fff;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item--wide {
        grid-column: span 2;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .stat-item--wide {
        grid-column: span 1;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-item {
        padding: 1.2rem 1rem;
    }
}

/* Sección Bienvenida */
.bienvenida {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.bienvenida-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.bienvenida-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.bienvenida-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.bienvenida-content em {
    font-style: italic;
}

.bienvenida-content strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .bienvenida {
        padding: 3rem 0;
    }

    .bienvenida-title {
        font-size: 1.5rem;
    }

    .bienvenida-content p {
        font-size: 0.95rem;
    }
}

/* Ajustar tamaño del popup cuando muestra Calendly */
.schedule-calendly-view .calendly-inline-widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 700px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-sizing: border-box;
}


.schedule-popup-content.show-calendly {
    max-width: 800px;
    padding: 2rem;
}

@media (max-width: 768px) {
    .schedule-popup-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .schedule-popup-content.show-calendly {
        max-width: 95%;
        padding: 1.5rem 1rem;
    }
    
    .schedule-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .schedule-option-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .schedule-option-text {
        font-size: 0.85rem;
    }
    
    .schedule-calendly-view .calendly-inline-widget {
        height: 600px;
        min-width: 100%;
    }
    
    .btn-back {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.testimonials-track-wrapper {
    overflow: hidden;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 89%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 89%, transparent 100%);
}

.testimonials-carousel .testimonials-grid {
    display: flex;
    gap: 1.5rem;
    margin-top: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonials-carousel .testimonial-card {
    flex: 0 0 calc(44% - 0.75rem);
    min-width: 0;
}

.carousel-btn {
    flex-shrink: 0;
    background: #fff;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
    user-select: none;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 900px) {
    .testimonials-carousel .testimonials-grid {
        grid-template-columns: unset;
        max-width: unset;
        margin: 0;
    }

    .testimonials-carousel .testimonial-card {
        flex: 0 0 calc(72% - 0.75rem);
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        gap: 0.25rem;
    }

    .testimonials-carousel .testimonial-card {
        flex: 0 0 86%;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
}

/* =====================================================
   Sección: Envío de testimonios por pacientes
   ===================================================== */
.testimonial-form-section {
    background: var(--accent-color);
    padding: 5rem 0 6rem;
}

.testimonial-form-section .section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-form-section .section-subtitle {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.testimonial-form-container {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-form-section .required {
    color: #dc2626;
    margin-left: 0.15rem;
}

.testimonial-form-section .char-counter {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: right;
    margin-top: 0.25rem;
}

.testimonial-form-section .char-counter.is-near-limit { color: #b45309; }
.testimonial-form-section .char-counter.is-at-limit { color: #dc2626; }

.rating-input {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.35rem;
}

.rating-input input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.75rem;
    color: #d1d5db;
    transition: color 0.15s ease, transform 0.15s ease;
    line-height: 1;
    padding: 0.1rem;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input[type="radio"]:checked ~ label {
    color: #f59e0b;
}

.rating-input label:hover { transform: scale(1.1); }

.rating-input input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .testimonial-form-container { padding: 1.5rem; }
    .rating-input label { font-size: 1.5rem; }
}

/* Card pendiente — disponible si se reactiva la moderación manual ($AUTO_APPROVE = false) */
.testimonial-card--pending {
    border: 1px dashed rgba(0, 0, 0, 0.08);
}

.testimonial-pending-badge {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #b45309;
    background: #fef3c7;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Cuando hay más de 3 cards, cambiar el grid a flujo de columnas para que
   el overflow horizontal active el scroll del TestimonialsCarousel.
   Con 3 cards o menos NO se aplica esta clase y el layout original (grid 3-col) se mantiene. */
.testimonials-grid.testimonials-grid--many {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
}