/* Original Dubai public-service inspired visual system for Dubai Birth Certificates. */
:root {
  --navy: #263238;
  --navy-2: #37474f;
  --teal: #007f52;
  --cyan: #00a86b;
  --gold: #d6a328;
  --red: #c62828;
  --ink: #263238;
  --muted: #66736f;
  --mist: #f4f8f6;
  --line: #dce8e2;
  --shadow-sm: 0 10px 28px rgba(32, 68, 55, .08);
  --shadow: 0 24px 64px rgba(32, 68, 55, .15);
}

body { background: #fff; color: var(--ink); }
body.high-contrast { --ink: #000; --muted: #161616; --mist: #fff; --line: #000; }
body.high-contrast a, body.high-contrast button { text-decoration: underline; text-underline-offset: 3px; }

.scroll-progress span { background: linear-gradient(90deg, #00a86b, #006b45); }
.site-header { top: 0; background: #fff; border-bottom: 1px solid #dce8e2; box-shadow: 0 7px 24px rgba(25, 68, 51, .08); }
.site-header.is-scrolled { top: 0; }
.dbc-utility-bar { min-height: 38px; color: #fff; background: #006b45; }
.dbc-utility-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; }
.dbc-utility-inner p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .02em; }
.dbc-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8be1b9; box-shadow: 0 0 0 4px rgba(139,225,185,.16); }
.dbc-accessibility { display: flex; min-height: 38px; align-items: center; gap: 13px; font-size: .69rem; font-weight: 600; }
.dbc-accessibility button { min-width: 30px; height: 27px; padding: 0 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; color: #fff; background: transparent; font-size: .68rem; font-weight: 700; }
.dbc-accessibility button:hover, .dbc-accessibility button:focus-visible { color: #006b45; background: #fff; }
.header-inner { min-height: 79px; padding: 10px 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; backdrop-filter: none; }
.site-header.is-scrolled .header-inner { background: #fff; box-shadow: none; }
.brand-logo { width: 245px; max-height: 64px; }
.primary-menu a { color: #263238; font-size: .82rem; }
.primary-menu a::after { background: #007f52; }
.button { border-radius: 7px; background: #007f52; box-shadow: 0 9px 22px rgba(0,127,82,.2); }
.button:hover, .button:focus-visible { background: #006b45; box-shadow: 0 13px 28px rgba(0,107,69,.25); }
.button--outline { color: #007f52; border-color: #007f52; background: #fff; }
.button--outline:hover, .button--outline:focus-visible { color: #fff; background: #007f52; }
.button--gold { color: #263238; background: #d6a328; }

.hero { padding-top: 180px; background: linear-gradient(100deg, #fff 0%, #fff 52%, #f0f7f3 100%); }
.hero::before { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(90deg, transparent 49px, rgba(0,127,82,.035) 50px), linear-gradient(transparent 49px, rgba(0,127,82,.035) 50px); background-size: 50px 50px; content: ''; }
.hero h1 { color: #263238; background: none; -webkit-text-fill-color: currentColor; font-size: clamp(4rem, 7vw, 7.1rem); }
.hero h1::after { display: block; width: 74px; height: 6px; margin-top: 22px; border-radius: 99px; background: #00a86b; content: ''; }
.hero-kicker, .hero-tagline, .eyebrow { color: #007f52; }
.hero-tagline { letter-spacing: .02em; }
.hero-slider { border: 7px solid #fff; border-radius: 24px; box-shadow: 0 30px 72px rgba(34, 69, 56, .18); }
.hero-slider__brand { right: 20px; bottom: 20px; width: 250px; border-radius: 7px; }
.hero-slider-logo { width: 100%; max-height: 58px; object-fit: contain; }
.hero-slider__dots button.is-active { background: #00a86b; }

.updates { background: #f4f8f6; }
.update-stamp { border: 0; border-radius: 5px; color: #fff; background: #007f52; transform: none; font-size: .85rem; letter-spacing: .04em; }
.update-card { border-color: #dce8e2; border-radius: 14px; box-shadow: 0 8px 24px rgba(32,68,55,.07); }
.update-card:hover { border-color: #00a86b; }
.update-card h3 { color: #263238; }
.update-illustration { border-radius: 50%; background: #edf7f2; color: #007f52; }

.services { background: #fff; }
.filter-button { border-radius: 5px; }
.filter-button:hover, .filter-button.is-active { border-color: #007f52; background: #007f52; }
.service-search input { border-radius: 7px; }
.service-card { border: 1px solid #dce8e2; border-radius: 13px; box-shadow: none; }
.service-card::after { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, #007f52, #00a86b); content: ''; }
.service-card:hover { border-color: #7fc4a8; box-shadow: 0 18px 42px rgba(32,68,55,.12); }
.service-icon { border-radius: 50%; color: #007f52; background: #edf7f2; }
.service-card h3 { color: #263238; }
.service-link { border-radius: 5px; background: #007f52; }

.golden-visa { background: radial-gradient(circle at 22% 50%, rgba(214,163,40,.15), transparent 34%), linear-gradient(125deg, #1d2a26, #263b33 62%, #006b45); }
.assistance { background: #f4f8f6; }
.assistance-item { border-color: #dce8e2; border-radius: 10px; }
.assistance-item:hover { background: #007f52; }
.assistance-emoji { border-radius: 50%; }

.authorities { border-color: #dce8e2; background: #fff; }
.dbc-coverage { display: grid; gap: 20px; }
.dbc-coverage > p { margin: 0; color: #263238; text-align: center; }
.dbc-coverage-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dbc-coverage-list span { padding: 9px 14px; border: 1px solid #cfe3d9; border-radius: 5px; color: #006b45; background: #f4f8f6; font-size: .72rem; font-weight: 700; }

.trust-brand { border: 1px solid #dce8e2; border-radius: 14px; background: #f4f8f6; }
.trust-logo { max-width: 330px; }
.stat { border-left-color: #00a86b; border-radius: 0 8px 8px 0; }
.faq { background: #f4f8f6; }
.accordion-item { border-color: #dce8e2; border-radius: 8px; }
.contact { background: linear-gradient(125deg, #007f52, #005c3c 72%); }
.contact-form-card, .modal-card { border-radius: 14px; }
.consultation-form input:not([type="checkbox"]), .consultation-form select, .consultation-form textarea { border-radius: 7px; }

.site-footer { background: #1e2a26; }
.footer-logo { width: 290px; max-height: 100px; padding: 10px; border-radius: 6px; background: #fff; filter: none; }
.floating-whatsapp { background: #007f52; }

@media (max-width: 820px) {
  .dbc-utility-inner > p, .dbc-accessibility > span:first-child { display: none; }
  .dbc-utility-inner { justify-content: flex-end; }
  .header-inner { min-height: 68px; padding-inline: 4px; }
  .brand-logo { width: 205px; }
  .primary-navigation { top: calc(100% + 1px); border-radius: 8px; }
  .hero { padding-top: 145px; }
  .hero-slider__brand { width: 205px; }
}

@media (max-width: 580px) {
  .dbc-accessibility { gap: 7px; }
  .dbc-accessibility .js-contrast-toggle { display: none; }
  .brand-logo { width: 185px; }
  .hero { padding-top: 132px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .hero-slider__brand { width: 180px; }
}
