/* Estilos para la página de Vouchers */
:root {
    --primary-color: #6b7b6c;
    --secondary-color: #d8cdc0;
    --accent-color: #a47453;
    --dark-primary: #556155;
    --dark-accent: #8a6245;
    --light-primary: #8a9a8b;
    --text-color: #333333;
    --background-color: #f8f5f2;
    --white-color: #ffffff;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Estilos generales y Header */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    margin: 15px auto 0;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-color);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Botones */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 1px;
    border: none;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(107, 123, 108, 0.3);
}

.btn--secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
    background-color: var(--dark-accent);
    border-color: var(--dark-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(164, 116, 83, 0.3);
}

/* Hero Section */
.page-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Para compensar el header fijo */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header__title {
    font-family: var(--font-title);
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header__subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--secondary-color);
}

.breadcrumbs__separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__current {
    color: var(--white-color);
}

/* Main Content */
.voucher-page {
    padding: 60px 0;
}

/* Voucher Info Section */
.voucher-info {
    padding: 60px 0;
    background-color: var(--white-color);
}

.voucher-info__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.voucher-info__text {
    padding-right: 20px;
}

.voucher-info__text .section-title {
    text-align: left;
}

.voucher-info__text .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.voucher-tagline {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--accent-color);
    line-height: 1.4;
    margin-bottom: 40px;
}

.voucher-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    flex: 0 0 40px;
    margin-right: 15px;
}

.benefit-content h3 {
    font-family: var(--font-title);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.voucher-promise {
    background-color: rgba(107, 123, 108, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    margin-top: 20px;
}

.voucher-promise h3 {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.voucher-promise p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-color);
}

.voucher-info__image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.voucher-info__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.voucher-info__image:hover img {
    transform: scale(1.03);
}

/* Voucher Form Section */
.voucher-form-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.voucher-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Voucher Preview */
.voucher-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-card {
    width: 100%;
    max-width: 450px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.preview-header {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 20px;
    color: var(--white-color);
}

.preview-logo {
    flex: 0 0 70px;
    margin-right: 15px;
}

.preview-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.preview-title h3 {
    font-family: var(--font-title);
    font-size: 22px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.preview-title p {
    font-family: var(--font-body);
    font-size: 14px;
    opacity: 0.8;
}

.preview-body {
    padding: 30px;
    background-color: var(--white-color);
}

.preview-row {
    margin-bottom: 15px;
    display: flex;
}

.preview-label {
    flex: 0 0 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.preview-value {
    flex: 1;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
}

.preview-message {
    border-top: 1px dashed rgba(107, 123, 108, 0.2);
    border-bottom: 1px dashed rgba(107, 123, 108, 0.2);
    padding: 15px 0;
    margin: 15px 0;
}

.preview-message .preview-value {
    font-style: italic;
    color: var(--accent-color);
}

#preview-code {
    font-weight: 600;
    letter-spacing: 1px;
}

.preview-footer {
    padding: 15px 20px;
    background-color: rgba(107, 123, 108, 0.05);
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-color);
}

.preview-footer p {
    margin-bottom: 5px;
}

.preview-footer p:last-child {
    margin-bottom: 0;
}

/* Voucher Form */
.voucher-form {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid rgba(107, 123, 108, 0.2);
    border-radius: 5px;
    background-color: var(--white-color);
    color: var(--text-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 123, 108, 0.1);
}

.input-help {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(51, 51, 51, 0.7);
    margin-top: 5px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.checkbox-group label a:hover {
    color: var(--dark-primary);
}

.form-actions {
    margin-top: 30px;
}

/* FAQ Section */
.voucher-faq {
    padding: 60px 0;
    background-color: var(--white-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item__question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    position: relative;
}

.faq-item__question h3 {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
    padding-right: 40px;
}

.faq-item__icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
}

.faq-item__icon::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-item__icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-item__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-item__question {
    background-color: rgba(107, 123, 108, 0.05);
}

.faq-item.active {
    border-left: 4px solid var(--accent-color);
}

.faq-item__answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-item__answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

.faq-item__answer p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .voucher-info__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .voucher-info__text {
        padding-right: 0;
    }
    
    .voucher-form-container {
        grid-template-columns: 1fr;
    }
    
    .voucher-preview {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .voucher-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header__title {
        font-size: 36px;
    }
    
    .page-header__subtitle {
        font-size: 16px;
    }
    
    .voucher-tagline {
        font-size: 20px;
    }
    
    .benefit-item {
        margin-bottom: 20px;
    }
    
    .voucher-form {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 30px;
    }
    
    .page-header__title {
        font-size: 32px;
    }
    
    .voucher-info, .voucher-form-section, .voucher-faq {
        padding: 40px 0;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-bottom: 10px;
    }
    
    .faq-item__question h3 {
        font-size: 18px;
    }
}

/* Estilos adicionales para el voucher decorativo */

/* Contenedor del voucher en la sección info */
.voucher-info__display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Voucher decorativo */
.display-voucher {
    width: 100%;
    max-width: 450px;
    position: relative;
    transition: transform 0.5s ease;
    transform: translateY(20px);
    opacity: 0;
}

.display-voucher.animate {
    transform: translateY(0);
    opacity: 1;
}

.display-voucher-inner {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 8px;
    border: 2px solid var(--secondary-color);
}

/* Elementos decorativos en las esquinas */
.voucher-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    z-index: 1;
}

.top-left {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}

.top-right {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 8px;
}

.bottom-left {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 8px;
}

.bottom-right {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 8px;
}

/* Contenido del voucher */
.voucher-content {
    background: linear-gradient(135deg, rgba(216, 205, 192, 0.3) 0%, rgba(164, 116, 83, 0.1) 100%);
    border: 1px dashed var(--accent-color);
    border-radius: 10px;
    padding: 25px;
    position: relative;
    text-align: center;
}

.voucher-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: var(--white-color);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.voucher-logo img {
    width: 100%;
    height: auto;
}

.voucher-title {
    margin-bottom: 20px;
}

.voucher-title h2 {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.voucher-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
}

.voucher-details {
    margin: 25px 0;
    text-align: left;
}

.voucher-recipient, .voucher-from {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.voucher-label {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 5px;
    opacity: 0.8;
}

.voucher-value {
    font-family: var(--font-title);
    font-size: 16px;
    color: var(--text-color);
}

.sample-name {
    position: relative;
}

.sample-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(107, 123, 108, 0.3);
}

.voucher-value-amount {
    background-color: rgba(107, 123, 108, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.amount-value {
    display: block;
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.amount-text {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    font-style: italic;
}

.voucher-message {
    margin: 20px 0;
    padding: 15px;
    border-top: 1px dashed rgba(107, 123, 108, 0.3);
    border-bottom: 1px dashed rgba(107, 123, 108, 0.3);
    text-align: center;
}

.voucher-message p {
    font-family: var(--font-title);
    font-size: 16px;
    color: var(--accent-color);
    font-style: italic;
    line-height: 1.5;
}

.voucher-footer {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-color);
    text-align: center;
}

.voucher-code {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.voucher-validity {
    margin-bottom: 5px;
}

.voucher-address {
    font-size: 11px;
    opacity: 0.8;
}

.voucher-stamp {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(164, 116, 83, 0.3);
    border-radius: 50%;
    transform: rotate(-15deg);
    opacity: 0.6;
}

.voucher-stamp::before {
    content: 'REAL ESSENCE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 9px;
    color: var(--accent-color);
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Media queries */
@media (max-width: 992px) {
    .voucher-info__display {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .voucher-title h2 {
        font-size: 20px;
    }
    
    .voucher-content {
        padding: 20px 15px;
    }
    
    .voucher-logo {
        width: 70px;
        height: 70px;
    }
    
    .amount-value {
        font-size: 24px;
    }
    
    .voucher-stamp {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .voucher-decoration {
        width: 20px;
        height: 20px;
    }
}