/* ==========================================================================
   FARES Q8 — public website styles
   Design tokens are provisional until the reference screenshot is reviewed.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../../vendor/fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../vendor/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-900: #0A1A33;
    --navy-800: #0F2240;
    --navy-700: #13294B;
    --cyan-500: #0EA5C6;
    --cyan-600: #0B87A3;
    --cyan-100: #CFEFF7;
    --sky-50: #EAF7FB;
    --gray-900: #1B2430;
    --gray-600: #5B6676;
    --gray-300: #D5DBE3;
    --gray-100: #F3F5F8;
    --white: #FFFFFF;

    --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(10, 26, 51, .06);
    --shadow: 0 12px 32px rgba(10, 26, 51, .10);
    --shadow-lg: 0 24px 60px rgba(10, 26, 51, .16);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--gray-600);
    --bs-link-color-rgb: 11, 135, 163;
    --bs-link-hover-color-rgb: 10, 26, 51;
    --bs-primary: var(--cyan-600);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--navy-700);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}
h1, .h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
img { max-width: 100%; height: auto; }
a { transition: color .2s var(--ease); }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--cyan-600); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-sm { padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0; }
.bg-sky { background: var(--sky-50); }
.bg-light-gray { background: var(--gray-100); }
.bg-navy { background: var(--navy-900); }
.text-navy { color: var(--navy-700) !important; }
.text-cyan { color: var(--cyan-600) !important; }

/* Section heading pattern: small uppercase label + large heading */
.section-label {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-heading); font-size: .8rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-600);
    margin-bottom: .9rem;
}
.section-label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-heading { margin-bottom: 1rem; }
.section-intro { max-width: 680px; font-size: 1.075rem; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }
.on-dark .section-label { color: #7FD3E6; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark, .on-dark p { color: rgba(255, 255, 255, .82); }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-family: var(--font-heading);
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.6rem;
    --bs-btn-padding-y: .8rem;
    --bs-btn-border-radius: 999px;
    letter-spacing: .01em;
    transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-brand {
    --bs-btn-color: var(--white); --bs-btn-bg: var(--cyan-600); --bs-btn-border-color: var(--cyan-600);
    --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--navy-700); --bs-btn-hover-border-color: var(--navy-700);
    --bs-btn-active-bg: var(--navy-800); --bs-btn-active-border-color: var(--navy-800); --bs-btn-active-color: var(--white);
    box-shadow: 0 8px 20px rgba(11, 135, 163, .28);
}
.btn-navy {
    --bs-btn-color: var(--white); --bs-btn-bg: var(--navy-700); --bs-btn-border-color: var(--navy-700);
    --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--cyan-600); --bs-btn-hover-border-color: var(--cyan-600);
    --bs-btn-active-bg: var(--cyan-600); --bs-btn-active-color: var(--white);
}
.btn-outline-light-brand {
    --bs-btn-color: var(--white); --bs-btn-border-color: rgba(255, 255, 255, .7);
    --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-bg: var(--white); --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-bg: var(--white); --bs-btn-active-color: var(--navy-900);
}
.btn-white {
    --bs-btn-color: var(--navy-900); --bs-btn-bg: var(--white); --bs-btn-border-color: var(--white);
    --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--navy-900); --bs-btn-hover-border-color: var(--navy-900);
    --bs-btn-active-bg: var(--navy-900); --bs-btn-active-color: var(--white);
}
.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
    color: var(--cyan-600); text-decoration: none;
}
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy-700); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1030;
    height: var(--header-h);
    display: flex; align-items: center;
    background: transparent;
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header::before {
    /* soft gradient keeps the transparent header readable over bright photos */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 26, 51, .55), rgba(10, 26, 51, 0));
    transition: opacity .3s var(--ease);
}
.site-header.is-scrolled {
    --header-h: 72px;
    background: var(--navy-900);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.site-header.is-scrolled::before { opacity: 0; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { max-height: 52px; width: auto; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto;
    display: grid; place-items: center;
    background: var(--cyan-600); color: var(--white);
    font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--white); letter-spacing: .02em; }
.brand-sub { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

.main-nav .nav-link {
    font-family: var(--font-heading); font-weight: 600; font-size: .92rem;
    color: rgba(255, 255, 255, .9);
    padding: .5rem .85rem !important;
    position: relative;
}
.main-nav .nav-link::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
    background: var(--cyan-500); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible, .main-nav .nav-link.active,
.main-nav .has-dropdown:hover > .nav-link, .main-nav .has-dropdown:focus-within > .nav-link { color: var(--white); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after,
.main-nav .has-dropdown:hover > .nav-link::after, .main-nav .has-dropdown:focus-within > .nav-link::after { transform: scaleX(1); }
.main-nav .caret { font-size: .62rem; margin-left: .4rem; opacity: .8; transition: transform .25s var(--ease); }

/* Desktop dropdown: one mechanism only (hover / keyboard focus), no gap between link and panel */
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown:hover .caret, .main-nav .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: 100%; left: 50%; z-index: 1050;
    padding-top: 14px;                      /* invisible bridge: the pointer never leaves the hover area */
    transform: translate(-50%, 8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.main-nav .has-dropdown:hover > .nav-dropdown,
.main-nav .has-dropdown:focus-within > .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.main-nav .nav-dropdown.is-closed { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.nav-dropdown-list {
    list-style: none; margin: 0; padding: .6rem; width: 380px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.nav-dropdown-list::before {               /* small pointer arrow */
    content: ""; position: absolute; top: 8px; left: 50%; width: 14px; height: 14px;
    background: var(--white); transform: translateX(-50%) rotate(45deg); border-radius: 2px;
}
.nav-dropdown-item {
    position: relative; display: flex; align-items: center; gap: .75rem;
    border-radius: var(--radius-sm); padding: .6rem .75rem;
    font-size: .9rem; font-weight: 500; color: var(--navy-700); text-decoration: none;
    transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-dropdown-item i { width: 20px; text-align: center; color: var(--cyan-600); }
.nav-dropdown-item:hover, .nav-dropdown-item:focus-visible, .nav-dropdown-item.active {
    background: var(--sky-50); color: var(--navy-700);
}
.nav-dropdown-item.active { font-weight: 600; }

.nav-toggler {
    border: 0; background: transparent; color: var(--white); font-size: 1.5rem; padding: .25rem .5rem;
}
.offcanvas-nav { background: var(--navy-900); color: var(--white); max-width: 340px; }
.offcanvas-nav .btn-close { filter: invert(1); }
.offcanvas-nav .nav-link { color: rgba(255, 255, 255, .9); font-family: var(--font-heading); font-weight: 600; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.offcanvas-nav .nav-link.active, .offcanvas-nav .nav-link:hover { color: #7FD3E6; }
.offcanvas-nav .sub-nav .nav-link { font-weight: 500; font-size: .92rem; padding-left: 1rem; }

/* ---------- Page banner ---------- */
.page-banner {
    position: relative; isolation: isolate;
    padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) 0 clamp(3rem, 2rem + 3vw, 5rem);
    background: var(--navy-900) center / cover no-repeat;
    color: var(--white);
}
.page-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(10, 26, 51, .92) 0%, rgba(10, 26, 51, .78) 55%, rgba(10, 26, 51, .55) 100%);
}
.page-banner h1 { color: var(--white); margin-bottom: .75rem; }
.page-banner p { color: rgba(255, 255, 255, .85); max-width: 640px; font-size: 1.1rem; margin-bottom: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: #7FD3E6; margin-bottom: 1rem; font-size: .9rem; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Home: hero ---------- */
.hero {
    position: relative; isolation: isolate;
    min-height: min(100vh, 900px);
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 4rem) 0 9rem;
    background: var(--navy-900) center / cover no-repeat;
    color: var(--white);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 26, 51, .78) 0%, rgba(10, 26, 51, .70) 50%, rgba(10, 26, 51, .88) 100%);
}
.hero-content { max-width: 920px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 760px; margin: 0 auto; }
.hero-label {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1rem; margin-bottom: 1.5rem; border-radius: 999px;
    background: rgba(14, 165, 198, .18); border: 1px solid rgba(127, 211, 230, .45);
    color: #BFEAF4; font-family: var(--font-heading); font-size: .8rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
}
.btn-lg { --bs-btn-padding-x: 2rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1rem; }

/* ---------- Home: floating trust card ---------- */
.trust-wrap { position: relative; z-index: 5; margin-top: -5.5rem; }
.trust-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-icon {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.35rem;
    background: var(--sky-50); color: var(--cyan-600);
}
.trust-title { font-size: 1.02rem; margin: 0 0 .15rem; }
.trust-text { margin: 0; font-size: .875rem; line-height: 1.45; }
.trust-wrap + .section { padding-top: clamp(4rem, 3rem + 3vw, 6rem); }
@media (max-width: 575.98px) {
    .trust-item { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

/* ---------- Media frames ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame-tall img { aspect-ratio: 4 / 5; max-height: 620px; }
.media-frame::before {
    content: ""; position: absolute; z-index: -1; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
    border: 2px solid var(--cyan-100); border-radius: var(--radius-lg);
}
.media-badge {
    position: absolute; right: -.75rem; bottom: -1.25rem;
    padding: 1rem 1.4rem; border-radius: var(--radius);
    background: var(--navy-700); color: var(--white); box-shadow: var(--shadow);
    text-align: center; line-height: 1.1;
}
.media-badge strong { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #7FD3E6; }
.media-badge-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 575.98px) {
    .media-frame::before { display: none; }
    .media-badge { right: .75rem; bottom: .75rem; }
}

/* ---------- CTA banner & final CTA ---------- */
.cta-banner {
    position: relative; isolation: isolate;
    padding: clamp(5rem, 4rem + 5vw, 9rem) 0;
    background: var(--navy-900) center / cover no-repeat fixed;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 26, 51, .82); }
.display-heading { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
@media (hover: none), (max-width: 991.98px) { .cta-banner { background-attachment: scroll; } }

.final-cta {
    position: relative; overflow: hidden;
    padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--cyan-600) 0%, #0A6F88 100%);
}
.final-cta::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, .07); pointer-events: none;
}
.final-cta h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem); }
.final-cta p { color: rgba(255, 255, 255, .9); font-size: 1.075rem; }

.division-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.division-chip {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .4rem .85rem; border-radius: 999px;
    background: var(--sky-50); color: var(--navy-700); font-size: .85rem; font-weight: 500; text-decoration: none;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.division-chip i { color: var(--cyan-600); transition: color .2s var(--ease); }
.division-chip:hover { background: var(--cyan-600); color: var(--white); }
.division-chip:hover i { color: var(--white); }

/* ---------- Cards ---------- */
.service-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(10, 26, 51, .06);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-icon {
    position: absolute; left: 1.25rem; bottom: -24px; z-index: 2;
    width: 52px; height: 52px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--cyan-600); color: var(--white); font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(11, 135, 163, .35);
}
.service-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 2.25rem 1.25rem 1.4rem; }
.service-card .card-division { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-600); margin-bottom: .35rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.service-card p { font-size: .95rem; margin-bottom: 1rem; }
.service-card .link-arrow { margin-top: auto; position: relative; z-index: 2; }

.feature-card {
    height: 100%; padding: 2rem 1.75rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid rgba(10, 26, 51, .07);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--cyan-100); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 14px; margin-bottom: 1.25rem;
    display: grid; place-items: center; font-size: 1.4rem;
    background: var(--sky-50); color: var(--cyan-600);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--cyan-600); color: var(--white); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.feature-card p { margin-bottom: 0; font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--gray-900); font-weight: 500; }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .2rem;
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    display: grid; place-items: center; font-size: .65rem;
    background: var(--cyan-600); color: var(--white);
}
.on-dark .check-list li { color: rgba(255, 255, 255, .9); }

/* Division cards */
.division-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(10, 26, 51, .06);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.division-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.division-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.division-card:hover .division-card-media img { transform: scale(1.06); }
.division-card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 2.4rem 1.5rem 1.5rem; }
.division-card-icon {
    position: absolute; top: -28px; left: 1.5rem;
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: var(--cyan-600); color: var(--white); font-size: 1.3rem; box-shadow: 0 8px 18px rgba(11, 135, 163, .35);
}
.division-card h3 { font-size: 1.2rem; }
.division-card h3 a { color: inherit; text-decoration: none; }
.division-card h3 a::after { content: ""; position: absolute; inset: 0; }
.division-card p { font-size: .95rem; }
.division-card .link-arrow { margin-top: auto; }

/* Service tiles (lists of services) */
.service-tile {
    display: flex; align-items: flex-start; gap: .9rem; height: 100%;
    padding: 1.1rem 1.15rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid rgba(10, 26, 51, .07);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.service-tile:target { border-color: var(--cyan-500); box-shadow: 0 0 0 3px var(--cyan-100); }
.service-tile-icon {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
    background: var(--sky-50); color: var(--cyan-600); font-size: 1rem;
}
.service-tile-title { display: block; font-family: var(--font-heading); font-size: .98rem; font-weight: 600; color: var(--navy-700); margin: .55rem 0 0; line-height: 1.35; }
.service-tile-title a { color: inherit; }
.service-tile-text { font-size: .875rem; margin: .35rem 0 0; }
.service-tile-link { text-decoration: none; }
.service-tile-link:hover { border-color: var(--cyan-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-tile-link:hover .service-tile-icon { background: var(--cyan-600); color: var(--white); }

/* Products & Services page: one block per division */
.service-group + .service-group { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); border-top: 1px solid rgba(10, 26, 51, .08); }
.service-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }

/* Filter pills */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.filter-pill {
    padding: .5rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
    background: var(--gray-100); color: var(--navy-700); text-decoration: none; border: 1px solid transparent;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.filter-pill:hover { background: var(--sky-50); color: var(--navy-700); border-color: var(--cyan-100); }
.filter-pill.active { background: var(--cyan-600); color: var(--white); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item {
    position: relative; display: block; padding: 0; border: 0; background: var(--navy-700);
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-overlay {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(10, 26, 51, .55); color: var(--white); font-size: 1.5rem;
    opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-flag {
    position: absolute; left: .75rem; top: .75rem; z-index: 1;
    padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600;
    background: rgba(255, 255, 255, .92); color: var(--navy-700);
}
.gallery-modal .modal-content img { max-height: 82vh; object-fit: contain; margin: 0 auto; }
.modal-backdrop.show { opacity: .88; }

/* Facts, sidebars, contact */
.facts-card, .sidebar-card, .form-card {
    background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
    box-shadow: var(--shadow-sm); border: 1px solid rgba(10, 26, 51, .06);
}
.facts-card { background: var(--sky-50); border: 0; }
.sidebar-card + .sidebar-card { margin-top: 1.5rem; }
.sidebar-card-dark { background: var(--navy-900); border: 0; }
.sidebar-card-dark a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sidebar-card-dark a:hover { color: #7FD3E6; }
.facts-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(10, 26, 51, .08); }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { font-weight: 500; color: var(--gray-600); }
.facts-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--navy-700); }
.sidebar-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.sidebar-links a { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; color: var(--navy-700); text-decoration: none; border-bottom: 1px solid rgba(10, 26, 51, .06); font-size: .95rem; }
.sidebar-links a i { color: var(--cyan-600); width: 18px; text-align: center; }
.sidebar-links a:hover { color: var(--cyan-600); }
.contact-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--cyan-600); color: var(--white); font-size: 1.15rem;
}
.contact-item a { color: var(--navy-700); text-decoration: none; }
.contact-item a:hover { color: var(--cyan-600); }
.form-label { font-weight: 600; color: var(--navy-700); font-size: .92rem; }
.form-control, .form-select { padding: .75rem 1rem; border-radius: var(--radius-sm); border-color: var(--gray-300); }
.form-control:focus, .form-select:focus { border-color: var(--cyan-500); box-shadow: 0 0 0 .2rem rgba(14, 165, 198, .18); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.steps-list { padding-left: 1.2rem; }
.steps-list li { margin-bottom: .6rem; color: var(--gray-900); }

/* Rich text from the admin editor */
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.prose h3 { margin: 1.5rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose a { color: var(--cyan-600); }

/* Notice shown only to signed-in admins */
.admin-note {
    display: flex; gap: .6rem; align-items: flex-start;
    padding: .75rem 1rem; margin-bottom: 1.5rem; border-radius: var(--radius-sm);
    background: #FFF7E0; color: #6B4E00; border: 1px dashed #E0B640; font-size: .9rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: .95rem; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.25rem; letter-spacing: .02em; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #7FD3E6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .85rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--cyan-500); margin-top: .3rem; width: 16px; text-align: center; }
.social-links { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: var(--white);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.social-links a:hover { background: var(--cyan-600); color: var(--white); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.5rem 0; font-size: .875rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }

/* Floating WhatsApp button (bottom-right) */
.whatsapp-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1021;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: var(--white); font-size: 1.85rem; text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35), 0 4px 10px rgba(10, 26, 51, .18);
    transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
    background: #1EBE5A; color: var(--white); transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 30px rgba(37, 211, 102, .45), 0 6px 14px rgba(10, 26, 51, .2);
}
@media (max-width: 575.98px) {
    .whatsapp-float { right: 1rem; bottom: 1rem; width: 54px; height: 54px; font-size: 1.7rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    :root { --header-h: 72px; }
    .brand-sub { display: none; }
    .btn { --bs-btn-padding-x: 1.3rem; }
}
