:root {
    --warm-white: #faf8f4;
    --deep-graphite: #2b2520;
    --ink-berry: #4a1d3a;
    --apricot-mist: #e8a880;
    --pale-lilac: #e8dff0;
    --text-muted: #6b6560;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--warm-white);
    color: var(--deep-graphite);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--deep-graphite);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--deep-graphite);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

a {
    color: var(--ink-berry);
    text-decoration: none;
}

a:hover {
    color: var(--apricot-mist);
}

header.header {
    background-color: var(--warm-white);
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-berry);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--apricot-mist);
}

.ribbon-tab {
    position: relative;
    margin-left: 1.5rem;
}

.ribbon-tab::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -8px;
    width: 8px;
    height: 8px;
    background-color: transparent;
    border: 1px solid var(--deep-graphite);
}

.ribbon-tab.active::before {
    background-color: var(--ink-berry);
}

.ribbon-tab a {
    color: var(--deep-graphite);
    font-size: 0.95rem;
    font-weight: 500;
}

.ribbon-tab.active a {
    color: var(--ink-berry);
}

.btn {
    border-radius: 0;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border: 1.5px solid var(--ink-berry);
    transition: all 0.2s ease;
}

.btn-primary-tag {
    background-color: var(--ink-berry);
    color: var(--warm-white);
    border-color: var(--ink-berry);
}

.btn-primary-tag:hover {
    background-color: var(--deep-graphite);
    border-color: var(--deep-graphite);
    color: var(--warm-white);
}

.btn-secondary-tag {
    background-color: transparent;
    color: var(--ink-berry);
    border-color: var(--ink-berry);
}

.btn-secondary-tag:hover {
    background-color: var(--pale-lilac);
    border-color: var(--ink-berry);
    color: var(--ink-berry);
}

.btn-nav {
    background-color: var(--ink-berry);
    color: var(--warm-white);
    border-color: var(--ink-berry);
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.btn-nav:hover {
    background-color: var(--deep-graphite);
    border-color: var(--deep-graphite);
    color: var(--warm-white);
}

.container-fluid {
    max-width: 100%;
}

.px-lg-6 {
    padding-left: 4.5rem !important;
    padding-right: 4.5rem !important;
}

main {
    min-height: calc(100vh - 200px);
}

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(232, 168, 128, 0.08) 0%, rgba(232, 223, 240, 0.05) 100%);
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(232, 168, 128, 0.02) 1px, rgba(232, 168, 128, 0.02) 2px),
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(232, 168, 128, 0.02) 1px, rgba(232, 168, 128, 0.02) 2px),
        linear-gradient(135deg, rgba(232, 168, 128, 0.08) 0%, rgba(232, 223, 240, 0.05) 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
}

.hero-title {
    font-size: 3rem;
    color: var(--ink-berry);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-image-frame {
    border: 3px solid var(--ink-berry);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--ink-berry);
    border-right: 2px solid var(--ink-berry);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.modules-section {
    padding: 4rem 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .modules-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.module-card {
    background-color: var(--warm-white);
    border: 1px solid #e0e0e0;
    padding: 2rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 29, 58, 0.1);
}

.module-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--ink-berry);
    color: var(--warm-white);
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--ink-berry);
    position: absolute;
    top: -12px;
    left: 1.5rem;
    z-index: 10;
}

.module-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    height: 200px;
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.02);
}

.module-content h3 {
    margin-bottom: 0.75rem;
}

.module-content p {
    font-size: 0.95rem;
}

.content-block {
    padding: 3.5rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.content-block:last-of-type {
    border-bottom: none;
}

.block-image {
    border: 2px solid var(--apricot-mist);
    overflow: hidden;
    height: auto;
}

.block-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.content-block:hover .block-image img {
    transform: scale(1.02);
}

.faq-section {
    padding: 4rem 0;
    background-color: rgba(232, 168, 128, 0.04);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.faq-card {
    background-color: var(--warm-white);
    border-left: 4px solid var(--ink-berry);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-card h3 {
    color: var(--ink-berry);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-card p {
    color: var(--deep-graphite);
    margin-bottom: 0;
}

footer.footer {
    background-color: var(--warm-white);
    border-top: 1px solid #e8e8e8;
    padding: 3rem 0;
    margin-top: 2rem;
}

.ribbon-divider {
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ink-berry), var(--ink-berry) 20px, var(--apricot-mist) 20px, var(--apricot-mist) 40px);
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--ink-berry);
}

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

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

.footer-column ul li a {
    color: var(--text-muted);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--ink-berry);
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--deep-graphite);
    color: var(--warm-white);
    padding: 1.5rem;
    display: none;
    z-index: 1001;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cookie-content p {
    color: var(--warm-white);
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.product-card {
    background-color: var(--warm-white);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 29, 58, 0.12);
    border-color: var(--apricot-mist);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f0e8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink-berry);
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-graphite);
    margin-bottom: 1rem;
}

.product-cta {
    align-self: flex-start;
}

.tabs-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1rem;
    background-color: rgba(232, 168, 128, 0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tab-button {
    background-color: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--text-muted);
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.tab-button.active {
    background-color: var(--ink-berry);
    color: var(--warm-white);
    border-color: var(--ink-berry);
}

.gallery-block {
    padding: 3.5rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.gallery-block:last-of-type {
    border-bottom: none;
}

.gallery-image {
    border: 2px solid var(--apricot-mist);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-block:hover .gallery-image img {
    transform: scale(1.02);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--deep-graphite);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid #e0e0e0;
    background-color: var(--warm-white);
    color: var(--deep-graphite);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink-berry);
    box-shadow: 0 0 0 2px rgba(74, 29, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.35rem;
    cursor: pointer;
    accent-color: var(--ink-berry);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    cursor: pointer;
}

.thank-you-section {
    text-align: center;
    padding: 4rem 0;
}

.thank-you-section h1 {
    color: var(--ink-berry);
    margin-bottom: 2rem;
}

.legal-content {
    padding: 3rem 0;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 767px) {
    .px-4 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .px-md-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .navbar {
        padding: 1rem 0;
    }

    .ribbon-tab {
        margin-left: 0.75rem;
    }

    .btn-nav {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content p {
        text-align: left;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .modules-section {
        padding: 2.5rem 0;
    }

    .product-image {
        height: 200px;
    }
}

.contact-section {
    padding: 4rem 0 2rem 0;
}

.contact-info {
    background-color: rgba(232, 168, 128, 0.05);
    padding: 2rem;
    border-left: 4px solid var(--apricot-mist);
}

.contact-info h3 {
    color: var(--ink-berry);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-image {
    border: 2px solid var(--apricot-mist);
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.form-section {
    padding: 3rem 0 4rem 0;
    background-color: rgba(232, 223, 240, 0.03);
}

.form-section h2 {
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
}

.cta-section {
    padding: 3rem 0;
    text-align: center;
    background-color: rgba(232, 168, 128, 0.05);
}

.cta-section h2 {
    color: var(--ink-berry);
    margin-bottom: 1rem;
}

.products-intro {
    padding: 3rem 0;
}

.products-intro h1 {
    color: var(--ink-berry);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.products-section {
    padding: 2rem 0 4rem 0;
}

.quiet-selection {
    padding: 3.5rem 0;
    background-color: rgba(232, 223, 240, 0.03);
}

.quiet-selection h2 {
    margin-bottom: 1.5rem;
    color: var(--ink-berry);
}

.quiet-selection p {
    line-height: 1.8;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table th,
table td {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: left;
}

table th {
    background-color: #f5f0e8;
    font-weight: 600;
    color: var(--deep-graphite);
}

.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;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .px-md-5 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}
