:root {
    --color-primary: #0047AB;
    --color-secondary: #F3F4F6;
    --color-accent: #B76E79;
    --color-dark: #1F2933;
    --color-text: #30363D;
    --color-light: #FFFFFF;
    --color-muted: #6B7280;
    --max-width: 1120px;
    --font-base: 'Urbanist', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-light);
    line-height: 1.6;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul, ol {
    margin-top: 0;
    padding-left: 1.5rem;
}

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

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-light);
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

.top-bar {
    background: var(--color-dark);
    color: var(--color-light);
    font-size: 0.9rem;
}

.top-bar-inner {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.top-bar a {
    color: var(--color-light);
}

.site-header {
    border-bottom: 1px solid var(--color-secondary);
    background: var(--color-light);
    position: sticky;
    top: 0;
    z-index: 500;
}

.header-main {
    padding: 0.75rem 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-dark);
}

.nav-toggle {
    display: none;
}

.burger {
    width: 2rem;
    height: 1.5rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--color-dark);
}

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

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

.main-nav a.active {
    color: var(--color-primary);
}

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.08), rgba(183, 110, 121, 0.08));
}

.hero-small {
    padding: 3rem 0;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
}

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

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

.btn-outline {
    border-color: var(--color-light);
    color: var(--color-light);
}

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

.text-link {
    font-weight: 600;
}

.section {
    padding: 3.5rem 0;
}

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

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

.section-dark h2,
.section-dark p,
.section-dark li,
.section-dark a {
    color: var(--color-light);
}

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

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-image img {
    border-radius: 16px;
}

.styled-list li {
    margin-bottom: 0.75rem;
}

.responsive-table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-light);
}

caption {
    text-align: left;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-secondary);
}

th {
    background: rgba(0, 71, 171, 0.08);
    text-align: left;
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: center;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

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

.service-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--color-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

.cta-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

.form-wrapper {
    background: var(--color-light);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .form-row {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

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

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-base);
}

.form-feedback {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--color-primary);
    background: rgba(0, 71, 171, 0.08);
}

.legal h1 {
    margin-bottom: 1.5rem;
}

.legal h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.footer-brand p,
.footer-nav ul,
.footer-legal ul {
    color: var(--color-light);
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 540px;
    background: var(--color-light);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    z-index: 900;
}

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

.cookie-content h3 {
    margin-bottom: 0.75rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .main-nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: var(--color-light);
        display: none;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.4rem;
    }

    .nav-toggle:checked + .burger + .main-nav {
        display: flex;
    }

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

    .form-wrapper {
        padding: 2rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
    }

    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }
}