/* Cairo (variable 200-1000), self-hosted from Google Fonts (OFL). */
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-arabic.woff2) format("woff2");  }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-latin.woff2) format("woff2");  }

/* Best Fix — site styles. Tokens mirror ../../../brand/colors/tokens.css */
:root {
  --orange: #DB7C33;
  --orange-600: #AD5B1C;
  --orange-50: #FBF1E8;
  --ink: #161616;
  --ink-2: #1F1F1F;
  --line-dark: #2E2E2E;
  --paper: #F6F6F6;
  --white: #FFFFFF;
  --text: #1B1B1B;
  --muted: #5E5E5E;
  --muted-dark: #A9A9A9;
  --line: #E4E4E4;
  --wa: #25D366;
  --wa-600: #1DA851;
  --font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --container: 1180px;
  --shadow: 0 10px 30px rgba(22, 22, 22, .08);
  --header-h: 72px;
}

*, *::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);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(32px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.ic { width: 22px; height: 22px; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 26px;
  border-radius: 999px; border: 0;
  font: 800 18px/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-call { background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px rgba(219, 124, 51, .35); }
.btn-call:hover { background: #E58A44; }
.btn-wa { background: var(--wa); color: #06281A; box-shadow: 0 8px 24px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: #2EE072; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Promo bar ---------- */
.promo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; background: var(--orange); color: var(--ink);
  font-size: 15px; font-weight: 700; text-align: center; line-height: 1.5;
}
.promo .ic { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #161616; /* solid: a backdrop blur here is re-rendered on every scroll/slider frame */
  border-bottom: 1px solid var(--line-dark);
}
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo svg { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 22px; font-weight: 800; letter-spacing: .5px; direction: ltr; text-align: right; }
.logo-text em { font-style: normal; color: var(--orange); }
.logo-text small { font-size: 12px; color: var(--muted-dark); font-weight: 600; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: #D9D9D9; font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--white); background: var(--ink-2); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.hdr-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--ink);
  font-weight: 800; padding: 10px 18px; border-radius: 999px; font-size: 16px;
}
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--white); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(219, 124, 51, .18), transparent 60%),
    var(--ink);
  color: #D9D9D9;
  padding: 64px 0 72px;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--orange); display: block; }
.hero .lead { font-size: 19px; color: #C8C8C8; max-width: 56ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.live {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #E8E8E8;
  margin-bottom: 18px;
}
.live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
/* GPU-only pulse (transform + opacity): no repaint every frame */
.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(37, 211, 102, .55); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.hero-img { position: relative; margin: 0; }
.hero-img img { border-radius: var(--r-lg); aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; width: 100%; }
.hero-img::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border: 2px solid var(--orange); border-radius: var(--r-lg); z-index: -1;
}
.hero-img { z-index: 0; }
.hero-badge {
  position: absolute; bottom: 22px; right: -18px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: var(--r);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.hero-badge .ic { color: var(--orange); width: 30px; height: 30px; }
.hero-badge b { display: block; font-size: 22px; line-height: 1; }
.hero-badge span { font-size: 13px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #DDDDDD; }
.chips .ic { color: var(--orange); width: 20px; height: 20px; }

.hero-sm { padding: 40px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-dark); margin-bottom: 24px; }
.crumbs a:hover { color: var(--white); }
.svc-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.svc-icon { width: 88px; height: 88px; border-radius: 22px; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.svc-icon .ic { width: 46px; height: 46px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--orange-50); }
.section-dark { background: var(--ink); color: #C8C8C8; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 18px; }
.section-dark .sec-head p { color: var(--muted-dark); }
.eyebrow { display: inline-block; color: #9A4F17; font-weight: 800; font-size: 15px; margin-bottom: 8px; letter-spacing: .3px; }
.section-dark .eyebrow { color: var(--orange); }

/* Services */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-service {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card-service:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.cs-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; margin-bottom: 18px; }
.cs-icon .ic { width: 32px; height: 32px; }
.card-service h3 a:hover { color: var(--orange-600); }
.card-service p { color: var(--muted); font-size: 16px; flex: 1; }
.cs-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.link-more .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-more:hover .ic { transform: translateX(-4px); }
.cs-wa { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: #0F6B35; padding: 6px 12px; border-radius: 999px; background: #E9FBF0; }
.cs-wa .ic { width: 18px; height: 18px; }
.cs-wa:hover { background: #D5F7E2; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 30px; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.steps p { margin: 0; color: var(--muted-dark); }
.section-dark .cta-row { margin-top: 40px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img { margin: 0; }
.why-img img { border-radius: var(--r-lg); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.ticks { display: grid; gap: 18px; margin-top: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ic { color: var(--ink); background: var(--orange); border-radius: 50%; padding: 5px; width: 30px; height: 30px; margin-top: 2px; }
.ticks b { display: block; font-size: 18px; color: var(--ink); }
.ticks span { color: var(--muted); font-size: 16px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.areas li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid #EFD6C2; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.areas .ic { width: 18px; height: 18px; color: var(--orange-600); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.faq details[open] { border-color: var(--orange); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 18px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--orange-600); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Final CTA */
.final-cta { background: var(--orange); padding: 56px 0; }
.fc { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.fc h2 { margin: 0 0 4px; }
.fc p { margin: 0; color: #3A2410; font-size: 18px; font-weight: 600; }
.final-cta .btn-call { background: var(--ink); color: var(--white); box-shadow: none; }
.final-cta .btn-call:hover { background: #262626; }

/* Service page */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.problems li { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 600; font-size: 16px; }
.problems .ic { color: var(--orange-600); width: 20px; height: 20px; margin-top: 4px; }
.cta-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: var(--muted-dark); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 12px; }
.cta-card h3 { color: var(--white); font-size: 22px; margin: 0; }
.cta-card p { margin: 0 0 6px; }
.cta-card .btn { width: 100%; }
.cta-card small { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.cta-card small .ic { width: 18px; height: 18px; color: var(--orange); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brands li { background: var(--white); border: 1px solid #EFD6C2; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 700; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
.other-svcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-svcs a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 12px; font-weight: 700; transition: border-color .2s; }
.other-svcs a:hover { border-color: var(--orange); }
.other-svcs .ic { width: 34px; height: 34px; color: var(--orange-600); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.contact-card h2 { font-size: 24px; margin: 8px 0 0; }
.contact-card p { color: var(--muted); font-size: 18px; font-weight: 600; }
.contact-card .btn { margin-top: auto; }
.cc-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.cc-icon .ic { width: 32px; height: 32px; }
.cc-call { background: var(--orange); color: var(--ink); }
.cc-wa { background: var(--wa); color: #06281A; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 64px 0 0; font-size: 16px; }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr h3 { color: var(--white); font-size: 18px; }
.ftr ul { display: grid; gap: 10px; }
.ftr a:hover { color: var(--white); }
.ftr-brand p { margin-top: 16px; max-width: 40ch; }
.ftr-contact li, .ftr-contact a { display: inline-flex; align-items: center; gap: 10px; }
.ftr-contact .ic { color: var(--orange); width: 20px; height: 20px; }
.ftr-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-block: 22px; font-size: 14px; }

/* Floating / sticky CTAs */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 32px; height: 32px; }
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .why { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { max-width: 640px; }
  .hero-badge { right: 12px; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .cta-card { position: static; }
  .other-svcs { grid-template-columns: repeat(3, 1fr); }
  .ftr { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 10px; font-size: 17px; }
  .menu-btn { display: inline-flex; }
  .hdr { gap: 12px; }
  .hdr-cta { margin-inline-start: auto; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: 72px; }
  .container { padding-inline: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 36px 0 48px; }
  .hero .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hdr-phone span { display: none; }
  .hdr-phone { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .logo svg { width: 36px; height: 36px; }
  .logo-text b { font-size: 19px; }
  .hero-img::before { display: none; }
  .hero-badge { bottom: 12px; right: 12px; padding: 10px 14px; }
  .grid-services, .steps, .contact-grid { grid-template-columns: 1fr; }
  .problems { grid-template-columns: 1fr; }
  .other-svcs { grid-template-columns: repeat(2, 1fr); }
  .svc-hero { grid-template-columns: 1fr; gap: 18px; }
  .svc-icon { width: 64px; height: 64px; border-radius: 18px; }
  .svc-icon .ic { width: 34px; height: 34px; }
  .ftr { grid-template-columns: 1fr; }
  .fc { flex-direction: column; align-items: stretch; text-align: center; }
  .promo { font-size: 13px; }
  .wa-float { display: none; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(22, 22, 22, .96); border-top: 1px solid var(--line-dark);
  }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 800; font-size: 17px; }
  .sc-call { background: var(--orange); color: var(--ink); }
  .sc-wa { background: var(--wa); color: #06281A; }
}

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

/* ---------- Readability: balanced line breaks ---------- */
h1, h2, h3, .sec-head p { text-wrap: balance; }
/* text-wrap: pretty is costly on low-end phones; balance only on short headings */


/* ---------- Location ---------- */
.btn-ghost { background: var(--white); color: var(--ink); border: 2px solid var(--ink); min-height: 50px; font-size: 17px; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.loc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.loc-body p { color: var(--muted); font-size: 18px; }
.loc-list { display: grid; gap: 12px; margin: 8px 0 26px; }
.loc-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.loc-list .ic { color: var(--orange-600); }
.loc-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #E9E5DF; aspect-ratio: 4 / 3; }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1024px) { .loc { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .loc .btn { width: 100%; } .loc-map { aspect-ratio: 1 / 1; } }
/* Map facade: the Google Maps iframe loads only on tap (keeps the page fast) */
.loc-map { position: relative; }
.map-load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; font: inherit; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    radial-gradient(circle at 50% 46%, rgba(219, 124, 51, .22), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(22, 22, 22, .06) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(22, 22, 22, .06) 38px 40px),
    #ECE8E2;
}
.map-load .ic { width: 52px; height: 52px; color: var(--orange); }
.map-load b { font-size: 22px; font-weight: 800; }
.map-load span { font-size: 15px; font-weight: 700; color: var(--ink); background: var(--white); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.map-load:hover span { background: var(--orange); }
.hdr-phone, .nav a { white-space: nowrap; }

/* ---------- Hero artwork: transparent cut-out rising from the hero's bottom edge ---------- */
.hero .lead { line-height: 1.9; }
.hero-grid:has(.hero-art) { align-items: end; }
.hero-grid:has(.hero-art) .hero-copy { align-self: center; padding-bottom: 8px; }
.hero-art { position: relative; margin: 0 0 -72px; display: flex; justify-content: center; z-index: 0; }
/* shadow on the wrapper so the bottom fade (mask on the img) does not clip it into a box */
.hero-art picture, .hero-art .art { display: block; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .6)) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 8% 6% -10%; width: auto; height: auto; border: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(219, 124, 51, .32), rgba(219, 124, 51, .10) 55%, transparent 100%);
  filter: blur(6px);
}
.hero-art img {
  width: 100%; max-width: 560px; height: auto;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 16%);
  mask-image: linear-gradient(to top, transparent 0, #000 16%);
}
.hero-art .hero-badge { bottom: 34%; right: 2%; }
@media (max-width: 1024px) {
  .hero-art { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hero .lead { line-height: 1.85; }
  .hero-grid:has(.hero-art) { gap: 24px; }
  .hero-art { max-width: 300px; margin-bottom: -48px; }
  .hero-art::before { inset: 12% 0 -10%; }
  .hero-art .hero-badge { display: none; }
}
@media (max-width: 640px) { .hero-img .hero-badge { bottom: 10px; right: 10px; padding: 8px 12px; gap: 8px; } .hero-img .hero-badge .ic { width: 22px; height: 22px; } .hero-img .hero-badge b { font-size: 18px; } .hero-img .hero-badge span { font-size: 11px; } }

/* ---------- Hero slider (engineer + one photo per service) ---------- */
.hs { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; background: #0d0d0d; isolation: isolate; }
.hero-img .hs img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 50% 30%; }
/* entry: new slide fades in while settling from a slight scale-up */
.hs { contain: layout paint; }
.hs-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 0; }
.hs-slide.is-on { opacity: 1; transform: scale(1); z-index: 1; }
/* slow cinematic drift (alternating direction) */
/* image motion alternates: zoom in, then zoom out on the next slide */
.hs-slide.is-on img { animation: hs-zoom 4.2s ease-out both; will-change: transform; }
.hs-slide:nth-child(even).is-on img { animation-name: hs-zoom-out; }
@keyframes hs-zoom { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes hs-zoom-out { from { transform: scale(1.14); } to { transform: scale(1); } }
/* soft bottom shade so the tag and dots stay readable */
.hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .55), transparent 38%); pointer-events: none; }
/* service tag */
.hs-tag {
  position: absolute; z-index: 2; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22, 22, 22, .86); color: #fff;
  border: 1px solid rgba(219, 124, 51, .55); border-radius: 999px; padding: 7px 14px 7px 16px;
  font-weight: 800; font-size: 15px; line-height: 1.2;
}
.hs-tag .ic { width: 18px; height: 18px; color: var(--orange); }
/* orange light sweep on every change (owner request) */
.hs-flash { position: absolute; inset: -20% -60%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(219, 124, 51, .38) 48%, rgba(255, 220, 190, .28) 50%, rgba(219, 124, 51, .30) 52%, transparent 60%); }
@keyframes hs-sweep { 0% { opacity: 1; transform: translateX(45%); } 100% { opacity: 0; transform: translateX(-45%); } }
/* dots */
.hs-dots { position: absolute; z-index: 4; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hs-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hs-dots i { display: block; width: 22px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .55); transform: scaleX(.32); transition: transform .35s ease, background-color .35s ease; }
.hs-dots [aria-selected="true"] i { transform: scaleX(1); background: var(--orange); }
.hs-dots { gap: 2px; }
.hero-img .hero-badge { z-index: 5; }
@media (max-width: 640px) {
  .hs-tag { top: 12px; right: 12px; font-size: 13px; padding: 6px 12px; }
  .hs-dots { bottom: auto; top: 50%; left: 6px; transform: translateY(-50%); flex-direction: column; gap: 0; }
  .hs-dots button { width: 24px; height: 24px; }
  .hs-dots i { width: 7px; height: 20px; transform: scaleY(.35); transition: transform .35s ease, background-color .35s ease; }
  .hs-dots [aria-selected="true"] i { transform: scaleY(1); }
}
/* keep the slider zoom on every phone, even with "reduce motion" on (owner request) */
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-on img { animation: hs-zoom 4.2s ease-out both !important; }
  .hs-slide:nth-child(even).is-on img { animation-name: hs-zoom-out !important; }
  .hs-slide { transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1) !important; }
}

/* ---------- Section labels (eyebrow): soft pill with glowing dot — owner's choice #1 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; margin-bottom: 12px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: 0; line-height: 1.5;
  color: #9A4F17; background: #FBEBDD; border: 1px solid #F1CFAF;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(219, 124, 51, .18); flex: none; }
.section-dark .eyebrow { color: #F2A267; background: rgba(219, 124, 51, .14); border-color: rgba(219, 124, 51, .35); }
.section-tint .eyebrow { background: #FFFFFF; }

/* ---------- Blog ---------- */
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body time { font-size: 14px; color: var(--muted); font-weight: 600; }
.pc-body h3 { font-size: 19px; margin: 0; line-height: 1.45; }
.pc-body h3 a:hover { color: var(--orange-600); }
.pc-body p { color: var(--muted); font-size: 15.5px; margin: 0 0 6px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 15px; margin: 0; flex-wrap: wrap; }
.post-meta .ic { width: 18px; height: 18px; color: var(--orange); }
.post-meta a { color: #F2A267; font-weight: 700; }
.post-cover { margin: 0 0 28px; }
.post-cover img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { font-size: 18px; line-height: 1.95; }
.post-body h2 { font-size: clamp(22px, 2.6vw, 27px); margin: 34px 0 10px; }
.post-body h3 { font-size: 20px; margin: 24px 0 8px; }
.post-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.post-body li { position: relative; padding-inline-start: 22px; }
.post-body li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.post-body strong { color: var(--ink); }
.post-cta { margin-top: 36px; position: static; }
@media (max-width: 1024px) { .grid-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-posts { grid-template-columns: 1fr; } .post-body { font-size: 17px; } }
.grid-posts-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 640px) { .grid-posts-2 { grid-template-columns: 1fr; } }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-dark); border-radius: 12px; color: var(--white);
  font-weight: 800; font-size: 15px; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease;
}
.lang-switch:hover { border-color: var(--orange); background: rgba(219, 124, 51, .12); }
.lang-switch .ic { width: 18px; height: 18px; color: var(--orange); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.nav .nav-lang { display: none; }
@media (max-width: 1100px) {
  .nav .nav-lang { display: inline-flex; align-items: center; gap: 8px; color: #F2A267; font-weight: 800; border-top: 1px solid var(--line-dark); margin-top: 6px; }
  .nav .nav-lang .ic { width: 18px; height: 18px; }
}
@media (max-width: 640px) {
  .lang-switch { height: 46px; padding: 0 11px; font-size: 14px; }
}
@media (max-width: 380px) {
  .lang-switch .ic { display: none; }
}

/* ---------- English (left-to-right) adjustments ---------- */
html[dir="ltr"] body { font-size: 17px; line-height: 1.7; }
html[dir="ltr"] .logo-text b { text-align: left; }
html[dir="ltr"] .link-more .ic, html[dir="ltr"] .btn .ic-arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn-ghost .ic:last-child { transform: scaleX(-1); }
html[dir="ltr"] .wa-float { left: auto; right: 24px; }
html[dir="ltr"] .hs-tag { right: auto; left: 16px; padding: 7px 16px 7px 14px; }
html[dir="ltr"] .hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
@media (max-width: 640px) { html[dir="ltr"] .hs-tag { left: auto; right: 12px; } }

/* ---------- Rendering performance ---------- */
/* Skip layout/paint of below-the-fold sections until they approach the viewport.
   'auto' in contain-intrinsic-size remembers the real height once rendered (no scroll jumps). */
.section, .final-cta { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Timed notice (toast) — site.json → notice ---------- */
.ntc {
  position: fixed; z-index: 70; bottom: 24px; inset-inline-start: 24px;
  width: min(410px, calc(100vw - 48px));
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: start;
  padding: 16px 16px 18px; border-radius: 18px; overflow: hidden;
  background: #1C1C1C; color: #EDEDED; border: 1px solid rgba(219, 124, 51, .38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38), 0 2px 8px rgba(0, 0, 0, .25);
  transform: translateY(calc(100% + 40px)); opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.12), opacity .35s ease;
  will-change: transform, opacity;
}
.ntc[hidden] { display: none; }
.ntc.is-in { transform: none; opacity: 1; }
.ntc.is-out { transform: translateY(calc(100% + 40px)); opacity: 0; transition-timing-function: cubic-bezier(.5, 0, .75, 0), ease; transition-duration: .4s, .3s; }
.ntc::before { /* soft orange glow in the corner */
  content: ""; position: absolute; inset-inline-start: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 124, 51, .28), transparent 70%); pointer-events: none;
}
.ntc-ic { grid-row: 1; width: 44px; height: 44px; border-radius: 13px; background: var(--orange); color: var(--ink); display: grid; place-items: center; position: relative; }
.ntc-ic .ic { width: 22px; height: 22px; }
.ntc-body { grid-row: 1; min-width: 0; position: relative; }
.ntc-badge {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; direction: ltr;
  color: var(--ink); background: linear-gradient(100deg, #DB7C33 0%, #F4B27A 45%, #DB7C33 90%); background-size: 220% 100%;
  padding: 2px 9px; border-radius: 99px; margin-bottom: 4px; animation: ntc-shine 2.6s linear infinite;
}
@keyframes ntc-shine { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.ntc-title { display: block; font-size: 17px; font-weight: 800; color: #fff; line-height: 1.35; }
.ntc-text { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: #BDBDBD; }
.ntc-cta {
  grid-column: 2 / 4; grid-row: 2; justify-self: start; margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px;
  background: var(--wa); color: #06281A; font-weight: 800; font-size: 15px; transition: transform .15s ease;
}
.ntc-cta:hover { transform: translateY(-1px); }
.ntc-cta .ic { width: 20px; height: 20px; }
.ntc-x {
  grid-column: 3; grid-row: 1;
  width: 32px; height: 32px; margin: -6px -6px 0 0; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: #BDBDBD; font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.ntc-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
html[dir="rtl"] .ntc-x { margin: -6px 0 0 -6px; }
/* timer line: shrinks from full width to zero over the notice duration */
.ntc-bar {
  position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #F4B27A, var(--orange));
  transform-origin: right center; transform: scaleX(1);
}
html[dir="ltr"] .ntc-bar { transform-origin: left center; }
.ntc.is-in .ntc-bar { animation: ntc-timer var(--ntc-d, 8s) linear forwards; }
.ntc.is-paused .ntc-bar { animation-play-state: paused; }
@keyframes ntc-timer { to { transform: scaleX(0); } }
@media (max-width: 640px) {
  .ntc { inset-inline: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 14px 14px 16px; gap: 2px 12px; }
  .ntc-ic { width: 40px; height: 40px; }
  .ntc-title { font-size: 16px; }
  .ntc-text { font-size: 13.5px; }
  .ntc-cta { grid-column: 1 / 4; justify-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ntc { transition: opacity .3s ease !important; transform: none !important; }
  .ntc-badge { animation: none !important; }
  .ntc.is-in .ntc-bar { animation: ntc-timer var(--ntc-d, 8s) linear forwards !important; }
}
