/* CSS Variables - Clean Contemporary Palette based on user's preferred index.html style */
:root {
    --bg-main: #FFF8F2;
    --accent-chocolate: #2C1F1A;
    --accent-cherry: #8B1A1A;
    --accent-peach: #F4C9A8;
    --text-dark: #2C1F1A;
    --text-muted: #8A756E;
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-micro: all 0.2s ease;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.main-content {
    flex: 1 0 auto;
    padding-top: 96px;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 249, 244, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 31, 26, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
}

.brand-logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brand-logo span {
    color: var(--accent-cherry);
}

.navigation-menu {
    display: flex;
    gap: 48px;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    padding: 8px 0;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
    color: var(--accent-cherry);
}

/* HERO SECTION */
.hero-section {
    padding: 80px 0 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-meta {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-cherry);
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 520px;
}

/* INTERACTIVE FORMS */
.input-inline-group {
    display: flex;
    gap: 16px;
    background-color: var(--white);
    padding: 8px 8px 8px 24px;
    border-radius: 100px;
    border: 1px solid rgba(44, 31, 26, 0.1);
    max-width: 520px;
    transition: var(--transition-smooth);
}

.input-inline-group:focus-within {
    border-color: var(--accent-cherry);
    box-shadow: 0 10px 40px rgba(139, 26, 26, 0.08);
}

.input-inline-group input {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
    border: none;
    outline: none;
    background: transparent;
}

.input-inline-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.btn-pill {
    background-color: var(--accent-cherry);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    border: none;
}

.btn-pill:hover {
    background-color: var(--accent-chocolate);
    transform: translateY(-2px);
}

/* GALLERY / IMAGE HANDLERS */
.image-frame {
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--accent-peach);
    box-shadow: 0 30px 60px rgba(44, 31, 26, 0.04);
    aspect-ratio: 4 / 5;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame:hover img {
    transform: scale(1.04);
}

/* PRODUCT BRIEF SECTION */
.product-brief {
    padding: 90px 0;
    border-top: 1px solid rgba(44, 31, 26, 0.06);
}

.brief-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.brief-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.feature-node h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-node h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-peach);
    border-radius: 50%;
}

.feature-node p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

/* STANDARD LEGAL BOX LAYOUT */
.legal-box {
    background-color: var(--white);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(44, 31, 26, 0.06);
    box-shadow: 0 20px 50px rgba(44, 31, 26, 0.02);
    margin-bottom: 80px;
}

.legal-box h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 40px 0 20px 0;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 32px 0 16px 0;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-content li:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    font-weight: 600;
    color: inherit;
}

/* PREMIUM MINIMALIST LEGAL TABLE */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 24px;
    min-width: 650px;
}

.legal-table th {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid rgba(44, 31, 26, 0.1);
    padding: 16px 12px;
}

.legal-table td {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(44, 31, 26, 0.05);
    padding: 16px 12px;
    vertical-align: top;
}

.legal-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 25%;
}

.legal-table td:last-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 15%;
}

/* CONTACT PAGE CUSTOM CLASSES */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    padding: 40px 0 100px 0;
}

.contact-info h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-intro {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

.info-block {
    margin-bottom: 32px;
}

.info-block h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cherry);
    margin-bottom: 24px;
}

.info-block p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
}

.contact-form-card {
    background-color: var(--white);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(44, 31, 26, 0.06);
}

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

.form-row label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-field {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid rgba(44, 31, 26, 0.08);
    border-radius: 12px;
    padding: 16px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-micro);
}

.form-field:focus {
    border-color: var(--accent-cherry);
    background-color: var(--white);
}

textarea.form-field {
    resize: vertical;
    min-height: 140px;
}

/* FOOTER styles */
footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(44, 31, 26, 0.05);
    padding: 56px 0;
    background-color: var(--bg-main);
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-link-item {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-link-item:hover {
    color: var(--accent-cherry);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 962px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

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

    .input-inline-group {
        width: 100%;
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }

    .input-inline-group input {
        background: var(--white);
        padding: 20px 24px;
        border-radius: 100px;
        border: 1px solid rgba(44, 31, 26, 0.1);
        width: 100%;
    }

    .btn-pill {
        width: 100%;
        text-align: center;
    }

    .brief-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .legal-box {
        padding: 32px 24px;
    }

    .contact-form-card {
        padding: 32px 24px;
    }
}