:root {
    --primary-color: #1a5f7a;
    --primary-dark: #134a5f;
    --primary-light: #2a7a9a;
    --secondary-color: #57837b;
    --accent-color: #c38154;
    --accent-light: #e8a87c;
    --text-dark: #2c3e50;
    --text-light: #6c7b8a;
    --text-white: #ffffff;
    --bg-cream: #f8f5f0;
    --bg-light: #f5f7f9;
    --bg-warm: #faf8f5;
    --bg-gradient: linear-gradient(135deg, #1a5f7a 0%, #2a7a9a 50%, #57837b 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

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

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

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

ul {
    list-style: none;
}

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

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-warm);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.logo-text .highlight {
    color: var(--accent-color);
}

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

.nav-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    margin-top: 5px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background: white;
    z-index: 999;
    padding: 30px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--bg-light);
}

.mobile-nav-list li a {
    display: block;
    padding: 18px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.mobile-dropdown-menu {
    padding-left: 20px;
    display: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li a {
    font-size: 1rem;
    padding: 14px 0;
}

.main-content {
    margin-top: 75px;
    min-height: calc(100vh - 75px);
}

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.85) 0%, rgba(87, 131, 123, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-text h1 {
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

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

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
}

.hero-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.section {
    padding: 80px 0;
}

.section-cream {
    background: var(--bg-cream);
}

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

.section-gradient {
    background: var(--bg-gradient);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    margin-bottom: 15px;
}

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

.termy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.termy-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.termy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.termy-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.termy-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.termy-card:hover .termy-card-image img {
    transform: scale(1.08);
}

.termy-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.termy-card-content {
    padding: 25px;
}

.termy-card-content h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.termy-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.termy-card-meta {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.termy-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.95rem;
}

.termy-card-link:hover {
    gap: 12px;
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-box h4 {
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.info-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.info-content h2 {
    margin-bottom: 20px;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-list {
    margin: 25px 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.info-list li svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.page-hero {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.9) 0%, rgba(87, 131, 123, 0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.page-hero h1 {
    color: white;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content h2 {
    margin: 40px 0 20px;
}

.article-content h3 {
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-image {
    margin: 40px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-image figcaption {
    padding: 15px 20px;
    background: var(--bg-light);
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.info-box {
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-box p {
    margin-bottom: 0;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    word-break: break-all;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.policy-content h2 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
}

.policy-content h3 {
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style: disc;
}

.policy-content li {
    margin-bottom: 8px;
}

.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-update {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-list .contact-icon {
    width: auto;
    height: auto;
    background: none;
    margin: 0;
    color: var(--accent-light);
}

.contact-list a {
    color: rgba(255,255,255,0.8);
}

.contact-list a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    color: rgba(255,255,255,0.6);
}

.legal-links a:hover {
    color: white;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 25px 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

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

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.cookie-accept:hover {
    background: var(--primary-dark);
}

.cookie-reject {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cookie-reject:hover {
    background: var(--bg-cream);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-cards {
        max-width: 500px;
        margin: 40px auto 0;
    }
    
    .termy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .info-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .termy-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 65px;
    }
    
    .main-content {
        margin-top: 65px;
    }
    
    .mobile-nav {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}