/* ==========================================================================
   15. ESTILOS ADICIONALES PARA LA PÁGINA QUIÉN SOY (REDISEÑO DINÁMICO)
   ========================================================================== */

/* Badge de especialización flotante en la foto de perfil */
.photo-badge-floating {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--bg-main);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 576px) {
    .photo-badge-floating {
        right: 10px;
        bottom: 10px;
    }
}

/* Tarjetas de Metodología de Trabajo */
.methodology-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

@media (max-width: 768px) {
    .methodology-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.methodology-card-premium {
    background-color: var(--white);
    border: 2px solid var(--primary-ultra-light);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-elastic);
    position: relative;
}

.methodology-card-premium::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px dashed var(--accent-color);
    border-radius: calc(var(--radius-lg) + 6px);
    pointer-events: none;
    opacity: 0.45;
    transition: var(--transition-fast);
}

.methodology-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.methodology-card-premium:hover::before {
    opacity: 0.8;
}

/* Bloque destacado de Microbiota en Quién Soy */
.microbiota-highlight-card {
    background-color: var(--primary-color);
    color: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 4.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 5rem;
}

.microbiota-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(201, 147, 59, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.microbiota-highlight-card h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.microbiota-highlight-card p {
    color: rgba(251, 249, 245, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
    font-family: var(--font-serif);
    font-style: italic;
}

@media (max-width: 768px) {
    .microbiota-highlight-card {
        padding: 3rem 2rem;
    }
}

/* Sección de Comparativa Cara a Cara (SÍ/NO) */
.split-diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .split-diff-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.split-diff-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-elastic);
    height: 100%;
}

.split-diff-box.box-no {
    border: 1px dashed #e2b3a9;
    background-color: #fffaf9;
}

.split-diff-box.box-yes {
    border: 2px solid var(--accent-color);
    background-color: #fffdfc;
    position: relative;
}

.split-diff-box.box-yes::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px dashed var(--accent-color);
    border-radius: calc(var(--radius-lg) + 6px);
    pointer-events: none;
    opacity: 0.5;
}

.split-diff-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.split-diff-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.split-diff-box.box-no .split-diff-title {
    color: #cb4b31;
}

.split-diff-box.box-yes .split-diff-title {
    color: var(--primary-color);
}

.split-diff-list {
    list-style: none;
    padding: 0;
}

.split-diff-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.split-diff-item:last-child {
    margin-bottom: 0;
}

.split-diff-item i {
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.split-diff-box.box-no .split-diff-item i {
    color: #cb4b31;
}

.split-diff-box.box-yes .split-diff-item i {
    color: var(--success);
}






.qs-about-grid {
    align-items: center;
    gap: 4rem;
}

.qs-collage-badge {
    font-size: 1.2rem;
    top: -10px;
    left: -10px;
}

.qs-collage-frame-1 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
    border: 1px solid var(--glass-border);
}

.qs-collage-frame-2 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    border: 4px solid var(--white);
    margin-top: 2rem;
}

.qs-collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.qs-collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qs-cta-btn {
    padding: 1.15rem 2.5rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-lg);
}

.qs-cta-desc {
    color: rgba(251, 249, 245, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

.qs-cta-spaced {
    padding: 9rem 0;
    text-align: center;
}

.qs-cta-title {
    color: var(--bg-main);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 1rem 0 1.5rem 0;
    font-family: var(--font-serif);
    font-weight: 600;
}

.qs-hero-section {
    padding: 6rem 0;
}

.qs-history-grid {
    align-items: center;
    gap: 5rem;
}

.qs-history-section {
    background-color: var(--bg-alt);
    padding: 8rem 0;
}

.qs-intro-highlight {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.qs-methodology-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.qs-methodology-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qs-methodology-container {
    max-width: 950px;
}

.qs-methodology-container .section-header{
    margin-bottom: 0 !important;
}

.qs-methodology-emphasis {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.qs-methodology-header-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.qs-methodology-intro {
    max-width: 700px;
    margin: 0 auto;
}

.qs-methodology-section {
    background-color: var(--bg-main);
    padding: 8rem 0;
}

.qs-microbiota-inner {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    border: 1px dashed var(--accent-color);
    max-width: 600px;
    margin: 4rem auto 0 auto;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.qs-microbiota-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.5;
}

.qs-note-card {
    padding: 2rem;
    font-size: 0.95rem;
}

.qs-note-icon {
    color: #dd6b20;
    margin-right: 0.5rem;
}

.qs-note-stethoscope {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qs-note-tape {
    width: 70px;
    height: 22px;
    top: -11px;
}

.qs-note-title {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.qs-problem-margin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

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

    .qs-about-grid{
        display: flex;
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .note-card-dynamic:nth-child(odd){
        transform: none !important;
    }

    .qs-history-section {
        padding: 4rem 0 !important;
    }

    .qs-history-grid{
        gap: 3rem;
    }

    .microbiota-highlight-card{
        margin-top: 1rem !important;
    }

    .qs-methodology-section{
        padding: 3rem 0;
    }
    
}


/* Cinta dorada decorativa (tape) */
.tape-decor {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 90px;
    height: 28px;
    background-color: rgba(201, 147, 59, 0.25);
    border-left: 1px dashed rgba(201, 147, 59, 0.4);
    border-right: 1px dashed rgba(201, 147, 59, 0.4);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    z-index: 10;
}

/* Tarjetas desalineadas tipo pósit o notas de corcho */
.note-card-wrapper {
    perspective: 1000px;
}

.note-card-dynamic {
    background-color: #fffcf8;
    border: 1px dashed var(--accent-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-elastic);
    position: relative;
    overflow: visible; /* para permitir que la cinta sobresalga */
}

.note-card-dynamic:nth-child(odd) {
    transform: rotate(-1.2deg);
}

.note-card-dynamic:nth-child(even) {
    transform: rotate(1.2deg);
}

.note-card-dynamic:hover {
    transform: translateY(-8px) scale(1.02) rotate(0deg);
    box-shadow: var(--shadow-lg);
    border-style: solid;
    border-color: var(--primary-color);
    z-index: 5;
}

/* Sección de Precios con Fondo de Imagen completo */
.pricing-section-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Para soporte completo en móviles */
    z-index: 1;
}

@media (min-width: 992px) {
    .pricing-section-bg {
        background-attachment: fixed;
    }
}

.pricing-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 56, 43, 0.93); /* Capa verde oscuro traslúcida */
    z-index: -1;
}

.pricing-section-bg .section-header h2,
.pricing-section-bg .section-header p {
    color: var(--bg-main);
}

.pricing-section-bg .section-header span.hero-tagline, .hero-tagline{
    color: var(--accent-color);
}