/* ===== CSS RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c1810;
    background-color: #fafaf8;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Czech Wine Theme Colors */
    --primary-color: #8B0000;           /* Dark Red */
    --primary-light: #B22222;           /* Fire Brick */
    --primary-dark: #660000;            /* Darker Red */
    
    --secondary-color: #D2691E;         /* Chocolate */
    --secondary-light: #DEB887;         /* Burlywood */
    --secondary-dark: #A0522D;          /* Sienna */
    
    --accent-color: #DAA520;            /* Goldenrod */
    --accent-light: #F4E4BC;           /* Light Gold */
    
    --neutral-dark: #2c1810;           /* Dark Brown */
    --neutral-medium: #5d4e37;         /* Coffee */
    --neutral-light: #8b7355;          /* Medium Brown */
    --neutral-lightest: #f5f2ed;       /* Cream */
    
    --background-color: #fafaf8;        /* Off White */
    --card-background: #ffffff;         /* Pure White */
    --section-background: #f9f7f4;      /* Light Cream */
    
    --success-color: #228B22;           /* Forest Green */
    --warning-color: #FF8C00;           /* Dark Orange */
    --error-color: #DC143C;             /* Crimson */
    
    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Georgia', 'Times New Roman', serif;
    --font-accent: 'Palatino', 'Book Antiqua', serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.1);
    --shadow-md: 0 4px 6px rgba(44, 24, 16, 0.1);
    --shadow-lg: 0 10px 25px rgba(44, 24, 16, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--neutral-medium);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: var(--spacing-xxl) 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-tertiary, .cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary, .cta-button {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover, .cta-button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--neutral-light);
    color: white;
    border-color: var(--neutral-light);
}

.btn-tertiary:hover {
    background-color: var(--neutral-dark);
    border-color: var(--neutral-dark);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--card-background);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--neutral-dark);
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-background);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100vh);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 80px; /* Account for fixed header */
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--section-background) 100%);
    padding: var(--spacing-xxl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content h1 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--neutral-medium);
    margin-bottom: var(--spacing-xl);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        min-height: 50vh;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.header-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.features,
.about-preview,
.mission-vision,
.team,
.values,
.main-tours,
.special-services,
.learning-modules,
.pricing,
.stats,
.featured-testimonials,
.all-testimonials,
.blog-articles,
.newsletter,
.blog-categories,
.contact-section,
.quick-contact,
.contact-faq,
.legal-content,
.cookie-preferences {
    padding: var(--spacing-xxl) 0;
}

.features,
.mission-vision,
.values,
.special-services,
.pricing,
.stats,
.all-testimonials,
.newsletter,
.blog-categories,
.quick-contact,
.legal-content {
    background-color: var(--section-background);
}

/* ===== GRID LAYOUTS ===== */
.features-grid,
.mv-grid,
.team-grid,
.values-grid,
.tours-grid,
.services-grid,
.modules-grid,
.stats-grid,
.testimonials-grid,
.testimonials-list,
.articles-grid,
.categories-content,
.contact-grid,
.quick-contact-grid,
.faq-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.features-grid,
.values-grid,
.modules-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mv-grid,
.team-grid,
.services-grid,
.testimonials-grid,
.articles-grid,
.quick-contact-grid,
.faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CARDS ===== */
.feature-card,
.mv-card,
.team-member,
.value-card,
.tour-card,
.service-card,
.module-card,
.stat-item,
.testimonial-card,
.testimonial-item,
.blog-card,
.contact-item,
.quick-contact-item,
.faq-item {
    background-color: var(--card-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-card:hover,
.mv-card:hover,
.value-card:hover,
.service-card:hover,
.blog-card:hover,
.quick-contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon,
.mv-icon,
.value-icon,
.service-icon,
.stat-icon,
.contact-icon,
.quick-icon,
.faq-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
}

/* ===== TOURS ===== */
.tour-card.featured {
    border: 3px solid var(--accent-color);
    position: relative;
}

.tour-card.featured::before {
    content: "Nejoblíbenější";
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.tour-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

.tour-duration {
    color: var(--neutral-medium);
    margin-bottom: var(--spacing-md);
}

.tour-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.tour-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--neutral-lightest);
    position: relative;
    padding-left: var(--spacing-lg);
}

.tour-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    display: block;
}

.author-title {
    color: var(--neutral-medium);
    font-size: 0.9rem;
}

.testimonial-card.featured .author-title {
    color: rgba(255, 255, 255, 0.8);
}

.rating {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: var(--spacing-xs);
}

/* ===== BLOG ===== */
.featured-article {
    background-color: var(--section-background);
    padding: var(--spacing-xxl) 0;
}

.featured-post {
    background-color: var(--card-background);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.featured-text {
    padding: var(--spacing-xxl);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-category {
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--neutral-medium);
    margin: var(--spacing-lg) 0;
}

.article-meta {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    color: var(--neutral-light);
    font-size: 0.9rem;
    margin: var(--spacing-lg) 0;
}

.article-date,
.article-author,
.article-time {
    display: flex;
    align-items: center;
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.blog-content {
    padding: var(--spacing-lg);
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-text {
        padding: var(--spacing-lg);
    }
}

/* ===== ARTICLE PAGES ===== */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
}

.breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.article-meta-top {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.article-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.article-stats {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.article-content {
    padding: var(--spacing-xxl) 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xxl);
}

.article-body {
    max-width: none;
}

.article-image {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.article-image caption {
    font-style: italic;
    color: var(--neutral-medium);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--neutral-medium);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: var(--accent-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.article-highlight {
    background-color: var(--accent-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin: var(--spacing-xl) 0;
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: var(--spacing-xxl) 0;
}

.article-cta .cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    filter: brightness(0) invert(1);
}

.article-cta h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.article-cta p {
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--neutral-medium);
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    background-color: var(--neutral-lightest);
    padding: var(--spacing-lg);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Article Sidebar */
.article-sidebar {
    background-color: var(--section-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: var(--spacing-xl);
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h4 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.related-article {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: background-color var(--transition-fast);
}

.related-article:hover {
    background-color: var(--card-background);
}

.related-article img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
}

/* ===== FORMS ===== */
.contact-form,
.newsletter-signup {
    background-color: var(--card-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--neutral-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--neutral-lightest);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-submit {
    width: 100%;
    margin-top: var(--spacing-lg);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    opacity: 0.9;
}

.newsletter-signup {
    background-color: white;
    color: var(--neutral-dark);
    display: flex;
    gap: var(--spacing-md);
}

.newsletter-signup input {
    flex: 1;
    margin: 0;
}

.newsletter-signup button {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-signup {
        flex-direction: column;
    }
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    filter: brightness(0) invert(1);
}

/* ===== ABOUT PAGE SPECIFICS ===== */
.company-story {
    padding: var(--spacing-xxl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.story-image {
    text-align: center;
}

.story-image img {
    max-width: 400px;
    margin: 0 auto;
}

.member-avatar {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.member-avatar img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES PAGE SPECIFICS ===== */
.module-card {
    position: relative;
    text-align: center;
}

.module-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.module-icon {
    width: 80px;
    height: 80px;
    margin: var(--spacing-lg) auto var(--spacing-md);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background-color: var(--card-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

.pricing-card ul {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.pricing-card li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--neutral-lightest);
}

/* ===== LEGAL PAGES ===== */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--spacing-xxl);
}

.legal-section h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
}

.legal-section h3,
.legal-section h4 {
    color: var(--primary-dark);
    margin-top: var(--spacing-xl);
}

.contact-box {
    background-color: var(--accent-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin: var(--spacing-lg) 0;
}

.storno-table,
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.storno-table th,
.storno-table td,
.cookies-table th,
.cookies-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--neutral-lightest);
}

.storno-table th,
.cookies-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.legal-cta {
    background-color: var(--section-background);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

/* ===== COOKIE PREFERENCES ===== */
.preferences-card {
    background-color: var(--card-background);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.cookie-controls {
    margin: var(--spacing-xl) 0;
}

.cookie-category {
    margin-bottom: var(--spacing-lg);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neutral-light);
    transition: var(--transition-fast);
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.toggle-switch.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.preference-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
    .preference-buttons {
        flex-direction: column;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-background);
    border-top: 1px solid var(--neutral-lightest);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-lg);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cookie-text h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--neutral-dark);
}

.cookie-text p {
    margin: 0;
    color: var(--neutral-medium);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-hero {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.thank-you-content h1 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.thank-you-message {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    filter: brightness(0) invert(1);
}

.thank-you-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.detail-item {
    text-align: center;
}

.detail-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
    filter: brightness(0) invert(1);
}

.detail-item h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.detail-item p {
    opacity: 0.9;
    margin: 0;
}

.next-steps,
.thank-you-contact,
.while-you-wait,
.social-share,
.back-home {
    padding: var(--spacing-xxl) 0;
}

.next-steps,
.while-you-wait {
    background-color: var(--section-background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.step-item {
    background-color: var(--card-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: var(--spacing-lg) auto var(--spacing-md);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.contact-option {
    background-color: var(--card-background);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-option-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.suggestion-card {
    background-color: var(--card-background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.suggestion-card img {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
}

.share-content {
    text-align: center;
}

.share-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.share-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.share-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.share-btn.email {
    background-color: var(--neutral-medium);
    color: white;
}

.share-btn.copy {
    background-color: var(--accent-color);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-home-content {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .back-home-content {
        flex-direction: column;
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
    font-weight: 600;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }
    
    .section-padding {
        padding: var(--spacing-xl) 0;
    }
    
    .hero,
    .page-header,
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .cookie-banner,
    .cta-section,
    .social-links,
    .share-buttons {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
    }
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--neutral-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
