/* ==========================================================================
   BESTCO – corporate website stylesheet
   Light theme · navy + amber brand colours · mobile first
   ========================================================================== */

:root {
    --navy: #0d2150;
    --navy-600: #173070;
    --navy-100: #e8edf7;
    --amber: #f2a100;
    --amber-600: #d98f00;
    --amber-100: #fff4d9;
    --ink: #1c2538;
    --muted: #5a667c;
    --line: #e1e7f0;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --green: #22a559;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(13, 33, 80, .06), 0 2px 8px rgba(13, 33, 80, .05);
    --shadow: 0 8px 28px rgba(13, 33, 80, .10);
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--amber-600); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.45rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.5em; border-radius: 8px; border: 2px solid transparent;
    font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--amber); color: var(--navy); }
.btn-accent:hover { background: var(--amber-600); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #1b8d4b; color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .94rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.center-row { justify-content: center; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy); }
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar-list li, .topbar-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.topbar-list a:hover { color: var(--navy); }
.topbar-list .icon { width: 1em; height: 1em; color: var(--amber-600); }
.topbar-motto { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); font-size: .95rem; }
.topbar-motto span { color: var(--amber); padding-inline: 6px; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(13, 33, 80, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 2.05rem; letter-spacing: .03em; color: var(--navy); }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding-top: 4px; margin-top: 3px; border-top: 2px solid var(--amber); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 28px 14px; font-weight: 600; font-size: 1rem; color: var(--ink); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s; border-radius: 2px; }
.nav-link:hover, .is-active > .nav-link { color: var(--navy); }
.nav-link:hover::after, .is-active > .nav-link::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }

.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; display: inline-flex; border-radius: 6px; }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .2s; }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.submenu {
    position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line);
    border-top: 3px solid var(--amber); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.submenu a .icon { color: var(--amber-600); width: 22px; height: 22px; }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }
@media (min-width: 961px) {
    .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); padding: 56px 0 44px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 .98rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-600); margin-bottom: .7rem; }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 1.6rem; color: var(--navy); font-weight: 600; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #fff; background: var(--amber); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 68% center; }
.hero-media::before { content: ""; position: absolute; inset: 18px -16px -16px 18px; border: 3px solid var(--amber); border-radius: 18px; z-index: -1; }
.hero-badge { position: absolute; left: -18px; bottom: 26px; background: var(--amber); color: var(--navy); padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 250px; }
.hero-badge strong { font: 700 2.6rem/1 var(--font-head); }
.hero-badge span { font-weight: 600; font-size: .92rem; line-height: 1.25; }

.skyline-band { height: clamp(150px, 20vw, 290px); overflow: hidden; }
.skyline-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.trust { margin-top: -46px; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.trust-grid li { display: flex; align-items: flex-start; gap: 14px; padding: 24px 22px; }
.trust-grid li + li { border-left: 1px solid var(--line); }
.trust-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-100); color: var(--navy); display: grid; place-items: center; flex: none; }
.trust-icon .icon { width: 24px; height: 24px; }
.trust-text { display: flex; flex-direction: column; font-size: .93rem; line-height: 1.4; color: var(--muted); }
.trust-text strong { font: 700 1.2rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); margin-bottom: 3px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 22px; text-align: left; }
.section-head h2::after { content: ""; display: block; width: 58px; height: 4px; background: var(--amber); border-radius: 2px; margin: 14px auto 0; }
.section-head.left h2::after { margin-left: 0; }
.section-intro { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

.about-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-media img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; max-height: 560px; object-fit: cover; }
.about-copy p { color: #3b465b; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.8rem 0; padding: 22px 0; border-block: 1px solid var(--line); }
.stats strong { display: block; font: 700 2.8rem/1 var(--font-head); color: var(--navy); }
.stats span { color: var(--muted); font-size: .95rem; font-weight: 500; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; height: 200px; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-num { position: absolute; left: 14px; top: 14px; width: 40px; height: 44px; background: var(--navy); color: #fff; font: 700 1.3rem/44px var(--font-head); text-align: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; position: relative; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amber-100); color: var(--navy); margin-bottom: 12px; }
.card-icon .icon { width: 24px; height: 24px; }
.card-body h3 { text-transform: uppercase; letter-spacing: .01em; font-size: 1.5rem; }
.card-body h3 a { color: var(--navy); }
.card-body h3 a:hover { color: var(--amber-600); }
.card-body p { color: var(--muted); flex: 1; }

/* Services list page */
.service-list { display: grid; gap: 28px; }
.service-row { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.service-row-media { position: relative; display: block; min-height: 220px; background: var(--bg-soft); }
.service-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-row-body { padding: 28px 32px; }
.service-row-body h2 { font-size: 2rem; margin-bottom: .25em; }
.service-row-body h2 a { color: var(--navy); }
.service-row-body > p { color: var(--muted); }

.tick-list { clear: both; display: grid; gap: 10px 28px; grid-template-columns: repeat(2, 1fr); margin: 1.2rem 0 1.6rem; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; }
.tick-list .icon { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: 2px; background: var(--amber); color: var(--navy); border-radius: 50%; stroke-width: 2.6; }
.tick-list-compact { margin: 1rem 0 1.2rem; font-size: .98rem; gap: 6px 20px; }
.tick-list-compact .icon { width: 20px; height: 20px; }

/* Products */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip { font: 600 .98rem/1 var(--font-body); padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-grid-compact { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-media { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; padding: 10px; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h2, .product-body h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: .6em; }
.product-body ul { margin-bottom: 1rem; flex: 1; }
.product-body li { position: relative; padding-left: 16px; color: var(--muted); font-size: .96rem; margin-bottom: 3px; }
.product-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.note { color: var(--muted); text-align: center; margin-top: 32px; font-size: .98rem; }

/* Pillars / link grid */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.pillar-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--amber-100); color: var(--navy); margin-bottom: 14px; }
.pillar-icon .icon { width: 30px; height: 30px; }
.pillar h3 { text-transform: uppercase; font-size: 1.4rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.link-grid a { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: border-color .2s, box-shadow .2s; color: var(--ink); }
.link-grid a:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); color: var(--ink); }
.link-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-100); color: var(--navy); display: grid; place-items: center; flex: none; }
.link-grid strong { display: block; font: 700 1.25rem/1.2 var(--font-head); text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.link-grid small { color: var(--muted); font-size: .94rem; line-height: 1.45; display: block; }

/* Profile download card */
.profile-card { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 44px; box-shadow: var(--shadow-sm); max-width: 940px; }
.profile-cover img { border-radius: 6px; box-shadow: 0 10px 30px rgba(13, 33, 80, .2); border: 1px solid var(--line); }
.profile-copy p { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(90deg, #eaf0fa 0%, #eaf0fa 38%, rgba(234, 240, 250, .55) 100%), url("../img/hero-skyline.jpg") center / cover; border-top: 4px solid var(--amber); padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.cta-inner p { margin: 0; color: #3b465b; }
.cta-inner .btn-row { margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-soft) 42%, rgba(244, 247, 251, .55) 100%), url("../img/hero-skyline.jpg") right center / cover; border-bottom: 1px solid var(--line); padding: 38px 0 46px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: .3em; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 4px; background: var(--amber); border-radius: 2px; margin-top: 14px; }
.page-lead { max-width: 40em; font-size: 1.15rem; color: #3b465b; margin: 1rem 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb li + li::before { content: "/"; padding-right: 4px; color: #aab3c4; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Service detail ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-main h2 { font-size: 1.9rem; margin-top: 1.6em; }
.detail-main h2:first-of-type { margin-top: 1.2em; }
.detail-hero-img { width: 100%; max-width: 440px; border-radius: 14px; box-shadow: var(--shadow); float: right; margin: 0 0 18px 28px; }
.detail-main p { color: #3b465b; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 1rem 0; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-1 { grid-template-columns: minmax(0, 560px); }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-3 figure:first-child:has(img[src*="rental-fleet"]) { grid-column: 1 / -1; }
.detail-actions { clear: both; margin-top: 2rem; }
.detail-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-title { font-size: 1.4rem; margin-bottom: .6em; text-transform: uppercase; }
.aside-links li + li { margin-top: 4px; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.aside-links a .icon { color: var(--amber-600); }
.aside-links a:hover, .aside-links .is-current a { background: var(--amber-100); color: var(--navy); }
.aside-links .is-current a { font-weight: 700; }
.aside-contact { background: var(--bg-soft); }
.aside-contact p { color: var(--muted); font-size: .98rem; }
.aside-contact-list { margin: 0 0 18px; display: grid; gap: 8px; }
.aside-contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; word-break: break-word; }
.aside-contact-list .icon { color: var(--amber-600); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 2rem; }
.contact-list { display: grid; gap: 20px; margin: 1.6rem 0 .6rem; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; font: 700 1.1rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.contact-list span > a { display: block; color: var(--ink); font-weight: 500; }
.contact-list span > a:hover { color: var(--amber-600); }
.contact-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-100); color: var(--navy); display: grid !important; place-items: center; flex: none; }
.contact-icon.icon-wa { background: #e3f6ea; color: var(--green); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.req { color: #c0392b; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cfd8e6; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(23, 48, 112, .12); }
.field .is-invalid { border-color: #c0392b; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 500; }
.alert ul { list-style: disc; padding-left: 18px; }
.alert-success { background: #e6f6ec; border: 1px solid #b6e2c5; color: #14693a; }
.alert-error { background: #fdecea; border: 1px solid #f2bcb6; color: #8a2a1f; }
.map-section { padding: 0 0 84px; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map-frame iframe { display: block; width: 100%; height: 420px; }
.error-page { padding: 110px 0; }
.error-code { font: 700 7rem/1 var(--font-head); color: var(--amber); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 4px solid var(--amber); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; padding-block: 60px 44px; }
.footer-brand p { margin: 18px 0 18px; color: var(--muted); max-width: 26em; }
.footer-title { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 1rem; }
.footer-title::after { content: ""; display: block; width: 36px; height: 3px; background: var(--amber); margin-top: 8px; border-radius: 2px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--amber-600); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.footer-contact .icon { color: var(--amber-600); width: 18px; height: 18px; margin-top: 4px; }
.footer-bottom { background: var(--navy-100); border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px; font-size: .94rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.credit-link { color: var(--navy); font-weight: 600; border-bottom: 1px dashed var(--amber-600); }
.credit-link:hover { color: var(--amber-600); }

/* ---------- Floating contact + back to top ---------- */
.float-contact { position: fixed; left: 16px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { display: flex; align-items: center; height: 54px; min-width: 54px; border-radius: 27px; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.float-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .26); }
.float-btn .icon { width: 28px; height: 28px; margin: 0 13px; }
.float-label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 600; font-size: .95rem; transition: max-width .3s, opacity .3s, padding .3s; }
.float-btn:hover .float-label, .float-btn:focus-visible .float-label { max-width: 120px; opacity: 1; padding-right: 18px; }
.float-whatsapp { background: #25d366; animation: pulse 2.6s infinite; }
.float-mail { background: var(--navy); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 6px 18px rgba(0, 0, 0, .22); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 6px 18px rgba(0, 0, 0, .22); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 18px rgba(0, 0, 0, .22); } }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--navy); }

/* ---------- Credit modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(13, 33, 80, .45); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal[hidden] { display: none; }
.modal-dialog { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 18px; padding: 32px 28px 28px; box-shadow: 0 24px 60px rgba(13, 33, 80, .35); animation: pop .25s ease; outline: none; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--amber-100); }
.modal-title { font-size: 1.7rem; margin-bottom: .1em; padding-right: 36px; }
.modal-sub { color: var(--muted); margin-bottom: 1.3rem; font-size: .96rem; }
.credit-cards { display: grid; gap: 12px; }
.credit-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; color: #fff; transition: transform .15s, box-shadow .2s; }
.credit-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.credit-card-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.credit-card-icon .icon { width: 24px; height: 24px; }
.credit-card-text { display: flex; flex-direction: column; line-height: 1.3; }
.credit-card-text strong { font-size: 1.05rem; }
.credit-card-text small { font-size: .92rem; opacity: .92; }
.credit-whatsapp { background: #1fa855; }
.credit-company { background: #7048d8; }
.credit-creator { background: #2563eb; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .card-grid, .product-grid-compact { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid li:nth-child(3) { border-left: 0; }
    .trust-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .topbar-motto { display: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(13, 33, 80, .12); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; display: none; }
    .primary-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link { flex: 1; padding: 15px 0; }
    .nav-link::after { display: none; }
    .is-active > .nav-link { color: var(--amber-600); }
    .sub-toggle { margin: 0; padding: 12px; }
    .sub-toggle .icon { width: 22px; height: 22px; }
    .submenu { position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-sub.is-open > .submenu { display: block; }
    .nav-cta { border: 0 !important; margin: 14px 0 0; }
    .nav-cta .btn { width: 100%; }

    .hero { padding: 36px 0 36px; }
    .hero-grid, .about-split, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-media { max-width: 640px; }
    .hero-media::before { inset: 14px -8px -10px 14px; }
    .hero-badge { left: 12px; bottom: 12px; }
    .about-media img { max-height: 380px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; grid-template-columns: 1fr 1fr; }
    .service-row { grid-template-columns: 1fr; }
    .service-row-media { min-height: 200px; }
    .section { padding: 64px 0; }
}

@media (max-width: 680px) {
    body { font-size: 16.5px; }
    .container { padding-inline: 16px; }
    .brand-mark { height: 38px; }
    .brand-name { font-size: 1.7rem; }
    .brand-sub { font-size: .52rem; }
    .topbar-loc, .topbar-list li:nth-child(2) { display: none; }
    .card-grid, .product-grid-compact, .pillar-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
    .trust { margin-top: -30px; }
    .tick-list { grid-template-columns: 1fr; }
    .stats strong { font-size: 2.2rem; }
    .profile-card { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; gap: 24px; }
    .profile-cover { max-width: 190px; margin-inline: auto; }
    .profile-card .btn-row { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 28px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .detail-aside { grid-template-columns: 1fr; }
    .detail-hero-img { float: none; margin: 0 0 20px; max-width: 100%; }
    .gallery-3 { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .float-btn { height: 48px; min-width: 48px; }
    .float-btn .icon { width: 24px; height: 24px; margin: 0 12px; }
    .float-contact { left: 12px; bottom: 16px; gap: 10px; }
    .to-top { right: 12px; bottom: 16px; width: 42px; height: 42px; }
    .map-frame iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .topbar, .site-header, .float-contact, .to-top, .modal, .cta-band { display: none !important; }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; flex: none; }
.lang-switch a { padding: 3px 14px; font-size: .86rem; font-weight: 600; color: var(--muted); line-height: 1.7; }
.lang-switch a:hover { color: var(--navy); background: var(--bg-soft); }
.lang-switch a.is-current { background: var(--navy); color: #fff; }
.lang-switch a[lang="ar"] { font-family: "Tajawal", "Segoe UI", Arial, sans-serif; font-size: .95rem; }
@media (max-width: 960px) {
    .topbar-inner { flex-wrap: wrap; }
}

/* ==========================================================================
   Arabic / right-to-left
   ========================================================================== */
html[dir="rtl"] {
    --font-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-head: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] body { font-size: 18px; line-height: 1.8; }
/* Arabic letters must stay joined: no tracking, no uppercase transforms */
html[dir="rtl"] *, html[dir="rtl"] *::before, html[dir="rtl"] *::after { letter-spacing: 0 !important; text-transform: none !important; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.35; }
/* Cairo runs larger than Barlow Condensed: shrink the rem scale (headings) a little, keep body/button text at fixed px */
html[dir="rtl"] { font-size: 14.5px; }
html[dir="rtl"] .btn, html[dir="rtl"] .chip, html[dir="rtl"] .nav-link, html[dir="rtl"] .field label, html[dir="rtl"] .field input,
html[dir="rtl"] .field select, html[dir="rtl"] .field textarea { font-size: 16px; }
html[dir="rtl"] .btn-sm { font-size: 15px; }
html[dir="rtl"] .topbar { font-size: 14px; }
html[dir="rtl"] .lang-switch a { font-size: 14px; }
html[dir="rtl"] .lang-switch a[lang="ar"] { font-size: 15px; }
html[dir="rtl"] .brand-name { font-size: 2.2rem; }
html[dir="rtl"] .brand-sub { font-size: .7rem; }
html[dir="rtl"] .product-body li, html[dir="rtl"] .footer-col li { font-size: 16px; }
html[dir="rtl"] .contact-list strong, html[dir="rtl"] .trust-text strong, html[dir="rtl"] .link-grid strong { font-family: var(--font-head); }
html[dir="rtl"] .eyebrow { font-weight: 700; font-size: 1rem; }
html[dir="rtl"] .btn, html[dir="rtl"] .chip, html[dir="rtl"] .nav-link { font-family: var(--font-body); }

/* keep the logo, phone numbers, emails and URLs left-to-right */
html[dir="rtl"] .brand { direction: ltr; }
html[dir="rtl"] a[href^="tel:"] span, html[dir="rtl"] a[href^="tel:"]:not(.btn),
html[dir="rtl"] a[href^="mailto:"] span, html[dir="rtl"] a[href^="mailto:"]:not(.btn):not(.float-btn),
html[dir="rtl"] .footer-contact a[href^="http"] { direction: ltr; unicode-bidi: embed; display: inline-block; }
html[dir="rtl"] .contact-list span > a, html[dir="rtl"] .aside-contact-list a, html[dir="rtl"] .footer-contact a { display: block !important; width: fit-content; direction: ltr; unicode-bidi: isolate; text-align: left; }
html[dir="rtl"] .icon-flip { transform: scaleX(-1); }
html[dir="rtl"] .text-link:hover .icon { transform: scaleX(-1) translateX(3px); }

/* header + navigation */
html[dir="rtl"] .nav-link::after { transform-origin: right; }
html[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 10px; }
html[dir="rtl"] .sub-toggle { margin-left: 0; margin-right: -10px; }
html[dir="rtl"] .submenu { left: auto; right: 0; }
html[dir="rtl"] .topbar-motto span { padding-inline: 6px; }

/* hero + cards */
html[dir="rtl"] .hero-media::before { inset: 18px 18px -16px -16px; }
html[dir="rtl"] .hero-media img { object-position: 32% center; }
html[dir="rtl"] .hero-badge { left: auto; right: -18px; }
html[dir="rtl"] .trust-grid li + li { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .card-num { left: auto; right: 14px; }
html[dir="rtl"] .section-head.left h2::after { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .product-body li { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .product-body li::before { left: auto; right: 0; }
html[dir="rtl"] .breadcrumb li + li::before { padding-right: 0; padding-left: 4px; }
html[dir="rtl"] .alert ul { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .detail-hero-img { float: left; margin: 0 28px 18px 0; }
html[dir="rtl"] .gallery-3 figure:first-child:has(img[src*="rental-fleet"]) { grid-column: 1 / -1; }

/* gradients that fade toward the text side */
html[dir="rtl"] .page-hero { background: linear-gradient(270deg, var(--bg-soft) 0%, var(--bg-soft) 42%, rgba(244, 247, 251, .55) 100%), url("../img/hero-skyline.jpg") left center / cover; }
html[dir="rtl"] .cta-band { background: linear-gradient(270deg, #eaf0fa 0%, #eaf0fa 38%, rgba(234, 240, 250, .55) 100%), url("../img/hero-skyline.jpg") center / cover; }

/* modal (kept in English, close button moves to the left) */
html[dir="rtl"] .modal-close { right: auto; left: 12px; }
html[dir="rtl"] .modal-title { padding-right: 0; padding-left: 36px; }
html[dir="rtl"] .modal-dialog { direction: ltr; text-align: left; }

/* floating buttons stay on the left (as requested) – unchanged */
html[dir="rtl"] .float-label { font-family: var(--font-body); }

@media (max-width: 1100px) {
    html[dir="rtl"] .trust-grid li:nth-child(3) { border-right: 0; }
}
@media (max-width: 960px) {
    html[dir="rtl"] .hero-badge { right: 12px; left: auto; }
    html[dir="rtl"] .hero-media::before { inset: 14px 14px -10px -8px; }
    html[dir="rtl"] .sub-toggle { margin: 0; }
    html[dir="rtl"] .submenu { padding: 0 8px 10px 0; right: auto; }
}
@media (max-width: 680px) {
    html[dir="rtl"] body { font-size: 17px; }
    html[dir="rtl"] .trust-grid li + li { border-right: 0; }
    html[dir="rtl"] .detail-hero-img { float: none; margin: 0 0 20px; }
}

html[dir="rtl"] .copyright, html[dir="rtl"] .credit { direction: ltr; unicode-bidi: isolate; }
