:root {
    --primary: #C4724A;
    --primary-light: #E2B49E;
    --secondary: #8FA68E;
    --bg-warm: #F5F0E8;
    --white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-light: #6D6D6D;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
}

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

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

section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.01em;
}

.logo-img {
    height: 120px;
    width: auto;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    border-radius: 8px;
    background: var(--white);
    padding: 8px 14px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

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

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

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-color: var(--white);
}

.hero-content {
    width: 55%;
    z-index: 2;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-family: var(--font-sans);
    font-weight: 400;
}

.hero h3 {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--primary);
    font-family: var(--font-sans);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Value Section */
.values {
    background-color: var(--bg-warm);
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.value-card i {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

/* Services Page Styles */
.services-intro {
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-warm);
    padding: 40px;
    border-left: 4px solid var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.benefit-tag {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-family: inherit;
}

/* Reveal on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #f0f0f0;
    padding: 20px 5%;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

#cookie-banner p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #ccc;
    margin: 0;
}

#cookie-banner a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btns button {
    padding: 10px 22px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

#cookie-accept {
    background: var(--primary);
    color: #fff;
}

#cookie-refuse {
    background: transparent;
    color: #aaa;
    border: 1px solid #555 !important;
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        height: auto;
        flex-direction: column;
        padding-bottom: 50px;
    }
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }
    .hero-image {
        position: static;
        width: 80%;
        transform: none;
        margin: 0 auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .value-grid, .service-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .logo-text {
        font-size: 1.3rem;
    }
}

/* ── Desktop layout classes ──────────────────────────────────────────────── */
.hero-inner    { display: flex; align-items: center; justify-content: space-between; }
.why-layout    { display: flex; align-items: center; gap: 80px; }
.contact-layout{ display: flex; gap: 100px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-layout  { display: flex; gap: 80px; align-items: center; }
.steps-row     { display: flex; gap: 30px; }

/* ── Hamburger ────────────────────────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile 768px ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    .logo-img { height: 80px; }
    header { justify-content: center; position: relative; }
    header .logo-container { margin: 0 auto; }
    .hamburger { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); }

    .hamburger { display: flex; }

    /* Nav dropdown */
    #main-nav {
        display: none;
        position: fixed;
        top: 90px; left: 0; right: 0;
        background: rgba(245,240,232,0.98);
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 30px 5%;
        gap: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        z-index: 999;
    }
    #main-nav.open { display: flex !important; }
    #main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 15px;
        width: 100%;
    }
    #main-nav ul li { text-align: center; width: 100%; }
    #main-nav ul li a { display: block; text-align: center; }
    #main-nav .btn { width: 80%; text-align: center; }

    /* Hero */
    .hero-inner               { flex-direction: column; gap: 40px; }
    .hero-content             { width: 100% !important; text-align: center !important; }
    .hero-image               { position: static !important; width: 90% !important; transform: none !important; margin: 0 auto !important; }
    .hero-btns                { justify-content: center; }

    /* Why section */
    .why-layout               { flex-direction: column; gap: 40px; text-align: center; }
    .why-layout > div:last-child img { box-shadow: 10px 10px 0 var(--bg-warm) !important; }

    /* Contact */
    .about-layout             { flex-direction: column-reverse; gap: 40px; text-align: center; }
    .about-layout > div:first-child img { width: 70%; margin: 0 auto; }
    .steps-row                { flex-direction: column; gap: 30px; }
    .contact-layout           { flex-direction: column; gap: 40px; }
    .form-row                 { grid-template-columns: 1fr; }
    .break-text               { word-break: break-all; }

    section { padding: 60px 5%; }
    section[style*="padding-top: 160px"] { padding-top: 100px !important; }
    section[style*="padding-top: 150px"] { padding-top: 100px !important; }
    section[style*="padding-top: 220px"] { padding-top: 100px !important; }
}
