/* Global Styles */
:root {
    --primary-color: #DF2935;
    --secondary-color: #3772FF;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --border-radius: 4px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

a:hover {
    color: #c32430;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #c32430;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #2b5cc4;
    color: white;
}

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

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

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo a {
    display: block;
}

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

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list li a {
    color: var(--text-color);
    font-weight: 500;
}



.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--light-text);
}

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

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--light-text);
}

/* Advantages */
.advantages-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.advantages-content {
    flex: 1;
}

.advantages-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.advantages-list li {
    display: flex;
    margin-bottom: 30px;
}

.advantage-icon {
    margin-right: 20px;
    min-width: 40px;
}

.advantage-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-text p {
    color: var(--light-text);
}

/* Mission */
.mission-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.mission-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission-content p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--light-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-name h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-name p {
    color: var(--light-text);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-bg);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Newsletter Banner */
.newsletter-banner {
    background-color: var(--light-bg);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--light-text);
}

.newsletter-form {
    flex: 1;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-consent input[type="checkbox"] {
    margin-top: 5px;
}

.form-consent label {
    font-size: 14px;
    color: var(--light-text);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 70px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

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

.footer-links a {
    color: #ecf0f1;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: #fff;
}

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

.contact-info li svg {
    margin-right: 10px;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.copyright p {
    opacity: 0.6;
    font-size: 14px;
}

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

.legal-links a {
    color: #ecf0f1;
    opacity: 0.6;
    font-size: 14px;
}

.legal-links a:hover {
    opacity: 1;
}

.disclaimer {
    opacity: 0.6;
    font-size: 13px;
    line-height: 1.5;
}

/* Page Banner */
.page-banner {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-banner p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p,
.contact-form-container p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    margin-right: 15px;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 5px;
}

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

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

.contact-form input, 
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

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

.form-button {
    text-align: right;
}

/* Map Section */
.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.map-content p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.opening-hours h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.opening-hours ul {
    margin-bottom: 20px;
}

.opening-hours li {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.opening-hours li span:first-child {
    font-weight: 500;
}

.opening-hours .note {
    font-style: italic;
    font-size: 14px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
}

/* FAQ Section */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--light-bg);
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-toggle {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Blog List */
.blog-grid-wide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-featured {
    grid-column: 1 / -1;
}

.blog-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.large .blog-image {
    height: 400px;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.read-more::after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 8px;
}

/* Blog Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
}

.category-icon {
    margin-bottom: 20px;
}

.category-card:hover svg path {
    stroke: white;
}

.category-card h3 {
    font-size: 20px;
}

/* Blog Detail */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-meta {
    color: var(--light-text);
    margin-top: 10px;
}

.blog-article {
    margin-bottom: 40px;
}

.article-intro {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.blog-article h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.blog-article h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.blog-article p {
    margin-bottom: 20px;
}

.blog-article ul, 
.blog-article ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-article li {
    margin-bottom: 10px;
}

.blog-article ol {
    list-style-type: decimal;
}

.blog-article ul {
    list-style-type: disc;
}

.article-tip, 
.article-note, 
.example-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-tip h4, 
.article-note h4, 
.example-box h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.article-cta {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.article-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.article-cta p {
    margin-bottom: 20px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-weight: 500;
}

.article-share a {
    color: var(--light-text);
}

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

/* Blog Sidebar */
.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.recent-posts li {
    margin-bottom: 20px;
}

.recent-posts a {
    display: flex;
    gap: 15px;
    color: var(--text-color);
}

.post-image {
    flex: 0 0 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.post-date {
    font-size: 14px;
    color: var(--light-text);
}

.recent-posts a:hover .post-info h4 {
    color: var(--primary-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-bg);
    border-radius: 30px;
    font-size: 14px;
    color: var(--light-text);
}

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

/* Services Preview */
.services-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

/* Thanks Section */
.thanks-section {
    text-align: center;
    padding: 100px 0;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-icon svg {
    width: 80px;
    height: 80px;
}

.thanks-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--light-text);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-settings {
    display: none;
    padding: 20px 0;
}

.cookie-settings.show {
    display: block;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-text h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cookie-option-text p {
    font-size: 14px;
    color: var(--light-text);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Necessary cookie option - always enabled */
.necessary .toggle-switch input:checked + .slider {
    background-color: var(--primary-color);
}

.necessary .toggle-switch {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Tables */
.agreements-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--light-bg);
    font-weight: 600;
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}