:root {
    --primary: #6f595b;
    --background: #fbf9f8;
    --white: #ffffff;
    --text-color: #1b1c1c;
    --text-variant: #4e4445;
    --bg-low: #f6f3f2;
    --bg-container: #f2d4d7;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    padding-top: 125px;
    scroll-behavior: smooth;
}

h1, h2, h3, .font-headline {
    font-family: 'EB Garamond', serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease-in-out;
}

header.header-hidden {
    transform: translateY(-100%) !important;
}

header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-container {
    position: relative;
    display: none;
}

@media (min-width: 640px) {
    .search-container { display: block; }
}

.search-container input {
    background-color: #f3f4f6;
    border: none;
    border-radius: 50px;
    padding: 6px 36px 6px 16px;
    font-size: 14px;
    width: 150px;
    transition: width 0.3s;
    outline: none;
}

.search-container input:focus {
    width: 200px;
    border: 1px solid var(--primary);
}

.search-container .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9ca3af;
}

button, .icon-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover, .icon-btn:hover { opacity: 0.8; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 32px;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-drawer.active { transform: translateX(0); }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.drawer-header span {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: var(--primary);
}

.nav-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-drawer ul a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.nav-drawer ul a:hover { color: var(--primary); }

.hero {
    position: relative;
    height: 85vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 24px 64px 24px;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(251, 249, 248, 0) 0%, rgba(251, 249, 248, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
    width: 100%;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
}

@media (min-width: 640px) {
    .hero h1 { font-size: 40px; }
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: opacity 0.2s;
}

.btn-cta:hover { opacity: 0.9; }

.section-padding { padding: 80px 24px; }
.max-container { max-width: 1024px; margin: 0 auto; }
.text-center { text-align: center; }

.subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 14px;
    color: var(--text-variant);
    max-width: 500px;
    margin: 0 auto 48px auto;
    line-height: 1.6;
}

.video-wrapper {
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.grid-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .grid-categories { grid-template-columns: 1fr 1fr; }
}

.card-large {
    position: relative;
    aspect-ratio: 4 / 5;
    background-color: #f3f4f6;
    overflow: hidden;
    border-radius: 8px;
}

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-small {
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: #f3f4f6;
    overflow: hidden;
    border-radius: 8px;
}

.card-large img, .card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-large:hover img, .card-small:hover img { transform: scale(1.04); }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.card-text {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: var(--white);
}

.card-text h3 { font-size: 24px; margin-bottom: 8px; }
.card-text a {
    color: var(--white);
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--white);
    padding-bottom: 2px;
}

.bg-form-section { background-color: var(--bg-container); }
.form-container { max-width: 450px; margin: 0 auto; text-align: center; }

.form-container form {
    text-align: left;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group label {
    font-size: 12px;
    color: #374151;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--white);
    border: 1px solid #d1d5db;
    padding: 12px;
    font-size: 14px;
    outline: none;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.success-toast {
    display: none;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.grid-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .grid-info { grid-template-columns: repeat(3, 1fr); text-align: left; }
}

.info-block { display: flex; flex-direction: column; gap: 8px; }
.info-block h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.info-block p { font-size: 14px; color: #374151; }
.info-block a {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.info-block a:hover { text-decoration: underline; }
.info-block .time-caption { font-size: 12px; color: #9ca3af; }

footer { background-color: var(--bg-low); border-top: 1px solid var(--border-color); padding: 48px 24px; }
.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-top .brand { font-size: 20px; font-weight: bold; letter-spacing: 0.15em; color: var(--primary); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 24px;
}

.footer-links a { font-size: 12px; color: #4b5563; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; font-size: 12px; color: #9ca3af; }

@media (min-width: 769px) {
    body {
        padding-top: 80px;
    }
}