@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/cairo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/cairo-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;
}

:root {
  --paper: #f7f0df;
  --paper-soft: #fffaf0;
  --ink: #17211f;
  --muted: #62645f;
  --line: #222822;
  --teal: #0b7a75;
  --coral: #e15b3f;
  --mustard: #d9a441;
  --mint: #c9dfd0;
  --shadow: 8px 8px 0 #17211f;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(23, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  line-height: 1.75;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--paper-soft);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.test-banner {
  padding: 8px 16px;
  color: var(--ink);
  background: var(--mustard);
  border-bottom: 2px solid var(--line);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 240, 223, 0.94);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-name small {
  color: var(--coral);
  font-family: "Cairo", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.language-option {
  min-width: 38px;
  min-height: 34px;
  padding: 4px 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--mint);
  outline: 0;
}

.language-option.active {
  color: var(--paper-soft);
  background: var(--ink);
}

.nav-links a {
  padding: 10px 14px;
  border: 2px solid transparent;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  background: var(--paper-soft);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 54px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.page-hero {
  min-height: 440px;
  display: grid;
  align-content: center;
  border-bottom: 2px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
}

.eyebrow,
.section-kicker,
.role {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
}
.hero .eyebrow {
  font-size: 2rem;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy,
.intro-grid p,
.apply-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}
.intro-grid p {
  font-size: 2rem;
  color : #f92dbf;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* الفريق */
body[data-page="team"] .page-hero .eyebrow {
  font-size: 3rem;
}

/* استشارة مباشرة من أشخاص يعرفون كل خطوة في الطريق */
body[data-page="team"] .page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

/* نحوّل الأفكار العامة إلى خطة تقديم... */
body[data-page="team"] .page-hero .hero-copy {
  font-size: 2.2rem;
}


.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--line);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn.primary {
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: 5px 5px 0 var(--coral);
}

.btn.secondary {
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--mustard);
}

.hero-visual {
  background: #f7ede3;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.intro {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-template-areas: "visual copy";
  gap: 40px;
  align-items: center;
  direction: ltr;
}

.intro-visual {
  grid-area: visual;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 8px 8px 0 var(--teal);
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-copy {
  grid-area: copy;
}

.intro-copy h2 {
  margin-bottom: 18px;
}

html[dir="rtl"] .intro-copy {
  direction: rtl;
  text-align: right;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-media-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 34px;
  direction: ltr;
}

.section-media-heading--right {
  grid-template-areas: "heading visual";
}

.section-media-heading--left {
  grid-template-areas: "visual heading";
}

.section-media-heading .section-heading {
  grid-area: heading;
  margin-bottom: 0;
}

.section-visual {
  grid-area: visual;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-visual {
  box-shadow: 8px 8px 0 var(--coral);
}

.process-visual {
  box-shadow: 8px 8px 0 var(--mustard);
}

.experience-visual {
  box-shadow: 8px 8px 0 var(--teal);
}

html[dir="rtl"] .section-media-heading .section-heading,
html[dir="rtl"] .contact-info {
  direction: rtl;
  text-align: right;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust {
  border-bottom: 2px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  min-height: 245px;
  padding: 24px;
  background: var(--ink);
  color: var(--paper-soft);
  border: 2px solid var(--line);
}

.trust-card:nth-child(even) {
  background: var(--teal);
}

.trust-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--mustard);
  border: 2px solid var(--paper-soft);
  font-weight: 800;
}

.trust-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.82);
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.service-filter {
  min-height: 44px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 2px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.service-filter:hover,
.service-filter:focus-visible {
  background: var(--mint);
  outline: 0;
}

.service-filter.active {
  color: var(--paper-soft);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-step,
.team-card,
.application-form,
.experience-form,
.appointment-form,
.country-panel {
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.service-card {
  min-height: 295px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 160ms ease, background-color 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translate(-3px, -3px);
  background: #fff;
  outline: 0;
}

.service-card[hidden] {
  display: none;
}

.service-card:nth-child(4n + 1) {
  box-shadow: 6px 6px 0 var(--teal);
}

.service-card:nth-child(4n + 2) {
  box-shadow: 6px 6px 0 var(--coral);
}

.service-card:nth-child(4n + 3) {
  box-shadow: 6px 6px 0 var(--mustard);
}

.service-card:nth-child(4n + 4) {
  box-shadow: 6px 6px 0 #5b8c5a;
}

.service-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  background: var(--ink);
  color: var(--paper-soft);
  font-weight: 800;
}

.service-card p,
.process-step p,
.team-info p,
.country-list span,
.contact-links a,
.contact-links span {
  color: var(--muted);
}

.country-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1.25fr);
  gap: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(217, 164, 65, 0.2), transparent 42%),
    var(--paper-soft);
}

.country-list {
  display: grid;
  gap: 18px;
}

.country-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 2px solid var(--line);
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-grid.single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.team-detail {
  display: grid;
  gap: 34px;
}

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  min-height: 440px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.profile.alt {
  grid-template-columns: minmax(320px, 1.28fr) minmax(260px, 0.72fr);
}

.profile.alt .profile-photo {
  order: 2;
  border-right: 0;
  border-left: 0;
  border-inline-start: 2px solid var(--line);
}

.profile-photo {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-inline-end: 2px solid var(--line);
}

.profile-copy {
  display: grid;
  align-content: center;
  padding: 42px;
}

.profile-copy p {
  color: var(--muted);
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  padding: 12px 16px;
  background: var(--paper);
  border: 2px solid var(--line);
  font-weight: 800;
}

.team-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
  min-height: 270px;
  box-shadow: 7px 7px 0 var(--line);
}

.team-photo {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  border-inline-end: 2px solid var(--line);
  background: var(--mint);
}

.team-info {
  padding: 28px;
}

.experiences {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 24px;
  align-items: start;
}

.experience-showcase {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 32px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 7px 7px 0 var(--mustard);
}

.experience-showcase .quote-mark {
  position: absolute;
  inset-block-start: -34px;
  inset-inline-end: 16px;
  color: rgba(255, 250, 240, 0.08);
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
}

.experience-showcase h3 {
  position: relative;
  max-width: 440px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.experience-showcase > p:not(.eyebrow) {
  position: relative;
  color: rgba(255, 250, 240, 0.76);
}

.experience-principles {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.experience-principles li {
  padding: 10px 12px;
  color: var(--ink);
  background: var(--mint);
  border: 2px solid var(--paper-soft);
  font-weight: 800;
}

.experience-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.experience-form[hidden],
.appointment-form[hidden] {
  display: none !important;
}

.experience-form-heading {
  grid-column: 1 / -1;
}

.experience-form-heading h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  background: rgba(201, 223, 208, 0.45);
  border: 2px solid var(--line);
}

.consent-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--teal);
}

.consent-row label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.consent-row.invalid {
  border-color: var(--coral);
}

.apply {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 36px;
  align-items: start;
}

.apply-copy {
  position: sticky;
  top: 110px;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.language-question[hidden],
.service-detail-question[hidden] {
  display: none;
}

.form-row.full,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

.service-link-label {
  padding-top: 12px;
  border-top: 2px solid var(--line);
  color: var(--teal);
  font-weight: 800;
}

.service-page-hero {
  min-height: 500px;
  display: grid;
  align-content: center;
  border-bottom: 2px solid var(--line);
}

.service-back {
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 12px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  font-weight: 800;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-panel {
  padding: 30px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 7px 7px 0 var(--line);
}

.detail-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.detail-overview {
  grid-column: 1 / -1;
}

.detail-overview p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--paper-soft);
  background: var(--coral);
  border: 2px solid var(--line);
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 12px 14px;
  background: var(--paper);
  border: 2px solid var(--line);
  font-weight: 700;
}

.detail-list.ordered {
  counter-reset: detail-step;
}

.detail-list.ordered li {
  counter-increment: detail-step;
}

.detail-list.ordered li::before {
  content: counter(detail-step) ". ";
  color: var(--teal);
  font-weight: 800;
}

.service-disclaimer {
  padding-top: 28px;
  padding-bottom: 28px;
  background: rgba(217, 164, 65, 0.18);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.service-disclaimer p {
  max-width: 920px;
  margin: 6px 0 0;
  color: var(--muted);
}

.service-detail-cta {
  border-bottom: 2px solid var(--line);
}

.service-cta-actions {
  display: grid;
  gap: 14px;
}

.form-help {
  color: var(--muted);
  font-size: 0.85rem;
}

.attachment-note {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(201, 223, 208, 0.45);
  border-inline-start: 4px solid var(--teal);
}

.test-mode-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(217, 164, 65, 0.28);
  border: 2px dashed var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 122, 117, 0.28);
}

.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea {
  border-color: var(--coral);
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  padding: 16px 18px;
  color: var(--ink);
  background: var(--mint);
  border: 2px solid var(--teal);
  box-shadow: 4px 4px 0 var(--teal);
}

.form-status.error {
  color: var(--coral);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  grid-template-areas: "info visual";
  gap: 32px;
  align-items: center;
  border-top: 2px solid var(--line);
  direction: ltr;
}

.contact-info {
  grid-area: info;
  align-self: start;
}

.contact-visual {
  box-shadow: 8px 8px 0 var(--coral);
}

.contact-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-info .contact-links {
  margin-top: 28px;
}

.appointment-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.appointment-form h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.availability-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(201, 223, 208, 0.45);
  border-inline-start: 4px solid var(--teal);
  font-weight: 700;
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.appointment-button {
  width: 100%;
}

.appointment-disclaimer {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.availability-manager {
  grid-column: 1 / -1;
  margin-top: 14px;
  background: var(--paper-soft);
  border: 2px dashed var(--line);
}

.availability-manager summary {
  padding: 16px 20px;
  font-weight: 800;
  cursor: pointer;
}

.availability-manager[open] summary {
  border-bottom: 2px dashed var(--line);
}

.availability-manager-content {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.availability-manager-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.manager-note {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.process {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  min-height: 260px;
  padding: 24px;
  box-shadow: 6px 6px 0 var(--line);
}

.process-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--paper-soft);
  background: var(--teal);
  border: 2px solid var(--line);
  font-weight: 800;
}

.faq {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "×";
}

.faq-list details[open] summary {
  border-bottom: 2px solid var(--line);
}

.faq-list summary:focus-visible {
  outline: 3px solid rgba(11, 122, 117, 0.28);
  outline-offset: -3px;
}

.faq-list details p {
  max-width: 860px;
  margin: 0;
  padding: 18px 22px;
  color: var(--muted);
}

.manager-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.manager-add {
  min-height: 48px;
}

.availability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.availability-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--line);
}

.availability-item div {
  display: grid;
  gap: 2px;
}

.availability-item span,
.manager-empty {
  color: var(--muted);
}

.manager-remove {
  padding: 7px 10px;
  color: var(--paper-soft);
  background: var(--coral);
  border: 2px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.team-cta {
  border-bottom: 2px solid var(--line);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a,
.contact-links span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 18px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  font-weight: 800;
}

.contact-links a:hover {
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--mustard);
}

.social {
  padding-top: 28px;
}

.social-panel {
  padding: 38px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 8px 8px 0 var(--coral);
}

.social-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.social-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.social-heading > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.03rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 14px;
  min-height: 96px;
  padding: 16px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 2px solid var(--paper-soft);
}

.social-mark {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--paper-soft);
  background: var(--teal);
  border: 2px solid var(--line);
}

.social-mark svg {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-mark .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-links .contact-placeholder {
  cursor: not-allowed;
  opacity: 0.72;
}

.social-card:nth-child(3n + 2) .social-mark {
  background: var(--coral);
}

.social-card:nth-child(3n + 3) .social-mark {
  color: var(--ink);
  background: var(--mustard);
}

.social-card strong {
  line-height: 1.25;
}

.social-card > span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal);
}

.legal-hero {
  min-height: 390px;
  display: grid;
  align-content: center;
  border-bottom: 2px solid var(--line);
}

.legal-warning {
  margin-top: 56px;
  margin-bottom: 56px;
  padding: 22px 26px;
  background: rgba(217, 164, 65, 0.3);
  border: 2px dashed var(--line);
}

.legal-warning strong {
  font-size: 1.2rem;
}

.legal-warning p {
  max-width: 900px;
  margin: 6px 0 0;
  color: var(--muted);
}

.legal-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.legal-section + .legal-section {
  border-top: 2px solid var(--line);
}

.legal-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.legal-data div,
.privacy-grid article {
  padding: 22px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.legal-data dt {
  margin-bottom: 8px;
  font-weight: 800;
}

.legal-data dd {
  margin: 0;
}

.legal-data .placeholder {
  width: fit-content;
  padding: 4px 8px;
  background: rgba(225, 91, 63, 0.16);
  border-inline-start: 4px solid var(--coral);
  color: var(--muted);
  font-weight: 700;
}

.legal-disclaimer {
  margin: 26px 0 0;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--paper-soft);
  border: 2px solid var(--line);
  border-inline-start: 8px solid var(--teal);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.privacy-grid article {
  min-height: 220px;
}

.privacy-grid article:nth-child(3n + 1) {
  box-shadow: 5px 5px 0 var(--teal);
}

.privacy-grid article:nth-child(3n + 2) {
  box-shadow: 5px 5px 0 var(--coral);
}

.privacy-grid article:nth-child(3n + 3) {
  box-shadow: 5px 5px 0 var(--mustard);
}

.privacy-grid p {
  color: var(--muted);
}

/* Arabic editorial blog */
.blog-page {
  text-align: start;
}

.blog-site-link {
  padding: 7px 12px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.blog-site-link:hover,
.blog-site-link:focus-visible {
  color: var(--ink);
  background: var(--mustard);
  outline: 0;
}

.blog-hero {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.blog-hero-copy h1 {
  max-width: 680px;
  margin: 12px 0 20px;
  font-size: clamp(3.1rem, 5vw, 5rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.blog-hero-copy h1 span {
  color: var(--teal);
}

.blog-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.blog-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.blog-topic-list a {
  padding: 8px 16px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  font-weight: 800;
}

.blog-topic-list a:hover,
.blog-topic-list a:focus-visible {
  background: var(--mustard);
  outline: 0;
}

.blog-hero-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--teal);
  border: 2px solid var(--line);
  box-shadow: 12px 12px 0 var(--ink);
}

.blog-hero-visual::before,
.blog-hero-visual::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(255, 250, 240, 0.38);
  border-radius: 50%;
}

.blog-hero-visual::before {
  width: 330px;
  height: 330px;
  inset: -80px auto auto -80px;
}

.blog-hero-visual::after {
  width: 160px;
  height: 160px;
  inset: auto -30px -40px auto;
  background: var(--coral);
  border-color: var(--line);
}

.blog-visual-label {
  position: absolute;
  inset: 28px 28px auto auto;
  z-index: 1;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--mustard);
  border: 2px solid var(--line);
  font-weight: 800;
}

.blog-hero-visual > strong {
  position: absolute;
  inset: 64px auto auto 20px;
  color: rgba(255, 250, 240, 0.18);
  font-size: 11rem;
  line-height: 1;
}

.blog-visual-card {
  position: absolute;
  z-index: 2;
  width: 205px;
  padding: 22px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg);
}

.blog-visual-card b,
.blog-visual-card small {
  display: block;
}

.blog-visual-card b {
  font-size: 1.35rem;
}

.blog-visual-card small {
  color: var(--muted);
}

.blog-visual-card.card-a {
  inset: 82px 32px auto auto;
}

.blog-visual-card.card-b {
  inset: 170px auto auto 28px;
  background: var(--mint);
  transform: rotate(3deg);
}

.blog-visual-card.card-c {
  inset: auto 54px 20px auto;
  background: var(--mustard);
  transform: rotate(-1deg);
}

.blog-feature {
  border-top: 2px solid var(--line);
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.blog-section-heading > span {
  padding: 8px 12px;
  border: 2px solid var(--line);
  font-weight: 800;
}

.blog-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.featured-article {
  position: relative;
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  min-height: 510px;
  overflow: hidden;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.featured-article:hover,
.featured-article:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--ink);
  outline: 0;
}

.featured-number {
  position: absolute;
  inset: 14px 14px auto auto;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-copy h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.32;
}

.featured-copy p {
  margin: 0;
  color: var(--muted);
}

.read-article {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 800;
}

.read-article b {
  color: var(--coral);
  font-size: 1.5rem;
}

.featured-graphic {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 28px;
  color: var(--paper-soft);
  background: var(--coral);
  border-bottom: 2px solid var(--line);
}

.featured-graphic span {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 0.8;
}

.featured-graphic small {
  max-width: 90px;
  font-size: 1rem;
  font-weight: 800;
}

.featured-article:nth-child(2) .featured-graphic {
  color: var(--ink);
  background: var(--mustard);
}

.featured-article:nth-child(3) .featured-graphic {
  background: var(--teal);
}

.blog-topics {
  border-top: 2px solid var(--line);
}

.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.blog-topic-grid article {
  min-height: 280px;
  padding: 28px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.blog-topic-grid article:nth-child(1) {
  box-shadow: 6px 6px 0 var(--teal);
}

.blog-topic-grid article:nth-child(2) {
  box-shadow: 6px 6px 0 var(--coral);
}

.blog-topic-grid article:nth-child(3) {
  box-shadow: 6px 6px 0 var(--mustard);
}

.blog-topic-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--ink);
  font-weight: 800;
}

.blog-topic-grid h3 {
  margin: 34px 0 10px;
  font-size: 1.55rem;
}

.blog-topic-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-note {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
  padding: 54px;
  color: var(--paper-soft);
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 10px 10px 0 var(--mustard);
}

.blog-note .eyebrow {
  color: var(--mustard);
}

.blog-note h2 {
  margin-bottom: 0;
}

.blog-note > p {
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.05rem;
}

.blog-cta {
  margin-bottom: 88px;
  padding: 64px;
  background: var(--mint);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.blog-cta h2 {
  max-width: 760px;
  margin: 8px auto 28px;
}

.blog-cta .btn {
  display: inline-flex;
}

/* Article */
.article-hero {
  max-width: 900px;
  padding-top: 58px;
  padding-bottom: 46px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 800;
}

.article-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 16px;
}

.article-label-row span {
  padding: 6px 12px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
}

.article-label-row span:first-child {
  background: var(--mustard);
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.6vw, 4.15rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.article-hero mark {
  padding: 0 0.04em;
  color: var(--teal);
  background: linear-gradient(transparent 73%, var(--mint) 73%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.article-lead {
  max-width: 860px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
}

.author-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--coral);
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.article-byline b,
.article-byline span {
  display: block;
}

.article-byline span {
  color: var(--muted);
  font-size: 0.86rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 72px;
  justify-content: center;
  align-items: start;
  padding-top: 48px;
}

.article-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--teal);
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0 22px 0 0;
}

.article-toc a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--teal);
  outline: 0;
}

.article-body {
  min-width: 0;
}

.article-body section {
  scroll-margin-top: 110px;
  margin-top: 72px;
}

.article-body section:first-of-type {
  margin-top: 60px;
}

.article-section-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--ink);
  font-weight: 800;
}

.article-body h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
}

.article-body p,
.article-body li {
  font-size: 1.08rem;
}

.article-body p {
  color: #3f4541;
}

.article-body strong {
  color: var(--ink);
}

.article-callout {
  margin: 28px 0;
  padding: 24px 26px;
  background: var(--mint);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--teal);
}

.article-callout.important {
  margin-top: 0;
  background: var(--mustard);
  box-shadow: 5px 5px 0 var(--ink);
}

.article-callout.warning {
  margin-top: 72px;
  background: #f7d2c9;
  box-shadow: 5px 5px 0 var(--coral);
}

.article-callout b {
  font-size: 1.1rem;
}

.article-callout p {
  margin-bottom: 0;
}

.article-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.article-grid-list div {
  padding: 20px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.article-grid-list b,
.article-grid-list span {
  display: block;
}

.article-grid-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.article-steps li {
  position: relative;
  padding: 18px 62px 18px 18px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
  counter-increment: steps;
}

.article-steps li::before {
  position: absolute;
  inset: 14px 14px auto auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  content: counter(steps);
  color: var(--paper-soft);
  background: var(--teal);
  font-weight: 800;
}

.timeline-list {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border: 2px solid var(--line);
}

.timeline-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: stretch;
  background: var(--paper-soft);
  border-bottom: 2px solid var(--line);
}

.timeline-list div:last-child {
  border-bottom: 0;
}

.timeline-list span {
  display: grid;
  place-items: center;
  color: var(--paper-soft);
  background: var(--teal);
  border-inline-end: 2px solid var(--line);
  font-size: 1.25rem;
  font-weight: 800;
}

.timeline-list div:nth-child(even) span {
  background: var(--coral);
}

.timeline-list p {
  margin: 0;
  padding: 18px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 26px 30px;
  color: var(--ink);
  background: var(--mustard);
  border-inline-start: 8px solid var(--coral);
  font-size: 1.2rem;
  font-weight: 700;
}

.article-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding: 14px 52px 14px 16px;
  background: var(--paper-soft);
  border: 2px solid var(--line);
}

.article-checklist li::before {
  position: absolute;
  inset: 13px 14px auto auto;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  content: "✓";
  color: var(--paper-soft);
  background: var(--teal);
  border: 1px solid var(--line);
  font-weight: 800;
}

.article-end {
  margin-top: 68px;
  padding: 36px;
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 7px 7px 0 var(--mustard);
  text-align: center;
}

.article-end p {
  color: var(--paper-soft);
  font-size: 1.25rem;
  font-weight: 800;
}

.article-end .btn {
  display: inline-flex;
}

.back-to-blog {
  display: block;
  margin-top: 18px;
  color: var(--mint);
  font-weight: 800;
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.48;
  box-shadow: none;
  transform: none;
}

.payment-status-page {
  display: grid;
  min-height: calc(100vh - 190px);
  padding: clamp(48px, 8vw, 104px) clamp(20px, 6vw, 80px);
  place-items: center;
  background:
    linear-gradient(rgba(247, 240, 223, 0.88), rgba(247, 240, 223, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(11, 122, 117, 0.08) 24px 26px);
}

.payment-status-card {
  width: min(100%, 760px);
  padding: clamp(30px, 6vw, 64px);
  background: var(--paper-soft);
  border: 2px solid var(--line);
  box-shadow: 10px 10px 0 var(--teal);
}

.payment-status-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--teal);
  border: 2px solid var(--line);
  font-size: 2.2rem;
  font-weight: 900;
}

.payment-status-card[data-state="cancelled"] {
  box-shadow: 10px 10px 0 var(--mustard);
}

.payment-status-card[data-state="cancelled"] .payment-status-mark,
.payment-status-card[data-state="error"] .payment-status-mark {
  background: var(--coral);
}

.payment-status-card h1 {
  max-width: 660px;
  margin: 8px 0 16px;
  font-size: clamp(2.25rem, 7vw, 4.6rem);
  line-height: 0.98;
}

.payment-status-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.payment-test-badge {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 12px;
  background: var(--mustard);
  border: 2px solid var(--line);
  font-weight: 900;
}

.payment-test-badge[hidden] {
  display: none;
}

.payment-summary {
  display: grid;
  margin: 30px 0 0;
  border: 2px solid var(--line);
}

.payment-summary[hidden] {
  display: none;
}

.payment-summary div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  border-bottom: 2px solid var(--line);
}

.payment-summary div:last-child {
  border-bottom: 0;
}

.payment-summary dt,
.payment-summary dd {
  margin: 0;
  padding: 14px 16px;
}

.payment-summary dt {
  background: var(--mint);
  border-inline-end: 2px solid var(--line);
  font-weight: 900;
}

.payment-summary dd {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.payment-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.payment-security-note {
  margin: 26px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 2px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 620px) {
  .payment-status-page {
    padding-inline: 14px;
  }

  .payment-status-card {
    box-shadow: 6px 6px 0 var(--teal);
  }

  .payment-summary div {
    grid-template-columns: 1fr;
  }

  .payment-summary dt {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .payment-status-actions .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .hero,
  .profile,
  .profile.alt,
  .intro-grid,
  .country-panel,
  .apply,
  .contact,
  .experience-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-areas:
      "visual"
      "copy";
    gap: 32px;
  }

  .section-media-heading {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "visual";
    gap: 28px;
  }

  .intro-visual,
  .section-media-heading .section-visual,
  .contact-visual {
    width: min(100%, 680px);
    justify-self: center;
  }

  .contact {
    grid-template-areas:
      "info"
      "visual";
  }


  .detail-overview {
    grid-column: auto;
  }

  .profile.alt .profile-photo {
    order: 0;
    border-inline-start: 0;
  }

  .profile-photo,
  .profile.alt .profile-photo {
    border-inline-end: 0;
    border-bottom: 2px solid var(--line);
  }

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-copy {
    position: static;
  }

  .experience-showcase {
    position: static;
  }

  .blog-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .blog-hero-visual {
    display: none;
  }

  .blog-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper-soft);
    border: 2px solid var(--line);
    box-shadow: 6px 6px 0 var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper-soft);
    border: 2px solid var(--line);
    box-shadow: 6px 6px 0 var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
  }



  .service-grid,
  .trust-grid,
  .social-grid,
  .process-grid,
  .team-grid,
  .application-form,
  .experience-form,
  .appointment-grid,
  .manager-controls,
  .availability-list {
    grid-template-columns: 1fr;
  }

  .legal-data,
  .privacy-grid,
  .blog-topic-grid,
  .blog-note,
  .article-grid-list {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .blog-hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .blog-article-grid {
    grid-template-columns: 1fr;
  }

  .blog-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .featured-article {
    grid-template-rows: 120px minmax(0, 1fr);
    min-height: 440px;
  }

  .featured-copy {
    padding: 24px;
  }

  .featured-graphic {
    padding: 24px;
  }

  .featured-graphic span {
    font-size: 4rem;
  }

  .blog-note,
  .blog-cta {
    padding: 32px 24px;
  }

  .article-hero {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .article-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
    line-height: 1.28;
  }

  .article-lead {
    margin: 18px 0;
    font-size: 1.04rem;
  }

  .timeline-list div {
    grid-template-columns: 70px 1fr;
  }

  .service-filter {
    flex: 1 1 190px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 300px;
    min-height: 300px;
    border-inline-end: 0;
    border-bottom: 2px solid var(--line);
  }
}

@media (max-width: 440px) {
  .section,
  .nav,
  .footer {
    width: min(100% - 22px, 1120px);
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .service-card,
  .process-step,
  .detail-panel,
  .application-form,
  .experience-form,
  .appointment-form,
  .country-panel,
  .profile-copy,
  .team-info,
  .social-panel,
  .article-toc,
  .article-callout,
  .article-end {
    padding: 20px;
  }

  .blog-site-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
