/* ==========================================================================
   Rayan Almutairi Accounting, Auditing & Professional Consulting
   Unified Bilingual Stylesheet (Arabic RTL & English LTR via Logical Properties)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Local Font Faces: IBM Plex Sans Arabic (400, 500, 600, 700)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-400.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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-500.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-500.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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-600.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-600.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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-700.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;
}

/* --------------------------------------------------------------------------
   2. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #082A45;
  --navy-dark: #061F34;
  --gold: #C9A24B;
  --gold-text: #8A6A22;
  --text: #1B2733;
  --muted: #4B5866;
  --bg-light: #EAF0F5;
  --bg-light-2: #F1F4F7;
  --panel-gray: #DCE1E7;
  --border: #DDE1E4;
  --track-bg: #E3EBF3;
  --white: #FFFFFF;

  --font-sans: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container-max: 1180px;
  --header-h: 72px;
  --radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Base & Accessibility Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir='ltr'] body {
  font-size: 16.5px;
  line-height: 1.7;
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

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

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 2000;
  background-color: var(--navy);
  color: var(--white);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--gold);
  transition: inset-block-start 0.2s ease;
}

.skip-link:focus {
  inset-block-start: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   4. Typography & Shared UI Primitives
   -------------------------------------------------------------------------- */
.section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.section-title-light {
  color: var(--white);
}

.gold-rule {
  width: 46px;
  height: 3px;
  background-color: var(--gold);
  margin-block: 14px 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding-inline: 1.7rem;
  padding-block: 0.65rem;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: #b8913a;
  border-color: #b8913a;
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: #0b395e;
  border-color: #0b395e;
}

.btn-outline-navy {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--bg-light-2);
}

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

html[dir='ltr'] .flip {
  transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   5. Sticky Top Header & Mobile Menu
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 500;
  background-color: var(--white);
  border-block-end: 1px solid var(--border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-mark {
  height: 34px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.header-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  padding-block: 0.35rem;
  border-block-end: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--navy);
  border-block-end-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switch {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius);
}

.lang-switch:hover {
  color: var(--gold-text);
}

.btn-header {
  min-height: 40px;
  padding-inline: 1.25rem;
  padding-block: 0.45rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.mobile-nav {
  background-color: var(--white);
  border-block-start: 1px solid var(--border);
  border-block-end: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(8, 42, 69, 0.12);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-block: 0.75rem 1.35rem;
}

.mobile-nav-inner a:not(.btn) {
  padding-block: 0.95rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-block-end: 1px solid var(--border);
  text-align: center;
}

.mobile-nav-inner a:not(.btn):hover {
  color: var(--gold-text);
}

.mobile-cta {
  margin-block-start: 1.1rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Hero Section (Split Panel + 7px Gold Bar + Photo)
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 7px minmax(0, 0.94fr);
  min-height: clamp(540px, 78vh, 740px);
  background-color: var(--white);
}

.hero-content-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-block: 3.5rem;
  padding-inline-start: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  padding-inline-end: 3.25rem;
}

.hero-content-inner {
  width: 100%;
  max-width: 560px;
}

.hero-logo {
  width: 162px;
  height: auto;
  margin-block-end: 1.6rem;
}

.hero-title {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-block-end: 1rem;
}

.hero-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted);
  margin-block-end: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block-end: 1.65rem;
}

.hero-license {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-license svg {
  flex-shrink: 0;
  margin-block-start: 0.2rem;
  color: var(--muted);
}

.hero-divider {
  background-color: var(--gold);
  width: 7px;
  height: 100%;
}

.hero-media-col {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 26% 32%;
}

/* --------------------------------------------------------------------------
   7. About the Firm (#about)
   -------------------------------------------------------------------------- */
.about-section {
  padding-block: 4.5rem;
}

.about-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 2.5rem;
}

.about-top-text {
  max-width: 660px;
}

.about-lead {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.about-white-logo {
  width: 162px;
  height: auto;
}

.about-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.14);
  margin-block: 2.5rem 2.2rem;
}

.about-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.about-col-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-block-end: 0.8rem;
}

.about-col-title svg {
  color: var(--gold);
  flex-shrink: 0;
}

.about-col-card p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   8. Our Story & Craft (#story)
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--panel-gray);
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.story-text-col {
  padding-block: 4.5rem;
  padding-inline-start: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  padding-inline-end: 3.5rem;
}

.story-lead {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.85;
  color: var(--text);
  margin-block-end: 1.8rem;
}

.story-block + .story-block {
  margin-block-start: 1.5rem;
}

.story-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.45rem;
}

.story-block p {
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--muted);
}

.story-block p + p {
  margin-block-start: 0.9rem;
}

.story-media-col {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background-color: var(--panel-gray);
}

.story-media-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(220, 225, 231, 0.92) 0%, rgba(220, 225, 231, 0.25) 28%, rgba(8, 42, 69, 0.14) 100%);
  pointer-events: none;
}

html[dir='ltr'] .story-media-col::after {
  background: linear-gradient(to right, rgba(220, 225, 231, 0.92) 0%, rgba(220, 225, 231, 0.25) 28%, rgba(8, 42, 69, 0.14) 100%);
}

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

/* --------------------------------------------------------------------------
   9. Audit & Assurance (#audit)
   -------------------------------------------------------------------------- */
.audit-section {
  background-color: var(--navy);
  color: var(--white);
}

.audit-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: stretch;
}

.audit-text-col {
  padding-block: 4.5rem;
  padding-inline-start: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  padding-inline-end: 3.5rem;
}

.audit-block h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
  margin-block-end: 0.85rem;
}

.audit-block h3 svg {
  color: var(--gold);
  flex-shrink: 0;
}

.audit-block p {
  font-size: 0.93rem;
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.84);
}

.audit-block p + p {
  margin-block-start: 0.95rem;
}

.audit-block + .audit-block {
  margin-block-start: 2rem;
  padding-block-start: 1.85rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.audit-media-col {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.audit-media-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #082A45 0%, rgba(8, 42, 69, 0.6) 28%, rgba(8, 42, 69, 0.35) 100%);
  pointer-events: none;
}

html[dir='ltr'] .audit-media-col::after {
  background: linear-gradient(to right, #082A45 0%, rgba(8, 42, 69, 0.6) 28%, rgba(8, 42, 69, 0.35) 100%);
}

.audit-photo {
  object-position: center 38%;
}

/* --------------------------------------------------------------------------
   10. Audit Engagement Scope (#scope)
   -------------------------------------------------------------------------- */
.scope-section {
  position: relative;
  background-color: var(--bg-light);
  padding-block: 4.5rem;
  overflow: hidden;
}

.scope-decor-circles {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -40px;
  transform: translateY(-50%);
  width: 390px;
  height: auto;
  pointer-events: none;
}

html[dir='ltr'] .scope-decor-circles {
  transform: translateY(-50%) scaleX(-1);
}

.scope-container {
  position: relative;
  z-index: 1;
}

.scope-list {
  max-width: 820px;
  border-block-start: 1px solid var(--border);
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding-block: 1.55rem;
  border-block-end: 1px solid var(--border);
}

.scope-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #C6D1DC;
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--navy);
  margin-block-start: 0.15rem;
}

.scope-item p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
}

.scope-item strong {
  color: var(--navy);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Audit Methodology (#methodology)
   -------------------------------------------------------------------------- */
.methodology-section {
  padding-block: 4.5rem;
}

.methodology-intro {
  max-width: 720px;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 2.35rem;
}

.methodology-diagram {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.principles-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
}

.principles-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-block-end: 1rem;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.principles-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-block-start: 0.25rem;
}

.stages-flow {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stage-card {
  background-color: var(--track-bg);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
}

.stage-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-block-end: 0.8rem;
}

.stage-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 1.1rem;
}

.stage-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-chips span {
  background-color: var(--white);
  border: 1px solid #C8D3DF;
  border-radius: 2px;
  padding: 0.32rem 0.72rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text);
}

.stage-arrow {
  display: flex;
  justify-content: center;
  padding-block: 0.2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Native <details> Expandable Panels */
.method-accordions {
  margin-block-start: 2.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}

.method-details {
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
}

.method-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  padding-inline: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  transition: color 0.2s ease;
}

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

.method-summary:hover,
.method-details[open] .method-summary {
  color: var(--gold);
}

.details-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, border-color 0.2s ease;
}

.details-toggle-icon::before,
.details-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
}

.details-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.method-details[open] .details-toggle-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
}

.method-details-body {
  background-color: var(--navy-dark);
  padding: 1.5rem 1.6rem;
  margin-block-end: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.details-para {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}

.details-para + .details-para,
.details-para + .details-bullets,
.details-bullets + .details-para {
  margin-block-start: 1rem;
}

.details-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.details-bullets li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: 0.91rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.details-bullets li::before {
  content: '';
  position: absolute;
  inset-block-start: 0.72em;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

.details-numbered {
  list-style: decimal;
  padding-inline-start: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.details-numbered li {
  font-size: 0.91rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block-start: 1.25rem;
}

.approach-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.approach-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-block-end: 0.6rem;
}

.approach-card p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   12. Quality Management System (#quality)
   -------------------------------------------------------------------------- */
.quality-section {
  background-color: var(--white);
  padding-block: 4.5rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.quality-intro {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-block-end: 1.6rem;
}

.quality-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quality-box {
  background-color: var(--bg-light-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
}

.quality-box h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.4rem;
}

.quality-box p {
  font-size: 0.89rem;
  line-height: 1.75;
  color: var(--muted);
}

.quality-components {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.4rem;
}

.quality-comp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.quality-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background-color: #FCFBF7;
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quality-comp-item span:last-child {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   13. Our Other Services (#services)
   -------------------------------------------------------------------------- */
.services-banner {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  min-height: 270px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-banner-photo {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: left 62%;
  opacity: 0.72;
}

.services-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #082A45 48%, rgba(8, 42, 69, 0.85) 64%, rgba(8, 42, 69, 0.2) 100%);
  pointer-events: none;
}

html[dir='ltr'] .services-banner::after {
  background: linear-gradient(to right, #082A45 48%, rgba(8, 42, 69, 0.85) 64%, rgba(8, 42, 69, 0.2) 100%);
}

.services-banner-inner {
  position: relative;
  z-index: 1;
  padding-block: 3.2rem;
}

.services-banner-content {
  max-width: 660px;
}

.services-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.services-jump-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--white);
  background-color: rgba(8, 42, 69, 0.45);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.services-jump-links a:hover {
  border-color: var(--gold);
  background-color: rgba(201, 162, 75, 0.18);
}

.service-band {
  padding-block: 3.8rem;
  border-block-end: 1px solid var(--border);
}

.service-band-white {
  background-color: var(--white);
}

.service-band-tint {
  background-color: var(--bg-light-2);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.service-row-intro h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.85rem;
}

.service-tagline {
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--gold-text);
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem 2.25rem;
}

.service-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.4rem;
}

.service-item p {
  font-size: 0.89rem;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. Prior Work Grid (#work) — Static 4x4 Hairline Grid
   -------------------------------------------------------------------------- */
.work-section {
  background-color: var(--white);
  padding-block: 4.5rem;
}

.work-header {
  margin-block-end: 2.25rem;
}

.work-intro {
  font-size: 0.95rem;
  color: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid var(--border);
  border-inline-start: 1px solid var(--border);
}

.client-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 122px;
  padding: 1.2rem 1.35rem;
  background-color: var(--white);
  border-block-end: 1px solid var(--border);
  border-inline-end: 1px solid var(--border);
}

.client-cell img {
  max-width: 148px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   15. Professional Fees & Proposal Request (#quote)
   -------------------------------------------------------------------------- */
.quote-section {
  background-color: var(--bg-light);
  padding-block: 4.5rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 2.5rem;
  align-items: start;
}

.quote-intro {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-block-end: 1.65rem;
}

.terms-card {
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.terms-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.85rem;
}

.terms-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.terms-card li {
  position: relative;
  padding-inline-start: 1.05rem;
  font-size: 0.89rem;
  line-height: 1.75;
  color: var(--muted);
}

.terms-card li::before {
  content: '';
  position: absolute;
  inset-block-start: 0.68em;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

.quote-form-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.quote-form-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.45rem;
}

.form-intro {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-block-end: 1.5rem;
}

.proposal-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
}

.opt-tag {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: var(--white);
  border: 1px solid #C8D1DA;
  border-radius: var(--radius);
  padding: 0.62rem 0.85rem;
  font-size: 0.91rem;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 44px;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23082A45' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
}

html[dir='ltr'] .form-field select {
  background-position: right 0.85rem center;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7A8694;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  outline: 2px solid rgba(8, 42, 69, 0.12);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #B42318;
}

.form-field textarea {
  resize: vertical;
  min-height: 86px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-block-start: 0.2rem;
}

.form-consent input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-block-start: 0.25rem;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
}

.inline-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.inline-link-btn:hover {
  color: var(--gold-text);
}

.form-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.85rem;
  margin-block-start: 0.4rem;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.89rem;
  line-height: 1.6;
  border: 1px solid transparent;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background-color: #EDF7F1;
  border-color: #B7DEC6;
  color: #124E2A;
}

.form-status.is-error {
  background-color: #FDF2F2;
  border-color: #F3C2C2;
  color: #8A1C1C;
}

/* --------------------------------------------------------------------------
   16. Closing, Contact & Footer (#contact)
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-block: 4.5rem;
}

.contact-bg-photo {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.65;
}

.contact-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #082A45 48%, rgba(8, 42, 69, 0.86) 66%, rgba(8, 42, 69, 0.25) 100%);
  pointer-events: none;
}

html[dir='ltr'] .contact-section::after {
  background: linear-gradient(to right, #082A45 48%, rgba(8, 42, 69, 0.86) 66%, rgba(8, 42, 69, 0.25) 100%);
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-content {
  max-width: 580px;
}

.contact-logo {
  width: 158px;
  height: auto;
  margin-block-end: 1.4rem;
}

.contact-lead {
  font-size: 0.94rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
  margin-block-end: 1.85rem;
}

.contact-list {
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 1rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-block-start: 0.2rem;
}

.contact-item-text p {
  font-size: 0.91rem;
  line-height: 1.7;
  color: var(--white);
}

.contact-subline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72) !important;
  margin-block-start: 0.2rem;
}

.map-text-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-text-link:hover {
  color: #e4c06c;
}

.contact-direct-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--white);
  display: inline-block;
  overflow-wrap: anywhere;
}

.contact-direct-link:hover {
  color: var(--gold);
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-block-start: 1.55rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  border-color: var(--gold);
  background-color: rgba(201, 162, 75, 0.16);
  color: var(--gold);
}

/* Footer */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.74);
  padding-block: 1.6rem;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-legal p + p {
  margin-block-start: 0.15rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sep {
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   17. Native <dialog> Privacy Policy Modal
   -------------------------------------------------------------------------- */
.privacy-dialog {
  margin: auto;
  border: none;
  padding: 0;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(6, 31, 52, 0.35);
}

.privacy-dialog::backdrop {
  background-color: rgba(6, 31, 52, 0.68);
}

.dialog-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-block-end: 1px solid var(--border);
}

.dialog-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.dialog-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

.dialog-intro {
  background-color: var(--bg-light-2);
  padding: 1rem 1.15rem;
  border-inline-start: 3px solid var(--gold);
  color: var(--text);
  margin-block-end: 1.25rem;
}

.dialog-section + .dialog-section {
  margin-block-start: 1.1rem;
}

.dialog-section h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.35rem;
}

.dialog-section a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dialog-footer {
  padding: 1rem 1.5rem;
  border-block-start: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints (1080px, 900px, 640px, 359px)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-nav,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-content-col,
  .story-text-col,
  .audit-text-col {
    padding-inline-end: 2rem;
  }

  .methodology-diagram {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.25rem;
  }

  .quality-grid {
    gap: 2.25rem;
  }

  .quality-components {
    gap: 1.5rem 1rem;
  }

  .service-row {
    grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
    gap: 2rem;
  }

  .service-items-grid {
    gap: 1.5rem 1.75rem;
  }
}

@media (max-width: 900px) {
  /* Hero: Photo first, 7px gold horizontal line, then white content */
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media-col {
    order: -2;
    min-height: 250px;
    height: clamp(250px, 42vw, 360px);
  }

  .hero-divider {
    order: -1;
    width: 100%;
    height: 7px;
  }

  .hero-content-col {
    justify-content: flex-start;
    padding-block: 2.35rem 2.85rem;
    padding-inline: 24px;
  }

  .hero-content-inner {
    max-width: 100%;
  }

  /* About */
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-top-logo {
    order: -1;
  }

  .about-two-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Story & Audit: Photo stacks above text */
  .story-shell,
  .audit-shell {
    grid-template-columns: 1fr;
  }

  .story-media-col,
  .audit-media-col {
    order: -1;
    min-height: 250px;
    height: clamp(250px, 40vw, 350px);
  }

  .audit-photo {
    object-position: center 44%;
  }

  .story-media-col::after {
    background: linear-gradient(to top, rgba(220, 225, 231, 0.92) 0%, rgba(220, 225, 231, 0.22) 35%, rgba(8, 42, 69, 0.14) 100%);
  }

  html[dir='ltr'] .story-media-col::after {
    background: linear-gradient(to top, rgba(220, 225, 231, 0.92) 0%, rgba(220, 225, 231, 0.22) 35%, rgba(8, 42, 69, 0.14) 100%);
  }

  .audit-media-col::after {
    background: linear-gradient(to top, #082A45 0%, rgba(8, 42, 69, 0.55) 35%, rgba(8, 42, 69, 0.35) 100%);
  }

  html[dir='ltr'] .audit-media-col::after {
    background: linear-gradient(to top, #082A45 0%, rgba(8, 42, 69, 0.55) 35%, rgba(8, 42, 69, 0.35) 100%);
  }

  .story-text-col,
  .audit-text-col {
    padding-block: 2.5rem 3.25rem;
    padding-inline: 24px;
  }

  /* Methodology & Quality & Services & Quote */
  .methodology-diagram,
  .approach-cards,
  .quality-grid,
  .service-row,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .services-banner-photo,
  .contact-bg-photo {
    width: 100%;
    opacity: 0.32;
  }

  .services-banner::after,
  .contact-section::after {
    background: linear-gradient(to top, #082A45 20%, rgba(8, 42, 69, 0.84) 100%);
  }

  html[dir='ltr'] .services-banner::after,
  html[dir='ltr'] .contact-section::after {
    background: linear-gradient(to top, #082A45 20%, rgba(8, 42, 69, 0.84) 100%);
  }

  .scope-decor-circles {
    width: 250px;
    opacity: 0.65;
  }

  .client-cell {
    height: 112px;
    padding: 1rem;
  }

  .client-cell img {
    max-width: 132px;
    max-height: 60px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-inline: 18px;
  }

  .about-section,
  .scope-section,
  .methodology-section,
  .quality-section,
  .work-section,
  .quote-section,
  .contact-section {
    padding-block: 3.25rem;
  }

  .service-band {
    padding-block: 2.85rem;
  }

  .hero-content-col,
  .story-text-col,
  .audit-text-col {
    padding-inline: 18px;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding-inline: 0.85rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .stage-card {
    padding: 1rem;
  }

  .stage-chips span {
    font-size: 0.8rem;
    padding: 0.28rem 0.62rem;
  }

  .method-details-body {
    padding: 1.15rem 1rem;
  }

  .scope-item {
    gap: 0.85rem;
    padding-block: 1.25rem;
  }

  .quality-components {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 0.9rem;
  }

  .quality-comp-item span:last-child {
    font-size: 0.84rem;
  }

  .service-items-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

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

  .client-cell {
    height: 102px;
    padding: 0.85rem;
  }

  .client-cell img {
    max-width: 120px;
    max-height: 54px;
  }

  .quote-form-card {
    padding: 1.4rem 1.15rem;
  }

  .form-row-2,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }

  .dialog-card {
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }

  .dialog-body {
    padding: 1.15rem;
  }
}

@media (max-width: 359px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   19. Reduced Motion Preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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