:root {
    --navy: #0d1b2a;
    --navy-soft: #142940;
    --cream: #f7f0df;
    --cream-strong: #fffaf0;
    --gold: #c99a35;
    --gold-dark: #a67920;
    --brown: #7a4d2b;
    --ink: #1d2430;
    --muted: #667080;
    --line: rgba(13, 27, 42, 0.14);
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(13, 27, 42, 0.14);
    --radius: 8px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-fast: 150ms;
    --motion: 220ms;
    --language-motion: 110ms;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    max-width: 100%;
    overflow-x: hidden;
}

html[lang="en"] body {
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

html[lang="en"] .section-kicker,
html[lang="en"] .eyebrow,
html[lang="en"] .btn,
html[lang="en"] .site-nav a,
html[lang="en"] .header-cta,
html[lang="en"] .language-toggle,
html[lang="en"] .service-card a,
html[lang="en"] .chat-widget {
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[lang="en"] .hero-content h1 {
    max-width: 780px;
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    line-height: 1.12;
}

html[lang="en"] .hero-text {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.7;
}

html[lang="en"] .split h2,
html[lang="en"] .section-heading h2,
html[lang="en"] .contact h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.35rem);
    line-height: 1.22;
}

html[lang="en"] .service-card h3,
html[lang="en"] .process-list h3 {
    font-size: 21px;
    line-height: 1.28;
}

html[lang="en"] .site-nav a {
    padding-inline: 10px;
    font-size: 14px;
}

html[lang="en"] .btn,
html[lang="en"] .header-cta,
html[lang="en"] .language-toggle {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.35;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "IBM Plex Sans Arabic", "Tahoma", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    max-width: 100%;
    overflow-x: hidden;
    animation: page-enter 420ms var(--ease) both;
    transition: opacity var(--motion-fast) ease;
}

body.menu-open {
    overflow: hidden;
}

body.is-leaving {
    opacity: 0;
}

main {
    transition: opacity var(--language-motion) ease, transform var(--language-motion) var(--ease);
}

main.language-switching {
    opacity: 0;
    transform: translateY(4px);
}

@keyframes page-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    inset-block-start: 16px;
    inset-inline-start: 16px;
    z-index: 1000;
    transform: translateY(-140%);
    background: var(--gold);
    color: var(--navy);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 700;
}

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

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

.section-dark {
    background: var(--navy);
    color: var(--cream-strong);
}

.section-light {
    background: var(--cream-strong);
}

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

.section-kicker,
.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-dark);
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
}

.section-dark .section-kicker,
.section-dark .eyebrow {
    color: #e0b65a;
}

.ltr {
    direction: ltr;
    display: inline-block;
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
}

bdi {
    unicode-bidi: isolate;
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 0 0 rgba(13, 27, 42, 0);
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 27, 42, 0.16);
}

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

.btn-primary:hover {
    background: #d9ad4a;
}

.btn-secondary {
    background: rgba(255, 250, 240, 0.1);
    color: var(--cream-strong);
    border-color: rgba(255, 250, 240, 0.34);
}

.btn-secondary:hover {
    background: rgba(255, 250, 240, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 250, 240, 0.92);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(13, 27, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 18px;
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    min-width: 0;
}

.brand img,
.footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 1px solid rgba(13, 27, 42, 0.12);
    border-radius: 50%;
    background: var(--cream-strong);
}

.brand strong,
.footer-brand span {
    display: block;
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
    font-size: 15px;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: #304052;
    font-size: 15px;
    font-weight: 600;
    transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(201, 154, 53, 0.16);
    color: var(--navy);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    background: var(--navy);
    color: var(--cream-strong);
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 0 0 rgba(13, 27, 42, 0);
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-2px);
    background: var(--navy-soft);
    box-shadow: 0 12px 24px rgba(13, 27, 42, 0.18);
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    color: var(--navy);
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
    font-weight: 800;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    transform: translateY(-1px);
    background: rgba(201, 154, 53, 0.16);
    box-shadow: 0 8px 18px rgba(13, 27, 42, 0.1);
}

.language-toggle:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    color: var(--navy);
    font-size: 26px;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(201, 154, 53, 0.48);
    background: rgba(201, 154, 53, 0.12);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 27, 42, 0.72), rgba(13, 27, 42, 0.96)),
        url("../img/hero.webp") center / cover no-repeat;
    opacity: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 1px;
    background: rgba(255, 250, 240, 0.18);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 56px;
    min-height: 680px;
    padding-block: 96px 82px;
}

.hero-content,
.hero-identity,
.split > *,
.why-grid > *,
.faq-grid > *,
.contact-grid > * {
    min-width: 0;
}

.hero-content h1 {
    margin: 0;
    max-width: 850px;
    font-size: 58px;
    line-height: 1.18;
    overflow-wrap: break-word;
}

.hero-content h1 span {
    display: block;
}

.hero-content h1 span:first-child {
    color: #f6d88b;
}

.hero-content h1 span + span {
    margin-top: 12px;
}

.hero-text {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 250, 240, 0.86);
    font-size: 20px;
    overflow-wrap: break-word;
}

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

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.section-actions.center {
    justify-content: center;
}

.hero-identity {
    justify-self: end;
    width: min(100%, 360px);
    padding: 22px;
    border: 1px solid rgba(255, 250, 240, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.12);
    box-shadow: var(--shadow);
}

.hero-identity img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    background: var(--cream-strong);
    border-radius: var(--radius);
    padding: 18px;
}

.hero-identity div {
    margin-top: 16px;
    padding-inline: 4px;
}

.hero-identity span,
.hero-identity strong {
    display: block;
}

.hero-identity span {
    color: rgba(255, 250, 240, 0.75);
    font-size: 14px;
}

.hero-identity strong {
    margin-top: 4px;
    color: var(--cream-strong);
    font-size: 22px;
}

.trust-strip {
    background: var(--brown);
    color: var(--cream-strong);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
}

.trust-items span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    background: rgba(255, 250, 240, 0.08);
    text-align: center;
    font-weight: 700;
}

.split,
.why-grid,
.faq-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 56px;
    padding-block: 88px;
}

.split h2,
.section-heading h2,
.contact h2 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
    line-height: 1.35;
}

.section-dark .section-heading h2,
.section-dark .contact h2 {
    color: var(--cream-strong);
}

.rich-text p,
.section-heading p,
.contact-copy {
    margin: 0;
    color: #4f5b68;
    font-size: 18px;
}

.rich-text p + p {
    margin-top: 16px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.align-start {
    margin: 0;
    text-align: start;
}

.section-heading h2 + p {
    margin-top: 12px;
}

.services {
    padding-block: 88px;
}

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

.service-card {
    display: flex;
    min-height: 352px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    box-shadow: 0 16px 35px rgba(13, 27, 42, 0.08);
    transition: transform var(--motion) var(--ease), border-color var(--motion) ease, box-shadow var(--motion) ease;
}

.service-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: rgba(201, 154, 53, 0.16);
    color: var(--brown);
    font-size: 27px;
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 23px;
    line-height: 1.35;
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #4c5966;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-inline-start: 18px;
}

.service-card li::before {
    content: "";
    position: absolute;
    inset-block-start: 13px;
    inset-inline-start: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.service-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: auto;
    padding: 8px 14px;
    border: 1px solid rgba(13, 27, 42, 0.18);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 700;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.service-card a:hover,
.service-card a:focus-visible {
    transform: translateY(-1px);
    background: var(--navy);
    color: var(--cream-strong);
    box-shadow: 0 10px 22px rgba(13, 27, 42, 0.14);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .detail-panel:hover,
    .testimonial-grid figure:hover,
    .visitor-card:hover {
        transform: translateY(-4px);
        border-color: rgba(201, 154, 53, 0.42);
        box-shadow: 0 22px 46px rgba(13, 27, 42, 0.14);
    }
}

.why-grid {
    align-items: start;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.why-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.why-list i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--navy);
    color: #f1c96c;
    font-size: 24px;
}

.why-list h3 {
    margin: 0;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.4;
}

.process {
    padding-block: 88px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    min-height: 240px;
    padding: 24px;
    border: 1px solid rgba(255, 250, 240, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.07);
}

.process-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.process-list h3 {
    margin: 18px 0 8px;
    color: var(--cream-strong);
    font-size: 22px;
}

.process-list p {
    margin: 0;
    color: rgba(255, 250, 240, 0.72);
}

.testimonials {
    padding-block: 88px;
}

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

.testimonial-grid figure {
    margin: 0;
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    box-shadow: 0 16px 35px rgba(13, 27, 42, 0.08);
    transition: transform var(--motion) var(--ease), border-color var(--motion) ease, box-shadow var(--motion) ease;
}

.testimonial-grid blockquote {
    margin: 0;
    color: #344253;
    font-size: 18px;
}

.testimonial-grid figcaption {
    margin-top: 18px;
    color: var(--brown);
    font-weight: 700;
}

.visitor-voices {
    padding-block: 88px;
}

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

.visitor-card {
    min-height: 220px;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    box-shadow: 0 16px 35px rgba(13, 27, 42, 0.08);
    transition: transform var(--motion) var(--ease), border-color var(--motion) ease, box-shadow var(--motion) ease;
}

.visitor-card blockquote {
    margin: 0;
    color: #344253;
    font-size: 18px;
    line-height: 1.8;
}

.visitor-card figcaption {
    margin-top: 18px;
    color: var(--brown);
    font-weight: 700;
}

.comment-form {
    width: min(760px, 100%);
    margin: 32px auto 0;
    padding: 30px;
    border: 1px solid rgba(201, 154, 53, 0.28);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 240, 223, 0.9));
    box-shadow: 0 20px 46px rgba(13, 27, 42, 0.1), inset 0 1px 0 rgba(255, 250, 240, 0.85);
}

.comment-form h3 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.35;
}

.comment-form .form-row label {
    color: var(--navy);
}

.comment-form .form-row input,
.comment-form .form-row textarea {
    border-color: rgba(13, 27, 42, 0.18);
    background: var(--white);
    color: var(--navy);
}

.comment-form .form-row input:focus,
.comment-form .form-row textarea:focus {
    border-color: rgba(201, 154, 53, 0.72);
    box-shadow: 0 0 0 3px rgba(201, 154, 53, 0.16);
    outline: 0;
}

.comment-form .form-submit {
    width: fit-content;
    min-width: 210px;
}

.comment-form .field-error {
    color: #a64235;
}

.comment-note {
    margin: 14px 0 0;
    color: #5e6874;
    font-size: 14px;
    line-height: 1.7;
}

.comment-form .form-status {
    color: #5e6874;
    margin-top: 12px;
}

.comment-form .form-status.success {
    color: #247345;
}

.comment-form .form-status.error {
    color: #a64235;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.faq-list details[open],
.faq-list details.is-animating {
    border-color: rgba(201, 154, 53, 0.34);
    box-shadow: 0 14px 30px rgba(13, 27, 42, 0.08);
}

.faq-list summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: normal;
    gap: 14px;
    min-height: 64px;
    padding: 16px 18px;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--motion-fast) ease;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
    background: rgba(201, 154, 53, 0.08);
}

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

.faq-question-text {
    display: block;
    min-width: 0;
    line-height: 1.65;
    overflow-wrap: break-word;
    text-align: start;
    white-space: normal;
    word-break: normal;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(201, 154, 53, 0.12);
    color: var(--gold-dark);
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    line-height: 1;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.faq-icon::before {
    content: "+";
}

.faq-list details[open] .faq-icon::before {
    content: "-";
}

.faq-list details[open] .faq-icon {
    background: rgba(201, 154, 53, 0.2);
    transform: rotate(180deg);
}

.faq-list p {
    margin: 0;
    padding: 0 18px 18px;
    color: #52606d;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--motion-fast) ease, transform var(--motion-fast) var(--ease);
}

.faq-list details[open] p {
    opacity: 1;
    transform: translateY(0);
}

.faq-list details.is-closing p {
    opacity: 0;
    transform: translateY(-4px);
}

.contact {
    padding-block: 88px;
}

.contact-grid {
    padding-block: 0;
    align-items: start;
}

.section-dark .contact-copy {
    color: rgba(255, 250, 240, 0.76);
}

.contact h2 {
    margin-bottom: 16px;
}

.contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.social-link,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 250, 240, 0.25);
    border-radius: var(--radius);
    color: var(--cream-strong);
    font-size: 24px;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.social-link:hover,
.social-link:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 250, 240, 0.12);
}

.contact-form {
    padding: 28px;
    border: 1px solid rgba(255, 250, 240, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.08);
}

.form-row {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-two {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form-row label {
    color: rgba(255, 250, 240, 0.86);
    font-weight: 700;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(255, 250, 240, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.94);
    color: var(--navy);
    padding: 12px 14px;
}

.form-row textarea {
    resize: vertical;
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
    border-color: #e8a29c;
    box-shadow: 0 0 0 3px rgba(232, 162, 156, 0.18);
}

.field-error {
    min-height: 20px;
    color: #ffd1cb;
    font-size: 14px;
}

.form-submit {
    width: 100%;
}

.form-submit:disabled {
    cursor: wait;
    opacity: 0.74;
    transform: none;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: rgba(255, 250, 240, 0.86);
    text-align: center;
}

.form-status.success {
    color: #c7f2d4;
}

.form-status.error {
    color: #ffd1cb;
}

.site-footer {
    background: #07111f;
    color: rgba(255, 250, 240, 0.82);
    padding-block: 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto minmax(220px, 0.8fr);
    align-items: center;
    gap: 24px;
}

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

.footer-brand img {
    width: 46px;
    height: 46px;
}

.site-footer p {
    margin: 10px 0 0;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.copyright {
    text-align: end;
}

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

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 27, 42, 0.74), rgba(13, 27, 42, 0.96)),
        url("../img/hero.webp") center / cover no-repeat;
}

.service-hero .container {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-block: 96px 82px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 250, 240, 0.78);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #f6d88b;
}

.service-hero h1 {
    margin: 0;
    color: #f6d88b;
    font-size: 52px;
    line-height: 1.2;
}

.service-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 250, 240, 0.86);
    font-size: 20px;
}

.service-content {
    padding-block: 84px;
}

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

.detail-panel {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-strong);
    box-shadow: 0 16px 35px rgba(13, 27, 42, 0.08);
    transition: transform var(--motion) var(--ease), border-color var(--motion) ease, box-shadow var(--motion) ease;
}

.detail-panel.full-span {
    grid-column: 1 / -1;
}

.detail-panel h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.35;
}

.detail-panel p,
.detail-panel li {
    color: #4f5b68;
    font-size: 18px;
}

.detail-panel p {
    margin: 0;
}

.detail-panel ul,
.detail-panel ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 22px;
}

.service-mini-faq {
    padding-block: 84px;
}

.service-mini-faq .section-heading {
    margin-bottom: 28px;
}

.service-mini-faq .faq-list {
    max-width: 860px;
    margin-inline: auto;
}

.service-cta {
    padding-block: 76px;
    text-align: center;
}

.service-cta .container {
    max-width: 760px;
}

.service-cta h2 {
    margin: 0;
    color: var(--cream-strong);
    font-size: 36px;
    line-height: 1.35;
}

.service-cta p {
    margin: 14px 0 0;
    color: rgba(255, 250, 240, 0.78);
    font-size: 18px;
}

.service-cta .btn {
    margin-top: 24px;
}

.chat-widget {
    position: fixed;
    inset-block-end: 18px;
    inset-inline-end: 18px;
    z-index: 180;
}

.chat-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 0;
    border: 1px solid rgba(13, 27, 42, 0.16);
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 16px 35px rgba(13, 27, 42, 0.18);
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.chat-toggle::after {
    content: attr(aria-label);
    position: absolute;
    inset-block-end: calc(100% + 8px);
    inset-inline-end: 0;
    width: max-content;
    max-width: 180px;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--cream-strong);
    box-shadow: 0 10px 22px rgba(13, 27, 42, 0.16);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity var(--motion-fast) ease, transform var(--motion-fast) var(--ease);
}

.chat-toggle:hover,
.chat-toggle:focus-visible {
    transform: translateY(-2px);
    background: #d9ad4a;
    box-shadow: 0 18px 38px rgba(13, 27, 42, 0.22);
}

.chat-toggle:hover::after,
.chat-toggle:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.chat-widget.is-open .chat-toggle::after {
    opacity: 0;
}

.chat-toggle i {
    font-size: 25px;
}

.chat-panel {
    position: absolute;
    inset-block-end: 70px;
    inset-inline-end: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(360px, calc(100vw - 28px));
    max-height: min(600px, calc(100vh - 112px));
    overflow: hidden;
    border: 1px solid rgba(13, 27, 42, 0.16);
    border-radius: var(--radius);
    background: var(--cream-strong);
    box-shadow: 0 24px 60px rgba(13, 27, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transform-origin: bottom right;
    transition: opacity var(--motion-fast) ease, transform var(--motion-fast) var(--ease);
}

.chat-widget.is-open .chat-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chat-panel[hidden] {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--navy);
    color: var(--cream-strong);
}

.chat-header strong {
    font-size: 17px;
}

.chat-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 250, 240, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.08);
    color: var(--cream-strong);
    font-size: 22px;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease;
}

.chat-close:hover,
.chat-close:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 250, 240, 0.16);
}

.chat-body {
    min-height: 0;
    overflow: auto;
    padding: 16px;
}

.chat-greeting {
    margin: 0 0 12px;
    color: #39495a;
    font-weight: 700;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-options button {
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.chat-options button:hover,
.chat-options button:focus-visible,
.chat-options button.is-active {
    transform: translateY(-1px);
    background: var(--navy);
    color: var(--cream-strong);
}

.chat-answer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.chat-answer:empty {
    display: none;
}

.chat-answer p {
    margin: 0;
    color: #4f5b68;
}

.chat-user-question {
    margin: 0 0 10px;
    padding: 9px 11px;
    border-radius: var(--radius);
    background: rgba(201, 154, 53, 0.1);
    color: var(--navy);
    font-weight: 700;
}

.chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 14px;
}

.chat-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    padding: 8px 10px;
}

.chat-input:focus {
    border-color: rgba(201, 154, 53, 0.72);
    box-shadow: 0 0 0 3px rgba(201, 154, 53, 0.16);
    outline: 0;
}

.chat-send {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid rgba(13, 27, 42, 0.18);
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--cream-strong);
    font-weight: 800;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.chat-send:hover,
.chat-send:focus-visible {
    transform: translateY(-1px);
    background: var(--navy-soft);
    box-shadow: 0 10px 22px rgba(13, 27, 42, 0.14);
}

.chat-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.chat-cta:hover,
.chat-cta:focus-visible {
    transform: translateY(-1px);
    background: #d9ad4a;
    box-shadow: 0 10px 22px rgba(13, 27, 42, 0.14);
}

@media (max-width: 1100px) {
    .header-cta {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        min-height: auto;
    }

    .hero-identity {
        justify-self: start;
    }

    .services-grid,
    .testimonial-grid,
    .visitor-voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    body.menu-open {
        overflow: hidden;
    }

    .header-inner {
        min-height: 74px;
        gap: 10px;
    }

    .brand {
        flex: 1 1 auto;
    }

    .header-actions {
        order: 2;
        margin-inline-start: auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }

    .site-nav {
        order: 4;
        position: fixed;
        inset: 74px 0 auto 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 14px 20px 22px;
        background: var(--cream-strong);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 35px rgba(13, 27, 42, 0.16);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity var(--motion-fast) ease, transform var(--motion-fast) var(--ease), visibility 0s linear var(--motion-fast);
    }

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

    .site-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .hero-grid {
        padding-block: 72px 58px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

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

    .split,
    .why-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-block: 68px;
    }

    .contact-grid {
        padding-block: 0;
    }

    .section-heading.align-start {
        max-width: 720px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .copyright {
        text-align: start;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

    .brand small {
        display: none;
    }

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

    .brand span {
        min-width: 0;
    }

    .brand strong {
        max-width: 126px;
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language-toggle {
        min-width: 44px;
        padding-inline: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero-actions,
    .contact-actions,
    .section-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-actions .btn,
    .section-actions .btn {
        width: 100%;
    }

    .contact-actions .social-link {
        width: 100%;
    }

    .hero-identity {
        width: 100%;
        padding: 14px;
    }

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

    .split h2,
    .section-heading h2,
    .contact h2 {
        font-size: 30px;
    }

    .services,
    .process,
    .testimonials,
    .visitor-voices,
    .contact {
        padding-block: 64px;
    }

    .services-grid,
    .testimonial-grid,
    .visitor-voices-grid,
    .why-list,
    .process-list,
    .form-two {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-list li,
    .testimonial-grid figure,
    .visitor-card {
        min-height: auto;
    }

    .contact-form,
    .comment-form {
        padding: 20px;
    }

    .comment-form .form-submit {
        width: 100%;
    }

    html[lang="en"] .hero-content h1 {
        font-size: 30px;
    }

    html[lang="en"] .hero-text {
        font-size: 16px;
    }

    html[lang="en"] .split h2,
    html[lang="en"] .section-heading h2,
    html[lang="en"] .contact h2 {
        font-size: 28px;
    }

    .service-hero .container {
        padding-block: 72px 58px;
    }

    .service-hero h1 {
        font-size: 34px;
    }

    .service-hero p {
        font-size: 18px;
    }

    .service-content,
    .service-mini-faq,
    .service-cta {
        padding-block: 64px;
    }

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

    .detail-panel.full-span {
        grid-column: auto;
    }

    .detail-panel h2,
    .service-cta h2 {
        font-size: 28px;
    }

    .chat-widget {
        inset-block-end: 14px;
        inset-inline-end: 14px;
    }

    .chat-toggle {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }

    .chat-panel {
        inset-block-end: 66px;
        width: calc(100vw - 28px);
    }

    .chat-form {
        grid-template-columns: 1fr;
    }

    .chat-send {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

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