@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --primary: #1a4d6d;
    --primary-dark: #0f2f45;
    --primary-light: #2c6b95;
    --secondary: #d4a574;
    --secondary-dark: #b8875f;
    --accent: #8b4513;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    transition: all 0.3s ease;
}

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

header {
    background: #ffffff;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(26, 77, 109, 0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 77, 109, 0.15);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--secondary);
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 70%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(26, 77, 109, 0.2);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 109, 0.35);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    border: 2px solid var(--primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 77, 109, 0.25);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.45);
    filter: brightness(1.1);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 2px;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(26, 77, 109, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26, 77, 109, 0.15);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    color: white;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}

.testimonial-card {
    background: var(--bg-cream);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(26, 77, 109, 0.06);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(26, 77, 109, 0.12);
}

.stats-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(26, 77, 109, 0.08);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(26, 77, 109, 0.15);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

form {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(26, 77, 109, 0.1);
    border: 1px solid var(--border);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-dark);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 77, 109, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(26, 77, 109, 0.2);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 109, 0.35);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.accordion-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.accordion-header:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.accordion-header.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 1.25rem;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 1.5rem 2rem;
    color: var(--text-light);
    line-height: 1.7;
    background: white;
}

.breadcrumb {
    padding: 1rem 0;
    background: var(--bg-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.process-step {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.process-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--secondary) 0%, transparent 100%);
}

.process-step:last-child::before {
    display: none;
}

.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 77, 109, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26, 77, 109, 0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-info {
    padding: 2rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

footer .social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 3rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-banner button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-banner button:hover {
    background: var(--secondary-dark);
    transform: scale(1.05);
}

.loading-spinner {
    border: 4px solid rgba(26, 77, 109, 0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}

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

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 5rem 0 4rem;
    }

    .card,
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    form {
        padding: 1.5rem;
    }

    .process-step {
        padding-left: 4rem;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .cookie-banner {
        padding: 1rem;
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-accent {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
}