/* === CSS Variables === */
:root {
    --amber: #F59E0B;
    --amber-light: #FCD34D;
    --anthracite: #1F2937;
    --anthracite-dark: #111827;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--anthracite-dark);
    background: var(--white);
}

/* === Typography === */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

a:hover {
    color: var(--amber-light);
}

/* === Layout === */
section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* === Navigation === */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

/* === Hero === */
.hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    height: clamp(100px, 20vw, 150px);
    width: auto;
    margin-bottom: 1rem;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--amber);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
}

/* === About === */
.about {
    background: var(--gray-50);
    text-align: center;
    max-width: none;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* === Product === */
.product {
    text-align: center;
}

.product .product-card {
    max-width: 500px;
    margin: 2rem auto 0;
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--amber);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    color: var(--anthracite);
}

/* === Contact === */
.contact {
    text-align: center;
    background: var(--anthracite);
    color: var(--white);
    max-width: none;
}

.contact h2 {
    color: var(--white);
}

.contact a {
    font-size: 1.25rem;
    font-weight: 500;
}

/* === Footer === */
footer {
    background: var(--anthracite-dark);
    color: var(--gray-100);
    padding: 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content a {
    color: var(--gray-100);
}

.footer-content a:hover {
    color: var(--amber);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* === Page Header (Subpages) === */
.page-header {
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-dark) 100%);
    padding: 5rem 2rem 4rem;
}

.page-header .logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.page-header .logo:hover {
    color: var(--amber);
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 2.5rem);
}

/* === Legal Pages === */
.legal-section {
    padding: 5rem 2rem;
    max-width: none;
}

.legal-section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-section--highlight {
    background: var(--gray-50);
}

.legal-section h2 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.legal-section address {
    font-style: normal;
    line-height: 1.8;
    font-size: 1.125rem;
}

.legal-section p {
    margin: 0;
    font-size: 1.125rem;
}

.legal-ref {
    margin-top: 0.5rem !important;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* === Legal Footer === */
.legal-footer {
    background: var(--anthracite);
    color: var(--gray-100);
    padding: 4rem 2rem;
    max-width: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-footer-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.legal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-detail h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--amber);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-detail p {
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.legal-detail p:last-child {
    margin-bottom: 0;
}

.legal-detail a {
    color: var(--amber-light);
    word-break: break-word;
}

/* === Responsive === */
@media (max-width: 600px) {
    section {
        padding: 3rem 1.5rem;
    }

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

    .legal-section {
        padding: 3rem 1.5rem;
    }

    .page-header {
        padding: 4rem 1.5rem 2rem;
    }

    .page-header-content,
    .legal-section-content,
    .legal-footer-content {
        padding: 0;
    }
}