/* Consultation page — Figma frame «الاستشارات | SURLA BUSINESS» (209:2900), 1440 wide.
   Loaded only on this page (views/layout.php: assets/css/page-<page>.css). */

.consult-wrap { width: min(1190px, 100% - 2 * var(--gutter, 16px)); margin-inline: auto; }

/* ---------- Hero (209:2952) ---------- */
.consult-hero {
    position: relative;
    min-height: 752px;
    display: flex;
    background:
        linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
        linear-gradient(136deg, transparent 0%, transparent 63%, rgba(3, 156, 208, .056) 63.15%, rgba(3, 156, 208, .056) 70%, transparent 70.1%),
        linear-gradient(90deg, transparent 0%, transparent 15.278%, rgba(71, 160, 211, .028) 15.347%, transparent 15.417%),
        url(../img/consultation/hero.png) center / cover no-repeat,
        #000;
    color: #fff;
}
.consult-hero__inner {
    display: flex; align-items: center; gap: 176.46px;
    width: min(1190px, 100% - 2 * var(--gutter, 16px));
    min-height: 610px; margin-left: calc(50% - 610px); margin-right: auto; padding-block: 90px;
}
.consult-hero__copy { flex: 0 1 673.5px; min-width: 0; padding-top: 58.75px; }
.consult-hero__eyebrow { gap: 9px; color: #68d7ff; font-size: 14px; line-height: 24.5px; letter-spacing: 0; }
.consult-hero__eyebrow::before, .consult-eyebrow::before, .consult-legal__eyebrow::before { width: 28px; height: 2px; border-radius: 0; background: var(--blue, #039cd0); }
.consult-hero__title { margin-top: 17.4px; color: #fff; font-size: 64px; font-weight: 900; line-height: 75.52px; letter-spacing: -2.24px; }
.consult-hero__title .accent { color: #68d7ff; }
.consult-hero__lead { max-width: 620px; margin-top: 14.4px; color: #d3dce5; font-size: 24px; font-weight: 500; line-height: 35.1px; }
.consult-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 13.7px; }
.consult-hero .consult-hero__cta {
    height: 54px; gap: 15px; padding-inline: 20.8px; border: .8px solid #25b4e6; border-radius: 5px;
    background: #069ed0; color: #fff; font-size: 12px; font-weight: 700;
}
.consult-hero .consult-hero__cta:hover { background: var(--blue, #039cd0); }
.consult-hero__ghost {
    display: inline-flex; align-items: center; height: 54px; padding: 13.8px 24.8px;
    border: .8px solid rgba(255, 255, 255, .35); border-radius: 5px; background: #4b4a4b;
    color: #fff; font-size: 15px; font-weight: 800; line-height: 26.25px; white-space: nowrap;
    transition: background-color .2s;
}
.consult-hero__ghost:hover { background: #5c5b5c; }

.consult-glass {
    flex: 0 0 340px; display: flex; flex-direction: column; gap: 12px;
    padding: 27.8px 29.8px; border: .8px solid rgba(85, 197, 239, .35);
    background: linear-gradient(129.72deg, rgba(3, 156, 208, .14) 0%, rgba(0, 0, 0, .65) 100%);
    -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
    filter: drop-shadow(0 22px 27.5px rgba(0, 0, 0, .18));
}
.consult-glass__kicker { color: #91dafa; font-size: 13px; line-height: 22.75px; letter-spacing: .52px; }
.consult-glass__title { color: #fff; font-size: 31px; font-weight: 900; line-height: 38.75px; }
.consult-glass__title .accent { color: #68d7ff; }
.consult-glass__text { color: #cbdbe7; font-size: 15px; line-height: 26.25px; }

/* ---------- Section headings (lanes, FAQ) ---------- */
.consult-heading { display: flex; flex-direction: column; gap: 16px; max-width: 702px; margin-inline: auto; text-align: center; }
.consult-heading--faq { max-width: 660px; }
.consult-eyebrow { justify-content: center; gap: 9px; color: #0789bc; font-size: 16px; line-height: 24.5px; letter-spacing: 0; }
.consult-eyebrow--soft { color: #68d7ff; }
.consult-heading__title { color: #4b4a4b; font-size: 50px; font-weight: 700; line-height: 58.5px; letter-spacing: -1.125px; }
.consult-heading__title .accent { color: var(--blue, #039cd0); }
.consult-heading__intro { color: #4b4a4b; font-size: 24px; font-weight: 500; line-height: 32px; }
.consult-heading__intro--regular { font-weight: 400; }

/* ---------- Consultation areas (209:2914) ---------- */
.consult-lanes { position: relative; z-index: 1; padding-block: 64px 105px; background: #f8fafb; scroll-margin-top: 96px; }
.consult-lanes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.consult-lane {
    display: flex; flex-direction: column; min-height: 221.9px; padding: 28.1px 26.6px 20px;
    border: .8px solid #d9eaf1; border-top-width: 2.4px; border-radius: 18px; background: #fff; color: #4b4a4b;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.consult-lane:hover, .consult-lane:focus-visible, .consult-lane.is-selected {
    border-top-color: var(--blue, #039cd0); box-shadow: 0 12px 24px rgba(5, 45, 65, .08); transform: translateY(-2px);
}
.consult-lane__num { color: var(--blue, #039cd0); font-size: 24px; font-weight: 800; line-height: 1.2; }
.consult-lane__title { margin-top: 13.4px; font-size: 24px; font-weight: 700; line-height: 27.55px; }
.consult-lane__text { margin-top: 8px; font-size: 18px; line-height: 26.6px; }
.consult-lane__choose { margin-top: auto; padding-top: 11.5px; color: #0386b3; font-size: 13px; font-weight: 900; line-height: 22.75px; }

/* ---------- Legal and administrative consultations (209:2934) ---------- */
.consult-legal { position: relative; z-index: 1; padding-block: 102px; background: #111; color: #fff; }
.consult-legal__inner { display: flex; align-items: center; gap: 100.8px; min-height: 521px; }
.consult-legal__copy { flex: 0 1 544.6px; min-width: 0; }
.consult-legal__eyebrow { gap: 9px; color: #68d7ff; font-size: 16px; line-height: 24.5px; letter-spacing: 0; }
.consult-legal__title { margin-top: 16px; color: #fff; font-size: 50px; font-weight: 700; line-height: 58.5px; letter-spacing: -1.125px; }
.consult-legal__title .accent { color: #0789bc; }
.consult-legal__text { margin-top: 20.85px; color: #b7c4cf; font-size: 24px; font-weight: 500; line-height: 34.85px; }
.consult-checklist { display: grid; gap: 16px; margin-top: 21.3px; }
.consult-checklist li { display: flex; align-items: center; gap: 12px; color: #d6e1e9; font-size: 18px; line-height: 28px; }
.consult-checklist__mark {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 25px; height: 25px; border-radius: 12.5px; background: #fff;
    color: var(--blue, #039cd0); font-size: 13px; font-weight: 900; line-height: 1;
}
.consult-photo {
    position: relative; flex: 0 1 544.6px; min-width: 0; height: 470px; margin: 0; overflow: hidden;
    background: #183750; box-shadow: 0 24px 60px rgba(0, 0, 0, .23);
}
.consult-photo img { width: 100%; height: 100%; object-fit: cover; }
.consult-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 13, 31, .55), transparent 45%); pointer-events: none; }
.consult-photo__stamp {
    position: absolute; z-index: 1; bottom: 23.5px; inset-inline-start: 20.65px;
    padding-block: 15px; padding-inline: 22.4px 20px; border-inline-start: 2.4px solid var(--blue, #039cd0);
    background: #4b4a4b; color: #fff; font-size: 14px; font-weight: 700; line-height: 24.5px; white-space: nowrap;
}

/* ---------- FAQ (209:2903) ---------- */
.consult-faq { position: relative; z-index: 1; overflow: hidden; padding-block: 102px; background: #f7f9fc; }
.consult-faq::before {
    content: ''; position: absolute; top: -68px; left: -386px; width: 641.6px; height: 662px; pointer-events: none;
    background: url(../img/consultation/shape-faq.svg) no-repeat 0 0 / 100% 100%;
}
.consult-faq .consult-wrap { position: relative; }
.consult-faq__list { display: grid; gap: 12px; width: min(900px, 100%); margin: 44px auto 0; }
.consult-faq__item { border: .8px solid #dce7ef; border-radius: 5px; background: #fff; color: #4b4a4b; }
.consult-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 23px; cursor: pointer; list-style: none;
    font-size: 18px; font-weight: 800; line-height: 31.5px;
}
.consult-faq__q::-webkit-details-marker { display: none; }
.consult-faq__icon { flex: none; color: var(--blue, #039cd0); font-size: 26px; font-weight: 400; line-height: 45.5px; transition: transform .25s; }
.consult-faq__item[open] .consult-faq__icon { transform: rotate(45deg); }
.consult-faq__a { margin-inline: 23px; padding: 17.8px 0 24px; border-top: .8px solid #e9eef2; font-size: 16px; line-height: 32px; }

/* ---------- Request form (247:20449 on Polygon 7) ---------- */
.consult-request { position: relative; z-index: 1; overflow: hidden; padding-block: 89px; scroll-margin-top: 96px; }
.consult-request::before {
    content: ''; position: absolute; z-index: -1; top: -1120px; left: calc(50% - 249px); width: 2217.88px; height: 2288.38px;
    background: url(../img/consultation/shape-form.svg) no-repeat 0 0 / 100% 100%; pointer-events: none;
}
.consult-request__inner {
    display: flex; align-items: flex-start; gap: 44px;
    width: min(1190px, 100% - 2 * var(--gutter, 16px)); margin-left: calc(50% - 536px); margin-right: auto;
}
.consult-intro { flex: 0 1 487px; min-width: 0; padding-top: 20px; }
.consult-intro__eyebrow { gap: 9px; color: #fff; font-size: 16px; line-height: 24.5px; letter-spacing: 0; }
.consult-intro__eyebrow::before { width: 28px; border-radius: 0; background: #fff; }
.consult-intro__title { margin-top: 12.4px; color: #4b4a4b; font-size: 50px; font-weight: 700; line-height: 58.75px; }
.consult-intro__text { margin-top: 28.6px; color: #4b4a4b; font-size: 24px; font-weight: 500; line-height: 32px; }
.consult-rows { display: grid; width: min(338px, 100%); margin-top: 0; }
.consult-row { display: flex; align-items: center; gap: 14px; padding-block: 20px 20.8px; border-bottom: .8px solid #4b4a4b; color: #fff; }
.consult-row img { flex: none; width: 39px; height: 39px; }
.consult-row > span { display: grid; }
.consult-row__label { font-size: 16px; line-height: 22.75px; }
.consult-row__value { font-size: 16px; font-weight: 800; line-height: 28px; }
a.consult-row__value:hover { text-decoration: underline; text-underline-offset: 3px; }

.consult-card {
    flex: 0 1 659px; min-width: 0; min-height: 800px; padding: 41.4px 42px 46px;
    border-radius: 5px; background: #fff; color: #4b4a4b;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .3));
}
.consult-card__title { font-size: 26px; font-weight: 700; line-height: 45.5px; }
.consult-card__intro { margin-top: 10px; font-size: 15px; line-height: 27px; }
.consult-alert { margin-top: 16px; padding: 10px 14px; border-radius: 5px; background: #fdecec; color: #a32020; font-size: 14px; font-weight: 700; }
.consult-form.form { display: block; margin-top: 24.6px; }
.consult-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.consult-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.consult-field--wide { grid-column: 1 / -1; }
.consult-field label { color: #4b4a4b; font-size: 14px; font-weight: 800; line-height: 24.5px; }
.consult-req { color: #007fab; }
.consult-field input, .consult-field select, .consult-field textarea {
    width: 100%; height: 49px; padding: 11.8px 13.8px; border: .8px solid #d8e1e8; border-radius: 0;
    background: #fbfcfd; color: #4b4a4b; font-size: 16px; line-height: normal;
    transition: border-color .2s, box-shadow .2s;
}
.consult-field textarea { height: 133px; min-height: 133px; resize: vertical; line-height: 28px; }
.consult-field select { padding-block: 0; }
.consult-field ::placeholder { color: #97a7b5; opacity: 1; }
[dir="rtl"] .consult-field input[dir="ltr"]:placeholder-shown { direction: rtl; text-align: right; }
.consult-field input:focus, .consult-field select:focus, .consult-field textarea:focus {
    outline: none; border-color: var(--blue, #039cd0); box-shadow: 0 0 0 3px rgba(3, 156, 208, .16);
}
.consult-field.has-error input, .consult-field.has-error select, .consult-field.has-error textarea { border-color: #d33; }
.consult-field__error { color: #c62828; font-size: 13px; line-height: 1.6; }
.consult-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 24px; }
.consult-form__note { flex: 1 1 200px; font-size: 13px; line-height: 22.75px; }
.consult-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    min-height: 53.85px; padding: 13.8px 24.8px; border: 0; border-radius: 5px;
    background: var(--blue, #039cd0); color: #fff; font-size: 15px; font-weight: 800; line-height: 26.25px;
    transition: background-color .2s;
}
.consult-submit:hover { background: #0389b8; }
.consult-submit:disabled { opacity: .7; cursor: default; }
.consult-form__privacy { margin-top: 14px; color: #60707c; font-size: 13px; line-height: 22.75px; }
.consult-form__privacy a { color: #0386b3; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consult-success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 40px; }
.consult-success__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px;
    border-radius: 50%; background: #e8f7fb; color: var(--blue, #039cd0); font-size: 28px; font-weight: 900;
}
.consult-success .consult-submit { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
    .consult-hero__inner, .consult-request__inner { margin-inline: auto; }
    .consult-hero__inner { gap: 60px; }
}

@media (max-width: 1180px) {
    .consult-hero { min-height: 0; }
    .consult-hero__inner { flex-direction: column; align-items: stretch; gap: 40px; min-height: 0; padding-block: 72px; }
    .consult-hero__copy { flex-basis: auto; padding-top: 0; }
    .consult-glass { flex-basis: auto; max-width: 520px; }
    .consult-lanes { padding-bottom: 80px; }
    .consult-lanes__grid { grid-template-columns: repeat(2, 1fr); }
    .consult-legal__inner { flex-direction: column; align-items: stretch; gap: 48px; min-height: 0; }
    .consult-legal__copy { flex-basis: auto; }
    .consult-photo { flex-basis: auto; width: 100%; max-width: 640px; height: 420px; }
    /* The big diagonal shape no longer sits behind the intro: the intro gets the shape's colour instead */
    .consult-request { padding-block: 72px; }
    .consult-request::before { display: none; }
    .consult-request__inner { flex-direction: column; align-items: stretch; gap: 40px; }
    .consult-intro, .consult-card { flex-basis: auto; }
    .consult-intro { padding: 36px 32px 28px; border-radius: 5px; background: #27a9d5; box-shadow: 0 18px 0 rgba(0, 0, 0, .12); }
    .consult-rows { width: 100%; max-width: 420px; }
    .consult-card { min-height: 0; }
}

@media (max-width: 760px) {
    .consult-hero__inner { padding-block: 48px 56px; }
    .consult-hero__title { font-size: 42px; line-height: 1.25; letter-spacing: -1px; }
    .consult-hero__lead { font-size: 18px; line-height: 1.8; }
    .consult-hero__actions > * { flex: 1 1 auto; justify-content: center; }
    .consult-glass__title { font-size: 26px; line-height: 1.4; }
    .consult-heading__title, .consult-legal__title, .consult-intro__title { font-size: 32px; line-height: 1.4; letter-spacing: -.5px; }
    .consult-heading__intro, .consult-legal__text, .consult-intro__text { font-size: 18px; line-height: 1.8; }
    .consult-lanes { padding-block: 56px 64px; }
    .consult-lanes__grid { grid-template-columns: 1fr; }
    .consult-lane__title { font-size: 21px; line-height: 1.4; }
    .consult-lane__text { font-size: 16px; line-height: 1.75; }
    .consult-legal, .consult-faq { padding-block: 64px; }
    .consult-checklist li { align-items: flex-start; font-size: 16px; line-height: 1.7; }
    .consult-photo { height: 300px; }
    .consult-photo__stamp { white-space: normal; inset-inline-end: 20px; }
    .consult-faq::before { width: 320px; height: 331px; left: -220px; top: -40px; opacity: .6; }
    .consult-faq__q { padding: 16px 18px; font-size: 16px; line-height: 1.6; }
    .consult-faq__a { margin-inline: 18px; font-size: 15px; line-height: 1.85; }
    .consult-request { padding-block: 56px; }
    .consult-intro { padding: 28px 20px 20px; }
    .consult-card { padding: 28px 20px 32px; }
    .consult-fields { grid-template-columns: 1fr; }
    .consult-form__footer { flex-direction: column; align-items: stretch; }
    .consult-submit { width: 100%; }
}
