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

:root {
    --primary: #0D47A1;
    --secondary: #1565C0;
    --accent: #00ACC1;
    --dark: #0F172A;
    --light: #F5F7FA;
    --text: #1E293B;
    --muted: #475569;
    --white: #FFFFFF;
    --shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

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

a:hover, a:focus {
    color: var(--secondary);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 2.2vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-intro {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--white);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 999px;
    transition: var(--transition);
}

.site-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--muted);
    font-weight: 500;
}

.site-nav a.active, .site-nav a:hover {
    color: var(--primary);
}

.hero-section {
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-content h1 {
    font-size: clamp(2.3rem, 2.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn.small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.text-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-grid {
    display: grid;
    gap: 2rem;
}

.card-grid.three {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.card img {
    border-radius: calc(var(--radius) - 4px);
}

.card h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.3rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-card img {
    border-radius: 0;
}

.blog-card .blog-content {
    padding: 1.8rem;
}

.split {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.split.reverse {
    direction: rtl;
}

.split.reverse > * {
    direction: ltr;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.9rem;
    color: var(--muted);
}

.feature-list li::before {
    content: "✔";
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 2px;
}

.highlight-box {
    background-color: rgba(13, 71, 161, 0.08);
    border-radius: var(--radius);
    padding: 1.6rem;
    margin-top: 1.5rem;
}

.contact-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 0.8rem;
    color: var(--muted);
}

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

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    border: 1px solid #CBD5F5;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

.form-status {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary);
}

.gallery {
    display: grid;
    gap: 1.8rem;
}

.gallery.four {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery figure {
    margin: 0;
    text-align: left;
}

.gallery figcaption {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table th, table td {
    padding: 1.1rem 1rem;
    text-align: left;
}

table thead {
    background-color: var(--primary);
    color: var(--white);
}

table tbody tr:nth-child(even) {
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
    background-color: var(--white);
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0;
}

.testimonial p {
    font-style: italic;
    color: var(--muted);
}

.testimonial cite {
    display: block;
    margin-top: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.site-footer a {
    color: var(--white);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--white);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-copy {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 888;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.2);
    display: flex;
    justify-content: center;
    z-index: 999;
}

.cookie-banner p {
    margin: 0;
    max-width: 780px;
    line-height: 1.5;
}

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

.cookie-banner .btn {
    margin-left: 1.2rem;
    white-space: nowrap;
}

.cookie-banner.hidden {
    display: none;
}

.legal-section h1 {
    font-size: clamp(2rem, 2.3vw, 2.6rem);
    margin-bottom: 2rem;
    color: var(--dark);
}

.legal-section h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    color: var(--primary);
}

.legal-section p, .legal-section ul {
    color: var(--muted);
}

.legal-section ul {
    padding-left: 1.2rem;
}

@media (max-width: 960px) {
    .site-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .site-nav.open {
        max-height: 400px;
    }

    .site-nav .nav-links {
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .split.reverse {
        direction: ltr;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 4rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.6rem;
    }

    table {
        min-width: auto;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner .btn {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}