/* =====================================================
   LLEGAT VIU — Estils compartits
   Identitat visual: terracota, verd oliva, crema, sèpia
   Tipografies: Cormorant Garamond + Lora
   ===================================================== */

:root {
    --terracota: #B8654A;
    --terracota-fosc: #9A4F38;
    --verd-oliva: #5C6B3F;
    --verd-oliva-fosc: #44502F;
    --crema-antic: #F2E8D5;
    --crema-clar: #FAF6EC;
    --sepia: #3D2E1F;
    --sepia-clar: #5C4A36;
    --daurat: #C8A97E;
    --daurat-clar: #DCC4A0;

    --titol: 'Cormorant Garamond', Georgia, serif;
    --cos: 'Lora', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--cos);
    font-size: 17px;
    line-height: 1.7;
    color: var(--sepia);
    background-color: var(--crema-clar);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(184, 101, 74, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(92, 107, 63, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== NAVEGACIÓ ==================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 246, 236, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(61, 46, 31, 0.08);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: var(--titol);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--sepia);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--terracota);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--cos);
    font-size: 15px;
    color: var(--sepia-clar);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--terracota);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    font-size: 13px;
    color: var(--sepia-clar);
    letter-spacing: 0.5px;
}

.lang-switcher a {
    color: var(--sepia-clar);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher a.active {
    color: var(--terracota);
    font-weight: 600;
}

.lang-switcher a:hover:not(.active) {
    color: var(--sepia);
}

.btn-primary {
    background-color: var(--terracota);
    color: var(--crema-clar);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--cos);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--terracota-fosc);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184, 101, 74, 0.25);
}

.btn-secondary {
    color: var(--sepia);
    padding: 12px 0;
    text-decoration: none;
    font-family: var(--cos);
    font-size: 15px;
    border-bottom: 1px solid var(--sepia);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: var(--terracota);
    border-bottom-color: var(--terracota);
}

/* ==================== ESTRUCTURA GENERAL ==================== */
.section {
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-light {
    background-color: var(--crema-antic);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.section-light .section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--cos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--terracota);
    margin-bottom: 24px;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background-color: var(--terracota);
}

.section-title {
    font-family: var(--titol);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--sepia);
    margin-bottom: 32px;
    max-width: 800px;
    letter-spacing: -0.5px;
}

.section-title em {
    font-style: italic;
    color: var(--terracota);
}

/* ==================== HERO (subpàgines) ==================== */
.page-hero {
    padding: 80px 40px 60px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.page-hero .eyebrow {
    justify-content: center;
}

.page-hero h1 {
    font-family: var(--titol);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--sepia);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--terracota);
}

.page-hero-subtitle {
    font-family: var(--cos);
    font-size: 19px;
    line-height: 1.7;
    color: var(--sepia-clar);
    max-width: 680px;
    margin: 0 auto;
}

/* ==================== PACK INDIVIDUAL ==================== */
.pack-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.pack-page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(61, 46, 31, 0.1);
}

.pack-page-name {
    font-family: var(--titol);
    font-style: italic;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    color: var(--sepia);
    line-height: 1;
    margin-bottom: 20px;
}

.pack-page-name em {
    color: var(--terracota);
    font-style: italic;
}

.pack-page-tagline {
    font-family: var(--titol);
    font-style: italic;
    font-size: 22px;
    color: var(--sepia-clar);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pack-page-price {
    font-family: var(--titol);
    font-size: 64px;
    font-weight: 500;
    color: var(--terracota);
    line-height: 1;
    margin: 30px 0;
}

.pack-page-price small {
    font-size: 22px;
    opacity: 0.7;
}

.pack-page-cta {
    display: inline-block;
    background-color: var(--terracota);
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--cos);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.pack-page-cta:hover {
    background-color: var(--terracota-fosc);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 101, 74, 0.3);
}

.pack-page-alt {
    margin-top: 16px;
    font-size: 14px;
    color: var(--sepia-clar);
}

.pack-page-alt a {
    color: var(--sepia-clar);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Llistat detallat de què inclou */
.pack-includes {
    background-color: var(--crema-antic);
    padding: 50px;
    border-radius: 8px;
    margin: 60px 0;
}

.pack-includes h2 {
    font-family: var(--titol);
    font-size: 32px;
    color: var(--sepia);
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

.pack-includes ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.pack-includes li {
    padding: 18px 0 18px 36px;
    border-bottom: 1px solid rgba(61, 46, 31, 0.08);
    font-size: 17px;
    color: var(--sepia);
    line-height: 1.6;
    position: relative;
}

.pack-includes li:last-child {
    border-bottom: none;
}

.pack-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 18px;
    color: var(--terracota);
    font-weight: 700;
    font-size: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(184, 101, 74, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-includes li strong {
    color: var(--sepia);
    font-weight: 600;
}

/* Per a qui és ideal */
.pack-ideal {
    margin: 60px 0;
    text-align: center;
}

.pack-ideal h2 {
    font-family: var(--titol);
    font-size: 32px;
    color: var(--sepia);
    margin-bottom: 24px;
    font-style: italic;
}

.pack-ideal p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--sepia-clar);
    max-width: 700px;
    margin: 0 auto;
}

/* Comparativa amb altres packs */
.pack-compare {
    margin: 80px 0;
    background-color: var(--crema-clar);
    border: 1px solid rgba(61, 46, 31, 0.1);
    border-radius: 8px;
    padding: 40px;
}

.pack-compare h2 {
    font-family: var(--titol);
    font-size: 28px;
    color: var(--sepia);
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

.pack-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pack-compare-card {
    padding: 24px;
    border: 1px solid rgba(61, 46, 31, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.pack-compare-card:hover {
    border-color: var(--terracota);
    transform: translateY(-2px);
}

.pack-compare-card-name {
    font-family: var(--titol);
    font-style: italic;
    font-size: 24px;
    color: var(--sepia);
    margin-bottom: 6px;
}

.pack-compare-card-price {
    font-family: var(--titol);
    font-size: 24px;
    color: var(--terracota);
    margin-bottom: 12px;
}

.pack-compare-card-desc {
    font-size: 14px;
    color: var(--sepia-clar);
    line-height: 1.5;
}

/* CTA final del pack */
.pack-final-cta {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--sepia);
    color: var(--crema-antic);
    border-radius: 8px;
    margin-top: 60px;
}

.pack-final-cta h2 {
    font-family: var(--titol);
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-style: italic;
}

.pack-final-cta p {
    color: var(--crema-antic);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pack-final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pack-final-cta-buttons a {
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--cos);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background-color: var(--terracota);
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

.btn-cta-primary:hover {
    background-color: var(--terracota-fosc);
}

.btn-cta-secondary {
    background-color: transparent;
    color: var(--crema-antic) !important;
    border: 1px solid var(--daurat);
}

.btn-cta-secondary:hover {
    background-color: rgba(200, 169, 126, 0.1);
}

/* ==================== BLOG ==================== */
.blog-hero {
    padding: 80px 40px 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--titol);
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--sepia);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.blog-hero h1 em {
    font-style: italic;
    color: var(--terracota);
}

.blog-hero p {
    font-size: 19px;
    color: var(--sepia-clar);
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--titol);
    font-style: italic;
}

.blog-list {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 40px 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.blog-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 4 / 3;
    background-color: var(--crema-antic);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-date {
    font-family: var(--cos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terracota);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--titol);
    font-size: 26px;
    line-height: 1.25;
    color: var(--sepia);
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sepia-clar);
}

.blog-card-readmore {
    margin-top: 16px;
    font-family: var(--cos);
    font-size: 14px;
    color: var(--terracota);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Article individual */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-date {
    font-family: var(--cos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--terracota);
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--titol);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--sepia);
    letter-spacing: -0.5px;
}

.article-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-family: var(--cos);
    font-size: 19px;
    line-height: 1.85;
    color: var(--sepia);
}

.article-content p {
    margin-bottom: 24px;
}

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

.article-content em {
    font-style: italic;
    color: var(--terracota);
}

.article-content ul {
    margin: 24px 0 24px 20px;
    padding-left: 16px;
}

.article-content ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content blockquote {
    font-family: var(--titol);
    font-style: italic;
    font-size: 26px;
    line-height: 1.5;
    color: var(--sepia);
    border-left: 3px solid var(--terracota);
    padding: 16px 0 16px 32px;
    margin: 40px 0;
}

.article-content h2 {
    font-family: var(--titol);
    font-size: 32px;
    color: var(--sepia);
    margin: 50px 0 20px;
    font-weight: 600;
}

.article-content a {
    color: var(--terracota);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-cta {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--crema-antic);
    border-radius: 8px;
    text-align: center;
}

.article-cta h3 {
    font-family: var(--titol);
    font-style: italic;
    font-size: 28px;
    color: var(--sepia);
    margin-bottom: 16px;
}

.article-cta p {
    color: var(--sepia-clar);
    margin-bottom: 24px;
    font-size: 16px;
}

.article-back {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: var(--sepia-clar);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--cos);
}

.article-back:hover {
    color: var(--terracota);
}

/* ==================== CONTACTE ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 100px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-option {
    background-color: var(--crema-antic);
    border-radius: 8px;
    padding: 30px;
    text-decoration: none;
    color: var(--sepia);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid transparent;
}

.contact-option:hover {
    border-color: var(--terracota);
    transform: translateX(4px);
}

.contact-option-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--crema-clar);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracota);
}

.contact-option-icon svg {
    width: 22px;
    height: 22px;
}

.contact-option-title {
    font-family: var(--titol);
    font-size: 22px;
    font-style: italic;
    color: var(--sepia);
    margin-bottom: 6px;
}

.contact-option-desc {
    font-size: 14px;
    color: var(--sepia-clar);
    line-height: 1.5;
}

.contact-form {
    background-color: var(--crema-antic);
    padding: 40px;
    border-radius: 8px;
}

.contact-form h2 {
    font-family: var(--titol);
    font-style: italic;
    font-size: 28px;
    color: var(--sepia);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--cos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sepia-clar);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(61, 46, 31, 0.2);
    border-radius: 4px;
    background-color: var(--crema-clar);
    font-family: var(--cos);
    font-size: 16px;
    color: var(--sepia);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracota);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    background-color: var(--terracota);
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    font-family: var(--cos);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--terracota-fosc);
}

/* ==================== COM FUNCIONA AMPLIADA ==================== */
.process-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 100px;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid rgba(61, 46, 31, 0.1);
    align-items: start;
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-number {
    font-family: var(--titol);
    font-size: 80px;
    font-style: italic;
    font-weight: 500;
    color: var(--terracota);
    line-height: 1;
    opacity: 0.7;
    min-width: 100px;
}

.process-step-content h2 {
    font-family: var(--titol);
    font-size: 32px;
    color: var(--sepia);
    margin-bottom: 16px;
    font-weight: 600;
}

.process-step-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sepia-clar);
    margin-bottom: 16px;
}

.process-step-content ul {
    list-style: none;
    margin: 16px 0;
}

.process-step-content ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--sepia-clar);
}

.process-step-content ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--terracota);
}

/* ==================== PÀGINES LEGALS ==================== */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.legal h1 {
    font-family: var(--titol);
    font-size: 44px;
    color: var(--sepia);
    margin-bottom: 30px;
    font-weight: 500;
}

.legal h2 {
    font-family: var(--titol);
    font-size: 24px;
    color: var(--sepia);
    margin: 40px 0 16px;
    font-weight: 600;
}

.legal p,
.legal li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sepia-clar);
    margin-bottom: 12px;
}

.legal ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal strong {
    color: var(--sepia);
}

.legal a {
    color: var(--terracota);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--crema-antic);
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(61, 46, 31, 0.1);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: var(--titol);
    font-style: italic;
    font-size: 18px;
    color: var(--sepia-clar);
    line-height: 1.5;
}

.footer-col h4 {
    font-family: var(--titol);
    font-size: 16px;
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--sepia-clar);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--terracota);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(61, 46, 31, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--sepia-clar);
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--terracota);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
    .nav-inner {
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-links {
        display: none;
    }

    .section,
    .section-light .section-inner,
    .pack-page,
    .blog-list,
    .article,
    .contact-grid,
    .process-detail,
    .page-hero,
    .legal {
        padding-left: 24px;
        padding-right: 24px;
    }

    .pack-includes {
        padding: 30px 24px;
    }

    .pack-compare-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 0;
    }

    .process-step-number {
        font-size: 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .pack-final-cta {
        padding: 40px 24px;
    }

    .pack-final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Animacions d'entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero h1,
.page-hero-subtitle,
.pack-page-name,
.pack-page-tagline,
.article-title {
    animation: fadeInUp 0.8s ease-out backwards;
}

.page-hero-subtitle {
    animation-delay: 0.2s;
}


/* =====================================================
   ESTILS DE LA HOME (extrets del index original)
   ===================================================== */

.hero {
    position: relative;
    padding: 100px 40px 120px;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--cos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--terracota);
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background-color: var(--terracota);
}

.hero h1 {
    font-family: var(--titol);
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    color: var(--sepia);
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--terracota);
}

.hero-subtitle {
    font-family: var(--cos);
    font-size: 19px;
    line-height: 1.7;
    color: var(--sepia-clar);
    margin-bottom: 44px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.hero-paths {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(61, 46, 31, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 14px;
    color: var(--sepia-clar);
}

.hero-path {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-path svg {
    width: 16px;
    height: 16px;
    color: var(--verd-oliva);
}

.hero-visual {
    position: relative;
    height: 560px;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--daurat);
    opacity: 0.3;
}

.deco-circle-1 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.deco-circle-2 {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: dashed;
    opacity: 0.2;
}

.deco-leaf {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.6;
}

.deco-leaf path {
    fill: var(--verd-oliva);
}

.deco-leaf-1 {
    top: 40px;
    right: 20px;
    transform: rotate(25deg);
}

.deco-leaf-2 {
    bottom: 60px;
    left: 0;
    transform: rotate(-130deg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.step {
    position: relative;
    padding-top: 32px;
}

.step-number {
    font-family: var(--titol);
    font-size: 64px;
    font-weight: 500;
    color: var(--terracota);
    line-height: 1;
    margin-bottom: 16px;
    font-style: italic;
    opacity: 0.85;
}

.step-title {
    font-family: var(--titol);
    font-size: 24px;
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 14px;
}

.step-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sepia-clar);
}

.packs-intro {
    text-align: center;
    margin-bottom: 60px;
}

.packs-intro .section-title {
    margin: 0 auto 20px;
}

.packs-intro p {
    font-size: 18px;
    color: var(--sepia-clar);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pack {
    background-color: var(--crema-clar);
    border: 1px solid rgba(61, 46, 31, 0.1);
    border-radius: 8px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
}

.pack:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(61, 46, 31, 0.1);
    border-color: var(--daurat);
}

.pack-featured {
    background-color: var(--sepia) !important;
    border-color: var(--sepia) !important;
}

.pack-featured .pack-name {
    color: #FFFFFF !important;
}

.pack-featured .pack-desc {
    color: #F2E8D5 !important;
    opacity: 1 !important;
}

.pack-featured .pack-price {
    color: #DCC4A0 !important;
}

.pack-featured .pack-price small {
    color: #DCC4A0 !important;
    opacity: 0.85 !important;
}

.pack-featured ul li {
    color: #FAF6EC !important;
    opacity: 1 !important;
}

.pack-featured ul li::before {
    background-color: #DCC4A0 !important;
    height: 2px !important;
    width: 14px !important;
    top: 11px !important;
}

.pack-featured .pack-cta {
    background-color: #B8654A !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
}

.pack-featured .pack-cta:hover {
    background-color: #9A4F38 !important;
}

.pack-featured .pack-alt-cta {
    color: #F2E8D5 !important;
    opacity: 1 !important;
}

.pack-featured .pack-alt-cta a {
    color: #F2E8D5 !important;
    text-decoration-color: rgba(242, 232, 213, 0.5) !important;
    opacity: 1 !important;
}

.pack-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--terracota);
    color: var(--crema-clar);
    font-family: var(--cos);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 500;
}

.pack-name {
    font-family: var(--titol);
    font-size: 32px;
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 6px;
    font-style: italic;
}

.pack-desc {
    font-size: 14px;
    color: var(--sepia-clar);
    margin-bottom: 28px;
    font-style: italic;
    min-height: 42px;
}

.pack-price {
    font-family: var(--titol);
    font-size: 56px;
    font-weight: 500;
    color: var(--terracota);
    line-height: 1;
    margin-bottom: 32px;
}

.pack-price small {
    font-size: 18px;
    font-weight: 400;
    color: inherit;
    opacity: 0.7;
}

.pack ul {
    list-style: none;
    margin-bottom: 36px;
    flex-grow: 1;
}

.pack ul li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sepia-clar);
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.pack ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 1px;
    background-color: var(--terracota);
}

.pack-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background-color: var(--terracota);
    color: var(--crema-clar);
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--cos);
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pack-cta:hover {
    background-color: var(--terracota-fosc);
}

.pack-alt-cta {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--sepia-clar);
}

.pack-alt-cta a {
    color: var(--sepia-clar);
    text-decoration: underline;
    text-decoration-color: rgba(61, 46, 31, 0.3);
    text-underline-offset: 3px;
}

.cta-paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.cta-path {
    background-color: rgba(242, 232, 213, 0.05);
    border: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--crema-antic);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-path:hover {
    background-color: rgba(242, 232, 213, 0.1);
    border-color: var(--daurat);
    transform: translateY(-4px);
}

.cta-path-icon {
    width: 36px;
    height: 36px;
    color: var(--daurat);
    margin-bottom: 4px;
}

.cta-path-title {
    font-family: var(--titol);
    font-size: 22px;
    font-style: italic;
    color: var(--crema-antic);
}

.cta-path-desc {
    font-size: 14px;
    color: rgba(242, 232, 213, 0.7);
    line-height: 1.5;
}

@media (max-width: 980px) {
    .hero {
        padding: 60px 24px 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-visual {
        height: 420px;
    }
    .steps,
    .packs-grid,
    .dates-warnings,
    .cta-paths {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.hero-eyebrow,
.hero h1,
.hero-subtitle,
.hero-ctas,
.hero-paths {
    animation: fadeInUp 0.8s ease-out backwards;
}

/* === Clases adicionales de home === */

.book-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    width: 320px;
    height: 440px;
    background: linear-gradient(135deg, var(--terracota) 0%, var(--terracota-fosc) 100%);
    border-radius: 4px 8px 8px 4px;
    box-shadow:
        0 30px 60px rgba(61, 46, 31, 0.25),
        0 10px 20px rgba(61, 46, 31, 0.15),
        inset 8px 0 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--crema-antic);
    text-align: center;
    padding: 40px;
}

.book-shape::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.book-title {
    font-family: var(--titol);
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--crema-antic);
}

.book-divider {
    width: 50px;
    height: 1px;
    background-color: var(--daurat-clar);
    margin: 16px auto;
}

.book-author {
    font-family: var(--cos);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--daurat-clar);
    opacity: 0.9;
}

.book-decoration {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    opacity: 0.4;
}

.book-decoration path {
    fill: var(--daurat-clar);
}

.what-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.what-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--sepia-clar);
    margin-bottom: 20px;
}

.what-text p:last-child {
    font-style: italic;
    color: var(--sepia);
    font-size: 19px;
}

.what-quote {
    font-family: var(--titol);
    font-style: italic;
    font-size: 28px;
    line-height: 1.4;
    color: var(--sepia);
    padding-left: 32px;
    border-left: 2px solid var(--terracota);
}

.what-quote .small {
    display: block;
    margin-top: 20px;
    font-family: var(--cos);
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sepia-clar);
}

.wisdom {
    background-color: var(--crema-antic);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.wisdom::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(184, 101, 74, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(92, 107, 63, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.wisdom-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.wisdom .eyebrow {
    margin-bottom: 32px;
}

.wisdom-title {
    font-family: var(--titol);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--sepia);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.wisdom-title em {
    font-style: italic;
    color: var(--terracota);
}

.wisdom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 50px auto 60px;
    max-width: 320px;
}

.wisdom-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--daurat), transparent);
}

.wisdom-divider svg {
    width: 22px;
    height: 22px;
    color: var(--daurat);
    flex-shrink: 0;
}

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

.wisdom-text p {
    font-family: var(--cos);
    font-size: 19px;
    line-height: 1.85;
    color: var(--sepia);
    margin-bottom: 28px;
}

.wisdom-text p:last-child {
    margin-bottom: 0;
}

.wisdom-text p em {
    font-style: italic;
    color: var(--terracota);
    font-weight: 500;
}

.wisdom-text p strong {
    font-weight: 600;
    color: var(--sepia);
    letter-spacing: 0.3px;
}

.wisdom-emphasis {
    font-family: var(--titol) !important;
    font-style: italic;
    font-size: 22px !important;
    line-height: 1.5 !important;
    color: var(--sepia) !important;
    text-align: center;
    padding: 16px 0;
    margin-top: 36px !important;
}

.wisdom-emphasis em {
    font-style: italic;
    color: var(--terracota) !important;
    font-weight: 500;
}

.wisdom-quote {
    font-family: var(--titol);
    font-style: italic;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.45;
    color: var(--sepia);
    margin: 70px auto;
    padding: 40px 0;
    border-top: 1px solid rgba(184, 101, 74, 0.25);
    border-bottom: 1px solid rgba(184, 101, 74, 0.25);
    max-width: 720px;
    text-align: center;
    position: relative;
}

.wisdom-quote span {
    display: block;
    font-size: 0.85em;
    margin-top: 16px;
    color: var(--sepia-clar);
}

.wisdom-quote::before,
.wisdom-quote::after {
    content: """;
    position: absolute;
    font-family: var(--titol);
    font-size: 80px;
    color: var(--terracota);
    opacity: 0.3;
    line-height: 1;
}

.wisdom-quote::before {
    top: -10px;
    left: -10px;
}

.wisdom-quote::after {
    content: """;
    bottom: -50px;
    right: -10px;
}

.wisdom-closing {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(61, 46, 31, 0.1);
    text-align: center;
}

.wisdom-closing p {
    font-family: var(--titol);
    font-style: italic;
    font-size: 24px;
    line-height: 1.5;
    color: var(--sepia-clar);
    margin-bottom: 28px;
}

.wisdom-closing-final {
    font-size: clamp(28px, 3.5vw, 38px) !important;
    color: var(--sepia) !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.3px;
}

.wisdom-closing-final em {
    font-style: italic;
    color: var(--terracota);
    font-weight: 500;
}

.wisdom-deco {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.15;
}

.wisdom-deco svg {
    width: 100%;
    height: 100%;
    fill: var(--verd-oliva);
}

.wisdom-deco-top {
    top: 50px;
    left: 8%;
    transform: rotate(-15deg);
}

.wisdom-deco-bottom {
    bottom: 50px;
    right: 8%;
    transform: rotate(165deg);
}

@media (max-width: 980px) {
    .wisdom {
        padding: 80px 24px;
    }
    .wisdom-quote {
        margin: 50px auto;
        padding: 30px 0;
    }
    .wisdom-deco {
        display: none;
    }
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    margin-top: 60px;
}

.diff {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.diff-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--crema-antic);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    color: var(--terracota);
}

.diff-content h3 {
    font-family: var(--titol);
    font-size: 24px;
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 12px;
}

.diff-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sepia-clar);
}

.dates-table {
    margin: 50px 0 30px;
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dates-table tr {
    border-bottom: 1px solid rgba(61, 46, 31, 0.1);
}

.dates-table td {
    padding: 20px 0;
    font-size: 17px;
}

.dates-table td:first-child {
    font-family: var(--titol);
    font-style: italic;
    font-size: 22px;
    color: var(--sepia);
    width: 50%;
}

.dates-table td:last-child {
    color: var(--sepia-clar);
    text-align: right;
}

.dates-note {
    background-color: var(--crema-antic);
    border-left: 3px solid var(--verd-oliva);
    padding: 24px 32px;
    max-width: 700px;
    margin: 30px auto;
    font-style: italic;
    color: var(--sepia);
    font-size: 16px;
    line-height: 1.7;
}

.date-warning {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid rgba(61, 46, 31, 0.1);
    border-radius: 8px;
}

.date-warning-title {
    font-family: var(--titol);
    font-size: 22px;
    font-style: italic;
    color: var(--terracota);
    margin-bottom: 8px;
}

.date-warning p {
    font-size: 14px;
    color: var(--sepia-clar);
    line-height: 1.6;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(61, 46, 31, 0.1);
    padding: 28px 0;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--titol);
    font-size: 22px;
    font-weight: 500;
    color: var(--sepia);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: var(--terracota);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--titol);
    font-size: 28px;
    color: var(--terracota);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--sepia-clar);
    max-width: 720px;
}

.cta-final {
    background-color: var(--sepia);
    color: var(--crema-antic);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-final .eyebrow {
    color: var(--daurat);
}

.cta-final .eyebrow::before {
    background-color: var(--daurat);
}

.cta-final h2 {
    font-family: var(--titol);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--crema-antic);
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.cta-final h2 em {
    font-style: italic;
    color: var(--daurat);
}

.cta-final p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(242, 232, 213, 0.85);
    margin-bottom: 44px;
}

.cta-final::before,
.cta-final::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--daurat);
    opacity: 0.1;
}

.cta-final::before {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -100px;
}

.cta-final::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -50px;
    border-style: dashed;
}

@media (max-width: 980px) {
    .book-shape {
        width: 260px;
        height: 360px;
    }
    .what-grid,
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cta-final {
        padding: 70px 24px;
    }
}