:root {
    --blue-dark: #1e2a6b;
    /* Matches primary CTA / logo-adjacent blue (was #00b8f0) */
    --blue-accent: #0096c7;
    --red: #e63939;
    --light-bg: #f4f6f9;
    /* Single UI stack site-wide (Arabic + Latin); Font Awesome keeps its own face on .fa/.fas */
    --font-body: 'Tajawal', sans-serif;
    --text-body: #3a4050;
    --text-muted: #5a6270;
    /* Contact fields — Tailwind-like focus / invalid / disabled (sky / pink / gray) */
    --form-focus-border: #0ea5e9;
    --form-focus-ring: #0ea5e9;
    --form-invalid-border: #ec4899;
    --form-invalid-text: #db2777;
    --form-invalid-ring: #ec4899;
    --form-disabled-border: #e5e7eb;
    --form-disabled-bg: #f9fafb;
    --form-disabled-text: #6b7280;
    /* Primary CTAs — Tailwind-like fully rounded (rounded-full) */
    --btn-radius: 9999px;
    /* Shared button sizing — CTAs, form submit, cookie bar (all use .btn / .submit-btn) */
    --btn-min-height: 44px;
    --btn-padding-block: 0.625rem;
    --btn-padding-inline: 1.5rem;
    --btn-font-size: 1.0625rem;
    /* <1 shrinks all rem-based type; footer uses calc(.../var) to keep prior size */
    --doc-font-scale: 1.0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: calc(100% * var(--doc-font-scale));
    font-family: var(--font-body);
}

img {
    max-width: 100%;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.72;
    color: var(--text-body);
    background: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    font-family: inherit;
}

/* Header & Navigation — scope to #main-header only so inner <header class="page-hero"> stays in document flow */
#main-header {
    background-color: #ffffff;
    color: var(--blue-dark);
    position: fixed;
    width: 100%;
    top: 0;
    /* Above main content (maps, cards, stacking contexts); below cookie bar (9990) & skip-link (9999) */
    z-index: 8500;
    padding-top: max(15px, env(safe-area-inset-top, 0px));
    padding-bottom: 15px;
    box-shadow: 0 2px 12px rgba(30, 42, 107, 0.08);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-left: max(25px, env(safe-area-inset-left, 0px));
    padding-right: max(25px, env(safe-area-inset-right, 0px));
    position: relative;
}

.logo {
    flex-shrink: 0;
    min-width: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.9;
}

.logo a:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
}

.logo img {
    width: 85px;
    height: auto;
    max-width: min(200px, 46vw);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(30, 42, 107, 0.12));
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-nav a {
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--blue-accent);
}

.site-nav a[aria-current='page'] {
    color: var(--blue-accent);
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--blue-dark);
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    background: rgba(30, 42, 107, 0.08);
    outline: none;
}

.mobile-menu-btn[aria-expanded='true'] {
    background: rgba(30, 42, 107, 0.12);
}

/* Language toggle — English | العربية (LTR order on screen) */
.lang-switch {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    padding: 4px 5px;
    gap: 2px;
    background: linear-gradient(155deg, rgba(30, 42, 107, 0.06) 0%, rgba(30, 42, 107, 0.02) 100%);
    border: 1px solid rgba(30, 42, 107, 0.12);
    border-radius: 100px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.85),
        0 2px 10px rgba(30, 42, 107, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lang-switch-pipe {
    color: rgba(30, 42, 107, 0.35);
    font-size: 0.8rem;
    font-weight: 400;
    user-select: none;
    padding: 0 1px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(30, 42, 107, 0.55);
    padding: 6px 11px;
    min-height: 34px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.2s ease;
}

.lang-btn:hover:not([aria-pressed='true']) {
    color: var(--blue-dark);
}

.lang-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--blue-dark), 0 0 0 4px rgba(0, 150, 199, 0.65);
    z-index: 1;
}

.lang-btn[aria-pressed='true'] {
    color: var(--blue-accent);
    font-weight: 700;
}


/* Hero (home) — edge-to-edge within <main> (avoid 100vw: scrollbar mismatch causes thin “white line”) */
.hero {
    --hero-scrim: linear-gradient(120deg, rgba(30, 42, 107, 0.88) 0%, rgba(30, 42, 107, 0.55) 45%, rgba(30, 42, 107, 0.78) 100%);
    position: relative;
    isolation: isolate;
    overflow: clip;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    /* Top offset inside padding so background covers the strip under the fixed header (margin would show body bg as a “white line”) */
    padding-top: calc(85px + 1.5rem);
    padding-bottom: 2rem;
    box-sizing: border-box;
    background-color: var(--blue-dark);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    line-height: 0;
    font-size: 0;
}

.hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hero-scrim);
    pointer-events: none;
}

/* Inner page hero */
.page-hero {
    min-height: 42vh;
    margin-top: 0;
    padding: calc(85px + 140px) 25px 70px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, #2a3a8f 50%, var(--blue-dark) 100%);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4.8vw, 2.55rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.22;
    text-wrap: balance;
}

.page-hero p {
    font-size: clamp(1.02rem, 2.4vw, 1.2rem);
    line-height: 1.62;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero .contact-hero-reply-hint {
    margin-top: 1.1rem;
    font-size: 0.98rem;
    line-height: 1.55;
    opacity: 0.88;
    max-width: 640px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
}

.hero h1 {
    font-size: clamp(2.35rem, 7.5vw, 4.15rem);
    margin-bottom: 1.1rem;
    font-weight: 900;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero p {
    font-size: clamp(1.08rem, 2.6vw, 1.42rem);
    line-height: 1.58;
    margin-bottom: 1.25rem;
    opacity: 0.96;
    max-width: 40rem;
    margin-inline: auto;
}

.hero .lead {
    margin-bottom: 2rem;
    opacity: 0.92;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    min-height: var(--btn-min-height);
    padding: var(--btn-padding-block) var(--btn-padding-inline);
    margin: 12px 8px;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: var(--btn-font-size);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    touch-action: manipulation;
    box-sizing: border-box;
}

.btn-blue {
    background-color: var(--blue-accent);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 1);
    color: #fff;
}

.btn-blue:hover {
    background-color: var(--blue-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 150, 199, 0.3);
}

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

.btn-red:hover {
    background: #c92f2f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 57, 0.3);
}

/* Native <button> with .btn — remove default border; keep .btn-outline border */
button.btn {
    border: none;
    cursor: pointer;
}

button.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.55);
}

/* Sections — generous vertical rhythm */
section {
    padding: clamp(5rem, 10vw, 7.75rem) clamp(1.25rem, 4vw, 2rem);
}

.container {
    max-width: 1250px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: clamp(1.32rem, 3.2vw, 1.92rem);
    margin-bottom: clamp(1.35rem, 3.2vw, 2.1rem);
    color: var(--blue-dark);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

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

.section-white {
    background: white;
}

/* Legal (privacy / terms) */
.legal-document {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 3rem;
    color: var(--text-body);
    text-align: start;
}

.legal-document .legal-section {
    margin-bottom: 2.35rem;
}

.legal-document .legal-section:last-child {
    margin-bottom: 0;
}

.legal-document .legal-section > h2 {
    text-align: start;
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--blue-dark);
    font-weight: 700;
}

.legal-document > section.legal-section:first-of-type > h2 {
    margin-top: 0;
}

.legal-document .legal-section + .legal-section > h2 {
    padding-top: 0.35rem;
}

.legal-document .legal-h3 {
    text-align: start;
    font-size: 1.08rem;
    margin: 1.35rem 0 0.45rem;
    color: #2d3d92;
    font-weight: 650;
    line-height: 1.35;
}

.legal-document .legal-section > .legal-h3:first-of-type {
    margin-top: 0.5rem;
}

.legal-document p {
    margin: 0 0 1rem;
    line-height: 1.85;
    font-size: 1.02rem;
}

#site-header:empty {
    min-height: 88px;
}

/* Fixed #main-header does not expand the wrapper; reserve height so layout/paint stays stable (esp. mobile). */
#site-header:not(:empty) {
    min-height: 88px;
}

#site-footer:empty {
    min-height: 148px;
}

.legal-document .legal-updated {
    font-size: 0.92rem;
    color: #666;
    margin: 0 0 1.5rem;
}

.legal-document .legal-disclaimer {
    font-size: 0.95rem;
    color: #555;
    padding: 1rem 1.1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-inline-start: 4px solid var(--blue-accent);
    margin-bottom: 1.5rem;
}

.legal-document .legal-actions {
    margin-top: 2.5rem;
    text-align: center;
}

.legal-document .legal-actions .btn {
    margin: 8px 6px;
}

/* About — embedded map */
.map-section-lead {
    text-align: center;
    color: #555;
    font-size: 1.08rem;
    margin: -1.5rem auto 0.75rem;
    max-width: 640px;
    line-height: 1.6;
}

.map-address {
    text-align: center;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 auto 1.5rem;
}

.map-embed {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(30, 42, 107, 0.15);
    aspect-ratio: 16 / 10;
    min-height: 240px;
    background: #e2e6ef;
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link-wrap {
    text-align: center;
    margin: 0;
}

.map-link-wrap a {
    display: inline-block;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 6px 4px;
    transition: color 0.2s ease;
}

.map-link-wrap a:hover {
    color: var(--blue-accent);
}

/* Reusable centered CTA paragraph inside a section */
.section-cta-wrap {
    text-align: center;
    margin-top: 2.25rem;
}

/* ── About page ──────────────────────────────────────────────────────────── */

/* Hero CTA button row inside .page-hero */
.hero-cta-wrap {
    margin-top: 1.75rem;
}

/* Story section */
.about-story-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    line-height: 1.78;
    color: #444;
}

/* Mission / Vision / Values */
.mvv-section {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

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

.mvv-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--blue-accent);
}

.mvv-card .mvv-icon {
    font-size: 2rem;
    color: var(--blue-accent);
    margin-bottom: 0.9rem;
}

.mvv-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.6rem;
}

.mvv-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Company Timeline */
.timeline-section {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.timeline {
    position: relative;
    max-width: 640px;
    margin: 2rem auto 0;
    padding-inline-start: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    inset-inline-start: 0.65rem;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue-accent), rgba(0, 150, 199, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    inset-inline-start: -1.85rem;
    top: 0.3rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(0, 150, 199, 0.15);
}

.timeline-year {
    display: inline-block;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--blue-accent);
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
}

.timeline-text {
    color: var(--text-body);
    line-height: 1.6;
    font-size: 0.975rem;
}

/* Stats strip */
.about-stats-section {
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    max-width: 1120px;
    margin-inline: auto;
}

.about-stat {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    position: relative;
}

/* vertical divider between stats (RTL-safe) */
.about-stat + .about-stat::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(30, 42, 107, 0.14);
}

.about-stat-number {
    font-size: clamp(2rem, 5.5vw, 2.85rem);
    font-weight: 900;
    color: var(--blue-dark);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.about-stat-number--count .about-stat-number__value {
    display: inline-block;
    min-width: 3.25ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.about-stat-label {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

/* On narrow screens stats stack vertically — replace side divider with top border */
@media (max-width: 480px) {
    .about-stat + .about-stat::before {
        inset-inline-start: auto;
        top: 0;
        left: 20%;
        width: 60%;
        height: 1px;
    }
}

/* Final CTA section — used on about + all inner pages */
.about-cta-section,
.page-cta-section {
    background: var(--blue-dark);
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
    text-align: center;
    color: white;
}

.about-cta-section h2,
.page-cta-section h2 {
    color: white;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 0.85rem;
}

.about-cta-lead,
.page-cta-lead {
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 0.5rem;
    line-height: 1.65;
}

.about-cta-btns,
.page-cta-btns {
    margin-top: 0.5rem;
}

/* Outline button — secondary action on dark backgrounds */
.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Trust strip — partner / supplier logos (home, full width of main) */
.trust-strip {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: clamp(2rem, 4.5vw, 2.85rem) clamp(1.25rem, 4vw, 2rem);
    background: #fff;
    border-block: 1px solid rgba(30, 42, 107, 0.1);
    box-shadow: 0 12px 40px rgba(30, 42, 107, 0.04);
}

.trust-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-strip__kicker {
    margin: 0 0 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

html[lang='ar'] .trust-strip__kicker,
[dir='rtl'] .trust-strip__kicker {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
}

.trust-strip__title {
    margin: 0 0 clamp(1.25rem, 3vw, 1.85rem);
    text-align: center;
    font-size: clamp(1.28rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--blue-dark);
    letter-spacing: 0.02em;
}

.trust-strip__logos {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust-strip__logos-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 3.5rem);
    width: max-content;
    animation: marquee-scroll 24s linear infinite;
    direction: ltr;
}

.trust-strip__logos-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.lead {
    font-size: clamp(1.08rem, 2.2vw, 1.28rem);
    line-height: 1.65;
    color: var(--text-muted);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

a.product-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    outline-offset: 3px;
}

a.product-card--link:focus-visible {
    outline: 3px solid var(--blue-accent);
    box-shadow: 0 0 0 4px rgba(0, 150, 199, 0.25);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card h3 {
    padding: 18px 22px 8px;
    color: var(--blue-dark);
    font-size: 1.35rem;
}

.product-card p {
    padding: 0 22px 25px;
    color: var(--text-muted);
    line-height: 1.62;
}

.product-card[id] {
    scroll-margin-top: calc(88px + 1rem);
}

/* Services list */
.services-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 28px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-right: 4px solid var(--blue-accent);
}

.service-card h3 {
    color: var(--blue-dark);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.65;
}

.service-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.service-card__head h3 {
    margin-bottom: 0;
    flex: 1 1 12rem;
}

.service-card__more {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--blue-accent);
    text-decoration: none;
    white-space: nowrap;
}

.service-card__more:hover {
    text-decoration: underline;
}

.services-detail-section {
    padding: 2.75rem 0 3.25rem;
}

.services-detail-section > .container > h2 {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 44rem;
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    color: var(--blue-dark);
}

.service-detail {
    scroll-margin-top: calc(88px + 1rem);
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 30px;
    margin-bottom: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border-inline-start: 4px solid var(--blue-accent);
}

.service-detail:last-of-type {
    margin-bottom: 0;
}

.service-detail__header h3 {
    color: var(--blue-dark);
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.service-detail__intro {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.service-detail__grid {
    display: grid;
    gap: 22px 28px;
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail__col--wide {
    grid-column: 1 / -1;
}

.service-detail__col h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--blue-dark);
}

.service-detail__steps,
.service-detail__list {
    margin: 0;
    padding-inline-start: 1.35rem;
    color: var(--text-body);
    line-height: 1.68;
    font-size: 0.97rem;
}

.service-detail__steps li + li,
.service-detail__list li + li {
    margin-top: 6px;
}

.service-detail__footnote {
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.62;
}

@media (max-width: 720px) {
    .service-detail__grid {
        grid-template-columns: 1fr;
    }

    .service-detail__col--wide {
        grid-column: auto;
    }
}

body.aluka-cookie-consent-on {
    padding-bottom: max(120px, env(safe-area-inset-bottom, 0px));
}

.aluka-cookie-consent {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9990;
    padding: 16px max(20px, env(safe-area-inset-left, 0px)) max(18px, env(safe-area-inset-bottom, 0px))
        max(20px, env(safe-area-inset-right, 0px));
    background: rgba(24, 31, 72, 0.96);
    color: #fff;
    box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.aluka-cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.aluka-cookie-consent__textwrap {
    flex: 1 1 320px;
    min-width: 0;
}

.aluka-cookie-consent__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.aluka-cookie-consent__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.aluka-cookie-consent__privacy {
    color: var(--blue-accent);
    font-weight: 700;
    text-underline-offset: 2px;
}

.aluka-cookie-consent__privacy:hover {
    color: #fff;
}

.aluka-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.aluka-cookie-consent .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.aluka-cookie-consent .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-link-list .footer-link-btn {
    display: inline-block;
    padding: 0.2rem 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: calc(0.8125rem / var(--doc-font-scale));
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-align: start;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-link-list .footer-link-btn:hover {
    color: var(--blue-accent);
}

.footer-bottom-links .footer-link-btn--inline {
    font: inherit;
    font-size: calc(0.8125rem / var(--doc-font-scale));
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer-bottom-links .footer-link-btn--inline:hover {
    color: var(--blue-accent);
}

.partner-logo {
    width: 168px;
    height: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fc;
    border-radius: 10px;
    border: 1px solid rgba(30, 42, 107, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    filter: grayscale(1);
    opacity: 0.72;
    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.trust-strip .partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: rgba(0, 150, 199, 0.35);
    box-shadow:
        0 10px 28px rgba(30, 42, 107, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partner-logo img {
    max-width: 92%;
    max-height: 72%;
    object-fit: contain;
}

.partner-logo-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.partner-logo-link:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Projects */
.projects-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8eaf0;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.project-filter-btn {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--btn-min-height);
    padding: var(--btn-padding-block) 1.125rem;
    border-radius: 100px;
    border: 1px solid #d1d5e0;
    background: #fff;
    color: var(--blue-dark);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    touch-action: manipulation;
}

.project-filter-btn:hover {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

.project-filter-btn[aria-pressed='true'] {
    background: var(--blue-dark);
    color: #fff;
    border-color: var(--blue-dark);
    box-shadow: 0 2px 10px rgba(30, 42, 107, 0.2);
}

.project-filter-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue-accent);
}

.projects-filter-count {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    font-weight: 600;
    min-height: 1.35em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item[hidden] {
    display: none;
}

.project-item.is-hiding {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.project-item.is-showing {
    animation: projectFadeIn 0.35s ease forwards;
}

@keyframes projectFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 42, 107, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* Phones / touch: titles stay visible (no hover) */
@media (hover: none),
(pointer: coarse) {
    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(30, 42, 107, 0.92), transparent 55%);
    }

    .project-item:hover img {
        transform: none;
    }
}

.project-overlay h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

/* Why us — card grid, readable wrapping, icon hover only */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.35rem;
    max-width: 1180px;
    margin-inline: auto;
}

@media (min-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 899px) and (min-width: 520px) {
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 1.65rem 1.2rem 1.65rem;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(30, 42, 107, 0.09);
    box-shadow:
        0 4px 22px rgba(30, 42, 107, 0.07),
        0 1px 2px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease;
}

.why-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 150, 199, 0.22);
    box-shadow:
        0 16px 40px rgba(30, 42, 107, 0.11),
        0 6px 16px rgba(0, 150, 199, 0.1);
}

.why-item h3 {
    color: var(--blue-dark);
    margin: 0.85rem 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.why-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--text-muted);
    max-width: 17em;
}

.why-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    font-size: 1.5rem;
    color: var(--blue-accent);
    border-radius: 12px;
    background: transparent;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.why-item:hover .icon {
    transform: scale(1.06);
    color: #fff;
    background: linear-gradient(160deg, var(--blue-accent), #006f91);
    box-shadow: 0 6px 16px rgba(0, 150, 199, 0.32);
}

h2.why-section-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3.6vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Contact */
.contact-section {
    background: var(--blue-dark);
    color: white;
    position: relative;
}

.contact-section h2 {
    color: white;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

.contact-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    color: #333;
    position: relative;
}

.contact-card--details {
    padding-inline-end: 3.75rem;
}

@media (max-width: 480px) {
    .contact-card--details h3 {
        /* Keep the heading clear of the corner WhatsApp button on narrow phones */
        padding-inline-end: 2.75rem;
    }
}

.contact-card h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--blue-dark);
    text-align: start;
}

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

.contact-tel-list li {
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.contact-tel-list .contact-tel-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.2rem;
}

.contact-tel-list a {
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

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

.contact-email-block {
    margin: 0.5rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid #e8eaf0;
}

.contact-email-address {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--blue-dark);
    text-decoration: none;
    word-break: break-all;
    line-height: 1.35;
}

.contact-email-address:hover {
    color: var(--blue-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-email-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.45rem;
}

.contact-email-sublabel {
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
}

.contact-email-copy-btn {
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: var(--btn-radius);
    border: 1px solid rgba(30, 42, 107, 0.35);
    background: #fff;
    color: var(--blue-dark);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    touch-action: manipulation;
}

.contact-email-copy-btn:hover {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

.contact-email-copy-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 150, 199, 0.35);
}

.contact-copy-status {
    display: block;
    min-height: 1.35em;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a6b3d;
}

.contact-wa-only {
    position: absolute;
    top: 1.25rem;
    inset-inline-end: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-wa-only:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Sticky WhatsApp (primary channel — always visible) */
.whatsapp-float {
    position: fixed;
    z-index: 1100;
    bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 0.75rem));
    inset-inline-end: max(1.25rem, env(safe-area-inset-inline-end, 0px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow:
        0 4px 18px rgba(37, 211, 102, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    touch-action: manipulation;
}

.whatsapp-float__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Font Awesome draws the glyph on ::before; match font-size to box so it stays centered and small */
.whatsapp-float .whatsapp-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 22px;
    line-height: 1;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.06);
    box-shadow:
        0 6px 24px rgba(37, 211, 102, 0.55),
        0 4px 12px rgba(0, 0, 0, 0.14);
}

.whatsapp-float:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px var(--blue-dark),
        0 0 0 5px rgba(0, 150, 199, 0.75),
        0 6px 24px rgba(37, 211, 102, 0.45);
}

@media print {
    .whatsapp-float {
        display: none !important;
    }
}

.contact-map-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.map-embed--contact {
    max-width: none;
    margin: 0;
    aspect-ratio: 16 / 9;
    min-height: 160px;
}

.contact-map-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--blue-dark);
    background: rgba(0, 150, 199, 0.15);
    border: 1px solid rgba(0, 150, 199, 0.45);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-map-cta:hover {
    background: var(--blue-accent);
    color: #0d122e;
    border-color: var(--blue-accent);
}

.contact-form-success {
    max-width: 700px;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.14);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #0d3d24;
    font-weight: 600;
    line-height: 1.5;
    outline: none;
    scroll-margin-top: calc(88px + 1rem);
}

.contact-form-success:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.35);
}

.contact-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1.75rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--text-body);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--blue-dark);
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.5;
    background-color: #fff;
    box-shadow: none;
    transition:
        border-color 0.15s ease,
        outline-color 0.15s ease,
        color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
    outline: 2px solid transparent;
    outline-offset: 0;
}

/* focus:border-sky-500 focus:outline focus:outline-sky-500 */
.form-control:focus {
    border-color: var(--form-focus-border);
    outline: 2px solid var(--form-focus-ring);
    box-shadow: none;
}

/* invalid:border-pink-500 invalid:text-pink-600 */
.form-control.is-invalid,
.form-control[aria-invalid='true'] {
    border-color: var(--form-invalid-border);
    color: var(--form-invalid-text);
}

.form-control.is-invalid::placeholder,
.form-control[aria-invalid='true']::placeholder {
    color: #9ca3af;
}

/* focus:invalid:border-pink-500 focus:invalid:outline-pink-500 */
.form-control.is-invalid:focus,
.form-control[aria-invalid='true']:focus {
    border-color: var(--form-invalid-ring);
    outline-color: var(--form-invalid-ring);
    box-shadow: none;
}

/* disabled:border-gray-200 disabled:bg-gray-50 disabled:text-gray-500 disabled:shadow-none */
.form-control:disabled {
    border-color: var(--form-disabled-border);
    background-color: var(--form-disabled-bg);
    color: var(--form-disabled-text);
    box-shadow: none;
    outline: none;
    cursor: not-allowed;
    opacity: 1;
}

@media (prefers-color-scheme: dark) {
    .form-control:disabled {
        border-color: #374151;
        background-color: rgba(31, 41, 55, 0.2);
        color: #9ca3af;
    }
}

.form-field-error {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a61e1e;
    line-height: 1.45;
}

.submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    background: var(--red);
    color: white;
    border: none;
    padding: var(--btn-padding-block) var(--btn-padding-inline);
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: var(--btn-font-size);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    touch-action: manipulation;
    min-height: var(--btn-min-height);
    box-sizing: border-box;
}

.submit-btn:hover {
    background: #c92f2f;
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

.submit-btn i+span {
    margin-inline-start: 0.35em;
}

/* Footer — same family as header: deep blue, soft cyan hovers */
.site-footer {
    background: linear-gradient(180deg, var(--blue-dark) 0%, #182256 100%);
    color: rgba(255, 255, 255, 0.72);
    padding: 0;
    border-top: 1px solid rgba(0, 150, 199, 0.22);
}

.footer-main {
    padding: 3.25rem max(25px, env(safe-area-inset-left, 0px)) 2.75rem max(25px, env(safe-area-inset-right, 0px));
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    align-items: start;
}

.footer-col-title {
    margin: 0 0 1rem;
    font-size: calc(0.875rem / var(--doc-font-scale));
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    line-height: 1.35;
}

.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    line-height: 0;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.92;
}

.footer-logo img {
    width: 77px;
    height: auto;
    max-width: min(260px, 88vw);
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

[dir='rtl'] .footer-logo img {
    object-position: right center;
}

.footer-logo:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-tagline {
    font-size: calc(0.8125rem / var(--doc-font-scale));
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 1.35rem;
    max-width: 20rem;
}

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

.footer-link-list li {
    margin: 0 0 0.4rem;
}

.footer-link-list li:last-child {
    margin-bottom: 0;
}

.footer-link-list a {
    font-size: calc(0.8125rem / var(--doc-font-scale));
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
    padding: 0.2rem 0;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--blue-accent);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 0;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.65);
    background: transparent;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--blue-accent);
}

.social-links a.social-link-wa:hover {
    color: #25d366;
}

.social-links a:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
}

.social-links a .fa-brands {
    font-size: 1.05rem;
    line-height: 1;
}

.footer-bottom {
    margin-top: 0;
    padding: 1.25rem max(25px, env(safe-area-inset-left, 0px)) 1.35rem max(25px, env(safe-area-inset-right, 0px));
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.footer-copyright-line {
    margin: 0;
    font-size: calc(0.8125rem / var(--doc-font-scale));
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    font-size: calc(0.8125rem / var(--doc-font-scale));
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--blue-accent);
}

.footer-bottom-sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col-brand {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col-brand {
        grid-column: span 1;
    }

    .footer-main {
        padding: 2.5rem 20px 2.25rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Accessibility & global UI ───────────────────────────────────────────── */

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
    position: fixed;
    top: -100%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--blue-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--blue-accent);
    outline-offset: 2px;
}

/* Scroll-to-top button */
.scroll-top-btn {
    position: fixed;
    inset-inline-end: 22px;
    bottom: 90px; /* sit above the WhatsApp float */
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--blue-dark);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30, 42, 107, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #2a3a8f;
}

.scroll-top-btn:focus-visible {
    outline: 3px solid var(--blue-accent);
    outline-offset: 2px;
}

/* Why-item touch feedback */
.why-item:active {
    transform: scale(0.97);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Inner page hero must stay in flow — also avoid invisible hero on first paint */
.page-hero.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.page-hero.reveal.active {
    opacity: 1;
    transform: none;
}

/* System "reduce motion": instant scroll, no scroll-reveal slide, no hover lifts/zooms */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    #main-header {
        transition: none;
    }

    .reveal,
    .reveal.active {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .btn-blue:hover,
    .btn-red:hover {
        transition: none;
    }

    .btn-blue:hover,
    .btn-red:hover {
        transform: none;
    }

    .product-card,
    .product-card:hover,
    .product-card img,
    .product-card:hover img {
        transition: none;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover img {
        transform: none;
    }

    .partner-logo,
    .partner-logo:hover {
        transition: none;
        transform: none;
    }

    .project-filter-btn {
        transition: none;
    }

    .project-item img,
    .project-item:hover img {
        transition: none;
        transform: none;
    }

    .project-item,
    .project-item.is-hiding,
    .project-item.is-showing {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }

    .project-overlay {
        transition: none;
    }

    .why-item {
        transition: none;
    }

    .why-item:hover {
        transform: none;
    }

    .why-item .icon,
    .why-item:hover .icon {
        transition: none;
        transform: none;
    }

    .contact-wa-only,
    .contact-wa-only:hover {
        transition: none;
    }

    .contact-wa-only:hover {
        transform: none;
    }

    .whatsapp-float,
    .whatsapp-float:hover {
        transition: none;
    }

    .whatsapp-float:hover {
        transform: none;
    }

    .trust-strip__logos-track {
        animation: none;
    }

    .skip-link {
        transition: none;
    }

    .scroll-top-btn,
    .scroll-top-btn.is-visible {
        transition: none;
    }

    .why-item:active {
        transform: none;
    }

    @media (max-width: 768px) {
        .site-nav {
            transition: none;
        }
    }
}

@media (min-width: 769px) {
    .site-nav {
        max-height: none !important;
        overflow: visible !important;
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        box-shadow: none !important;
    }
}

/* Media */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* In-flow panel: no fixed top offset; works when header wraps */
    .site-nav {
        flex: 1 0 100%;
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-top: 1px solid transparent;
    }

    .site-nav.is-open {
        max-height: min(78vh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-top-color: rgba(30, 42, 107, 0.12);
        margin-top: 4px;
        padding-top: 6px;
        box-shadow: inset 0 1px 0 rgba(30, 42, 107, 0.06);
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .site-nav li {
        border-bottom: 1px solid rgba(30, 42, 107, 0.08);
    }

    .site-nav a {
        display: block;
        padding: 14px 6px;
        text-align: start;
    }

    .page-hero {
        /* Extra top space when the nav row wraps so the hero title is not tucked under the fixed bar */
        padding-top: clamp(200px, 26vh, 300px);
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .page-hero h1 {
        font-size: 1.85rem;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 8.5vw, 2.95rem);
    }

    .hero p {
        font-size: clamp(1.02rem, 3.8vw, 1.2rem);
    }

    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 90%;
        min-height: var(--btn-min-height);
        font-weight: 600;
        -webkit-tap-highlight-color: transparent;
    }

    .aluka-cookie-consent__actions .btn {
        width: auto;
        flex: 1 1 140px;
        margin: 0;
        min-width: 0;
    }

    h2 {
        font-size: clamp(1.28rem, 5.5vw, 1.85rem);
        margin-bottom: clamp(1.25rem, 4vw, 2rem);
    }

    section {
        padding: 56px 16px;
    }

    .trust-strip {
        padding: 2rem 16px;
    }

    .nav-container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .hero-content {
        padding: 0 16px;
    }

    .contact-form {
        padding: 28px 16px;
    }

    .form-control,
    select.form-control,
    textarea.form-control {
        font-size: 16px;
    }

    .project-overlay h3 {
        font-size: 1.12rem;
        line-height: 1.35;
    }

    .map-section-lead {
        margin-top: -0.75rem;
    }

    .map-embed {
        min-height: 220px;
        aspect-ratio: 4 / 3;
    }

    .site-footer .footer-main,
    .site-footer .footer-bottom {
        padding-left: max(25px, env(safe-area-inset-left, 0px));
        padding-right: max(25px, env(safe-area-inset-right, 0px));
    }

    .site-footer .footer-bottom {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    }
}