/* /ebook/ free-consultation page. Mobile first; RTL via [dir="rtl"]. */
.consult-page { background: #f6f8f9; }
.consult-hero {
    background-color: #0a1a20;
    background-size: cover;
    background-position: center bottom;
    color: #fff;
    padding: 96px 0 48px; /* clears the fixed header */
}
.consult-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.consult-topbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.consult-lang {
    display: inline-block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px; color: #fff; font-weight: 500; text-decoration: none; min-height: 44px; line-height: 26px;
}
.consult-lang:hover, .consult-lang:focus { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.consult-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 992px) { .consult-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

.consult-eyebrow { text-transform: uppercase; letter-spacing: .08em; color: #7fe3f0; font-weight: 500; margin: 0 0 8px; font-size: .9rem; }
.consult-page[dir="rtl"] .consult-eyebrow, [dir="rtl"] .consult-eyebrow { letter-spacing: 0; text-transform: none; }
.consult-intro h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 16px; color: #fff; }
@media (min-width: 768px) { .consult-intro h1 { font-size: 2.6rem; } }
.consult-lead { font-size: 1.15rem; line-height: 1.6; margin: 0 0 24px; }
.consult-subhead { font-size: 1.15rem; margin: 0 0 8px; color: #fff; }
.consult-list { margin: 0 0 24px; padding-left: 1.25rem; line-height: 1.7; }
[dir="rtl"] .consult-list { padding-left: 0; padding-right: 1.25rem; }
.consult-note { background: rgba(0,188,212,.18); border-left: 4px solid #00bcd4; padding: 12px 16px; margin: 0 0 16px; line-height: 1.5; }
[dir="rtl"] .consult-note { border-left: 0; border-right: 4px solid #00bcd4; }
.consult-brand { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }

.consult-card { background: #fff; color: #1d2b30; border-radius: 8px; padding: 24px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (min-width: 768px) { .consult-card { padding: 32px; } }
.consult-card h2, .consult-card h1 { color: #102932; font-size: 1.5rem; margin: 0 0 4px; line-height: 1.3; }
.consult-card--done { max-width: 640px; margin: 0 auto; }
.consult-card--done .consult-brand { color: #5a6b70; margin-top: 16px; }
.consult-ref { font-size: 1.05rem; }

.consult-help { color: #5a6b70; font-size: .9rem; margin: 4px 0 0; line-height: 1.4; }
.consult-error { color: #b3261e; font-size: .92rem; margin: 6px 0 0; font-weight: 500; }
.consult-alert { border: 2px solid #b3261e; background: #fdecea; color: #7a1c15; border-radius: 6px; padding: 12px 16px; margin: 16px 0; }
.consult-alert ul { margin: 8px 0 0; padding-left: 1.2rem; }
[dir="rtl"] .consult-alert ul { padding-left: 0; padding-right: 1.2rem; }
.consult-alert a { color: #7a1c15; text-decoration: underline; }
.consult-alert:focus { outline: 3px solid #b3261e; outline-offset: 2px; }

.consult-form { margin-top: 16px; }
.consult-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consult-field { margin-bottom: 16px; }
.consult-field label { display: block; font-weight: 500; margin: 0 0 6px; line-height: 1.4; }
.consult-req { color: #b3261e; }
.consult-opt { color: #5a6b70; font-weight: 400; font-size: .9rem; }
.consult-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 576px) { .consult-row { grid-template-columns: 1fr 1fr; } }

/* Override the landing form styles (icon padding, grey fill) inside this form. */
.consult-form input[type=text],
.consult-form input[type=email],
.consult-form input[type=tel],
.consult-form input[type=datetime-local],
.consult-form select,
.consult-form textarea {
    width: 100%; box-sizing: border-box; min-height: 48px; margin: 0;
    padding: 10px 12px; font-size: 1rem; line-height: 1.4; color: #1d2b30;
    background-color: #fff; border: 1px solid #8a9aa0; border-bottom-width: 1px; border-radius: 6px;
}
.consult-form textarea { height: auto !important; min-height: 110px; }
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus,
.consult-consent input:focus, .consult-submit:focus, .consult-links a:focus {
    outline: 3px solid #00bcd4; outline-offset: 2px;
}
.consult-field.has-error input, .consult-field.has-error select, .consult-field.has-error textarea { border-color: #b3261e; border-width: 2px; }
[dir="rtl"] .consult-form input[dir="ltr"] { text-align: right; }

.consult-consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; line-height: 1.45; }
.consult-consent input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.consult-consent label { margin: 0; font-weight: 400; flex: 1 1 0; min-width: 0; }
.consult-consent a { color: #00798a; text-decoration: underline; }
.consult-consent.has-error { border-left: 3px solid #b3261e; padding-left: 8px; }
[dir="rtl"] .consult-consent.has-error { border-left: 0; padding-left: 0; border-right: 3px solid #b3261e; padding-right: 8px; }
.consult-consent .consult-error { flex-basis: 100%; }
.consult-consent { flex-wrap: wrap; }

.consult-submit { width: 100%; min-height: 52px; font-size: 1.1rem; font-weight: 500; margin-top: 8px; border-radius: 6px; }
.consult-submit:disabled { opacity: .75; cursor: progress; }
.consult-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.consult-more { padding: 40px 0 56px; color: #1d2b30; }
.consult-more h2 { font-size: 1.4rem; margin: 0 0 16px; color: #102932; }
.consult-links { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .consult-links { grid-template-columns: repeat(3, 1fr); } }
.consult-links a {
    display: block; padding: 14px 16px; border: 1px solid #cfd8db; border-radius: 6px;
    background: #fff; color: #00798a; font-weight: 500; text-decoration: none; min-height: 48px;
}
.consult-links a:hover { border-color: #00bcd4; }
.consult-brandlinks a { color: #00798a; }

[dir="rtl"] body, [dir="rtl"] .consult-page { font-family: Tahoma, Arial, "Segoe UI", Roboto, sans-serif; }
[dir="rtl"] .consult-intro, [dir="rtl"] .consult-card, [dir="rtl"] .consult-more { text-align: right; }


/* Hero illustration: drawn at natural proportions at the top; the rest of the
   hero continues in sand. Layer 1 is the legibility overlay. */
.consult-hero {
    background-color: #d4a964;
    background-image:
        linear-gradient(90deg, rgba(6,30,40,.86) 0%, rgba(6,30,40,.66) 55%, rgba(6,30,40,.38) 100%),
        url("../images/ebook-beach-hero.svg");
    background-size: 100% 100%, max(100%, 1600px) auto;
    background-position: center, center top;
    background-repeat: no-repeat;
}
[dir="rtl"] .consult-hero {
    background-image:
        linear-gradient(270deg, rgba(6,30,40,.86) 0%, rgba(6,30,40,.66) 55%, rgba(6,30,40,.38) 100%),
        url("../images/ebook-beach-hero.svg");
}
@media (max-width: 991px) {
    .consult-hero, [dir="rtl"] .consult-hero {
        background-image:
            linear-gradient(rgba(6,30,40,.8), rgba(6,30,40,.8)),
            url("../images/ebook-beach-hero.svg");
        /* Size by height so sea, umbrella and books sit beside the heading. */
        background-size: 100% 100%, auto 620px;
    }
}
.consult-page h1, .consult-page h2 { text-transform: none; }
