@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #FBF7F2;
    --text-color: #2C2417;
    --accent: #C97B5A;
    --accent-dark: #b3684a;
    --secondary: #8B6E5A;
    --bg-light: #F4EDE5;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.header {
    background-color: rgba(251, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(139, 110, 90, 0.1);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-nav {
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.btn-nav:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(201, 123, 90, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.25rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
}

.rounded-image {
    border-radius: 16px;
    object-fit: cover;
}

.shadow {
    box-shadow: 0 8px 30px rgba(44, 36, 23, 0.08);
}

.text-center {
    text-align: center;
}

.hero {
    padding: 4rem 0 6rem;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.hero-image {
    flex: 1.2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(44, 36, 23, 0.1);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '→';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.instructor-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.instructor-photo {
    flex: 0 0 250px;
}

.instructor-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-light);
}

.lead-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lead-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

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

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

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(139, 110, 90, 0.3);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-color);
    transition: border-color 0.2s ease, outline 0.2s ease;
}

.form-group input:focus {
    outline: 2px solid var(--accent);
    border-color: var(--accent);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.footer {
    background-color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(139, 110, 90, 0.1);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.company-info {
    font-size: 0.9rem;
    color: var(--secondary);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.document-page {
    padding: 4rem 20px;
    max-width: 800px;
}

.document-page h1 {
    margin-bottom: 2rem;
    color: var(--accent);
}

.document-page h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.document-page p, .document-page ul {
    margin-bottom: 1.5rem;
}

.document-page ul {
    padding-left: 2rem;
}

.back-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
}

.back-link:hover {
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.success-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.success-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 20px;
    width: 100%;
}

.success-main h1 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.success-main p {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .split-layout, .split-layout.reverse {
        flex-direction: column;
    }

    .instructor-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .main-nav.open {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu-toggle.active .hamburger {
        background-color: transparent;
    }

    .menu-toggle.active .hamburger::before {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        transform: translateY(-8px) rotate(-45deg);
    }
}
