.trust-credentials { background: #f5f7f8; }
.trust-credentials .section-heading { max-width: 1050px; margin: 0 auto 44px; text-align: center; }
.trust-credentials .section-heading h2 { font-size: clamp(36px,3.7vw,52px); }
.trust-credentials h2 span { color: #ac4c1e; }
.trust-credentials .section-sub { margin-inline: auto; max-width: 850px; }
.trust-credentials .certificate-grid { max-width: 940px; gap: 38px; margin: 0 auto; }
.trust-credentials .certificate-image { padding: 24px; background: #fff; border: 1px solid #d0dbe2; border-radius: 10px; cursor: zoom-in; box-shadow: 0 10px 30px #14232e08; }
.trust-credentials .certificate-image img { height: 480px; width: 100%; object-fit: contain; box-shadow: none; }
.market-reasons { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.market-reason { display: flex; align-items: center; gap: 22px; padding: 30px 32px; min-height: 126px; border: 1px solid #2c414f; border-radius: 12px; background: #14232e; color: #fff; box-shadow: 0 8px 22px #14232e0a; }
.market-icon { flex-shrink: 0; width: 58px; height: 58px; border-radius: 12px; color: #ffb37d; background: #ffb37d12; display: grid; place-items: center; }
.market-icon svg { width: 34px; height: 34px; }
.market-reason h3 { font-size: 25px; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.image-dialog p:empty { display: none; }
@media(max-width:950px) {
  .trust-credentials .certificate-grid { max-width: 740px; gap: 24px; }
  .trust-credentials .certificate-image { padding: 18px; }
  .trust-credentials .certificate-image img { height: 395px; }
  .market-reasons { gap: 18px; }
  .market-reason { padding: 26px 24px; gap: 18px; }
  .market-reason h3 { font-size: 23px; }
}
@media(max-width:650px) {
  .trust-credentials .section-heading { text-align: left; margin-bottom: 32px; }
  .trust-credentials .section-heading h2 { font-size: 33px; }
  .trust-credentials .certificate-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-credentials .certificate-image { padding: 19px; }
  .trust-credentials .certificate-image img { height: auto; }
  .market-reasons { grid-template-columns: 1fr; margin-top: 30px; gap: 14px; }
  .market-reason { padding: 23px 20px; gap: 16px; min-height: 108px; }
  .market-reason h3 { font-size: 23px; }
  .market-icon { width: 50px; height: 50px; }
  .market-icon svg { width: 30px; height: 30px; }
}
/* Separate, unaltered document scans and the agreed compact conversion blocks. */
.trust-credentials .certificate-grid { max-width: 1060px; gap: 24px 32px; grid-template-columns: 1.2fr 1fr; align-items: stretch; }
.trust-credentials .certificate-card:last-child { grid-column: 2; grid-row: 1 / 3; }
.trust-credentials .certificate-image { height: 100%; padding: 18px; }
.certificate-preview { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.certificate-preview svg { display: block; width: 100%; height: auto; }
.trust-credentials .certificate-preview img { width: 100%; height: auto; max-height: 675px; object-fit: contain; }
#lightbox-preview { max-width: 76vw; }
#lightbox-preview .certificate-preview { width: min(800px,76vw); }
#lightbox-preview svg { max-height: 76dvh; }
#lightbox-preview img { width: auto; max-height: 76dvh; }
.date-cta { margin-top: 42px; padding: 42px; background: var(--navy); color: white; border-radius: 14px; border-top: 5px solid var(--orange); }
.date-cta h2 { font-size: clamp(30px,3vw,42px); max-width: 830px; line-height: 1.18; margin-bottom: 14px; }
.date-cta>div>p { font-size: 21px; color: #d2dee6; }
.date-form { margin-top: 28px; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 18px; }
.date-fields label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.date-fields input { display: block; width: 100%; border: 1px solid #b9c8d2; background: white; border-radius: 7px; min-height: 60px; padding: 13px 16px; color: var(--ink); font-size: 19px; }
.date-fields .button { min-height: 60px; padding-inline: 28px; color: #111; }
.date-cta .form-note { color: #b9cad6; max-width: 980px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status:empty { display: none; }
.form-status { margin-top: 15px; }
.service-button,.complex-card .service-button { background: var(--orange); color: #111; border: 0; border-radius: 7px; padding: 16px 18px; font-size: 17px; min-height: 60px; }
.service-button:hover,.complex-card .service-button:hover { background: #ffa363; color: #111; }
.document-preview { padding: 0; height: auto; aspect-ratio: 1400 / 990; background: white; overflow: hidden; }
.document-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: none; }
.document-number { z-index: 1; top: 12px; left: 12px; background: #ffffffef; padding: 5px 9px; border-radius: 5px; }
.document-expand { box-shadow: 0 2px 15px #14232e30; }
.customer-reviews { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.customer-review { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.customer-photo { position: relative; }
.customer-photo img { width: 100%; height: 225px; object-fit: cover; }
.customer-photo>span { position: absolute; bottom: 10px; left: 10px; font-size: 11px; line-height: 1.4; padding: 5px 8px; border-radius: 4px; color: white; background: #14232edb; }
.customer-review-copy { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.review-quotes { font-family: Georgia,serif; font-size: 58px; color: #ad4d20; line-height: .8; margin-bottom: 14px; }
.review-body { font-size: 18px; line-height: 1.65; margin-bottom: 28px; }
.review-author { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }
.review-author h3 { font-size: 22px; line-height: 1.3; margin-bottom: 9px; }
.review-author>p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.review-author .review-object { color: var(--ink); font-size: 14px; font-weight: 600; margin-top: 14px; }
.reviews-source { display: inline-block; color: var(--muted); font-size: 14px; margin-top: 24px; text-decoration: underline; text-underline-offset: 4px; }
.success-dialog { border: 0; border-radius: 15px; padding: 42px; width: min(500px,calc(100% - 32px)); color: var(--ink); text-align: center; }
.success-dialog::backdrop { background: #071b2ac4; }
.success-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; background: #e9f2ec; color: #287044; border-radius: 50%; font-size: 34px; }
.success-dialog h2 { font-size: 32px; margin-bottom: 17px; }
.success-dialog p { font-size: 19px; line-height: 1.6; color: var(--muted); }
.success-dialog .button { width: 100%; margin-top: 27px; }
button[disabled] { cursor: wait; opacity: .7; }
footer { background: #101e28; color: #fff; padding-top: 62px; }
footer .brand-mark { color: #ff9e60; width: 52px; height: 52px; }
footer .brand strong { font-size: 19px; }
footer .brand small,footer .footer-contacts span { color: #b8c8d3; }
footer .footer-main { align-items: start; padding-bottom: 44px; }
footer .footer-nav { font-size: 16px; }
footer .footer-nav a:first-child { font-size: 14px; }
footer .footer-bottom { border-color: #344958; color: #b8c8d3; gap: 18px; padding-block: 25px 30px; font-size: 13px; flex-wrap: wrap; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a:hover { color: #ffb37d; }
.legal-page { padding-block: 60px 90px; background: #f5f7f8; }
.legal-page .container { max-width: 1000px; }
.legal-back { display: inline-block; color: #a6481d; margin-bottom: 30px; }
.legal-page h1 { font-size: clamp(34px,4vw,54px); }
.legal-updated { color: var(--muted); font-size: 15px; margin-top: 20px; }
.legal-copy { margin-top: 44px; }
.legal-copy section { margin: 0 0 32px; }
.legal-copy h2 { font-size: 25px; margin-bottom: 15px; }
.legal-copy p { font-size: 18px; line-height: 1.75; }
.legal-copy a { color: #a6481d; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1100px) { .customer-reviews { grid-template-columns: repeat(2,minmax(0,1fr)); } .customer-photo img { height: 270px; } .customer-review-copy { padding: 27px; } }
@media(max-width:950px) { .date-cta { padding: 32px; } .date-fields { grid-template-columns: 1fr 1fr; } .date-fields .button { grid-column: 1 / -1; } footer .footer-main { gap: 30px; } footer .brand strong { font-size: 16px; } }
@media(max-width:650px) {
 .trust-credentials .certificate-grid { grid-template-columns: 1fr; gap: 22px; }
 .trust-credentials .certificate-card:last-child { grid-column: auto; grid-row: auto; }
 .trust-credentials .certificate-image { padding: 16px; }
 .date-cta { margin-top: 30px; padding: 28px 22px; }
 .date-cta h2 { font-size: 31px; }
 .date-cta>div>p { font-size: 19px; }
 .date-fields { grid-template-columns: 1fr; gap: 17px; }
 .date-fields .button { grid-column: auto; }
 .document-preview { height: auto; padding: 0; }
 .customer-reviews { grid-template-columns: 1fr; gap: 26px; }
 .customer-photo img { height: auto; aspect-ratio: 4 / 3; }
 .review-body { font-size: 19px; }
 .review-author h3 { font-size: 24px; }
 .review-author>p,.review-author .review-object { font-size: 16px; }
 footer { padding-top: 45px; }
 footer .brand strong { font-size: 18px; }
 footer .footer-main { display: grid; grid-template-columns: 1fr; gap: 32px; }
 footer .footer-nav { grid-template-columns: 1fr 1fr; gap: 15px; }
 footer .footer-bottom { display: flex; flex-direction: column; align-items: start; }
 .legal-links { flex-direction: column; gap: 12px; }
 .legal-page { padding-block: 40px 60px; }
 .legal-copy h2 { font-size: 24px; }
 .success-dialog { padding: 32px 24px; }
}
/* 18 October: compact spacing, image-only document zoom, and the revised client heading. */
.section { padding-block: 50px; }
.document-preview { width: 100%; cursor: zoom-in; border: 0; border-radius: 0; }
.document-card:hover { transform: none; }
.document-preview:hover img { opacity: .94; }
.service-photo-note { position: absolute; right: 12px; bottom: 12px; background: #14232edb; color: white; font-size: 11px; line-height: 1.4; padding: 4px 8px; border-radius: 4px; }
.customer-reviews { align-items: start; }
.customer-photo img { height: 200px; }
.customer-review-copy { padding: 20px; display: block; flex: none; }
.review-quotes { display: block; height: 24px; font-size: 42px; line-height: 1; margin-bottom: 10px; }
.review-body { line-height: 1.55; margin-bottom: 16px; }
.review-author { margin-top: 0; padding-top: 15px; }
.review-author h3 { margin-bottom: 6px; }
.review-author .review-object { margin-top: 9px; }
.clients-section .section-heading { max-width: 1240px; }
.clients-section .section-heading h2 { font-size: clamp(30px,3.1vw,44px); line-height: 1.2; }
.clients-title-line { display: block; }
footer { padding-top: 31px; }
footer .footer-main { padding-bottom: 22px; }
@media(min-width:951px) { .clients-title-line { white-space: nowrap; } }
@media(max-width:950px) { .section { padding-block: 39px; } .customer-photo img { height: 235px; } }
@media(max-width:650px) {
 .section { padding-block: 30px; }
 .customer-photo img { height: auto; }
 .customer-review-copy { padding: 22px; }
 .clients-section .section-heading h2 { font-size: 30px; }
 .clients-title-line { display: inline; }
 .clients-title-line + .clients-title-line::before { content: ' '; }
 footer { padding-top: 22.5px; }
}
/* 18 October afternoon: centered headings, readable compact copy and FAQ. */
h1,h2,h3 { text-align: center; }
.section { padding-top: 85px; }
.section-heading,.trust-credentials .section-heading { text-align: center; margin-inline: auto; }
.section-sub { margin-inline: auto; line-height: 1.4; }
.hero-sub { line-height: 1.45; }
.service-content p { font-size: 18px; line-height: 1.4; }
.service-content li { line-height: 1.35; }
.review-body { font-size: 18px; line-height: 1.4; }
.review-author>p { line-height: 1.35; }
.cta-panel p,.cost-section .section-sub,.date-cta>div>p { line-height: 1.4; }
/* This CTA intentionally stays compact while regular sections gain top space. */
.date-cta { padding: 20px 26px; }
.date-cta h2 { max-width: none; font-size: clamp(28px,2.4vw,34px); line-height: 1.15; margin: 0 auto 5px; }
.date-cta>div>p { font-size: 20px; text-align: center; }
.date-form { margin-top: 14px; }
.date-fields { gap: 14px; }
.date-fields label { margin-bottom: 4px; }
.date-fields input,.date-fields .button { min-height: 50px; padding-block: 9px; }
.date-cta .form-note { margin-top: 9px; line-height: 1.3; max-width: none; }
.faq-section { background: #f3f6f8; }
.faq-list { max-width: 1000px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 26px; font-size: 22px; font-weight: 650; line-height: 1.3; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary>span { flex-shrink: 0; color: #a94b1e; font-size: 30px; line-height: 1; font-weight: 400; transition: transform .15s; }
.faq-item[open] summary>span { transform: rotate(45deg); }
.faq-item[open] summary { padding-bottom: 12px; }
.faq-item p { padding: 0 26px 22px; font-size: 18px; line-height: 1.45; color: var(--muted); max-width: 940px; }
.faq-item summary:focus-visible { outline: 3px solid var(--orange); outline-offset: -4px; }
footer { line-height: 1.3; }
footer .brand strong,footer .brand small { line-height: 1.2; }
footer .brand small { margin-top: 3px; }
footer .footer-nav { gap: 8px 30px; }
footer .footer-contacts { gap: 5px; }
footer .footer-contacts>span { margin-top: 3px; }
footer .footer-bottom { line-height: 1.3; gap: 12px; }
footer .legal-links { gap: 6px 20px; }
@media(max-width:950px) {
 .section { padding-top: 66.3px; }
 .section-sub { font-size: 19px; }
 .service-content p { font-size: 18px; }
 .date-cta { padding: 20px 24px; }
 .date-fields { grid-template-columns: 1fr 1fr auto; }
 .date-fields .button { grid-column: auto; padding-inline: 20px; }
}
@media(max-width:650px) {
 .hero-inner { padding-top: 59.5px; }
 .hero-actions { margin-top: 45.9px; }
 .section { padding-top: 51px; }
 .section-sub { font-size: 18px; line-height: 1.4; }
 .service-content p { font-size: 18px; line-height: 1.4; }
 .review-body { font-size: 19px; line-height: 1.4; }
 .date-cta { padding: 18px; }
 .date-cta h2 { font-size: 27px; }
 .date-cta>div>p { font-size: 19px; }
 .date-form { margin-top: 12px; }
 .date-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
 .date-fields label { font-size: 14px; }
 .date-fields input { font-size: 16px; padding-inline: 9px; min-width: 0; width: 100%; }
 .date-fields .button { grid-column: 1 / -1; min-height: 46px; }
 .date-cta .form-note { font-size: 12px; }
 .faq-item summary { font-size: 20px; padding: 18px; gap: 12px; }
 .faq-item p { font-size: 18px; padding: 0 18px 18px; }
 footer .footer-nav { gap: 8px 18px; margin-bottom: 14px; }
 footer .legal-links { gap: 6px; }
}
/* 18 October, final batch: scoped alignment and simpler forms. */
.hero h1,.service-content h3,.review-author h3 { text-align: left; }
.hero-sub>span { display: block; }
.hero-sub { max-width: none; }
footer .footer-nav { grid-template-columns: 1fr; font-size: 16px; line-height: 1.3; }
footer .footer-nav a,footer .footer-nav a:first-child { font: inherit; }
.back-to-top { position: fixed; z-index: 9; right: 24px; bottom: 84px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); color: #111; border: 1px solid #d86b2d; border-radius: 50%; box-shadow: 0 4px 16px #14232e25; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #ffa363; }
@media(min-width:951px) {
 .documents-section .section-sub { font-size: 24px; max-width: 1040px; }
 .process-grid { grid-template-rows: auto auto auto; }
 .process-grid li { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 15px; }
 .process-grid .step-number,.process-grid h3 { margin-bottom: 0; }
 .process-grid h3 { align-self: start; }
}
@media(min-width:651px) {
 .customer-reviews { align-items: stretch; }
 .customer-review-copy { flex: 1; display: flex; flex-direction: column; }
 .review-author { margin-top: auto; }
 .review-body { margin-bottom: 16px; }
}
@media(max-width:650px) {
 .market-reason h3,.process-grid h3 { text-align: left; }
 .date-fields { grid-template-columns: 1fr; }
 .date-fields .button { grid-column: auto; }
 .date-fields label { font-size: 16px; }
 .date-fields input { font-size: 18px; padding-inline: 13px; }
 .hero-sub { font-size: clamp(16px,4.1vw,18px); }
 .back-to-top { right: 16px; bottom: 88px; width: 44px; height: 44px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
/* 18 October: larger brand, in-field prompts and specific mobile line breaks. */
.header .brand-mark { width: 63px; height: 63px; }
.header .brand strong { font-size: 21px; }
footer .brand-mark { width: 78px; height: 78px; }
footer .brand strong { font-size: 28.5px; }
.brand-mark { flex-shrink: 0; }
.hero-sub { font-size: 40px; line-height: 1.3; }
.hero-actions { margin-top: 48px; }
.cta-panel h3 .cta-free { font-size: .5em; display: inline-block; white-space: nowrap; }
.clients-heading-mobile { display: none; }
.date-fields label,.cost-section .lead-form label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.date-fields input::placeholder,.cost-section input::placeholder { color: #52616c; opacity: 1; }
@media(max-width:1150px) {
 .header .brand-mark { width: 54px; height: 63px; }
 .header .brand strong { font-size: 18px; }
 .hero-sub { font-size: 38px; }
}
@media(max-width:950px) {
 .header nav.open { top: 100%; }
 footer .brand strong { font-size: 24px; }
 .hero-sub { font-size: 36px; }
}
@media(max-width:650px) {
 .header .brand-mark { width: 48px; height: 52.5px; }
 .header .brand strong { font-size: 15px; }
 footer .brand strong { font-size: 27px; }
 .hero-sub { font-size: clamp(16px,4.1vw,18px); line-height: 1.45; }
 .hero-sub>span:nth-child(2),.hero-sub>span:nth-child(3) { display: inline; }
 .hero-sub>span:nth-child(3)::before { content: ' '; }
 .hero-actions { margin-top: 58px; }
 .clients-heading-desktop { display: none; }
 .clients-heading-mobile,.clients-heading-mobile>span { display: block; }
 .clients-heading-mobile>span { white-space: nowrap; }
 .clients-section .section-heading h2 { font-size: clamp(21px,6.6vw,28px); line-height: 1.25; text-align: center; }

}
@media(max-width:380px) {

}
@media(max-width:370px) {
 .header .brand-mark { width: 40.5px; }
 .header .brand strong { font-size: 13.5px; }
}
/* 18 October: phone header repair, balanced subtitles and measured CTA spacing. */
.date-cta { padding-top: 36px; }
.date-form { margin-top: 28px; }
.date-fields { gap: 18px; }
.cta-panel h3 .cta-free { font-size: .7em; }
.logos-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.next-client { min-width: 0; flex-direction: column; gap: 12px; background: #fff5ec; border-color: #f0b48d; color: #8f411d; text-align: center; }
.next-client span { font-size: 16px; line-height: 1.3; font-weight: 650; }
.next-client:hover { background: #ffebdb; }
@media(max-width:950px) { .logos-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:650px) {
 .header-inner { flex-wrap: nowrap; padding-block: 7px; gap: 8px; }
 .header .brand { width: auto; min-width: 0; flex: 1; gap: 7px; }
 .header .brand>span { min-width: 0; }
 .header .brand strong { font-size: clamp(12px,3.75vw,15px); white-space: nowrap; }
 .header .brand small { line-height: 1.25; }
 .header-right { flex-shrink: 0; gap: 5px; margin-left: 0; }
 .header .languages a { padding-inline: 5px; }
 .section-sub,.cta-panel>div>p { text-wrap: balance; }
 .date-cta { padding: 30px 18px 22px; }
 .date-form { margin-top: 24px; }
 .date-fields { gap: 14px; }

 .logos-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 footer .brand { flex-direction: row; align-items: center; gap: 10px; }
 footer .brand-mark { width: 57px; height: 57px; }
 footer .brand strong { font-size: 19.5px; }
}

/* 18 October: final requested details, scoped to the affected blocks. */
.hero-sub { font-size: 25px; line-height: 1.4; }
.complex-card { background: white; color: var(--ink); border-color: var(--line); }
.complex-card .service-content p { color: var(--muted); }
.complex-card .service-content li::before { color: #b84e1a; }
#free-date .form-note,#contacts .form-note { text-align: center; }
.document-card:last-child .document-preview img { width: 108%; max-width: none; transform: translateX(-3.6%); flex-shrink: 0; }
.documents-section .cta-panel { justify-content: center; gap: 48px; }
.documents-section .cta-panel>div { max-width: 670px; }
footer { padding-top: 24px; }
footer .footer-main { padding-bottom: 16px; gap: 24px; }
footer .footer-bottom { padding-block: 18px 20px; gap: 10px; }
footer .footer-nav { gap: 6px 24px; }
footer .legal-links { gap: 5px 16px; }
@media(max-width:950px) {
 .hero-sub { font-size: 23px; }
 .documents-section .cta-panel { gap: 32px; }
}
@media(max-width:650px) {
 .hero-sub { font-size: 18px; line-height: 1.45; }
 .document-card:first-child .document-content h3 { font-size: 26px; white-space: nowrap; margin-inline: -10px; }
 .cost-layout>.cost-copy { min-width: 0; }
 .cost-section .section-heading h2 { font-size: 34px; white-space: nowrap; }
 [data-fit-mobile]>span { display: inline-block; white-space: nowrap; }
 .documents-section .cta-panel>div>p { text-align: center; }
 footer { padding-top: 18px; }
 footer .footer-main { gap: 20px; }
 footer .brand { margin-bottom: 0; }
 footer .footer-nav { margin-bottom: 0; gap: 6px; }
 footer .footer-bottom { padding-block: 15px 18px; }
}

/* 18 October: final typography and alignment corrections. */
.cost-section .section-sub .consult-sub-first,
.cost-section .section-sub .consult-sub-last { display: block; }
.cost-section .section-sub .consult-sub-last { white-space: nowrap; }
@media(min-width:951px) {
 .button,.hero-actions .button,.service-button { font-size: 18px; }
 .section-sub { font-size: 22px; }
 .documents-section .section-sub { font-size: 26px; }
 .cost-section .section-sub { font-size: 21px; }
 .hero-sub { font-size: 27px; }
 .cta-panel p { font-size: 20px; }
 .date-fields { max-width: 1000px; margin-inline: auto; }
 .customer-review { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
 .customer-review-copy { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
 .review-author { margin-top: 0; align-self: start; }
}
@media(max-width:650px) {
 .document-content h3 { text-align: left; }
 .cost-section .section-sub { font-size: min(18px,5.15vw); letter-spacing: -.025em; }
 .cost-section .section-sub .consult-sub-first { white-space: nowrap; }
}

/* Subtitle contrast and mobile review carousel. */
.section-sub,.hero-sub,.cost-section .section-sub,.cta-panel p { color: inherit; }
.review-carousel-controls { display: none; }
@media(min-width:951px) {
 .stats-grid span { font-size: 20px; line-height: 1.4; max-width: 205px; }
}
@media(max-width:650px) {
 .customer-reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: stretch; }
 .customer-reviews::-webkit-scrollbar { display: none; }
 .customer-review { scroll-snap-align: start; scroll-snap-stop: always; }
 .review-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; }
 .review-carousel-controls button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #d86b2d; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 24px; line-height: 1; }
 .review-carousel-controls button:disabled { background: transparent; border-color: #bcc7cf; opacity: .45; cursor: default; }
 .review-counter { min-width: 54px; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
 .customer-reviews:focus-visible { outline: 2px solid #b75420; outline-offset: 4px; }
}

/* Keep the full mobile review readable within one screen. */
@media(max-width:650px) {
 .reviews-section .section-heading { margin-bottom: 22px; }
 .customer-photo img { height: min(150px,20svh); width: 100%; aspect-ratio: auto; object-fit: cover; }
 .customer-review-copy { padding: 16px 18px; }
 .review-quotes { display: none; }
 .review-body { font-size: 17px; line-height: 1.35; margin-bottom: 12px; }
 .review-author { padding-top: 12px; }
 .review-author h3 { font-size: 21px; margin-bottom: 5px; }
 .review-author>p,.review-author .review-object { font-size: 14px; line-height: 1.3; }
 .review-author .review-object { margin-top: 7px; }
 .review-carousel-controls { margin-top: 12px; gap: 22px; }
 .review-carousel-controls button { width: 42px; height: 42px; }
}

/* Match the date form accent on the cost request panel. */
.documents-section .cta-panel { border-top: 5px solid var(--orange); }

/* Hero positioning and balanced spacing around the review section. */
.process-section { padding-bottom: 85px; }
.reviews-section .section-heading { margin-bottom: 66px; }
@media(min-width:951px) {
 .hero-visual { transform: translateX(28px); }
}
@media(max-width:950px) {
 .process-section { padding-bottom: 66.3px; }
}
@media(max-width:650px) {
 .hero-visual { margin-top: 37px; }
 .process-section { padding-bottom: 51px; }
 .reviews-section .section-heading { margin-bottom: 34px; }
}

.review-carousel-controls .review-counter { display: none; }

@media(max-width:650px) {
 .clients-section .section-heading h2 { font-size: 34px; line-height: 1.17; margin-inline: -8px; letter-spacing: -.045em; }
 .clients-heading-mobile>span { width: max-content; margin-inline: auto; }
}
@media(max-width:370px) {
 .clients-section .section-heading h2 { font-size: 31px; }
}

/* The five hero lines follow the approved wording on every viewport. */
.hero h1>span { display: block; width: max-content; white-space: nowrap; }
.hero h1>span:nth-child(-n+2) { color: inherit; }
@media(min-width:951px) {
 .hero h1 { font-size: clamp(46px,4.6vw,64px); }
}
@media(max-width:650px) {
 .hero h1 { font-size: clamp(35px,8.6vw,45px); }
}

.hero h1>span:nth-child(2)>span { color: #ffb075; }

.process-section .section-sub { text-align: center; }

.clients-section .section-heading h2 { margin-inline: 0; letter-spacing: -.035em; }

.process-grid li:nth-child(-n+2) h3 { text-align: left; }

/* Large color, large monochrome, then the two smaller credentials. */
.trust-credentials .certificate-card { grid-column: auto; grid-row: auto; }
@media (min-width: 951px) {
 .trust-credentials .certificate-grid { max-width: 1240px; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; }
 .trust-credentials .certificate-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
 .trust-credentials .certificate-card:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
 .trust-credentials .certificate-card:nth-child(3) { grid-column: 3; grid-row: 1; }
 .trust-credentials .certificate-card:nth-child(4) { grid-column: 3; grid-row: 2; }
}
@media (min-width: 651px) and (max-width: 950px) {
 .trust-credentials .certificate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 950px) {
 .trust-credentials .certificate-card:nth-child(n) { grid-column: auto; grid-row: auto; }
}
.grayscale { filter: grayscale(1); }

/* Real site photographs: original proportions, with the existing image viewer. */
.object-photos-section { background: var(--paper); }
.object-photos-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.object-photo { display: block; width: 100%; padding: 0; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; }
.object-photo img { width: 100%; height: 100%; object-fit: cover; }
.object-photo:hover { border-color: #b66130; }
@media (max-width: 950px) {
 .object-photos-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 650px) {
 .object-photos-grid { gap: 12px; }
 .object-photo { border-radius: 8px; }
}

/* Four indicators, retaining the existing mobile list and type sizes. */
@media (min-width: 1280px) {
 .stats-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .stats-grid>div { gap: 14px; padding-inline: 18px; }
 .stats-grid>div:first-child { padding-left: 0; }
 .stats-grid>div:last-child { padding-right: 0; }
}
@media (min-width: 651px) and (max-width: 1279px) {
 .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 0; }
 .stats-grid>div:nth-child(2n) { border-right: 0; }
 .stats-grid>div:nth-child(3) { padding-left: 0; }
}

@media(min-width:951px) {
 .process-grid li,.process-grid h3 { min-width: 0; }
 .process-grid h3,.process-grid h3>span { white-space: nowrap; }
 .process-grid h3>span { display: inline-block; }
}

/* Compact document frames: two portrait scans aligned with two landscape scans. */
@media (min-width: 951px) {
 .trust-credentials .certificate-grid {
  grid-template-columns: 1fr 1fr 1.05fr;
  grid-template-rows: repeat(2,minmax(0,1fr));
  aspect-ratio: 2.18;
 }
 .trust-credentials .certificate-card { min-height: 0; }
 .trust-credentials .certificate-image { padding: 6px; }
 .trust-credentials .certificate-preview { min-height: 0; }
 .trust-credentials .certificate-preview img,
 .trust-credentials .certificate-preview svg { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
}
@media (max-width: 950px) {
 .trust-credentials .certificate-image { height: auto; padding: 6px; }
 .trust-credentials .certificate-preview { height: auto; }
}
