:root {
    --primary-color: #D32F2F;
    --primary-hover: #B71C1C;
    --text-color: #1F1615;
    --text-muted: #6B5B59;
    --bg-light: #FDF9F8;
    --bg-dark: #1A1110;
    --white: #FFFFFF;
    --border-color: #EFE4E2;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.subtitle {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title-wrap {
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-color);
}

.btn-full {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--white);
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 16px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
}

.navigation a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.header-cta-btn {
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    font-size: 14px;
}

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

.hero-section {
    position: relative;
    height: 100vh;
    background: url('../src/frame.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,17,16,0.85) 0%, rgba(26,17,16,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(29, 22, 21, 0.02);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(29, 22, 21, 0.05);
}

.benefit-icon {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-muted);
}

.about-section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrap img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}

.how-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.step-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(211, 47, 47, 0.1);
    position: absolute;
    top: 20px;
    right: 32px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 16px;
    margin-top: 20px;
}

.step-card p {
    color: var(--text-muted);
}

.numbers-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--white);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.number-item .num {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.number-item .num-label {
    font-size: 14px;
    color: #A39694;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-card.featured::after {
    content: "Iesakām";
    position: absolute;
    top: -14px;
    right: 28px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
}

.card-header .price {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
}

.card-header .price span {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.card-body ul {
    list-style: none;
    margin-bottom: 40px;
}

.card-body li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.card-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h4 {
    font-size: 16px;
    font-weight: 600;
}

.testimonial-user span {
    font-size: 14px;
    color: var(--text-muted);
}

.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 15px;
}

.faq-answer p {
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.contacts-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .info-block {
    margin: 40px 0;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-item a, .info-item span {
    font-size: 18px;
    font-weight: 600;
}

.info-item a:hover {
    color: var(--primary-color);
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-wrap {
    background-color: var(--white);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

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

.form-group-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.form-group-checkbox input {
    margin-top: 4px;
}

.form-group-checkbox label {
    font-size: 14px;
    color: var(--text-muted);
}

.form-group-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.main-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: #A39694;
    font-size: 15px;
    max-width: 400px;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
    color: #A39694;
    font-size: 15px;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
}

.cookie-settings-btn {
    background: none;
    border: none;
    color: #A39694;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.cookie-settings-btn:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #8C7D7B;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 450px;
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.cookie-banner-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.cookie-banner-content p {
    font-size: 14px;
    color: #A39694;
    margin-bottom: 24px;
}

.cookie-options {
    margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 4px;
}

.cookie-options.hidden {
    display: none;
}

.cookie-option-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cookie-option-item:last-child {
    margin-bottom: 0;
}

.cookie-option-item label {
    font-size: 13px;
    color: #DDDDDD;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-page {
    padding-top: 140px;
    padding-bottom: 100px;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 8px;
}

.update-date {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
}

.legal-page p,
.legal-page ul {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.legal-page ul {
    padding-left: 20px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    text-align: left;
}

.legal-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.thank-you-hero {
    background-color: var(--bg-dark);
    background-image: none;
}

@media (max-width: 991px) {
    .grid-2,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .navigation {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .navigation.active {
        transform: translateY(0);
    }
    
    .burger {
        display: flex;
    }

    .header-cta-btn {
        margin-left: auto;
        margin-right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }
    
    .header-cta-btn {
        display: none;
    }
}