:root {
    --primary: #2c1810;
    --secondary: #8b4513;
    --accent: #d4a574;
    --light: #f5f1ed;
    --dark: #1a0f08;
    --text: #3d2817;
    --gray: #6b5d54;
    --white: #ffffff;
    --bg-offset: #f9f6f2;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 {
    font-size: 3.2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.4rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-accept,
.btn-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accept:hover {
    background-color: #e0b585;
    transform: translateY(-2px);
}

.btn-reject {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ad-disclosure {
    background-color: var(--light);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    border-bottom: 1px solid #e0d5ca;
}

.main-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.hero-asymmetric {
    display: flex;
    min-height: 85vh;
    position: relative;
    background-color: var(--bg-offset);
}

.hero-content-offset {
    width: 45%;
    padding: 8rem 3rem 3rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    max-width: 500px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 450px;
    line-height: 1.6;
}

.hero-image-block {
    width: 55%;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    background-color: var(--accent);
}

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

.cta-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.intro-offset {
    display: flex;
    padding: 6rem 8% 6rem 15%;
    gap: 5rem;
    align-items: center;
    background-color: var(--white);
}

.text-block-narrow {
    width: 50%;
}

.text-block-narrow h2 {
    margin-bottom: 1.5rem;
}

.image-overlap {
    width: 50%;
    position: relative;
    margin-left: -8%;
    background-color: var(--light);
}

.image-overlap img {
    width: 100%;
}

.featured-roasts-grid {
    padding: 7rem 5% 5rem;
    background-color: var(--light);
}

.section-header-asymmetric {
    max-width: 600px;
    margin-bottom: 4rem;
    padding-left: 8%;
}

.section-header-asymmetric h2 {
    margin-bottom: 1rem;
}

.section-header-asymmetric p {
    font-size: 1.2rem;
    color: var(--gray);
}

.roast-cards-stagger {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.roast-card {
    display: flex;
    gap: 3rem;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-offset-1 {
    margin-left: 5%;
}

.card-offset-2 {
    margin-left: 15%;
    flex-direction: row-reverse;
}

.card-offset-3 {
    margin-left: 8%;
}

.card-offset-4 {
    margin-left: 20%;
    flex-direction: row-reverse;
}

.card-offset-5 {
    margin-left: 3%;
}

.card-offset-6 {
    margin-left: 12%;
    flex-direction: row-reverse;
}

.card-image-wrapper {
    width: 40%;
    background-color: var(--light);
    border-radius: 6px;
    overflow: hidden;
}

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

.card-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 1rem;
}

.select-service {
    padding: 0.8rem 1.8rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.select-service:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.philosophy-split {
    display: flex;
    min-height: 600px;
}

.split-text {
    width: 50%;
    padding: 5rem 4rem 5rem 8%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.split-text h2 {
    margin-bottom: 1rem;
}

.split-visual {
    width: 50%;
    background-color: var(--accent);
}

.split-visual img {
    width: 100%;
    height: 100%;
}

.link-inline {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    margin-top: 1rem;
}

.order-form-section {
    padding: 8rem 5%;
    background-color: var(--bg-offset);
}

.form-container-asymmetric {
    max-width: 700px;
    margin-left: 15%;
    padding: 4rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-container-asymmetric h2 {
    margin-bottom: 1rem;
}

.form-container-asymmetric > p {
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select {
    padding: 0.9rem;
    border: 2px solid #e0d5ca;
    border-radius: 4px;
    font-size: 1rem;
    font-family: Georgia, serif;
    transition: border-color 0.3s ease;
}

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

.service-display {
    padding: 1rem;
    background-color: var(--light);
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary);
    min-height: 50px;
    display: flex;
    align-items: center;
}

.btn-submit {
    padding: 1.1rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-scattered {
    padding: 6rem 5%;
    background-color: var(--white);
}

.testimonials-scattered h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-blocks {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    padding: 2.5rem;
    background-color: var(--bg-offset);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
}

.testimonial-1 {
    margin-left: 8%;
    max-width: 600px;
}

.testimonial-2 {
    margin-left: 25%;
    max-width: 650px;
}

.testimonial-3 {
    margin-left: 12%;
    max-width: 580px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text);
}

.testimonial cite {
    font-size: 0.95rem;
    font-style: normal;
    color: var(--gray);
    font-weight: 600;
}

.final-cta-offset {
    padding: 7rem 5%;
    background-color: var(--light);
}

.cta-content {
    max-width: 600px;
    margin-left: 18%;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary);
    color: var(--white);
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.main-footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light);
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: rgba(212, 165, 116, 0.1);
    border-radius: 6px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: var(--light);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
    color: var(--gray);
}

.about-page,
.services-page,
.contact-page,
.thanks-page,
.legal-page {
    padding: 5rem 5%;
}

.about-hero {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding-left: 10%;
}

.hero-text-block h1 {
    margin-bottom: 1.5rem;
}

.story-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.story-segment {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-segment.reverse {
    flex-direction: row-reverse;
}

.story-image {
    width: 45%;
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
}

.story-text {
    width: 55%;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.values-grid {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 5rem 0;
}

.values-grid h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.values-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.value-card {
    flex: 1 1 calc(50% - 1.5rem);
    padding: 2.5rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.team-intro {
    max-width: 1200px;
    margin: 6rem auto;
}

.team-intro h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.team-layout {
    display: flex;
    gap: 3rem;
}

.team-member {
    flex: 1;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 8px;
}

.team-member h3 {
    margin-bottom: 1rem;
}

.cta-about {
    max-width: 700px;
    margin: 6rem auto;
    text-align: center;
    padding: 4rem;
    background-color: var(--light);
    border-radius: 8px;
}

.cta-about h2 {
    margin-bottom: 1rem;
}

.cta-about p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.services-intro h1 {
    margin-bottom: 1rem;
}

.services-intro p {
    font-size: 1.3rem;
    color: var(--gray);
}

.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1300px;
    margin: 0 auto 5rem;
}

.service-item {
    display: flex;
    gap: 4rem;
    padding: 3rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
}

.layout-asymmetric-1 {
    margin-left: 5%;
}

.layout-asymmetric-2 {
    margin-left: 12%;
    flex-direction: row-reverse;
}

.layout-asymmetric-3 {
    margin-left: 3%;
}

.layout-asymmetric-4 {
    margin-left: 18%;
    flex-direction: row-reverse;
}

.layout-asymmetric-5 {
    margin-left: 8%;
}

.layout-asymmetric-6 {
    margin-left: 15%;
    flex-direction: row-reverse;
}

.service-visual {
    width: 40%;
    background-color: var(--light);
    border-radius: 6px;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
}

.service-info {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-info h2 {
    margin-bottom: 1rem;
}

.service-origin,
.service-profile {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
}

.service-origin p,
.service-profile p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
}

.price-large {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-unit {
    font-size: 1.1rem;
    color: var(--gray);
}

.service-description-extended {
    font-size: 1.1rem;
    line-height: 1.8;
}

.custom-process {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
}

.custom-process ul {
    margin-left: 1.5rem;
}

.custom-process li {
    margin-bottom: 0.5rem;
}

.brewing-guide {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 4rem;
    background-color: var(--light);
    border-radius: 8px;
}

.brewing-guide h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.brewing-tips {
    display: flex;
    gap: 3rem;
}

.brew-tip {
    flex: 1;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 6px;
}

.brew-tip h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.services-cta {
    max-width: 700px;
    margin: 5rem auto;
    text-align: center;
    padding: 4rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
}

.services-cta h2 {
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-hero {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: 1rem;
}

.contact-details-layout {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
}

.contact-info-block {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-group h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.contact-visual-block {
    width: 50%;
}

.contact-visual-block img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
    background-color: var(--light);
}

.visit-note {
    padding: 2rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
}

.visit-note h3 {
    margin-bottom: 1rem;
}

.directions-section,
.wholesale-info {
    max-width: 900px;
    margin: 5rem auto;
    padding: 3rem;
    background-color: var(--light);
    border-radius: 8px;
}

.directions-section h2,
.wholesale-info h2 {
    margin-bottom: 1.5rem;
}

.contact-cta {
    max-width: 700px;
    margin: 5rem auto;
    text-align: center;
    padding: 4rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.thanks-page {
    min-height: 60vh;
}

.thanks-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.thanks-message h1 {
    margin-bottom: 1rem;
}

.thanks-message > p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.order-summary {
    padding: 2rem;
    background-color: var(--light);
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.next-steps {
    text-align: left;
    padding: 3rem;
    background-color: var(--bg-offset);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.next-steps h2 {
    margin-bottom: 1.5rem;
}

.next-steps ol {
    margin-left: 2rem;
}

.next-steps li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.thanks-info,
.thanks-community {
    text-align: left;
    padding: 3rem;
    background-color: var(--white);
    border: 2px solid var(--light);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.thanks-info h3,
.thanks-community h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.thanks-community ul {
    margin-left: 2rem;
}

.thanks-community li {
    margin-bottom: 0.5rem;
}

.thanks-visual {
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light);
}

.thanks-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cta-link {
    padding: 1rem 2rem;
    color: var(--secondary);
    font-weight: 600;
    border: 2px solid var(--secondary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.legal-page {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.legal-section h3 {
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-asymmetric {
        flex-direction: column;
    }

    .hero-content-offset,
    .hero-image-block {
        width: 100%;
    }

    .hero-image-block {
        margin-top: 0;
        min-height: 400px;
    }

    .intro-offset {
        flex-direction: column;
        padding: 4rem 5%;
    }

    .text-block-narrow,
    .image-overlap {
        width: 100%;
        margin-left: 0;
    }

    .roast-card {
        flex-direction: column;
    }

    .card-offset-1,
    .card-offset-2,
    .card-offset-3,
    .card-offset-4,
    .card-offset-5,
    .card-offset-6 {
        margin-left: 0;
    }

    .card-image-wrapper,
    .card-content {
        width: 100%;
    }

    .philosophy-split {
        flex-direction: column;
    }

    .split-text,
    .split-visual {
        width: 100%;
    }

    .form-container-asymmetric {
        margin-left: 0;
    }

    .testimonial-1,
    .testimonial-2,
    .testimonial-3 {
        margin-left: 0;
        max-width: 100%;
    }

    .cta-content {
        margin-left: 0;
    }

    .story-segment,
    .story-segment.reverse {
        flex-direction: column;
    }

    .story-image,
    .story-text {
        width: 100%;
    }

    .team-layout {
        flex-direction: column;
    }

    .service-item,
    .layout-asymmetric-2,
    .layout-asymmetric-4,
    .layout-asymmetric-6 {
        flex-direction: column;
        margin-left: 0;
    }

    .service-visual,
    .service-info {
        width: 100%;
    }

    .brewing-tips {
        flex-direction: column;
    }

    .contact-details-layout {
        flex-direction: column;
    }

    .contact-info-block,
    .contact-visual-block {
        width: 100%;
    }

    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        flex: 1 1 calc(50% - 1.5rem);
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }

    .values-blocks {
        flex-direction: column;
    }

    .value-card {
        flex: 1 1 100%;
    }
}