/* business.wadhih.com: the one stylesheet of the Business Portal website. Poppins for English and Cairo for Arabic, loaded
   from Google Fonts like the main site's css/global.css. Logical properties throughout, so the Arabic pages (dir="rtl")
   mirror without their own rules. Responsive from 1180 px down to 360 px. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Cairo:wght@400;600;700&display=swap');

:root {
    --brown: #8B4A2F;
    --brown-dark: #6F3A24;
    --sand: #F6EFE9;
    --sand-deep: #E9DFD6;
    --text: #2B2118;
    --muted: #5C4B40;
    --line: #EFE6DF;
    --line-strong: #E6D9CF;
    --on-brown: #F3D9C9;
    --green: #5A8E27;
    --green-ink: #3E6A17;
    --green-soft: #EAF3DF;
    --blue: #3B6EA5;
    --blue-soft: #E5EEF7;
    --yellow-soft: #FFF3C4;
    --danger: #A33A2A;
    --danger-soft: #FBEAE6;
    --white: #FFFFFF;
    --radius-card: 20px;
    --radius-large: 24px;
    --radius-button: 12px;
    --content: 1180px;
    --gutter: 24px;
    --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --font-ar: 'Cairo', 'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body,
[lang="ar"] {
    font-family: var(--font-ar);
}

[lang="en"] {
    font-family: var(--font);
}

main {
    flex: 1 0 auto;
}

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

a {
    color: var(--brown);
    text-decoration: none;
}

a:hover {
    color: var(--brown-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--brown);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    text-wrap: balance;
}

h1 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
    letter-spacing: 0;
    line-height: 1.35;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 20;
    padding: 10px 16px;
    border-radius: var(--radius-button);
    background: var(--brown);
    color: var(--white);
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

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

.container-narrow {
    max-width: 880px;
}

/* Buttons and links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-button);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--brown);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brown-dark);
    color: var(--white);
}

.btn-outline {
    border-color: var(--brown);
    background: transparent;
    color: var(--brown);
}

.btn-outline:hover {
    background: var(--sand);
    color: var(--brown-dark);
}

.btn-light {
    background: var(--white);
    color: var(--brown);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--sand);
    color: var(--brown-dark);
}

.btn-large {
    min-height: 54px;
    padding: 15px 26px;
    border-radius: 14px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(8px);
}

.header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding-block: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.brand-name span {
    color: var(--brown);
}

.site-menu {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-inline-start: auto;
    font-size: 15px;
    font-weight: 500;
}

.main-nav a {
    padding-block: 6px;
    color: var(--text);
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--brown);
    border-bottom-color: var(--brown);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}

.lang-switch:hover {
    border-color: var(--brown);
    color: var(--brown);
}

.header-login {
    padding: 10px 6px;
    color: var(--text);
    font-weight: 500;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-inline-start: auto;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-button);
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-toggle__bars {
    position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
}

.menu-toggle__bars::before {
    top: -6px;
}

.menu-toggle__bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Sections */
.section {
    padding-block: 72px;
}

.section-tight-top {
    padding-block-start: 24px;
}

.section-tight-bottom {
    padding-block-end: 24px;
}

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

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

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

.section-brown .eyebrow {
    color: var(--on-brown);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 680px;
    margin-block-end: 36px;
}

.section-head--split {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
}

.section-head--split > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.section-head .lead {
    margin-block-start: 6px;
}

.section-title {
    margin-block-end: 28px;
    font-size: 30px;
}

.eyebrow {
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

html[lang="ar"] .eyebrow {
    font-size: 15px;
    letter-spacing: 0;
}

.lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.muted {
    color: var(--muted);
}

.note-line {
    margin-block-start: 22px;
    color: var(--muted);
    font-size: 14px;
}

/* Grids and cards */
.grid {
    display: grid;
    gap: 20px;
}

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

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

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

.card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--white);
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.card-white {
    border-color: transparent;
}

.card-glass {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.card-glass p {
    color: var(--on-brown);
}

.card .icon {
    color: var(--brown);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brown);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.step-cards .card {
    padding: 28px;
}

/* Chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.chip-sand {
    background: var(--sand);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px;
}

.chip-strong {
    color: var(--brown);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
}

.chip-yellow {
    background: var(--yellow-soft);
    color: var(--brown);
}

.chip-green {
    background: var(--green-soft);
    color: var(--green-ink);
}

.chip-blue {
    background: var(--blue-soft);
    color: var(--blue);
}

/* Home: hero */
.hero {
    background: var(--sand);
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    padding-block: 72px 64px;
}

.hero-copy {
    display: flex;
    flex: 1 1 480px;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.hero-copy .lead {
    max-width: 560px;
    font-size: 18px;
}

.pill-label {
    align-self: flex-start;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

html[lang="ar"] .pill-label {
    font-size: 14px;
    letter-spacing: 0;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--white);
}

.search-form input {
    flex: 1 1 260px;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.search-form input:focus-visible {
    outline-offset: 0;
}

.search-form .btn {
    flex: 0 0 auto;
    padding-inline: 22px;
    font-size: 16px;
}

.search-form--help {
    max-width: none;
    margin-block-start: 26px;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 14px;
}

.checks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checks .icon,
.ticks .icon,
.plan-list--ticks .icon {
    flex: 0 0 auto;
    color: var(--green);
}

/* Home: the phone mock-up (CSS only, an invented example place) */
.hero-visual {
    display: flex;
    flex: 0 1 380px;
    justify-content: center;
    min-width: 0;
}

.phone {
    width: 300px;
    max-width: 100%;
    padding: 12px;
    border-radius: 40px;
    background: var(--text);
    box-shadow: 0 30px 60px rgba(43, 33, 24, 0.25);
}

.phone-screen {
    position: relative;
    display: block;
    height: 600px;
    overflow: hidden;
    border-radius: 30px;
    background: #F3EFE8;
}

.phone-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-land {
    fill: #F3EFE8;
}

.map-road {
    fill: none;
    stroke: #C9D3E3;
}

.map-building {
    fill: #E4DDD3;
}

.map-building--target {
    fill: #E9D4C6;
    stroke: var(--brown);
    stroke-width: 2;
}

.phone-pin {
    position: absolute;
    top: 150px;
    inset-inline-start: calc(50% - 20px);
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    background: var(--brown);
    box-shadow: 0 6px 14px rgba(139, 74, 47, 0.4);
    transform: rotate(-45deg);
}

.phone-search {
    position: absolute;
    top: 18px;
    inset-inline: 14px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--white);
    color: var(--brown);
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.phone-card {
    position: absolute;
    bottom: 14px;
    inset-inline: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.phone-card__handle {
    align-self: center;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #D9CFC6;
}

.phone-card__name {
    color: var(--brown);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.phone-card__other {
    color: var(--brown);
    font-size: 13px;
}

.phone-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.phone-card__chips .chip {
    padding: 4px 10px;
    font-size: 11px;
}

.phone-card__actions {
    display: flex;
    gap: 8px;
}

.phone-card__go {
    flex: 1;
    padding: 11px;
    border-radius: 12px;
    background: var(--brown);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.phone-card__save {
    width: 40px;
    border: 1.5px solid var(--brown);
    border-radius: 12px;
}

/* Home: categories */
.category-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-block: 36px;
}

.category-strip__label {
    margin-inline-end: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

/* Why Wadhih */
.why-list {
    gap: 28px;
}

.why-list li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block-start: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.why-list p {
    color: var(--on-brown);
    font-size: 15px;
    line-height: 1.6;
}

/* Split sections (text and an illustration) */
.split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.split > * {
    flex: 1 1 400px;
    min-width: 0;
}

.split-reverse {
    flex-direction: row-reverse;
}

.split-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ticks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-block-start: 6px;
    color: var(--text);
    font-size: 15px;
}

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ticks .icon {
    margin-block-start: 2px;
}

/* Insights preview */
.insights-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(43, 33, 24, 0.08);
}

.insights-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.insights-card__title {
    font-weight: 600;
    font-size: 16px;
}

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

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background: var(--sand);
}

.metric dt {
    color: var(--muted);
    font-size: 12px;
}

.metric dd {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.insights-chart {
    display: block;
    width: 100%;
    height: 120px;
}

.chart-axis {
    stroke: var(--line);
}

.chart-line {
    fill: none;
    stroke: var(--brown);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.chart-area {
    fill: var(--brown);
    opacity: 0.08;
}

.chart-dot {
    fill: var(--brown);
}

.chart-days {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    color: var(--muted);
    font-size: 12px;
}

html[dir="rtl"] .chart-days {
    flex-direction: row-reverse;
}

.search-terms {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.search-terms li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.search-terms__count {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* Plans */
.plans {
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
}

.plan-priority {
    border: 2px solid var(--brown);
}

.plan-badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brown);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

html[lang="ar"] .plan-name {
    font-size: 16px;
    letter-spacing: 0;
}

.plan-priority .plan-name {
    color: var(--brown);
}

.plan-price {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.plan-price span {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.plan-soon {
    color: var(--brown);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.plan-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.plan-list {
    padding-inline-start: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    list-style: disc;
}

.plan-list--ticks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-inline-start: 0;
    color: var(--text);
    line-height: 1.5;
    list-style: none;
}

.plan-list--ticks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-button {
    margin-block-start: auto;
}

/* Questions */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-block-start: 28px;
}

.faq details {
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--white);
}

.faq-bordered details {
    border: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}

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

.faq summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--brown);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.faq details[open] summary::after {
    content: '−';
}

.faq details p {
    margin-block-start: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.section-title + .faq {
    margin-block-start: 0;
}

/* Closing calls */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 48px;
    border-radius: 28px;
    background: var(--brown);
    color: var(--white);
}

.cta-band > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 620px;
}

.cta-band h2 {
    color: var(--white);
    font-size: 32px;
}

.cta-band p {
    color: var(--on-brown);
    font-size: 16px;
}

.cta-plain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Page heads */
.page-head {
    background: var(--sand);
}

.page-head .container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-block: 64px 56px;
}

.page-head .lead {
    max-width: 720px;
}

.page-head h1 {
    max-width: 860px;
    font-size: 46px;
}

.page-head--center .container {
    align-items: center;
    text-align: center;
}

.page-head--center .search-form {
    width: 100%;
}

.page-head--tall .container {
    padding-block: 96px;
}

.anchor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block-start: 10px;
}

.anchor-pills a {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.anchor-pills a:hover {
    border-color: var(--brown);
    color: var(--brown);
}

/* Features: mock-ups (an invented example place) */
.mock {
    position: relative;
    margin: 0;
    padding: 28px;
    border-radius: var(--radius-large);
    background: var(--sand);
}

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

.mock-example {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--white);
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(43, 33, 24, 0.08);
}

.section-sand .mock-example {
    background: var(--sand);
    box-shadow: none;
}

.place-card,
.team-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
    margin-inline: auto;
    padding: 20px;
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(43, 33, 24, 0.1);
}

.section-sand .place-card,
.section-sand .team-card {
    background: var(--sand);
    box-shadow: none;
}

.place-card__photo {
    display: block;
    height: 140px;
    border-radius: 14px;
    background: linear-gradient(135deg, #D9C3B0, #B98A6C);
}

.place-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.place-card__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.place-card__name {
    color: var(--brown);
    font-weight: 700;
    font-size: 18px;
}

.place-card__other {
    color: var(--muted);
    font-size: 14px;
}

.place-card__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brown);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.place-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.place-card__chips .chip {
    padding: 4px 10px;
    font-size: 12px;
}

.place-card__text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.place-card__line {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 14px;
}

.place-card__line .icon {
    color: var(--brown);
}

.place-card__go {
    padding: 12px;
    border-radius: 12px;
    background: var(--brown);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.entrance-map {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-card);
}

.entrance-map svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.entrance-arrow {
    fill: none;
    stroke: var(--brown);
    stroke-width: 4;
    stroke-linecap: round;
}

.entrance-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translate(-50%, -100%);
}

.entrance-pin::before {
    content: '';
    width: 26px;
    height: 26px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.entrance-pin span {
    order: -1;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(43, 33, 24, 0.12);
}

.entrance-pin--main {
    top: 68%;
    left: 37.5%;
}

.entrance-pin--main::before {
    background: var(--brown);
}

.entrance-pin--parking {
    top: 88%;
    left: 75%;
}

.entrance-pin--parking::before {
    background: var(--blue);
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--white);
}

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

.post__thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E9D4C6, #C08C6B);
}

.post-1 .post__thumb {
    background: linear-gradient(135deg, #D6E2EE, #6F92B8);
}

.post-2 .post__thumb {
    background: linear-gradient(135deg, #E3EDD6, #8DB262);
}

.post__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.post__kind {
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
}

.post__title {
    font-weight: 600;
    font-size: 15px;
}

.post__note {
    color: var(--muted);
    font-size: 13px;
}

.measure-cards h3 {
    font-size: 17px;
}

.team-card__title {
    font-weight: 700;
    font-size: 16px;
}

.team-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}

.team-card__branch {
    font-weight: 600;
    font-size: 15px;
}

.team-card__roles {
    grid-row: 2;
    color: var(--muted);
    font-size: 13px;
}

.team-card__row .chip {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 12px;
}

.team-card__add {
    padding: 12px;
    border: 1.5px dashed var(--line-strong);
    border-radius: 12px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* How it works */
.need-cards h3 {
    font-size: 17px;
}

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline__step {
    position: relative;
    display: flex;
    gap: 20px;
    padding-block-end: 32px;
}

.timeline__step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 48px;
    bottom: 0;
    inset-inline-start: 23px;
    width: 2px;
    background: var(--line-strong);
}

.timeline__marker {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brown);
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
}

.timeline__step--done .timeline__marker {
    background: var(--green);
}

.timeline__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block-start: 10px;
}

.timeline__body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.timeline__body strong {
    color: var(--text);
}

.timeline__meta {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--brown) !important;
    font-size: 13px !important;
    font-weight: 600;
}

/* Pricing: comparison */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-card);
    background: var(--white);
}

.compare {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}

.compare th,
.compare td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    text-align: start;
    vertical-align: top;
}

.compare thead th {
    background: var(--white);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

html[lang="ar"] .compare thead th {
    font-size: 14px;
    letter-spacing: 0;
}

.compare thead th:last-child,
.compare td:last-child {
    color: var(--brown);
}

.compare tbody th {
    font-weight: 600;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

/* Forms */
.waitlist-form,
.form-card form,
.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-form {
    margin-block-start: 8px;
    padding-block-start: 20px;
    border-top: 1px solid var(--line);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

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

.field label {
    font-weight: 600;
    font-size: 14px;
}

.field-optional {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-button);
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: #9A8A7E;
}

.field input[dir="ltr"] {
    text-align: start;
}

html[dir="rtl"] .field input[dir="ltr"] {
    text-align: end;
}

.field [aria-invalid="true"] {
    border-color: var(--danger);
    background: #FFFBFA;
}

.field-error {
    color: var(--danger);
    font-size: 13px;
    font-weight: 500;
}

.field-check .check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.field-check input {
    flex: 0 0 auto;
    width: 20px;
    min-height: 0;
    height: 20px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--brown);
}

.field-check a {
    font-weight: 600;
}

.form-alert {
    padding: 12px 14px;
    border-radius: var(--radius-button);
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 14px;
    font-weight: 600;
}

.form-success {
    padding: 14px 16px;
    border-radius: var(--radius-button);
    background: var(--green-soft);
    color: var(--green-ink);
    font-size: 15px;
    font-weight: 600;
}

.form-success--large {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    margin-block-end: 16px;
}

.form-success--large h2 {
    color: var(--green-ink);
    font-size: 22px;
}

.form-success--large p {
    font-weight: 500;
}

/* A field a person never sees: only a bot fills it. */
.form-trap {
    position: absolute;
    inset-inline-start: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Help */
.topic-cards {
    gap: 16px;
}

.topic-card {
    height: 100%;
    gap: 6px;
    color: var(--text);
}

.topic-card:hover {
    border-color: var(--brown);
    color: var(--text);
}

.topic-card__title {
    font-weight: 600;
    font-size: 17px;
}

.topic-card__text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.search-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-block-end: 24px;
    font-weight: 600;
}

.faq-group + .faq-group {
    margin-block-start: 40px;
}

.faq-group h2 {
    font-size: 24px;
}

.faq-group .faq {
    margin-block-start: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.channels li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
}

.channels .icon {
    grid-row: span 2;
    color: var(--brown);
}

.channels__label {
    color: var(--muted);
    font-size: 13px;
}

.channels a,
.channels li > span:last-child {
    font-weight: 600;
    justify-self: start;
}

.note-box {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--sand);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.note-box strong {
    color: var(--text);
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(43, 33, 24, 0.06);
}

.form-card__title {
    font-size: 22px;
}

/* Register / Log in */
.auth {
    padding-block: 56px 72px;
    background: var(--sand);
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
    align-items: start;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 40px;
    border-radius: 28px;
    background: var(--brown);
    color: var(--white);
}

.auth-panel h1 {
    color: var(--white);
    font-size: 36px;
    line-height: 1.15;
}

.auth-panel__eyebrow {
    color: var(--on-brown);
    font-size: 14px;
    font-weight: 600;
}

.auth-panel__text {
    color: var(--on-brown);
    font-size: 16px;
    line-height: 1.6;
}

.auth-panel__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-panel__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.auth-panel__tick {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
}

.auth-panel__next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-brown);
    font-size: 14px;
    line-height: 1.55;
}

.auth-panel__next-label {
    color: var(--white);
    font-weight: 600;
}

.auth-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-panel__chips span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(43, 33, 24, 0.08);
}

.auth-card h2 {
    font-size: 26px;
}

.tabbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
    background: var(--sand);
}

.tab {
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
}

.tab.is-active {
    background: var(--white);
    color: var(--brown);
    box-shadow: 0 2px 8px rgba(43, 33, 24, 0.08);
}

.tab[aria-disabled="true"] {
    color: #A6968A;
    cursor: not-allowed;
}

.tab-note {
    padding: 10px 14px;
    border-radius: var(--radius-button);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.tab-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Stories */
.story-grid {
    align-items: stretch;
}

.story-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--white);
}

.story-card__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.story-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.story-card blockquote {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.story-card__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.story-card__numbers dd {
    margin: 0;
    color: var(--brown);
    font-size: 22px;
    font-weight: 700;
}

.story-card__numbers dt {
    color: var(--muted);
    font-size: 13px;
}

.story-card__owner {
    color: var(--muted);
    font-size: 14px;
}

.story-card--yours {
    gap: 12px;
    padding: 28px;
    border: 1.5px dashed var(--line-strong);
    background: var(--sand);
}

.story-card--yours h2 {
    font-size: 22px;
}

.story-card--yours p {
    color: var(--muted);
}

/* Footer */
.site-footer {
    margin-block-start: auto;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-block: 48px 32px;
}

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

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-about p:last-child {
    color: var(--muted);
    line-height: 1.6;
}

.footer-brand {
    font-weight: 700;
    font-size: 16px;
}

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

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

.footer-title {
    font-weight: 600;
}

.footer-col a,
.footer-apps {
    color: var(--muted);
}

.footer-col a:hover {
    color: var(--brown);
}

.footer-apps a {
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 3px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-block-start: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a {
    color: var(--muted);
}

.footer-legal a:hover {
    color: var(--brown);
}

.footer-lang {
    font-weight: 600;
}

/* Tablets */
@media (max-width: 1024px) {
    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 32px;
    }

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

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

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

    .auth-panel {
        order: 2;
    }

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

/* The menu folds behind a button once the script is there; without it, the links simply wrap. */
@media (max-width: 900px) {
    .js .menu-toggle {
        display: inline-flex;
    }

    .js .site-menu {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-block: 8px 6px;
    }

    .js .site-menu.is-open {
        display: flex;
    }

    .js .main-nav {
        flex-direction: column;
        gap: 0;
        margin-inline-start: 0;
        font-size: 17px;
    }

    .js .main-nav a {
        padding-block: 12px;
        border-bottom: 1px solid var(--line);
    }

    .js .main-nav a[aria-current="page"] {
        border-bottom-color: var(--brown);
    }

    .js .header-actions {
        justify-content: flex-start;
    }

    .main-nav {
        margin-inline-start: 0;
    }
}

/* Phones */
@media (max-width: 720px) {
    :root {
        --gutter: 20px;
    }

    h1,
    .page-head h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section {
        padding-block: 52px;
    }

    .section-tight-top {
        padding-block-start: 12px;
    }

    .hero-grid {
        gap: 40px;
        padding-block: 44px 48px;
    }

    .hero-copy .lead {
        font-size: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .field-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .split,
    .split-reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .split > * {
        flex-basis: auto;
    }

    .cta-band {
        padding: 32px 24px;
        border-radius: 22px;
    }

    .cta-band h2 {
        font-size: 26px;
    }

    .plan {
        padding: 26px 22px;
    }

    .page-head .container {
        padding-block: 44px 40px;
    }

    .page-head--tall .container {
        padding-block: 72px;
    }

    .auth {
        padding-block: 28px 52px;
    }

    .auth-card,
    .auth-panel {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .auth-panel h1 {
        font-size: 28px;
    }

    .form-card {
        padding: 22px 18px;
    }

    .mock {
        padding: 20px 14px;
    }

    .faq details {
        padding: 16px 18px;
    }

    .timeline__step {
        gap: 14px;
    }

    .timeline__marker {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .timeline__step:not(:last-child)::before {
        top: 40px;
        inset-inline-start: 19px;
    }
}

@media (max-width: 480px) {
    :root {
        --gutter: 16px;
    }

    h1,
    .page-head h1 {
        font-size: 31px;
    }

    .brand-name {
        font-size: 16px;
    }

    .search-form .btn {
        flex: 1 1 100%;
    }

    .phone {
        width: 260px;
    }

    .phone-screen {
        height: 520px;
    }

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

    .category-strip {
        padding-block: 28px;
    }

    .insights-card {
        padding: 18px;
    }

    .metric dd {
        font-size: 21px;
    }

    .chart-days {
        font-size: 10px;
    }

    .entrance-pin span {
        font-size: 11px;
    }
}

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

    * {
        transition: none !important;
    }
}
