/* fonts: Outfit and Figtree (SIL Open Font License), served from this site */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/outfit-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/outfit-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* HowMuch.ae — approved design v2 (30/11/2026): sand page, Gulf-blue ink, sun-yellow reserved for prices. */
:root {
  color-scheme: only light;   /* the site is light only; stops browsers from darkening it on phones in dark mode */
  --sand: #f5efe6; --sand-2: #ebe1d2; --paper: #ffffff; --ink: #10283a; --ink-2: #4e6170; --line: #e3d9ca;
  --sea: #1d6b88; --sun: #f6b60a; --sun-soft: #fdf0c7; --leaf: #2b7a57; --leaf-soft: #e2f1e8;
  --m1: #1d6b88; --m2: #2b7a57; --m3: #b4531c; --m4: #6a45c9; --m5: #b8326b; --m6: #5d6b78;
  --shadow: 0 1px 2px rgba(16,40,58,.06), 0 12px 32px -18px rgba(16,40,58,.28);
  --f-display: "Outfit", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
a { color: var(--sea); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1120px; margin: 0 auto; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tn { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 50; }

/* header */
.site .inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; }
.logo .q { width: 34px; height: 34px; border-radius: 11px 11px 11px 3px; background: var(--sun); color: #10283a; display: grid; place-items: center; font-size: 21px; font-weight: 800; transform: rotate(-6deg); }
.logo .tld { color: var(--ink-2); font-weight: 600; font-size: 17px; letter-spacing: 0; }
nav.main { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 500; font-size: 15.5px; margin-inline-start: auto; }
nav.main a { color: var(--ink-2); text-decoration: none; }
nav.main a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* hero */
.hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-block: 24px 56px; }
.crumbs { font-size: 14px; color: var(--ink-2); display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 5.6vw, 58px); line-height: 1.03; letter-spacing: -0.035em; margin: 0 0 20px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 4px; }
.dek { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; max-width: 46ch; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #10283a; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 19px; flex: none; }
.byline b { color: var(--ink); font-weight: 600; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); background: var(--sand-2); }
.chip-float { position: absolute; left: -18px; bottom: -22px; background: var(--paper); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.chip-float span { font-size: 13.5px; color: var(--ink-2); }
.chip-float b { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.02em; }

/* picker */
.picker-band { background: var(--paper); border-radius: 32px 32px 0 0; }
.picker-band .inner { padding-block: 48px 40px; }
h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.sub { color: var(--ink-2); margin: 0 0 28px; max-width: 60ch; }
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 200px)); gap: 14px; }
.size { appearance: none; border: 2px solid transparent; background: var(--sand); border-radius: 22px; padding: 10px 10px 14px; cursor: pointer; text-align: center; color: var(--ink); font: inherit; display: grid; gap: 6px; align-content: start; transition: border-color .15s, transform .15s; }
.size img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; background: var(--sand-2); }
.size .ic-tile { width: 100%; aspect-ratio: 1.6; border-radius: 15px; background: var(--sand-2); display: grid; place-items: center; color: var(--sea); }
.size .ic-tile svg { width: 44px; height: 44px; stroke-width: 1.6; }
.size .nm { font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.size .rg { font-size: 13.5px; color: var(--ink-2); }
.size:hover { transform: translateY(-2px); }
.size[aria-pressed="true"] { border-color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.answer { margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; align-items: center; background: var(--sun-soft); border-radius: 22px; padding: 22px 26px; }
.answer .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.answer .big small { font-size: .42em; font-weight: 700; letter-spacing: 0; margin-right: 6px; vertical-align: .55em; }
.answer p { margin: 0; }
.answer .meta { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* companies */
.companies .inner { padding-block: 56px 32px; }
.list { display: grid; gap: 14px; }
.co { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; background: var(--paper); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); }
.co.best { outline: 2px solid var(--leaf); }
.mono { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 19px; color: #fff; }
.mono.c1 { background: var(--m1); } .mono.c2 { background: var(--m2); } .mono.c3 { background: var(--m3); }
.mono.c4 { background: var(--m4); } .mono.c5 { background: var(--m5); } .mono.c6 { background: var(--m6); }
.co h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.tag.best { background: var(--leaf-soft); color: var(--leaf); }
.tag.spons { background: var(--sun-soft); color: var(--ink); }
.src { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.src a { color: var(--ink-2); }
.price { text-align: right; min-width: 130px; }
.price b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; white-space: nowrap; }
.price span { font-size: 13px; color: var(--ink-2); }
.visit { display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.visit:hover { background: var(--sea); }
.others { margin-top: 18px; font-size: 15.5px; color: var(--ink-2); }
.others a { color: var(--ink); font-weight: 600; }
.small-note { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

/* factors */
.factors-band .inner { padding-block: 40px 56px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.factors-band.solo .inner { grid-template-columns: 1fr; }
.factors-band.solo .flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.factors-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px; background: var(--sand-2); }
.factor { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.factor .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--sea); }
.factor h3 { margin: 0; font-size: 17px; font-weight: 700; }
.factor p { margin: 2px 0 0; color: var(--ink-2); font-size: 15.5px; }

/* cards */
.cards-band { background: var(--paper); }
.cards-band .inner { padding-block: 52px; }
.pests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pest { border-radius: 20px; background: var(--sand); padding: 18px 20px; display: grid; gap: 4px; }
.pest .k { font-size: 14px; color: var(--ink-2); }
.pest b { font-family: var(--f-display); font-size: 24px; letter-spacing: -0.02em; }
.pest span { font-size: 15px; }

/* official note */
.official .inner { padding-block: 8px 40px; }
.official .box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.official .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; color: var(--sea); }
.official h3 { margin: 0 0 4px; font-family: var(--f-display); font-size: 20px; }
.official p { margin: 0; color: var(--ink-2); }

/* faq + editor */
.faq-band .inner { padding-block: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 22px; line-height: 1; color: var(--sea); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 18px; color: var(--ink-2); max-width: 60ch; }
.fred { background: var(--paper); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.fred .who { display: flex; gap: 14px; align-items: center; }
.fred .avatar { width: 58px; height: 58px; font-size: 24px; }
.fred h3 { margin: 0; font-family: var(--f-display); font-size: 21px; }
.fred .role { font-size: 14px; color: var(--ink-2); }
.fred p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.fred .ok { display: inline-flex; gap: 7px; align-items: center; font-size: 14px; font-weight: 600; color: var(--leaf); background: var(--leaf-soft); padding: 6px 12px; border-radius: 999px; justify-self: start; }

/* related + home grid */
.related .inner { padding-block: 8px 64px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.svc { display: grid; grid-template-rows: 1fr auto; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.svc-main { display: grid; align-content: start; text-decoration: none; color: var(--ink); }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--sand-2); }
.svc-main div { padding: 14px 18px 16px; display: grid; gap: 2px; }
.svc b { font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.svc-main span { font-size: 14.5px; color: var(--ink-2); }
.svc em { font-style: normal; font-weight: 700; font-family: var(--f-display); font-size: 17px; margin-top: 6px; }
.svc-main:hover b { color: var(--sea); }
.svc-cities { padding: 10px 18px 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.svc-cities a { color: var(--ink); font-weight: 600; text-decoration: none; }
.svc-cities a:hover { color: var(--sea); text-decoration: underline; }

/* home */
.home-hero .inner { padding-block: 32px 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
picture { display: block; }
.band-white { background: var(--paper); border-radius: 32px 32px 0 0; }
.band-white .inner { padding-block: 48px 56px; }

/* prose pages */
.prose .inner { max-width: 760px; padding-block: 32px 72px; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 32px; }

footer.site-foot { background: var(--ink); color: var(--sand); }
footer.site-foot .inner { padding-block: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 15px; }
footer.site-foot .logo { color: var(--sand); }
footer.site-foot .logo .tld { color: var(--sand); opacity: .7; }
footer.site-foot a { color: var(--sand); opacity: .85; text-decoration: none; }
footer.site-foot p { flex-basis: 100%; margin: 0; opacity: .7; font-size: 14px; max-width: 80ch; }

@media (max-width: 900px) {
  .hero .inner, .factors-band .inner, .faq-band .inner, .home-hero .inner { grid-template-columns: 1fr; gap: 36px; }
  .chip-float { left: 14px; }
  .pests { grid-template-columns: 1fr 1fr; }
  .factors-band.solo .flist { grid-template-columns: 1fr; }
  nav.main { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .sizes { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .size { flex: 0 0 132px; scroll-snap-align: start; }
  .answer { grid-template-columns: 1fr; }
  .co { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; }
  .mono { width: 48px; height: 48px; font-size: 17px; border-radius: 14px; }
  .price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .co .act { grid-column: 1 / -1; }
  .visit { width: 100%; justify-content: center; }
  .pests { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .size { transition: none; } .size:hover { transform: none; } }

/* city switcher */
.cities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 24px; font-size: 14.5px; }
.cities span { color: var(--ink-2); margin-right: 2px; }
.cities a, .cities b { padding: 5px 13px; border-radius: 999px; text-decoration: none; }
.cities a { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.cities a:hover { color: var(--sea); }
.cities b { background: var(--ink); color: var(--paper); font-weight: 600; }

/* quick answer + at a glance (SEO/AIO: visible, quotable numbers) */
.quick { font-size: 16px; line-height: 1.55; background: var(--paper); border-left: 4px solid var(--sun); border-radius: 0 14px 14px 0; padding: 12px 16px; margin: -6px 0 22px; max-width: 52ch; }
.byname { color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.glance .inner { padding-block: 44px 8px; }
.glance-wrap { overflow-x: auto; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.glance-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.glance-table th, .glance-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.glance-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 600; }
.glance-table tbody tr:last-child th, .glance-table tbody tr:last-child td { border-bottom: 0; }
.glance-table tbody th { font-family: var(--f-display); font-weight: 600; }
.glance-table .muted { color: var(--ink-2); font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fred-page .who { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.fred-page .avatar { width: 72px; height: 72px; font-size: 30px; }
.fred-page table { width: 100%; border-collapse: collapse; }
.fred-page td, .fred-page th { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* how to pay less (tips worked out from the prices) */
.pay-less .inner { padding-block: 16px 24px; }
.pay-less .panel { background: var(--paper); border-radius: 26px; box-shadow: var(--shadow); padding: 32px 32px 18px; }
.pay-less .sub { margin-bottom: 12px; }
.save-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.save-list .factor .ic { background: var(--sand); }
@media (max-width: 900px) { .save-list { grid-template-columns: 1fr; } .pay-less .panel { padding: 24px 20px 10px; } }

/* price index */
.index-page .inner { padding-bottom: 8px; }
.findings li { margin-bottom: 8px; }
.index-table .inner { padding-block: 8px 8px; }
.glance-table tr.grp th { background: var(--sand); font-family: var(--f-display); font-size: 17px; padding-block: 12px; }
.glance-table tr.grp th a { color: inherit; }
.glance-table td a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.glance-table td a:hover { text-decoration-color: currentColor; }
.cite { background: var(--paper); border-left: 4px solid var(--sun); border-radius: 0 14px 14px 0; padding: 12px 16px; font-size: 15px; }
.index-link { margin: 22px 0 0; font-weight: 600; }

/* dark header, same colour as the footer (#10283a), logo and links in light colours */
header.site { background: #10283a; }
header.site .logo { color: #fff; }
header.site .logo .tld { color: rgba(255, 255, 255, .6); }
header.site nav.main a { color: rgba(255, 255, 255, .72); }
header.site nav.main a:hover { color: #fff; }
header.site nav.main a[aria-current] { color: #fff; }

/* first-booking offer on a company card (shown only; never used in any price calculation) */
.price .first-offer { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.price .first-offer b { display: inline; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; }
