:root {
    --primary-color: #2c2a28;
    --secondary-color: #c4a484;
    --accent-color: #8c8374;
    --bg-color: #f7f5f0;
    --surface-color: #ffffff;
    --text-primary: #3a3836;
    --text-secondary: #6e6a65;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.text-center { text-align: center; }
.full-width { width: 100%; }

.desktop-only { display: none; }
@media (min-width: 768px) {
    .desktop-only { display: inline-flex; }
    .mobile-only { display: none; }
}

/* Background Effects */
.ambient-glow {
    position: fixed;
    top: -20vh;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,164,132,0.12) 0%, rgba(247,245,240,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(44,42,40,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 42, 40, 0.05);
    transition: var(--transition-normal);
}

.static-nav {
    position: sticky;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.menu-checkbox {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    display: none;
    border-bottom: 1px solid rgba(44, 42, 40, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.menu-checkbox:checked ~ .nav-links {
    display: flex;
}

.menu-checkbox:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-checkbox:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}
.menu-checkbox:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-links a.active, 
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-right {
    display: none;
}

@media (min-width: 768px) {
    .hamburger { display: none; }
    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        align-items: center;
    }
    .nav-links a { font-size: 0.95rem; }
    .nav-right { display: block; }
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Layout */
main {
    min-height: calc(100vh - 300px);
}

.page-top {
    padding-top: 8rem;
}

section {
    padding: var(--spacing-lg) 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Hero Section (Index) */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 8rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        padding-top: 12rem;
        gap: 5rem;
    }
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

@media (min-width: 992px) {
    .hero-image { aspect-ratio: 3/4; }
}

/* Service Cards */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

@media (min-width: 992px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.about-text {
    padding: 3rem 2rem;
}

@media (min-width: 992px) {
    .about-text { padding: 4rem; }
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255,255,255,0.5);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 1.5rem;
}

.cta-container {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(196,164,132,0.2), transparent 50%);
    pointer-events: none;
}

.cta-container h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-container p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-container .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    position: relative;
    z-index: 1;
}

.cta-container .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* Page Headers (About, Services, Contact) */
.page-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* About Page Specifics */
.story-content {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

.full-width-img {
    width: 100%;
    max-height: 65vh;
    object-fit: cover;
}

.text-block {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.text-block h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    background: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Page Specifics */
.service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 992px) {
    .service-row { 
        grid-template-columns: 1fr 1fr; 
        gap: 5rem;
    }
    .service-row.reverse .service-visual { order: 2; }
    .service-row.reverse .service-info { order: 1; }
}

.service-visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.service-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

/* Contact Page Specifics */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .contact-container { grid-template-columns: 1fr 1.5fr; }
}

.contact-details {
    padding: 3rem 2rem;
    background: var(--primary-color);
    color: #fff;
}

@media (min-width: 992px) {
    .contact-details { padding: 4rem 3rem; }
}

.contact-details h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-details > p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info-block {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.contact-info-block h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-block p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.25rem;
}

.contact-form-wrapper {
    padding: 3rem 2rem;
}

@media (min-width: 992px) {
    .contact-form-wrapper { padding: 4rem 3rem; }
}

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

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

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

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(196,164,132,0.15);
    background: var(--surface-color);
}

/* Legal Pages */
.legal-page {
    padding: 6rem 1.5rem 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 4rem 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

@media (max-width: 768px) {
    .legal-content { padding: 2.5rem 1.5rem; }
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.last-updated {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

.legal-content p, .legal-content ul {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

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

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 5rem 1.5rem 2rem;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.footer-links a {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact .mt-2 {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .footer-bottom:not(.center-text) { text-align: left; }
}

/* Animations */
@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .slide-up, .fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}