:root {
    --color-primary: #c00000;
    --color-primary-dark: #900000;
    --color-bg: #f3f4f6;
    --color-surface: #ffffff;
    --color-text: #222222;
    --color-muted: #555555;
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.08);
    --radius-large: 16px;
    --radius-medium: 12px;
    --radius-small: 6px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    z-index: 1000;
    border-radius: var(--radius-small);
    text-decoration: none;
}

.skip-link:focus {
    top: 0.5rem;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    position: sticky;
    top: 0;
    z-index: 500;
}

.logo-wrapper {
    padding-left: 0.75rem;
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 100px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0 1rem 0 0;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--color-primary);
    border-color: rgba(192, 0, 0, 0.25);
    outline: none;
    background-color: rgba(192, 0, 0, 0.06);
}

.hero-banner {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    flex: 1 1 320px;
    min-width: 0;
}

.hero-image-wrapper {
    flex: 0 1 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-height: 220px;
    width: auto;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--color-primary-dark);
    letter-spacing: 0.01em;
}

h1 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

h2.section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h3.subheading {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

h3.product-title,
.faq-heading {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.9rem;
    color: var(--color-text);
}

.hero-subline {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-top: 0.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.button.primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.button.primary:hover,
.button.primary:focus-visible {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    outline: none;
}

.button.secondary {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: rgba(192, 0, 0, 0.3);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background-color: rgba(192, 0, 0, 0.05);
    outline: none;
}

.section {
    margin-bottom: 2rem;
    background-color: var(--color-surface);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.content-section {
    margin-bottom: 2rem;
}

.text-link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(192, 0, 0, 0.35);
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: none;
    border-bottom-color: var(--color-primary);
    outline: none;
}

.products-section {
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-small);
    display: block;
}

.product-title a {
    text-decoration: none;
    color: var(--color-primary-dark);
}

.product-title a:hover,
.product-title a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.product-text {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-heading {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.faq-list {
    border-radius: var(--radius-medium);
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    overflow: hidden;
}

.faq-item + .faq-item {
    border-top: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    background-color: #ffffff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: var(--color-text);
}

.faq-question::after {
    content: "+";
    font-weight: 700;
    margin-left: 0.75rem;
}

.faq-question[aria-expanded="true"]::after {
    content: "–";
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.faq-answer {
    padding: 0 1rem 0.85rem;
    background-color: #fafafa;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.site-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.footer-inner {
    background-color: #111827;
    color: #e5e7eb;
    border-radius: var(--radius-large);
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-right a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.footer-right a:hover,
.footer-right a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.no-wrap {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-nav ul {
        justify-content: flex-start;
    }

    .hero-banner {
        padding: 1.5rem 1.25rem;
    }

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

    .hero-image {
        max-height: 200px;
    }

    .footer-right a {
        margin-left: 0.75rem;
    }
}

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