*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: var(--theme-page-background, #f1f5f9);
}

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

a {
    color: var(--theme-primary-button-background, #059669);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    background: linear-gradient(
        120deg,
        var(--theme-header-background, #0c1222) 0%,
        var(--theme-header-background-secondary, #1a2e1f) 100%
    );
    color: var(--theme-company-name-colour, #ffffff);
    border-bottom: 4px solid var(--theme-header-accent-bar, #10b981);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.header-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem 1.25rem;
    margin-left: auto;
    min-width: 0;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #0c1222;
    background: #f5f0e6;
    white-space: nowrap;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.header-phone:hover,
.header-phone:focus-visible {
    color: #0c1222;
    background: #fff8ee;
    text-decoration: none;
    filter: brightness(1.03);
}

.header-phone__icon {
    flex-shrink: 0;
    transform-origin: center center;
}

.header-phone:hover .header-phone__icon,
.header-phone:focus-visible .header-phone__icon {
    animation: header-phone-waggle 2s ease-in-out infinite;
}

@keyframes header-phone-waggle {
    0%,
    50%,
    100% {
        transform: rotate(0deg);
    }

    6.25% {
        transform: rotate(14deg);
    }

    12.5% {
        transform: rotate(-12deg);
    }

    18.75% {
        transform: rotate(12deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    31.25% {
        transform: rotate(10deg);
    }

    37.5% {
        transform: rotate(-8deg);
    }

    43.75% {
        transform: rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-phone:hover .header-phone__icon,
    .header-phone:focus-visible .header-phone__icon {
        animation: none;
    }
}

.brand-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    max-width: min(100%, 34rem);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark--footer {
    align-items: flex-start;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.brand-logo {
    display: block;
    flex-shrink: 0;
    height: clamp(3.25rem, 8vw, 4.75rem);
    width: auto;
    max-width: 4.75rem;
    object-fit: contain;
}

.brand-logo--footer {
    height: 3.25rem;
    max-width: 3.25rem;
}

.brand-acronym {
    display: block;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--theme-company-name-colour, #ffffff);
}

.brand-acronym--footer {
    font-size: 1.5rem;
    color: #f8fafc;
}

.site-name {
    display: block;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--theme-company-name-colour, #ffffff);
    line-height: 1.25;
}

.brand--with-emblem .site-name {
    font-size: clamp(0.8rem, 1.8vw, 0.98rem);
    font-weight: 600;
    opacity: 0.95;
}

.brand .tagline {
    display: block;
    margin-top: 0.2rem;
    max-width: 26rem;
    font-size: clamp(0.7rem, 1.6vw, 0.82rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--theme-tagline-colour, #f5f0e6);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--theme-navigation-link-colour, #ffffff);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.site-nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.5rem;
    padding: 0;
    margin: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-item-row {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-menu .nav-link {
    color: var(--theme-navigation-link-colour, #ffffff);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.35rem;
    background: transparent;
    border: none;
    color: var(--theme-navigation-link-colour, #ffffff);
    cursor: pointer;
    border-radius: 6px;
    font-family: inherit;
    line-height: 1;
}

.nav-chevron:hover,
.nav-chevron:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.nav-chevron-icon {
    font-size: 1rem;
    transition: transform 0.15s ease;
}

.has-dropdown.is-open > .nav-item-row .nav-chevron-icon,
.has-dropdown.is-hover > .nav-item-row .nav-chevron-icon {
    transform: rotate(180deg);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link[aria-current="page"],
.has-dropdown.is-active > .nav-item-row .nav-link,
.nav-chevron:hover,
.has-dropdown.is-open > .nav-item-row .nav-chevron,
.has-dropdown.is-hover > .nav-item-row .nav-chevron {
    color: var(--theme-company-name-colour, #ffffff);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link[aria-current="page"],
.has-dropdown.is-active > .nav-item-row .nav-link {
    border-bottom-color: var(--theme-navigation-active-accent, #f5f0e6);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 0;
    z-index: 50;
    background: var(--theme-dropdown-background, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.nav-dropdown::before {
    content: "";
    display: block;
    height: 0.5rem;
    background: var(--theme-dropdown-background, #0f172a);
}

.nav-dropdown > li:first-child a {
    border-radius: 0;
}

.nav-dropdown > li:last-child a {
    border-radius: 0;
}

.has-dropdown.is-open > .nav-dropdown,
.has-dropdown.is-hover > .nav-dropdown {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .has-dropdown:hover > .nav-dropdown,
    .has-dropdown:focus-within > .nav-dropdown {
        display: block;
    }

    .has-dropdown:hover > .nav-item-row .nav-chevron-icon,
    .has-dropdown:focus-within > .nav-item-row .nav-chevron-icon {
        transform: rotate(180deg);
    }
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    border-bottom: none;
    color: var(--theme-dropdown-text, #ffffff);
    background: transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
    background: var(--theme-dropdown-hover-background, #1e293b);
    color: var(--theme-dropdown-hover-text, #ffffff);
}

.nav-dropdown a[aria-current="page"] {
    background: var(--theme-dropdown-active-background, #243b52);
    color: var(--theme-dropdown-active-text, #f5f0e6);
}

.nav-dropdown > li + li a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-wrap {
    padding: 1.5rem 0 3rem;
}

.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    color: #64748b;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.35rem;
    color: #94a3b8;
}

.breadcrumbs a {
    color: #475569;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.page-main {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.page-hero {
    position: relative;
    margin: -2rem -2rem 2rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    min-height: 220px;
}

.page-hero__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(12, 18, 34, 0.15) 0%, rgba(12, 18, 34, 0.82) 100%);
    color: #fff;
}

.page-hero__overlay h1 {
    color: #fff;
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-hero__overlay .intro {
    margin: 0.75rem 0 0;
    max-width: 42rem;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.page-header h1 {
    margin-top: 0;
}

h1 {
    color: var(--theme-page-heading-colour, #0f172a);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    color: var(--theme-section-heading-colour, #065f46);
    font-size: 1.35rem;
    margin-top: 0;
}

.intro {
    font-size: 1.1rem;
    color: #475569;
}

.page-body {
    margin-bottom: 1.5rem;
    color: #334155;
}

.sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.section:first-child {
    border-top: none;
    padding-top: 0;
}

.section__card {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.section__split {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.section__image img {
    border-radius: 10px;
    width: 100%;
}

.section__cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
    border: 1px solid #a7f3d0;
}

.section__grid-title {
    text-align: center;
    margin-bottom: 1.25rem;
}

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

.feature-card {
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    color: var(--theme-section-heading-colour, #065f46);
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0 0 1rem;
    color: #475569;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.6rem 1.1rem;
    transition: filter 0.15s ease;
}

.btn-primary {
    background: var(--theme-primary-button-background, #059669);
    color: var(--theme-primary-button-text, #ffffff);
}

.btn-secondary {
    background: #fff;
    color: var(--theme-primary-button-background, #059669);
    border: 1px solid var(--theme-primary-button-background, #059669);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
}

.btn:hover {
    filter: brightness(0.92);
}

.contact-details {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-whatsapp {
    margin: 1.75rem 0 0;
    max-width: 8rem;
}

.contact-whatsapp__label {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.contact-whatsapp__link {
    display: inline-block;
    line-height: 0;
    border-radius: 4px;
    outline-offset: 2px;
}

.contact-whatsapp__link:focus-visible {
    outline: 2px solid var(--theme-header-accent-bar, #10b981);
}

.contact-whatsapp__qr {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

button {
    background: var(--theme-primary-button-background, #059669);
    color: var(--theme-primary-button-text, #ffffff);
    border: none;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

button:hover {
    filter: brightness(0.92);
}

.nav-toggle,
.nav-chevron {
    background: transparent;
    color: var(--theme-navigation-link-colour, #ffffff);
    padding: 0;
}

.nav-toggle:hover,
.nav-chevron:hover {
    filter: none;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.field-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.captcha-panel {
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.captcha-image-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.captcha-image {
    display: block;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
}

.captcha-refresh {
    background: #fff;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.captcha-refresh:hover {
    filter: none;
    background: #f1f5f9;
}

.captcha-hint {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

.preview-banner {
    background: #fef3c7;
    color: #92400e;
    border-bottom: 2px solid #f59e0b;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: auto;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 2.5rem 1.25rem;
}

.site-footer__brand {
    max-width: 28rem;
}

.site-footer__name {
    display: block;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.site-footer__tagline {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #cbd5e1;
}

.site-footer h2 {
    color: #f8fafc;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

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

.site-footer li {
    margin-bottom: 0.35rem;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #e2e8f0;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.25rem;
}

.site-footer__bottom-inner p {
    margin: 0;
}

.site-footer__legal a,
.cookie-settings-link {
    color: #94a3b8;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.site-footer__legal a:hover,
.cookie-settings-link:hover {
    color: #e2e8f0;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #0c1222;
    color: #f8fafc;
    border-top: 3px solid var(--theme-header-accent-bar, #10b981);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    padding: 1rem 0;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner__text {
    margin: 0;
    flex: 1 1 16rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #a7f3d0;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-banner__btn {
    border-radius: 6px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.cookie-banner__btn--accept {
    background: var(--theme-primary-button-background, #059669);
    color: var(--theme-primary-button-text, #ffffff);
    border-color: var(--theme-primary-button-background, #059669);
}

.cookie-banner__btn--reject {
    background: transparent;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--reject:hover {
    filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: none;
    }
}

@media (min-width: 768px) {
    .section__split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: flex;
        justify-content: flex-end;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        width: auto;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-end;
    }

    .header-tools {
        width: auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.45rem;
    }

    .header-phone {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        gap: 0.35rem;
    }

    .header-phone__icon {
        width: 15px;
        height: 15px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0;
        flex-basis: 100%;
    }

    .header-tools:has(.nav-menu.is-open) {
        width: 100%;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-item-row {
        width: 100%;
        justify-content: space-between;
    }

    .nav-menu .nav-link {
        flex: 1;
        display: block;
        padding: 0.65rem 0;
    }

    .nav-chevron {
        flex-shrink: 0;
    }

    .nav-dropdown {
        position: static;
        padding: 0;
        margin-top: 0.25rem;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-dropdown a {
        border-radius: 0;
        padding-left: 0.75rem;
    }

    .has-dropdown.is-open > .nav-dropdown,
    .has-dropdown.is-hover > .nav-dropdown {
        display: block;
        background: var(--theme-dropdown-background, #0f172a);
        border-radius: 0;
    }

    @media (hover: hover) and (pointer: fine) {
        .has-dropdown:hover > .nav-dropdown,
        .has-dropdown:focus-within > .nav-dropdown {
            display: none;
        }

        .has-dropdown.is-open > .nav-dropdown,
        .has-dropdown.is-hover > .nav-dropdown {
            display: block;
        }
    }

    .page-main {
        padding: 1.25rem;
    }

    .page-hero {
        margin: -1.25rem -1.25rem 1.5rem;
    }

    .page-hero__image {
        height: 200px;
    }

    .page-hero__overlay {
        padding: 1.25rem;
    }
}
