:root {
  --navy: #073c78;
  --navy-deep: #062d59;
  --blue: #075db7;
  --blue-bright: #087bd2;
  --teal: #08a89c;
  --cyan: #20c6d0;
  --purple: #5a59c9;
  --gold: #f4b72d;
  --ink: #12365f;
  --muted: #60748e;
  --page: #f7fbff;
  --line: #dce9f4;
  --shadow: 0 7px 18px rgba(16, 67, 117, .09);
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--font); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.container { width: min(1280px, calc(100% - 70px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3000; top: 8px; right: 8px; padding: 9px 14px; border: 2px solid var(--navy); border-radius: 9px; color: var(--navy); background: #fff; opacity: 0; visibility: hidden; transform: translateY(calc(-100% - 12px)); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.skip-link:focus-visible { opacity: 1; visibility: visible; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; height: 58px; background: rgba(255,255,255,.98); border-bottom: 1px solid #e7eef5; box-shadow: 0 2px 12px rgba(18,55,92,.05); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 265px; width: 265px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: center; border-radius: 0 0 0 13px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.5vw, 23px); margin-inline: auto; min-width: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 5px 11px; border-radius: 18px; color: #173b66; font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.nav-link:hover, .nav-link.active { color: #0756a8; background: #e4f5ff; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 15px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #1266c4, #064b9d); box-shadow: 0 4px 11px rgba(7,82,164,.17); font-size: 12px; font-weight: 700; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.header-login:hover { transform: translateY(-1px); box-shadow: 0 7px 15px rgba(7,82,164,.23); }
.header-login .icon { width: 16px; height: 16px; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; padding: 4px 5px; border-radius: 8px; color: #9aa9ba; direction: ltr; font-size: 11px; }
.language-option { min-width: 24px; padding: 3px 5px; border: 0; border-radius: 5px; color: #24466d; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.language-option.is-active { color: #123b70; background: #e7eef8; }
.menu-toggle { display: none; width: 39px; height: 39px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: #fff; cursor: pointer; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(320px, 34.2vw, 410px); overflow: hidden; color: #fff; background: linear-gradient(110deg, #087bbd 0%, #0757a6 48%, #063d83 100%); }
.hero-photo { position: absolute; z-index: -2; inset: 0 auto 0 0; width: 68%; height: 100%; object-fit: cover; object-position: 40% 52%; }
.hero::before { content: ""; position: absolute; z-index: 0; right: -105px; bottom: -91px; width: min(430px, 38vw); height: 180px; border-radius: 100% 0 0 0; background: linear-gradient(135deg, #0aa9b8, #21d5c4); opacity: .78; pointer-events: none; }
.hero-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, #064a98 0%, #064a98 39%, rgba(5,76,151,.96) 45%, rgba(5,86,158,.62) 51%, rgba(6,103,165,.12) 59%, rgba(6,103,165,0) 70%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: inherit; padding-block: 34px 48px; }
.hero-copy { width: min(48%, 610px); margin-inline-start: 0; text-align: right; }
.hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(27px, 3.25vw, 43px); line-height: 1.35; font-weight: 700; letter-spacing: -.45px; }
.hero h1 strong { display: block; margin-top: 1px; color: #58e4dc; font-size: .82em; font-weight: 700; }
.hero-copy > p { max-width: 570px; margin: 0 0 22px; color: rgba(255,255,255,.94); font-size: 14px; line-height: 1.9; }
.hero-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 8px 18px; border-radius: 10px; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 17px; height: 17px; }
.btn-white { color: #123c70; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.13); }
.btn-white:hover { background: #f1f8ff; box-shadow: 0 8px 17px rgba(0,0,0,.18); }
.btn-outline { color: #fff; border: 1.5px solid #37d7e0; background: rgba(4,74,143,.22); }
.btn-outline:hover { background: rgba(38,190,206,.17); }
.info-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #07519d; background: #fff; font-family: Arial,sans-serif; font-size: 11px; font-weight: 800; }
.hero-wave { position: absolute; z-index: 2; bottom: -1px; left: 0; width: 100%; height: 42px; pointer-events: none; }

/* Section headings */
.section { padding-block: 25px; }
.section-heading { margin: 0 auto 17px; text-align: center; }
.section-heading h2 { margin: 0 0 4px; color: #102f5c; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; font-weight: 700; }
.section-heading p { margin: 0; color: #536b87; font-size: 13px; line-height: 1.65; }
.compact-heading h2 { display: inline-block; vertical-align: middle; margin-inline: 13px; }
.heading-line { display: inline-block; vertical-align: middle; width: 68px; height: 2px; background: #66cbd5; }

/* Portal cards */
.portals { position: relative; z-index: 3; margin-top: -9px; padding-top: 0; padding-bottom: 19px; background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.portals .section-heading { margin-bottom: 17px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.portal-card { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 205px; padding: 13px 17px 15px; overflow: hidden; border: 2px solid rgba(219,232,245,.9); border-radius: 21px; text-align: center; box-shadow: 0 7px 15px rgba(18,71,121,.09); transition: transform .22s ease, box-shadow .22s ease; }
.portal-card::before { content: ""; position: absolute; inset: auto auto -92px -42px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.43); pointer-events: none; }
.portal-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(18,71,121,.13); }
.portal-parent { background: linear-gradient(140deg, #e2f3ff 0%, #f2f8ff 100%); }
.portal-staff { background: linear-gradient(140deg, #eeedff 0%, #f6f5ff 100%); }
.portal-admin { background: linear-gradient(140deg, #dff8f1 0%, #f1fcf9 100%); }
.portal-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 53px; height: 53px; margin-bottom: 5px; border-radius: 14px; color: #fff; box-shadow: 0 5px 12px rgba(17,67,119,.13); }
.portal-icon .icon { width: 30px; height: 30px; stroke-width: 2; }
.portal-parent .portal-icon { background: linear-gradient(145deg, #36a9f1, #0874cf); }
.portal-staff .portal-icon { background: linear-gradient(145deg, #7882e5, #4e56bb); }
.portal-admin .portal-icon { background: linear-gradient(145deg, #25bfa9, #078c7d); }
.portal-content { position: relative; z-index: 1; width: 100%; }
.portal-card h3 { margin: 1px 0 4px; color: #143b6c; font-size: 18px; line-height: 1.45; font-weight: 700; }
.portal-card p { min-height: 43px; max-width: 290px; margin: 0 auto 9px; color: #526b88; font-size: 12px; line-height: 1.65; }
.portal-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: min(82%, 220px); min-height: 35px; padding: 6px 12px; border-radius: 9px; color: #fff; font-size: 12px; font-weight: 700; transition: filter .2s ease, transform .2s ease; }
.portal-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.portal-button .icon { width: 15px; height: 15px; }
.portal-parent .portal-button { background: linear-gradient(90deg, #0878d0, #0755a9); }
.portal-staff .portal-button { background: linear-gradient(90deg, #586bd2, #394da6); }
.portal-admin .portal-button { background: linear-gradient(90deg, #0caf9c, #078675); }

/* Six service cards */
.services { padding-top: 1px; padding-bottom: 23px; background: #fff; }
.services .section-heading { margin-bottom: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 13px; }
.service-card { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 10px 14px; border: 1px solid #e1ebf4; border-radius: 13px; background: #fff; box-shadow: 0 4px 12px rgba(20,65,112,.065); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-2px); border-color: #c7dfef; box-shadow: 0 8px 16px rgba(20,65,112,.1); }
.service-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; }
.service-icon .icon { width: 26px; height: 26px; stroke-width: 2; }
.icon-blue { color: #087bd2; background: #e6f4ff; }
.icon-teal { color: #079f92; background: #e2f7f3; }
.icon-orange { color: #ed8b1b; background: #fff1df; }
.icon-purple { color: #8060d5; background: #f0eaff; }
.service-card h3 { margin: 0 0 2px; color: #173e6e; font-size: 15px; line-height: 1.45; font-weight: 700; }
.service-card p { margin: 0; color: #657992; font-size: 11px; line-height: 1.55; }

/* Why choose strip */
.why-section { padding: 0 0 19px; background: #fff; }
.why-strip { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; gap: 5px; min-height: 105px; padding: 12px 22px; border-radius: 100px; background: linear-gradient(100deg, #e7f6ff 0%, #e3f6fc 52%, #eef9ff 100%); }
.why-heading { padding-inline-end: 13px; }
.why-heading > span { color: #0d9fba; font-size: 12px; font-weight: 700; }
.why-heading h2 { margin: 1px 0 0; color: #123d70; font-size: 17px; line-height: 1.5; }
.why-heading i { display: block; width: 40px; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--teal); }
.why-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 75px; padding-inline: 7px; text-align: center; border-inline-start: 1px solid rgba(31,112,157,.17); }
.why-item:last-child { border-inline-start: 0; }
.why-icon { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 3px; color: #078fbd; }
.why-icon .icon { width: 25px; height: 25px; stroke-width: 2; }
.why-item:nth-child(3) .why-icon { color: #089c9c; }
.why-item:nth-child(4) .why-icon { color: #0876c7; }
.why-item strong { color: #1c416c; font-size: 12px; line-height: 1.4; }
.why-item small { margin-top: 1px; color: #72839a; font-size: 10px; line-height: 1.4; }

/* Service cities */
.coverage { padding-top: 0; padding-bottom: 22px; background: #fff; }
.coverage .section-heading { margin-bottom: 13px; }
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.city-card { display: grid; grid-template-columns: 22px auto minmax(65px, 42%); align-items: center; min-height: 61px; gap: 7px; padding: 5px 9px; overflow: hidden; border: 1px solid #e0ebf3; border-radius: 12px; background: linear-gradient(100deg, #fff 0%, #f4faff 100%); box-shadow: 0 4px 10px rgba(20,65,112,.06); }
.city-pin { display: grid; place-items: center; color: #079c99; }
.city-pin .icon { width: 19px; height: 19px; fill: rgba(7,156,153,.08); }
.city-card strong { color: #1a426f; font-size: 15px; font-weight: 700; white-space: nowrap; }
.city-card img { width: 100%; height: 48px; object-fit: cover; object-position: center; align-self: end; opacity: .95; }

/* About the company */
.about { padding-top: 0; padding-bottom: 13px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 150px; overflow: hidden; border-radius: 22px; background: linear-gradient(100deg, #eaf7ff, #f6fbff); }
.about-copy { align-self: center; padding: 16px 24px 15px; }
.about-copy h2 { margin: 0 0 7px; color: #143e70; font-size: 21px; line-height: 1.45; }
.about-copy p { margin: 0; color: #526b88; font-size: 12px; line-height: 1.85; }
.about-photo-wrap { position: relative; min-height: 150px; overflow: hidden; border-radius: 22px 0 0 22px; }
.about-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,64,118,.02), rgba(7,64,118,.08)); pointer-events: none; }
.about-photo-wrap img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: 48% 50%; }

/* Contact strip */
.contact-cta { padding: 0 0 13px; background: #fff; }
.cta-inner { display: flex; align-items: center; gap: 15px; min-height: 76px; padding: 10px 23px; border-radius: 17px; color: #fff; background: linear-gradient(105deg, #075ebc 0%, #2c4eb0 48%, #08a89c 100%); box-shadow: 0 6px 15px rgba(12,77,151,.13); }
.cta-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 13px; background: rgba(255,255,255,.16); }
.cta-icon .icon { width: 26px; height: 26px; }
.cta-copy { flex: 1; }
.cta-copy h2 { margin: 0 0 2px; font-size: 17px; line-height: 1.4; }
.cta-copy p { margin: 0; color: rgba(255,255,255,.9); font-size: 12px; }
.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 135px; min-height: 39px; padding: 7px 15px; border-radius: 9px; color: #124b8b; background: #fff; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 13px rgba(0,0,0,.15); }

/* Footer */
.site-footer { position: relative; overflow: hidden; color: #fff; background: linear-gradient(112deg, #0757a6 0%, #293f9a 48%, #3e2c9a 100%); }
.site-footer::before { content: ""; position: absolute; width: 420px; height: 190px; bottom: -130px; left: -85px; border-radius: 50%; background: rgba(15,188,193,.15); filter: blur(2px); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.12fr 1fr 1.18fr; gap: 32px; padding-block: 23px 18px; }
.footer-grid > * { min-width: 0; }
.footer-grid > * + * { border-inline-start: 1px solid rgba(255,255,255,.25); padding-inline-start: 25px; }
.footer-grid h2 { margin: 0 0 8px; color: #fff; font-size: 16px; font-weight: 700; }
.footer-about p { max-width: 360px; margin: 0; color: rgba(255,255,255,.88); font-size: 12px; line-height: 1.8; }
.footer-social { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.footer-social span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #19a8e4; background: rgba(255,255,255,.12); font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-links a { color: rgba(255,255,255,.9); font-size: 12px; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: #ffe19a; transform: translateX(-2px); }
.footer-contact { display: flex; flex-direction: column; gap: 5px; }
.contact-row { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.9); font-size: 11px; line-height: 1.65; }
.contact-row .icon { width: 15px; height: 15px; color: #b9eaf0; margin-top: 2px; }
.contact-row a:hover { color: #ffe19a; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 38px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.84); font-size: 10px; }
.footer-bottom a:hover { color: #fff; }

/* Uiverse-inspired black round scroll-to-top control */
.back-to-top { position: fixed; z-index: 1200; left: 22px; bottom: 22px; display: grid; place-items: center; width: 53px; height: 53px; padding: 0; border: 2px solid #e8e8e8; border-radius: 50%; color: #fff; background: #171717; box-shadow: 0 5px 16px rgba(0,0,0,.24); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px) scale(.88); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, color .2s ease, background .2s ease, box-shadow .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { color: #171717; background: #e8e8e8; transform: translateY(-4px) scale(1.04); box-shadow: 0 9px 20px rgba(0,0,0,.27); }
.back-to-top:active { transform: translateY(-1px) scale(.97); }
.back-to-top::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(23,23,23,.24); border-radius: 50%; opacity: 0; transform: scale(.82); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.back-to-top:hover::before { opacity: 1; transform: scale(1.13); }
.back-to-top-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s ease; }
.back-to-top:hover .back-to-top-icon { transform: translateY(-3px); }

/* Tablet */
@media (max-width: 1080px) {
  .container { width: min(100% - 48px, 960px); }
  .header-inner { gap: 12px; }
  .brand { flex-basis: 250px; width: 250px; }
  .main-nav { gap: 7px; }
  .nav-link { padding-inline: 8px; font-size: 12px; }
  .header-login { padding-inline: 11px; }
  .hero-copy { width: 50%; }
  .hero h1 { font-size: clamp(27px, 3.2vw, 36px); }
  .portal-card { min-height: 205px; }
  .why-strip { grid-template-columns: 1.12fr repeat(4, 1fr); padding-inline: 15px; }
  .why-heading h2 { font-size: 15px; }
  .footer-grid { gap: 22px; }
}

/* Mobile/tablet navigation */
@media (max-width: 820px) {
  .site-header { height: 64px; }
  .container { width: min(100% - 32px, 720px); }
  .brand { flex-basis: 190px; width: 190px; height: 58px; }
  .brand img { height: 54px; }
  .menu-toggle { display: inline-flex; order: 2; margin-inline-start: auto; }
  .main-nav { position: fixed; top: 64px; right: 0; left: 0; z-index: 1100; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 9px 18px 16px; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 22px rgba(10,48,86,.12); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-link { min-height: 42px; padding: 9px 8px; border-bottom: 1px solid #edf2f7; border-radius: 0; font-size: 14px; }
  .nav-link:last-child { border-bottom: 0; }
  .header-actions { order: 3; gap: 6px; }
  .header-login { min-height: 37px; padding: 7px 10px; font-size: 11px; }
  .language-switch { padding-inline: 2px; }
  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero-photo { position: relative; z-index: 0; display: block; width: 100%; height: clamp(205px, 48vw, 285px); object-fit: cover; object-position: 36% 48%; }
  .hero-overlay { z-index: 1; inset: 165px 0 0; background: linear-gradient(180deg, rgba(6,74,145,0) 0%, #07529d 20%, #064a93 100%); }
  .hero-inner { position: relative; z-index: 2; min-height: 0; padding-block: 13px 47px; }
  .hero-copy { width: 100%; text-align: center; }
  .hero h1 { font-size: clamp(25px, 5vw, 34px); margin-bottom: 8px; }
  .hero h1 strong { font-size: .8em; }
  .hero-copy > p { max-width: 650px; margin: 0 auto 15px; font-size: 13px; }
  .hero-buttons { justify-content: center; }
  .hero-wave { height: 29px; }
  .portals { margin-top: -7px; padding-top: 0; }
  .portal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .portal-card { min-height: 196px; padding: 13px 12px; }
  .portal-card h3 { font-size: 16px; }
  .portal-card p { font-size: 11px; }
  .portal-button { width: 94%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 7px; padding: 17px 15px; border-radius: 22px; }
  .why-heading { grid-column: 1 / -1; text-align: center; padding: 0 0 5px; }
  .why-heading i { margin-inline: auto; }
  .why-item { min-height: 72px; border: 0; }
  .city-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { order: 1; min-height: 180px; border-radius: 20px 20px 0 0; }
  .about-photo-wrap img { min-height: 180px; max-height: 220px; }
  .about-copy { order: 2; padding: 18px 20px; }
  .cta-inner { gap: 11px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .footer-grid > * + * { border: 0; padding: 0; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 26px, 480px); }
  .site-header { height: 61px; }
  .header-inner { gap: 6px; }
  .brand { flex-basis: 143px; width: 143px; height: 55px; }
  .brand img { height: 48px; }
  .menu-toggle { width: 36px; height: 36px; }
  .header-actions { gap: 5px; }
  .header-login { min-height: 35px; padding: 6px 8px; gap: 5px; font-size: 10px; }
  .header-login .icon { width: 13px; height: 13px; }
  .language-option { min-width: 20px; padding: 3px; font-size: 10px; }
  .main-nav { top: 61px; }
  .hero-photo { height: 214px; object-position: 35% 48%; }
  .hero-overlay { inset: 155px 0 0; }
  .hero-inner { padding-block: 10px 38px; }
  .hero h1 { font-size: 24px; line-height: 1.42; }
  .hero h1 strong { font-size: .78em; }
  .hero-copy > p { font-size: 11px; line-height: 1.8; margin-bottom: 12px; }
  .hero-buttons { gap: 7px; }
  .btn { min-height: 38px; padding: 7px 11px; border-radius: 8px; font-size: 11px; }
  .btn .icon { width: 14px; height: 14px; }
  .section { padding-block: 20px; }
  .portals { padding-top: 0; padding-bottom: 17px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 19px; }
  .section-heading p { font-size: 11px; }
  .compact-heading h2 { margin-inline: 6px; }
  .heading-line { width: 22px; }
  .portal-grid { grid-template-columns: 1fr; gap: 10px; }
  .portal-card { display: grid; grid-template-columns: 49px 1fr; align-items: center; min-height: 0; padding: 12px; text-align: right; gap: 10px; }
  .portal-icon { grid-row: span 2; width: 45px; height: 45px; margin: 0; }
  .portal-icon .icon { width: 25px; height: 25px; }
  .portal-content { text-align: right; }
  .portal-card h3 { font-size: 15px; margin-bottom: 2px; }
  .portal-card p { min-height: 0; margin: 0 0 8px; font-size: 10px; }
  .portal-button { width: fit-content; min-width: 155px; min-height: 32px; font-size: 10px; }
  .services { padding-top: 14px; }
  .service-grid { grid-template-columns: 1fr; gap: 8px; }
  .service-card { min-height: 69px; padding: 9px 11px; gap: 11px; }
  .service-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 10px; }
  .why-section { padding-bottom: 16px; }
  .why-strip { padding: 15px 10px; gap: 7px 4px; }
  .why-heading h2 { font-size: 15px; }
  .why-item strong { font-size: 11px; }
  .why-item small { font-size: 9px; }
  .coverage { padding-bottom: 16px; }
  .city-grid { gap: 7px; }
  .city-card { min-height: 55px; grid-template-columns: 18px auto minmax(50px,38%); gap: 5px; padding: 4px 6px; }
  .city-card strong { font-size: 12px; }
  .city-card img { height: 42px; }
  .city-pin .icon { width: 16px; height: 16px; }
  .about { padding-bottom: 11px; }
  .about-photo-wrap, .about-photo-wrap img { min-height: 150px; max-height: 165px; }
  .about-copy { padding: 15px; }
  .about-copy h2 { font-size: 18px; }
  .about-copy p { font-size: 11px; }
  .contact-cta { padding-bottom: 12px; }
  .cta-inner { display: grid; grid-template-columns: 40px 1fr; gap: 9px; padding: 12px; border-radius: 13px; }
  .cta-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .cta-copy h2 { font-size: 15px; }
  .cta-copy p { font-size: 10px; line-height: 1.6; }
  .cta-button { grid-column: 1 / -1; width: 100%; min-height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; padding-block: 20px 15px; }
  .footer-about { grid-column: auto; }
  .footer-grid h2 { margin-bottom: 5px; font-size: 14px; }
  .footer-about p { font-size: 10px; }
  .footer-social { margin-top: 8px; gap: 7px; }
  .footer-social span { width: 27px; height: 27px; font-size: 13px; }
  .footer-links { gap: 3px; }
  .footer-links a, .contact-row { font-size: 10px; }
  .footer-bottom { min-height: 44px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding-block: 7px; font-size: 9px; }
  .back-to-top { left: 14px; bottom: 14px; width: 47px; height: 47px; }
}

@media (max-width: 370px) {
  .brand { flex-basis: 125px; width: 125px; }
  .header-login { padding-inline: 6px; font-size: 9px; }
  .hero h1 { font-size: 21px; }
  .city-card strong { font-size: 11px; }
}

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