:root {
    --ink: #173f37;
    --ink-deep: #0f2e28;
    --ink-soft: #315c53;
    --sand: #f4efe4;
    --sand-deep: #e8decc;
    --paper: #fffdf8;
    --white: #ffffff;
    --gold: #b68b4c;
    --gold-dark: #8d6936;
    --text: #273531;
    --muted: #66746f;
    --line: rgba(23, 63, 55, 0.14);
    --danger: #9f2d2d;
    --danger-soft: #fff0ef;
    --success: #1f725f;
    --shadow-sm: 0 12px 32px rgba(15, 46, 40, 0.08);
    --shadow-lg: 0 28px 80px rgba(15, 46, 40, 0.15);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 36px;
    --container: 1240px;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

p,
ul,
ol,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 20px;
    color: var(--ink-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.5rem, 3.8vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.65rem);
}

h3 {
    font-size: clamp(1.15rem, 1.3vw, 1.45rem);
    letter-spacing: -0.02em;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.content-narrow {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 11px 18px;
    border-radius: 8px;
    background: var(--ink-deep);
    color: var(--white);
    transition: transform 0.2s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 34px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eyebrow-light {
    color: #e7c58f;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 750;
    letter-spacing: 0.015em;
    line-height: 1.2;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--ink-deep);
    border-color: var(--ink-deep);
    box-shadow: 0 12px 26px rgba(15, 46, 40, 0.18);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(182, 139, 76, 0.42);
    outline-offset: 3px;
}

.button-secondary {
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    background: var(--ink);
    color: var(--white);
}

.button-light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink-deep);
}

.button-light:hover {
    border-color: var(--sand);
    background: var(--sand);
}

.button-small {
    min-height: 44px;
    padding: 10px 18px !important;
    color: var(--white) !important;
}

.button-full {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 750;
}

.text-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.text-link-large {
    margin-top: 10px;
    font-size: 1rem;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(23, 63, 55, 0.08);
    background: rgba(255, 253, 248, 0.93);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-deep);
    line-height: 1.05;
}

.brand img {
    flex: 0 0 auto;
}

.brand span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.brand small {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.primary-nav > a:not(.button) {
    position: relative;
    padding: 12px 0;
    color: #3e4d48;
    font-size: 0.9rem;
    font-weight: 650;
}

.primary-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--gold);
    content: "";
    transition: transform 0.25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-nav > a.is-active {
    color: var(--ink-deep);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(182, 139, 76, 0.12), transparent 30%), radial-gradient(circle at 85% 15%, rgba(23, 63, 55, 0.08), transparent 26%);
    content: "";
    pointer-events: none;
}

.hero-home {
    min-height: calc(100vh - var(--header-height));
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #fffdf8 0%, #f6f0e4 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: 610px;
    align-items: center;
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
    gap: clamp(35px, 6vw, 90px);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 800px;
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 30px;
    color: #53625d;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
    margin-top: 34px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 650;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof span::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    content: "";
}

.vertical-proof {
    flex-direction: column;
    gap: 12px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual > img {
    width: 100%;
    filter: drop-shadow(0 32px 42px rgba(15, 46, 40, 0.11));
}

.floating-card {
    position: absolute;
    max-width: 245px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.91);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    margin-bottom: 4px;
    color: var(--ink-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
}

.floating-card span {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.floating-card-top {
    top: 12%;
    right: -2%;
}

.floating-card-bottom {
    bottom: 7%;
    left: -3%;
}

.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid span {
    padding: 22px 15px;
    border-right: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.trust-grid span:last-child {
    border-right: 0;
}

.hero-inner {
    padding: 75px 0;
    background: linear-gradient(145deg, #f7f1e6 0%, #fffdf8 68%);
}

.hero-inner .hero-grid {
    min-height: 480px;
}

.hero-inner h1 {
    font-size: clamp(2.5rem, 3.6vw, 3.75rem);
}

.hero-grid-form {
    align-items: start;
    grid-template-columns: minmax(0, 0.82fr) minmax(550px, 1.18fr);
}

.hero-grid-form .hero-copy {
    position: sticky;
    top: 130px;
    padding-top: 55px;
}

.hero-riyadh {
    padding-bottom: 105px;
}

.compact-visual img {
    max-height: 520px;
    margin-inline: auto;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 38px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
}

.breadcrumbs a:hover {
    color: var(--ink);
}

.section {
    padding: clamp(80px, 9vw, 130px) 0;
}

.section-soft {
    background: var(--sand);
}

.section-contrast {
    background: var(--ink-deep);
    color: rgba(255, 255, 255, 0.78);
}

.section-contrast h2,
.section-contrast h3 {
    color: var(--white);
}

.section-heading {
    margin-bottom: 56px;
}

.split-heading {
    display: grid;
    align-items: end;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
}

.split-heading h2,
.centered-heading h2 {
    margin-bottom: 0;
}

.split-heading > p {
    max-width: 530px;
    margin-bottom: 10px;
    color: var(--muted);
}

.centered-heading {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.centered-heading .eyebrow {
    justify-content: center;
}

.centered-heading p {
    max-width: 680px;
    margin: 20px auto 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    gap: 20px;
}

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

.service-card {
    display: flex;
    min-height: 360px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 0 0 rgba(15, 46, 40, 0);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182, 139, 76, 0.55);
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    margin-top: auto;
}

.service-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.service-card .text-link {
    margin-top: 16px;
}

.card-number {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(45px, 8vw, 120px);
}

.process-intro {
    align-self: center;
}

.process-intro p {
    max-width: 480px;
    margin-bottom: 30px;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    display: grid;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: 60px 1fr;
    gap: 20px;
}

.steps-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.steps-list li > span {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    color: #e7c58f;
    font-weight: 750;
}

.steps-list h3 {
    margin-bottom: 9px;
}

.steps-list p {
    margin-bottom: 0;
}

.feature-layout {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 0.94fr;
    gap: clamp(50px, 8vw, 110px);
}

.reverse-layout {
    grid-template-columns: 1fr 0.85fr;
}

.feature-visual {
    padding: clamp(22px, 4vw, 50px);
    border-radius: var(--radius-lg);
    background: var(--sand);
}

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

.check-list,
.plain-list {
    margin: 25px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 31px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    position: absolute;
    top: 17px;
    left: 2px;
    width: 14px;
    height: 8px;
    transform: rotate(-45deg);
    border-bottom: 2px solid var(--gold-dark);
    border-left: 2px solid var(--gold-dark);
    content: "";
}

.plain-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

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

.benefit-grid article,
.value-grid article {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.62);
}

.benefit-grid p,
.value-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.icon-badge,
.value-grid article > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 750;
}

.faq-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(45px, 8vw, 120px);
}

.faq-intro {
    position: sticky;
    top: 130px;
}

.faq-intro p {
    color: var(--muted);
}

.accordion {
    border-bottom: 1px solid var(--line);
}

.accordion:first-child {
    border-top: 1px solid var(--line);
}

.accordion summary {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--ink-deep);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 600;
    list-style: none;
}

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

.accordion summary span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.accordion[open] summary span {
    transform: rotate(45deg);
    background: var(--ink);
    color: var(--white);
}

.accordion > div {
    padding: 0 60px 24px 0;
    color: var(--muted);
}

.section-form {
    background: var(--ink-deep);
    color: rgba(255, 255, 255, 0.78);
}

.section-form h2 {
    color: var(--white);
}

.form-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(45px, 8vw, 110px);
}

.form-copy {
    position: sticky;
    top: 130px;
    padding-top: 35px;
}

.form-card {
    position: relative;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(23, 63, 55, 0.1);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.form-card-hero {
    z-index: 3;
}

.form-card-heading {
    margin-bottom: 30px;
}

.form-card-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.form-card-heading p {
    color: var(--muted);
    font-size: 0.88rem;
}

.enquiry-form {
    display: grid;
    gap: 20px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field > label,
.field legend {
    color: var(--ink-deep);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.field > label > span,
.field legend > span {
    color: var(--danger);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 51px;
    padding: 12px 14px;
    border: 1px solid #ced8d4;
    border-radius: 10px;
    background: #fffefd;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #9fb2ac;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 4px rgba(23, 63, 55, 0.08);
    outline: none;
}

.field-error input,
.field-error select,
.field-error textarea {
    border-color: var(--danger);
    background: #fffafa;
}

.field small {
    color: var(--danger);
    font-size: 0.78rem;
}

.checkbox-label {
    display: grid !important;
    align-items: start;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    color: var(--text) !important;
    font-weight: 500 !important;
    line-height: 1.55;
}

.checkbox-label input {
    width: 18px;
    min-height: 18px;
    margin: 3px 0 0;
    accent-color: var(--ink);
}

.checkbox-label a {
    color: var(--ink);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(23, 63, 55, 0.35);
    text-underline-offset: 3px;
}

.fieldset-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.fieldset-group legend {
    margin-bottom: 10px;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choice-chip {
    position: relative;
    cursor: pointer;
}

.choice-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-chip span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #ced8d4;
    border-radius: 999px;
    color: #4f5f5a;
    font-size: 0.78rem;
    font-weight: 650;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.choice-chip input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.choice-chip input:focus-visible + span {
    outline: 3px solid rgba(182, 139, 76, 0.42);
    outline-offset: 2px;
}

.form-footnote {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.form-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 0.84rem;
}

.form-alert-error {
    border: 1px solid rgba(159, 45, 45, 0.25);
    background: var(--danger-soft);
    color: var(--danger);
}

.intro-content {
    margin-bottom: 60px;
    text-align: center;
}

.intro-content p {
    color: var(--muted);
    font-size: 1.04rem;
}

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

.detail-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.detail-grid article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.detail-grid h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.detail-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.editorial-grid article {
    min-height: 310px;
    padding: 34px;
    border: 1px solid rgba(23, 63, 55, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.67);
}

.editorial-grid article > span {
    color: var(--gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.editorial-grid h3 {
    margin-top: 55px;
}

.editorial-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.quote-panel {
    display: flex;
    min-height: 470px;
    padding: clamp(35px, 5vw, 62px);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    flex-direction: column;
    justify-content: space-between;
}

.quote-panel blockquote {
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    line-height: 1.25;
}

.quote-panel p {
    margin-bottom: 0;
    color: #e7c58f;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compact-cta-section {
    padding-top: 0;
}

.compact-cta {
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(35px, 6vw, 72px);
    border-radius: var(--radius-lg);
    background: var(--ink-deep);
    color: rgba(255, 255, 255, 0.72);
}

.compact-cta h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(1.65rem, 2.3vw, 2.4rem);
}

.compact-cta p {
    margin-bottom: 0;
}

.compact-cta-light {
    border: 1px solid var(--line);
    background: var(--sand);
    color: var(--muted);
}

.compact-cta-light h2 {
    color: var(--ink-deep);
}

.content-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(45px, 9vw, 130px);
}

.prose p {
    color: var(--muted);
    font-size: 1.03rem;
}

.stat-panel {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--sand);
    grid-template-columns: repeat(2, 1fr);
}

.stat-panel div {
    display: flex;
    min-height: 190px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
}

.stat-panel div:nth-child(2n) {
    border-right: 0;
}

.stat-panel div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.stat-panel strong {
    color: var(--ink-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
}

.stat-panel span {
    max-width: 150px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.compliance-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.68fr 1.32fr;
    gap: clamp(50px, 8vw, 120px);
}

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

.compliance-cards article {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.compliance-cards p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(45px, 8vw, 110px);
}

.contact-details > p {
    color: var(--muted);
}

.contact-cards {
    display: grid;
    margin: 35px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.contact-cards article {
    min-height: 130px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.contact-cards article > span {
    display: block;
    margin-bottom: 15px;
    color: var(--gold-dark);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-cards a,
.contact-cards p {
    margin-bottom: 0;
    color: var(--ink-deep);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.contact-cards a:hover {
    text-decoration: underline;
}

.privacy-note {
    padding: 25px;
    border-left: 3px solid var(--gold);
    background: var(--sand);
}

.privacy-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-deep);
}

.privacy-note p {
    margin-bottom: 0;
    color: var(--muted);
}

.privacy-note a {
    color: var(--ink);
    font-weight: 750;
    text-decoration: underline;
}

.legal-hero {
    padding: 80px 0 65px;
    background: var(--sand);
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 3.7vw, 3.8rem);
}

.legal-hero p {
    margin-bottom: 0;
    color: var(--muted);
}

.legal-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 240px minmax(0, 850px);
    justify-content: center;
    gap: clamp(40px, 7vw, 95px);
}

.legal-nav {
    position: sticky;
    top: 120px;
    display: grid;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    gap: 8px;
}

.legal-nav strong {
    margin-bottom: 10px;
    color: var(--ink-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.legal-nav a {
    padding: 5px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.legal-nav a:hover {
    color: var(--ink);
}

.legal-content section {
    scroll-margin-top: 120px;
    padding: 0 0 38px;
}

.legal-content h2 {
    margin-bottom: 17px;
    font-size: clamp(1.45rem, 1.8vw, 1.95rem);
}

.legal-content p,
.legal-content li {
    color: #52615c;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content code {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(23, 63, 55, 0.08);
    font-size: 0.88em;
}

.legal-notice {
    margin-bottom: 42px;
    padding: 22px 24px;
    border: 1px solid rgba(182, 139, 76, 0.35);
    border-radius: var(--radius-sm);
    background: #fff9ec;
}

.legal-notice strong {
    display: block;
    margin-bottom: 7px;
    color: var(--gold-dark);
}

.legal-notice p {
    margin-bottom: 0;
}

.thank-you-section {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding: 90px 0;
    background: var(--sand);
}

.thank-you-card {
    max-width: 800px;
    padding: clamp(40px, 7vw, 80px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 2rem;
}

.error-code {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 1;
}

.thank-you-card h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.3rem);
}

.thank-you-card p {
    color: var(--muted);
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.site-footer {
    padding: 75px 0 25px;
    background: #0b2722;
    color: rgba(255, 255, 255, 0.64);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.7fr);
    gap: 60px;
}

.brand-footer {
    color: var(--white);
}

.brand-footer small {
    color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
    max-width: 390px;
    margin: 25px 0 0;
    font-size: 0.88rem;
}

.footer-grid h2 {
    margin: 6px 0 20px;
    color: var(--white);
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid > div:not(.footer-brand) a {
    font-size: 0.85rem;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.mobile-enquiry-cta {
    display: none;
}

@media (max-width: 1120px) {
    .primary-nav {
        gap: 20px;
    }

    .hero-grid,
    .hero-grid-form {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .four-columns,
    .benefit-grid,
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 920px) {
    :root {
        --header-height: 74px;
    }

    .container,
    .content-narrow {
        width: min(calc(100% - 32px), var(--container));
    }

    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        z-index: 99;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 28px 22px 110px;
        transform: translateX(100%);
        background: var(--paper);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        transition: transform 0.25s ease;
    }

    .primary-nav.is-open {
        transform: translateX(0);
    }

    .primary-nav > a:not(.button) {
        padding: 15px 8px;
        border-bottom: 1px solid var(--line);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.5rem;
    }

    .primary-nav > a:not(.button)::after {
        display: none;
    }

    .primary-nav .button {
        margin-top: 20px;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-home,
    .hero-inner {
        padding: 60px 0 70px;
    }

    .hero-grid,
    .hero-grid-form {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-grid-form .hero-copy,
    .faq-intro,
    .form-copy {
        position: static;
        padding-top: 0;
    }

    .hero-visual {
        max-width: 680px;
        margin-inline: auto;
    }

    .hero-riyadh {
        padding-bottom: 80px;
    }

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

    .trust-grid span:nth-child(2) {
        border-right: 0;
    }

    .trust-grid span:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .split-heading,
    .process-grid,
    .feature-layout,
    .form-layout,
    .faq-layout,
    .content-feature,
    .compliance-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-visual {
        order: 2;
    }

    .reverse-layout .feature-copy {
        order: 1;
    }

    .quote-panel {
        min-height: 370px;
    }

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

    .footer-grid {
        grid-template-columns: 1.4fr repeat(2, 0.8fr);
    }

    .footer-grid > div:last-child {
        grid-column: 2;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
    }

    .legal-nav strong {
        width: 100%;
    }

    .legal-nav a {
        padding: 6px 10px;
        border: 1px solid var(--line);
        border-radius: 999px;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 66px;
        font-size: 15px;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 3.6rem);
    }

    h2 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }

    .brand strong {
        font-size: 1.05rem;
    }

    .brand small {
        display: none;
    }

    .brand img {
        width: 41px;
        height: 41px;
    }

    .hero-home,
    .hero-inner {
        padding: 50px 0 65px;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions,
    .thank-you-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .thank-you-actions .button {
        width: 100%;
    }

    .hero-proof {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .floating-card {
        display: none;
    }

    .four-columns,
    .benefit-grid,
    .value-grid,
    .detail-grid,
    .detail-grid.three-columns,
    .editorial-grid,
    .compliance-cards,
    .contact-cards,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .process-grid {
        gap: 40px;
    }

    .steps-list li {
        grid-template-columns: 48px 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .form-card {
        padding: 25px 20px;
        border-radius: 22px;
    }

    .checkbox-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .choice-chip span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .editorial-grid article {
        min-height: 270px;
    }

    .compact-cta {
        min-height: auto;
        align-items: stretch;
        padding: 35px 25px;
        flex-direction: column;
    }

    .stat-panel {
        grid-template-columns: 1fr;
    }

    .stat-panel div,
    .stat-panel div:nth-child(2n),
    .stat-panel div:nth-last-child(-n + 2) {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat-panel div:last-child {
        border-bottom: 0;
    }

    .contact-cards article {
        min-height: 110px;
    }

    .legal-hero {
        padding: 55px 0 48px;
    }

    .legal-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .legal-nav strong {
        display: none;
    }

    .legal-nav a {
        flex: 0 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-enquiry-cta {
        position: fixed;
        z-index: 90;
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: flex;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: var(--gold);
        color: var(--ink-deep);
        box-shadow: 0 12px 30px rgba(15, 46, 40, 0.24);
        font-size: 0.88rem;
        font-weight: 800;
    }
}

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

/* ==========================================================
   RESPONSIVE SYSTEM 2.0
   Mobile-first safeguards and device-specific refinements
   ========================================================== */

html {
    width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

main,
header,
footer,
section,
.container,
.content-narrow,
.header-inner,
.hero-grid,
.hero-copy,
.hero-visual,
.form-card,
.form-grid,
.field,
.feature-layout,
.process-grid,
.faq-layout,
.form-layout,
.contact-layout,
.content-feature,
.compliance-layout,
.footer-grid,
.footer-grid > *,
.card-grid > *,
.detail-grid > *,
.editorial-grid > *,
.benefit-grid > *,
.value-grid > * {
    min-width: 0;
}

img,
picture,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
select {
    min-width: 0;
}

p,
li,
a,
label,
legend,
small,
strong,
h1,
h2,
h3,
h4 {
    overflow-wrap: break-word;
}

.site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

.header-inner {
    min-height: var(--header-height);
}

.mobile-enquiry-cta {
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
}

/* Large desktop and compact laptop tuning */
@media (max-width: 1280px) {
    :root {
        --container: 1160px;
    }

    .container,
    .content-narrow {
        width: min(calc(100% - 48px), var(--container));
    }

    .hero-grid {
        gap: clamp(34px, 4.5vw, 64px);
    }

    .hero-grid-form {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    }

    .primary-nav {
        gap: 22px;
    }
}

@media (max-width: 1080px) {
    .primary-nav {
        gap: 16px;
    }

    .primary-nav > a:not(.button) {
        font-size: 0.84rem;
    }

    .button-small {
        padding-inline: 15px !important;
    }

    .hero-grid,
    .hero-grid-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer-grid {
        gap: 42px;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 920px) {
    html {
        scroll-padding-top: 94px;
    }

    .site-header {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .header-inner {
        gap: 18px;
    }

    .primary-nav {
        top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
        padding-right: max(22px, env(safe-area-inset-right, 0px));
        padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
        padding-left: max(22px, env(safe-area-inset-left, 0px));
        overscroll-behavior: contain;
    }

    .hero-home {
        min-height: auto;
    }

    .hero-grid,
    .hero-grid-form {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(42px, 7vw, 64px);
    }

    .hero-copy,
    .hero-grid-form .hero-copy {
        width: 100%;
        max-width: 760px;
    }

    .hero-visual,
    .compact-visual {
        width: min(100%, 680px);
    }

    .hero-visual > img,
    .compact-visual img {
        width: 100%;
        max-height: none;
    }

    .section-heading {
        margin-bottom: 44px;
    }

    .split-heading {
        align-items: start;
    }

    .split-heading > p {
        max-width: 720px;
        margin-bottom: 0;
    }

    .form-card-hero {
        width: 100%;
    }

    .form-layout,
    .contact-layout {
        gap: 42px;
    }

    .faq-intro .button {
        width: fit-content;
    }

    .compact-cta {
        align-items: flex-start;
    }
}

/* Portrait tablets and large phones */
@media (max-width: 767px) {
    :root {
        --radius-lg: 28px;
        --radius-md: 18px;
    }

    .container,
    .content-narrow {
        width: min(calc(100% - 36px), var(--container));
    }

    h1 {
        font-size: clamp(2.55rem, 9.5vw, 4.25rem);
        line-height: 1.02;
    }

    h2 {
        font-size: clamp(2.05rem, 7.5vw, 3.2rem);
        line-height: 1.08;
    }

    h3 {
        line-height: 1.18;
    }

    .hero-home,
    .hero-inner {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .hero-inner .hero-grid {
        min-height: 0;
    }

    .hero-inner h1,
    .legal-hero h1 {
        font-size: clamp(2.55rem, 9.5vw, 4.1rem);
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .hero-lead {
        margin-bottom: 26px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-visual {
        width: min(100%, 580px);
    }

    .breadcrumbs {
        flex-wrap: wrap;
        margin-bottom: 28px;
        line-height: 1.4;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .eyebrow {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: 0.72rem;
        letter-spacing: 0.11em;
    }

    .four-columns,
    .benefit-grid,
    .value-grid,
    .detail-grid,
    .detail-grid.three-columns,
    .editorial-grid,
    .compliance-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 26px;
    }

    .service-card h3 {
        margin-top: 54px;
    }

    .benefit-grid article,
    .value-grid article,
    .detail-grid article,
    .editorial-grid article,
    .compliance-cards article {
        min-height: 0;
        padding: 26px;
    }

    .editorial-grid h3 {
        margin-top: 36px;
    }

    .feature-visual {
        padding: 22px;
        border-radius: 24px;
    }

    .steps-list li {
        padding-block: 25px;
    }

    .accordion summary {
        min-height: 78px;
        gap: 18px;
        font-size: 1.14rem;
        line-height: 1.3;
    }

    .accordion > div {
        padding-right: 0;
        padding-bottom: 22px;
    }

    .form-card {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .form-card-heading {
        margin-bottom: 25px;
    }

    .form-card-heading h2 {
        font-size: clamp(1.85rem, 7vw, 2.65rem);
    }

    .form-grid.two-columns,
    .contact-cards,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .field input,
    .field select,
    .field textarea {
        font-size: 16px;
    }

    .field textarea {
        min-height: 120px;
    }

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

    .choice-chip,
    .choice-chip span {
        width: 100%;
    }

    .choice-chip span {
        min-height: 44px;
        justify-content: center;
        padding-inline: 10px;
        text-align: center;
        white-space: normal;
    }

    .quote-panel {
        min-height: 320px;
        padding: 32px 27px;
        border-radius: 24px;
    }

    .compact-cta {
        min-height: 0;
        padding: 35px 28px;
        border-radius: 24px;
        flex-direction: column;
    }

    .compact-cta .button {
        width: 100%;
    }

    .legal-layout {
        gap: 34px;
    }

    .legal-content section {
        scroll-margin-top: 100px;
    }

    .legal-notice {
        padding: 20px;
    }

    .thank-you-section {
        min-height: calc(100svh - var(--header-height));
        padding: 62px 0;
    }

    .thank-you-card {
        width: 100%;
        padding: 42px 25px;
        border-radius: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 45px;
    }
}

/* Standard mobile phones */
@media (max-width: 600px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .container,
    .content-narrow {
        width: min(calc(100% - 30px), var(--container));
    }

    .site-header {
        background: rgba(255, 253, 248, 0.97);
    }

    .brand {
        gap: 9px;
    }

    .brand img {
        width: 39px;
        height: 39px;
    }

    .brand strong {
        font-size: 1rem;
        white-space: nowrap;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .primary-nav > a:not(.button) {
        font-size: 1.35rem;
    }

    .hero-home,
    .hero-inner {
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .hero-grid,
    .hero-grid-form {
        gap: 40px;
    }

    .hero-actions,
    .thank-you-actions {
        width: 100%;
    }

    .hero-actions .button,
    .thank-you-actions .button {
        width: 100%;
    }

    .hero-proof {
        margin-top: 27px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid span,
    .trust-grid span:nth-child(2),
    .trust-grid span:nth-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid span:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 64px 0;
    }

    .process-grid,
    .feature-layout,
    .form-layout,
    .faq-layout,
    .content-feature,
    .compliance-layout,
    .contact-layout,
    .split-heading {
        gap: 36px;
    }

    .steps-list li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .steps-list li > span {
        width: 38px;
        height: 38px;
    }

    .check-list li {
        padding-left: 28px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-label {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .legal-hero {
        padding: 48px 0 42px;
    }

    .legal-nav {
        margin-right: calc((100vw - 100%) / -2);
        margin-left: calc((100vw - 100%) / -2);
        padding: 16px 15px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        scrollbar-width: thin;
    }

    .legal-nav a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .site-footer {
        padding-top: 58px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-grid h2 {
        margin-bottom: 14px;
    }

    .footer-bottom {
        align-items: flex-start;
        margin-top: 38px;
        padding-top: 20px;
    }

    .mobile-enquiry-cta {
        right: max(10px, env(safe-area-inset-right, 0px));
        left: max(10px, env(safe-area-inset-left, 0px));
        min-height: 52px;
    }
}

/* Small phones, including 320px wide screens */
@media (max-width: 420px) {
    :root {
        --header-height: 68px;
    }

    .container,
    .content-narrow {
        width: min(calc(100% - 24px), var(--container));
    }

    h1,
    .hero-inner h1,
    .legal-hero h1 {
        font-size: clamp(2.2rem, 11.2vw, 3rem);
        letter-spacing: -0.04em;
    }

    h2 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .brand strong {
        font-size: 0.94rem;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .header-inner {
        gap: 10px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .hero-home,
    .hero-inner {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .hero-lead {
        font-size: 0.96rem;
    }

    .button {
        min-height: 50px;
        padding: 12px 18px;
    }

    .eyebrow::before {
        width: 24px;
    }

    .hero-proof span {
        align-items: flex-start;
    }

    .section {
        padding: 58px 0;
    }

    .service-card,
    .benefit-grid article,
    .value-grid article,
    .detail-grid article,
    .editorial-grid article,
    .compliance-cards article {
        padding: 23px;
    }

    .form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .form-grid,
    .enquiry-form {
        gap: 16px;
    }

    .field input,
    .field select,
    .field textarea {
        padding-right: 12px;
        padding-left: 12px;
    }

    .quote-panel {
        min-height: 290px;
        padding: 27px 22px;
    }

    .quote-panel blockquote {
        font-size: 1.65rem;
    }

    .compact-cta {
        padding: 30px 22px;
    }

    .stat-panel div {
        padding: 24px;
    }

    .accordion summary {
        min-height: 72px;
        font-size: 1.05rem;
    }

    .accordion summary span {
        width: 32px;
        height: 32px;
    }

    .thank-you-card {
        padding: 36px 20px;
    }
}

@media (max-width: 350px) {
    .brand strong {
        font-size: 0.88rem;
    }

    .brand img {
        width: 33px;
        height: 33px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .eyebrow {
        letter-spacing: 0.08em;
    }

    .form-card {
        padding-inline: 16px;
    }
}

/* Short landscape phones */
@media (max-width: 920px) and (max-height: 520px) and (orientation: landscape) {
    .primary-nav {
        padding-top: 15px;
        padding-bottom: 20px;
    }

    .primary-nav > a:not(.button) {
        padding: 9px 8px;
        font-size: 1.05rem;
    }

    .primary-nav .button {
        min-height: 44px;
        margin-top: 10px;
    }
}

/* Devices without hover should not jump cards or buttons */
@media (hover: none) {
    .button:hover,
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Print safety */
@media print {
    .site-header,
    .site-footer,
    .mobile-enquiry-cta,
    .nav-toggle,
    .hero-actions,
    .compact-cta .button {
        display: none !important;
    }

    body {
        padding: 0;
        background: #fff;
        color: #000;
    }

    .section,
    .legal-hero {
        padding: 24px 0;
    }
}

/* Mobile menu and fixed CTA interaction refinements */
@media (max-width: 920px) {
    .primary-nav {
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
    }

    .primary-nav.is-open {
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
}

@media (max-width: 640px) {
    .mobile-enquiry-cta {
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .mobile-enquiry-cta.is-hidden {
        transform: translateY(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .page-legal,
    .page-thank-you,
    .page-404 {
        padding-bottom: 0;
    }

    .page-legal .mobile-enquiry-cta,
    .page-thank-you .mobile-enquiry-cta,
    .page-404 .mobile-enquiry-cta {
        display: none;
    }
}

/* ========================================================================== 
   MOBILE NAVIGATION AND TYPOGRAPHY REFINEMENT
   Fixes the mobile menu containing-block issue caused by backdrop filtering,
   presents navigation as a clean dropdown sheet, and scales headings down
   consistently on phones and tablets.
   ========================================================================== */

@media (max-width: 920px) {
    .header-inner {
        position: relative;
    }

    body.nav-open::before {
        position: fixed;
        z-index: 90;
        top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(10, 32, 27, 0.42);
        content: "";
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .primary-nav {
        position: absolute;
        z-index: 110;
        top: calc(100% + 10px);
        right: 0;
        bottom: auto;
        left: auto;
        width: min(390px, calc(100vw - 32px));
        max-height: calc(100dvh - var(--header-height) - 26px - env(safe-area-inset-bottom, 0px));
        padding: 12px;
        border: 1px solid rgba(23, 63, 55, 0.14);
        border-radius: 20px;
        background: rgba(255, 253, 248, 0.99);
        box-shadow: 0 24px 64px rgba(15, 46, 40, 0.22);
        transform: translateY(-10px) scale(0.985);
        transform-origin: top right;
        opacity: 0;
        align-items: stretch;
        gap: 4px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        transition: transform 0.22s ease, opacity 0.18s ease, visibility 0s linear 0.22s;
    }

    .primary-nav.is-open {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .primary-nav > a:not(.button) {
        display: flex;
        min-height: 48px;
        align-items: center;
        padding: 11px 14px;
        border: 0;
        border-radius: 12px;
        color: var(--text);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .primary-nav > a:not(.button):hover,
    .primary-nav > a:not(.button):focus-visible,
    .primary-nav > a:not(.button).is-active {
        background: var(--sand);
        color: var(--ink-deep);
    }

    .primary-nav .button {
        width: 100%;
        min-height: 48px;
        margin-top: 8px;
    }

    .nav-toggle {
        position: relative;
        z-index: 120;
        background: var(--paper);
    }
}

@media (max-width: 767px) {
    h1,
    .hero-copy h1,
    .hero-inner h1,
    .legal-hero h1,
    .thank-you-card h1 {
        margin-bottom: 16px;
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.07;
        letter-spacing: -0.032em;
    }

    main h2 {
        font-size: clamp(1.65rem, 6vw, 2.15rem) !important;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    main h3 {
        font-size: clamp(1.15rem, 4.7vw, 1.42rem);
        line-height: 1.2;
        letter-spacing: -0.018em;
    }
}

@media (max-width: 600px) {
    .primary-nav {
        right: 0;
        width: min(360px, calc(100vw - 30px));
        padding: 10px;
        border-radius: 18px;
    }

    .primary-nav > a:not(.button) {
        min-height: 46px;
        padding: 10px 12px;
        font-size: 0.96rem;
    }
}

@media (max-width: 420px) {
    h1,
    .hero-copy h1,
    .hero-inner h1,
    .legal-hero h1,
    .thank-you-card h1 {
        font-size: clamp(1.9rem, 9vw, 2.4rem);
        line-height: 1.08;
    }

    main h2 {
        font-size: clamp(1.5rem, 7vw, 1.9rem) !important;
    }

    main h3 {
        font-size: clamp(1.08rem, 5.2vw, 1.3rem);
    }

    .primary-nav {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - var(--header-height) - 22px - env(safe-area-inset-bottom, 0px));
        border-radius: 16px;
    }
}

@media (max-width: 350px) {
    .primary-nav > a:not(.button) {
        min-height: 44px;
        font-size: 0.92rem;
    }

    .primary-nav .button {
        min-height: 46px;
        font-size: 0.88rem;
    }
}

@media (max-width: 920px) and (max-height: 520px) and (orientation: landscape) {
    .primary-nav {
        top: calc(100% + 6px);
        max-height: calc(100dvh - var(--header-height) - 12px);
        padding: 8px;
    }

    .primary-nav > a:not(.button) {
        min-height: 40px;
        padding-block: 7px;
        font-size: 0.9rem;
    }

    .primary-nav .button {
        min-height: 42px;
        margin-top: 5px;
    }
}
