/*
Theme Name: Asif Asghar Technical Services
Theme URI: https://asifasghartechnicalservices.ae
Author: Asif Asghar Technical Services
Description: Custom lean, fast, bilingual (EN/AR) theme for a Dubai technical-services & building-maintenance company. Petrol + brass design system, authored in CSS logical properties for automatic RTL.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: aats
*/

/* ============================================================
   DESIGN TOKENS — "Engineering Petrol + Brass"
   ============================================================ */
:root {
  /* Brand */
  --petrol: #0F3A43;
  --petrol-900: #0A2A31;
  --petrol-700: #14495472;
  --brass: #F4A81D;
  --brass-hover: #D9920F;
  --teal: #1C8AA0;
  --teal-dark: #156F82;

  /* Surfaces & ink */
  --surface: #F6F4EF;      /* warm off-white page ground */
  --card: #FFFFFF;
  --ink: #23343A;          /* body text */
  --ink-strong: #14262C;   /* headings */
  --muted: #5E6E73;
  --border: #E4E1D9;
  --on-petrol: #EAF3F2;    /* text on petrol */
  --on-brass: #0A2A31;     /* text on brass (AA contrast) */

  /* Status */
  --trust-green: #1E874B;
  --emergency: #E4572E;

  /* Type */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-base: 1.0625rem;    /* 17px */
  --lh-base: 1.7;

  /* Rhythm */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,58,67,.06), 0 2px 8px rgba(15,58,67,.05);
  --shadow-md: 0 6px 24px rgba(15,58,67,.10);
  --shadow-lg: 0 18px 48px rgba(15,58,67,.16);
  --ring: 0 0 0 3px rgba(28,138,160,.45);
  --header-h: 76px;
}

/* Arabic type scoping */
html[lang^="ar"] {
  --font-head: "Cairo", system-ui, "Segoe UI", sans-serif;
  --font-body: "Cairo", system-ui, "Segoe UI", sans-serif;
  --lh-base: 1.85;
  --fs-base: 1.09rem;
}

/* The brand identity is the light petrol + brass system on every device;
   the site does not follow the OS dark-mode setting. */

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); color-scheme: light; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* Inline UI icons — constrained; container rules (.svc-ic, .badge, .trust-strip) override below. */
svg.ic, svg.ic-open, svg.ic-close { inline-size: 1.15em; block-size: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }
.btn svg.ic { inline-size: 1.15em; block-size: 1.15em; }
.ribbon svg.ic { inline-size: 16px; block-size: 16px; }
.nav-toggle svg { inline-size: 24px; block-size: 24px; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin-block: 0 1rem; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
:is(h1,h2,h3,h4):focus { outline: none; }

/* Keep Latin brand text & numerals LTR even on Arabic pages */
.ltr, .brand-latin, .phone-num { direction: ltr; unicode-bidi: isolate; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--card); }
.section--petrol { background: var(--petrol); color: var(--on-petrol); }
.section--petrol :is(h1,h2,h3,h4) { color: #fff; }
.section--petrol p { color: #cfe0df; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-block-end: .6rem; }
.section--petrol .eyebrow { color: var(--brass); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.section-head { max-width: 60ch; margin-block-end: 2.5rem; }
.section-head.center { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1; padding: .95rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s, box-shadow .2s, color .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brass); color: var(--on-brass); box-shadow: 0 6px 18px rgba(244,168,29,.32); }
.btn--primary:hover { background: var(--brass-hover); color: var(--on-brass); }
.btn--ghost { background: transparent; color: var(--on-petrol); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--petrol-900); color: #fff; }
.btn--wa { background: #25D366; color: #08351b; }
.btn--wa:hover { background: #1eb457; color: #08351b; }
.btn--sm { padding: .6rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ============================================================
   TOP EMERGENCY RIBBON
   ============================================================ */
.ribbon { background: var(--petrol-900); color: #dfeceb; font-size: .85rem; }
.ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding-block: .5rem; flex-wrap: wrap; }
.ribbon a { color: var(--brass); font-weight: 700; }
.ribbon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emergency); box-shadow: 0 0 0 0 rgba(228,87,46,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,87,46,.55);} 70% { box-shadow: 0 0 0 8px rgba(228,87,46,0);} 100% { box-shadow: 0 0 0 0 rgba(228,87,46,0);} }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--card); border-block-end: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--petrol); letter-spacing: -.01em; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-block-start: 3px; }
.primary-nav { margin-inline-start: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; padding: 0; }
.primary-nav a { display: block; padding: .55rem .7rem; border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink-strong); }
.primary-nav a:hover { background: var(--surface); text-decoration: none; color: var(--petrol); }
.primary-nav .current-menu-item > a { color: var(--teal-dark); }
.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; color: var(--petrol); font-size: .95rem; }
.header-phone:hover { text-decoration: none; color: var(--teal-dark); }
.lang-switch { display: inline-flex; gap: .2rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.lang-switch a { padding: .3rem .5rem; border-radius: 6px; color: var(--muted); }
.lang-switch a.current-lang { background: var(--petrol); color: #fff; }
.nav-toggle { display: none; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: inline-block; }

/* mega dropdown */
.has-mega { position: relative; }
.mega { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem; width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h4 { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-block: .4rem .1rem; }
.mega a { padding: .45rem .5rem; font-weight: 500; font-size: .9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--petrol); color: var(--on-petrol); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 5rem); position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-block-end: 1rem; }
.hero h1 .hl { color: var(--brass); }
.hero-sub { font-size: 1.2rem; color: #c9dbda; max-width: 52ch; margin-block-end: 1.6rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-block-end: 1.8rem; }
.trust-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.trust-strip li { list-style: none; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #d7e6e5; }
.trust-strip svg { width: 18px; height: 18px; color: var(--brass); flex: none; }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; background: #0b2a30; }
.hero-card { position: absolute; inset-block-end: -22px; inset-inline-start: -22px; background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.2rem; width: min(300px, 78%); border: 1px solid var(--border); }
.hero-card .eyebrow { margin-block-end: .35rem; }
.hero-card .field { margin-block-end: .55rem; }
.hero-card-phone { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--petrol); margin-block: .2rem .5rem; }
.hero-card-phone:hover { text-decoration: none; color: var(--teal-dark); }
.hero-card-phone svg.ic { inline-size: 20px; block-size: 20px; color: var(--brass); }
.hero-card > p { color: var(--muted); font-size: .9rem; margin-block-end: .85rem; }
.stat-chip { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; background: var(--brass); color: var(--on-brass); font-family: var(--font-head); font-weight: 800; font-size: .82rem; padding: .5rem .8rem; border-radius: 999px; box-shadow: var(--shadow-md); }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.svc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--teal) 40%, var(--border)); }
.svc-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brass) 18%, var(--card)); color: var(--petrol); margin-block-end: 1rem; }
.svc-ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.18rem; margin-block-end: .4rem; }
.svc-card p { color: var(--muted); font-size: .96rem; margin-block-end: 1rem; }
.svc-card .more { margin-block-start: auto; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--teal-dark); display: inline-flex; align-items: center; gap: .35rem; }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.svc-card:hover .more svg { transform: translateX(3px); }
html[dir="rtl"] .svc-card:hover .more svg { transform: translateX(-3px); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--brass); }
.stat .l { font-size: .92rem; color: #cfe0df; }

/* trust badges row */
.badges { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .5rem .95rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink-strong); box-shadow: var(--shadow-sm); }
.badge svg { width: 18px; height: 18px; color: var(--trust-green); }

/* process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.step { position: relative; padding-block-start: .5rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--petrol); color: #fff; font-family: var(--font-head); font-weight: 800; margin-block-end: .8rem; }
.step h3 { font-size: 1.1rem; margin-block-end: .3rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   ANSWER-FIRST + FAQ + TABLES (content pages)
   ============================================================ */
.answer-lead { font-size: 1.12rem; color: var(--ink); background: color-mix(in srgb, var(--teal) 8%, var(--card)); border-inline-start: 4px solid var(--teal); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-block-end: 1.4rem; }
.table-wrap { overflow-x: auto; margin-block: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: start; padding: .8rem 1rem; border-block-end: 1px solid var(--border); }
thead th { background: var(--petrol); color: #fff; font-family: var(--font-head); font-weight: 700; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface) 60%, var(--card)); }

.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq details { border-block-end: 1px solid var(--border); }
.faq details:last-child { border-block-end: 0; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ============================================================
   QUOTE CTA BAND + FORM
   ============================================================ */
.cta-band { background: linear-gradient(135deg, var(--petrol), var(--petrol-900)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-block-end: .9rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink-strong); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,138,160,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-msg { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-block-end: 1rem; font-weight: 600; }
.form-msg.ok { background: color-mix(in srgb, var(--trust-green) 14%, var(--card)); color: var(--trust-green); border: 1px solid color-mix(in srgb, var(--trust-green) 40%, transparent); }
.form-msg.err { background: color-mix(in srgb, var(--emergency) 12%, var(--card)); color: var(--emergency); border: 1px solid color-mix(in srgb, var(--emergency) 40%, transparent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--petrol-900); color: #b9cccb; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-block-end: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: #b9cccb; }
.site-footer a:hover { color: var(--brass); text-decoration: none; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #91a7a6; margin-block: 1rem 1.2rem; max-width: 34ch; }
.footer-contact strong { color: #fff; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.2rem; border-block-start: 1px solid rgba(255,255,255,.08); }
.footer-badges .badge { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #dfeceb; }
.footer-badges .badge svg { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.4rem; flex-wrap: wrap; padding-block: 1.2rem; border-block-start: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #7f9695; }
.footer-credit a { color: var(--brass); font-weight: 600; }
.footer-social { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.social-ic { display: inline-grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #dfeceb; flex: none; }
.social-ic:hover { background: var(--brass); color: var(--on-brass); border-color: var(--brass); text-decoration: none; }
.social-ic svg.ic { inline-size: 18px; block-size: 18px; }

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */
.mobile-bar { display: none; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70; background: var(--card); border-block-start: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding: 0; padding-block-end: env(safe-area-inset-bottom, 0px); grid-template-columns: 1fr 1fr; gap: 0; }
.mobile-bar .btn { padding: 1.05rem; border-radius: 0; border: 0; font-size: 1.02rem; }

/* WhatsApp float (desktop) */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 65; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   BREADCRUMB / PAGE HEAD
   ============================================================ */
.page-head { background: var(--card); border-block-end: 1px solid var(--border); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-block-end: .6rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { color: var(--teal-dark); }
.page-head h1 { margin-block-end: .5rem; }

/* generic prose */
.prose { max-width: 72ch; }
.prose h2 { margin-block: 2rem .8rem; }
.prose h3 { margin-block: 1.4rem .5rem; }
.prose ul, .prose ol { margin-block: 0 1.2rem; padding-inline-start: 1.4rem; }
.prose li { margin-block-end: .4rem; }
.checklist { list-style: none; padding-inline-start: 0; }
.checklist li { position: relative; padding-inline-start: 1.9rem; margin-block-end: .6rem; }
.checklist li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--trust-green); font-weight: 800; }

/* content layout with sidebar */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 1.2rem; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }

/* skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--card); padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow-md); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .primary-nav, .header-phone .label { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--card); cursor: pointer; }
  .nav-toggle svg { width: 24px; height: 24px; color: var(--petrol); }
  .primary-nav.open { display: block; position: fixed; top: var(--header-h); inset-inline: 0; inset-block-end: 0; background: var(--card); padding: 1rem; overflow-y: auto; z-index: 55; overscroll-behavior: contain; }
  .primary-nav.open ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .primary-nav.open a { padding: .9rem 1rem; border-block-end: 1px solid var(--border); font-size: 1.05rem; }
  .primary-nav.open .mega { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; padding: .2rem 0 .2rem 1rem; }
  .mobile-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-block-end: 70px; }
}
@media (max-width: 720px) {
  /* Declutter the top bar: logo + hamburger only (Call/WhatsApp live in the bottom bar). */
  .header-cta .btn--primary, .header-phone { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.02rem; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-card { position: static; width: 100%; margin-block-start: 1rem; inset: auto; }
  .stat-chip { display: none; }
}

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