body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f5f2;
    color: #333;
    overflow-x: hidden;
}

.contenedor-principal {
    min-height: 100vh;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #EDE7E3 0%, #F5F3F2 40%, #EDEBE8 100%);
}

header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
}

h1 {
    margin: 0;
    color: #4E342E;
    font-size: 2.6em;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.tarjeta {
    background-color: #fffaf6;
    max-width: 920px;
    margin: 48px auto;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(109,76,66,0.08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.tarjeta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(180deg, #8D6E63, #6D4C41);
    border-radius: 16px 0 0 16px;
    opacity: 0.95;
}

.tarjeta-contenido {
    display: flex;
    gap: 26px;
    align-items: center;
}

.tarjeta-imagen {
    flex-shrink: 0;
}

.tarjeta-imagen img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #6D4C41;
    transition: transform 0.15s ease;
}

.tarjeta-info {
    flex-grow: 1;
}

.tarjeta-info h2 {
    color: #5D4037;
    margin-top: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.6px;
}

.tarjeta-info p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #5a4a42;
}

.tarjeta-info strong {
    color: #4E342E;
}

.descripcion {
    font-style: italic;
    color: #6b4f44;
    font-size: 1.06rem;
}

/* Efecto ligero de aumento cuando el cursor está sobre la tarjeta o elementos dentro */
.tarjeta:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 36px rgba(0,0,0,0.14), 0 0 0 8px rgba(160,130,115,0.06);
}

.tarjeta-imagen img:hover {
    transform: scale(1.06);
}

.tarjeta-info h2:hover,
.tarjeta-info p:hover {
    transform: scale(1.02);
    transition: transform 0.12s ease;
}

@media (max-width: 760px) {
    .tarjeta-contenido { flex-direction: column; align-items: flex-start; }
    .tarjeta-imagen img { width: 160px; height: 160px; }
    .tarjeta { padding: 20px; }
}

/* Botón fijo en esquina para regresar al índice */
.btn-corner {
    position: fixed;
    top: 16px;
    right: 16px;
    background: #6d4c41;
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(109,76,66,0.18);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-corner:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(109,76,66,0.22); }

@media (max-width: 520px) {
    .btn-corner { top: 10px; right: 10px; padding: 8px 10px; font-size: 0.95rem; border-radius: 8px; }
}
.seccion-gracias {
    margin-top: 60px;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(141,110,99,0.08) 0%, rgba(217,191,179,0.04) 100%);
    border-radius: 16px;
    border: 2px solid rgba(141,110,99,0.12);
    text-align: center;
}

.contenedor-gracias h2 {
    color: #5D4037;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.contenedor-gracias p {
    color: #6b4f44;
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    .seccion-gracias { margin-top: 40px; padding: 24px 16px; }
    .contenedor-gracias h2 { font-size: 1.6rem; }
    .contenedor-gracias p { font-size: 1rem; }
}
/* Botón fijo de Apoyar */
.btn-apoyar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #65450a;  /* Verde */
    color: white;
    padding: 14px 22px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(75, 49, 8, 0.699);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 9999;
}
@media (hover: hover) {
    .btn-apoyar:hover {
        background-color: #4a3208;
        transform: scale(1.05);
    }
}
@media (max-width: 600px) {
    .btn-apoyar {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 16px;
        border-radius: 12px;
    }
}
@media (max-width: 380px) {
    .btn-apoyar {
        bottom: 12px;
        right: 12px;
        padding: 10px 16px;
        font-size: 15px;
    }
}