 :root {
     --vino-intenso: #7A1B38;
     --vino-rosado: #9d2449;
     --gris-oscuro: #333333;
     --marfil: #F8F4F0;
     --rosa-palo: #D9A5B3;
     --gris-claro: #CCCCCC;
     --gris-azul: #454E55;
 }

#body_pag {
    margin: 0;
    font-family: Arial, sans-serif;
}

section h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.7rem;
    padding: 1.5rem 0rem;
}

section h2 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-bottom: solid var(--vino-rosado) 3px;
    font-size: 2.4rem;
    margin-top: 1rem;
}

section h3 {
    text-align: right;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-bottom: solid var(--vino-rosado) 3px;
    margin-top: 1rem;
    font-size: 2.5rem;
}

section h4 {
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 1rem 0rem;
    font-size: 2.4rem;
}

/* Estilo de las secciones */
section {
    border-bottom: 1px solid var(--gris-claro);
    padding: 10px 50px;

}

@media (min-width: 950px) {
    section {
        padding: 40px 80px;

    }
}


.section:nth-child(even) {
    background-color: #f0f0f0;
}

.section:nth-child(odd) {
    background-color: #ffffff;
}

/* Barra de progreso vertical */
.progress-bar {
    position: fixed;
    top: 65vh;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

.progress-circle {
    width: 40px;
    height: 40px;
    margin: 10px 0;
    border-radius: 50%;
    background-color: var(--gris-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    color: white;
}

.progress-circle i {
    color: var(--vino-rosado);
}

.progress-circle.active {
    background-color: var(--vino-rosado);
    /* Color activo */
}

.progress-circle.active i {
    color: white;
}

.container-buttons {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
}
.espacio-estilo {
    height: 5vh;
}

@media (max-width: 600px) {
    .container-buttons {
        flex-direction: column;
        align-items: center;
    }

    .espacio-estilo {
        height: 10vh;
    }
}

.btn {
    position: relative;
    display: inline-block;
    width: 277px;
    height: 50px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    background-color: transparent;
    text-align: center;
    line-height: 50px;
    color: transparent;
}

.btn svg {
    position: absolute;
    top: 0;
    left: 0;
}

.btn svg rect {
    stroke-width: 4;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    transition: all 600ms ease;
}

.btn:hover svg rect,
.btn.active svg rect {
    stroke-dasharray: 196, 543;
    stroke-dashoffset: 437;
}

/* Animación texto letra por letra */
.h-button {
    position: relative;
    padding: 0;
    color: transparent;
    width: 277px;
}

.h-button span {
    display: inline-block;
    min-width: 0.3em;
    text-transform: uppercase;
    transition: 0.25s cubic-bezier(0.5, -1, 0.5, 2);
    opacity: 0;
    transform: translate(0, -20px);
    line-height: 50px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.045em;
    color: var(--vino-rosado);
    /* para el primer botón */
    position: relative;
    z-index: 2;
}

/* Color distinto para el segundo botón */
.container-buttons a:nth-child(2) .h-button span {
    color: #3a6f3a;
    /* verde oscuro */
}

.btn:focus,
.btn:active {
    outline: none;
    box-shadow: none;
}

/* Texto base (data-text) */
.h-button:before {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.25s cubic-bezier(0.5, -1, 0.5, 2);
    text-transform: uppercase;
    letter-spacing: 3.5px;
    opacity: 1;
    color: var(--gris-oscuro);
    -webkit-text-stroke: 0;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    z-index: 1;
    pointer-events: none;
}

.h-button:hover:before,
.h-button:focus:before,
.h-button.active::before {
    opacity: 0;
    transform: translate(0, 20px);
}

.h-button:hover span,
.h-button:focus span,
.h-button.active span {
    opacity: 1;
    transform: translate(0, 0);
}

.h-button:hover span:nth-child(1),
.h-button:focus span:nth-child(1),
.h-button.active span:nth-child(1) {
    transition-delay: 0.025s;
}

.h-button:hover span:nth-child(2),
.h-button:focus span:nth-child(2),
.h-button.active span:nth-child(2) {
    transition-delay: 0.05s;
}

.h-button:hover span:nth-child(3),
.h-button:focus span:nth-child(3),
.h-button.active span:nth-child(3) {
    transition-delay: 0.075s;
}

.h-button:hover span:nth-child(4),
.h-button:focus span:nth-child(4),
.h-button.active span:nth-child(4) {
    transition-delay: 0.1s;
}

.h-button:hover span:nth-child(5),
.h-button:focus span:nth-child(5),
.h-button.active span:nth-child(5) {
    transition-delay: 0.125s;
}