:root {
  --blue: #004aad;
  --button-blue: #005fcc;
  --icon-blue: #03a2d5;
  --light-gray: #f5f5f5;
  --form-gray: #e7e7e7;
  --text: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: Roboto, Arial, sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; }
.container { width: min(1320px, calc(100% - 60px)); margin-inline: auto; }
.container-wide { width: min(1370px, calc(100% - 60px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -60px; padding: 12px 18px; background: #fff; color: var(--blue); }
.skip-link:focus { top: 12px; }

.site-header { min-height: 156px; background: #fff; }
.header-top { height: 93px; display: flex; justify-content: space-between; align-items: center; }
.brand, .mini-brand { display: inline-flex; flex-direction: column; line-height: .9; }
.brand { width: 104px; height: 93px; margin-left: 24px; align-items: center; justify-content: center; }
.brand img { display: block; width: 98px; height: 90px; object-fit: contain; }
.brand strong, .mini-brand strong { color: var(--blue); font-size: 30px; font-weight: 800; letter-spacing: .25px; white-space: nowrap; }
.brand span, .mini-brand span { color: #232323; font-family: Roboto, sans-serif; font-size: 21px; letter-spacing: .3px; }
.header-phones { display: flex; align-items: center; gap: 6px; align-self: flex-start; padding-top: 23px; color: #005dda; font-family: Lato, sans-serif; font-size: 20px; font-weight: 400; line-height: 30px; text-align: right; }
.nav-row { min-height: 63px; display: flex; justify-content: flex-end; align-items: center; }
.primary-nav { display: flex; align-items: center; gap: 0; font-family: 'Roboto Condensed', sans-serif; font-size: 16px; font-weight: 400; line-height: 16px; }
.primary-nav > a, .nav-dropdown > a { padding-block: 20px; white-space: nowrap; }
.primary-nav > a, .nav-dropdown > a { padding-inline: 10px; }
.primary-nav .active { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-arrow { display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.dropdown-menu { position: absolute; z-index: 40; left: 0; top: 57px; width: 220px; padding: 0; background: #fff; box-shadow: 0 5px 12px rgb(0 0 0 / 10%); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s ease; }
.dropdown-menu a { display: block; padding: 15px 30px; border-bottom: 1px solid #c4c4c4; color: #000; font-size: 16px; line-height: 1.15; }
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover, .dropdown-menu a:focus { color: var(--blue); background: #fafafa; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; width: 36px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: #555; }

.consultation-strip { height: 62px; display: flex; align-items: center; justify-content: center; gap: 22px; background: #000; color: #fff; }
.consultation-strip h2 { margin: 0; font-size: 30px; font-weight: 600; line-height: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--button-blue); color: #fff; cursor: pointer; }
.button-consult { min-width: 220px; min-height: 41px; padding: 10px 22px; font-family: Roboto, sans-serif; font-size: 17px; font-weight: 500; }
.service-strip { height: 35px; display: flex; align-items: center; justify-content: center; background: var(--button-blue); color: #fff; font-family: Roboto, sans-serif; font-size: 16px; font-weight: 300; line-height: 16px; }

.hero { min-height: 815px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--form-gray); }
.hero-image { background: url('../images/hero-gavel.jpg') center center / cover no-repeat; }
.hero-content { min-width: 0; padding: 28px clamp(20px, 3vw, 48px) 40px; background: var(--form-gray); }
.hero-title { text-align: center; font-family: 'Roboto Serif', sans-serif; }
.hero-title h1 { margin: 0 0 16px; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.2; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.hero-title p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.4; }
.form-shell { width: min(451px, 100%); margin: 53px auto 0; font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; }
.form-shell h2 { margin: 0 0 40px; text-align: center; font-size: 20px; font-weight: 500; line-height: 24px; }
.form-shell form { display: flex; flex-direction: column; }
.form-shell label { margin-bottom: 8px; line-height: 14px; text-align: left; }
.form-shell label span, .consent b { color: red; }
.form-shell input[type='text'], .form-shell input[type='tel'], .form-shell input[type='email'], .form-shell textarea { width: 100%; height: 40px; margin-bottom: 16px; padding: 7px 10px; border: 1px solid #777; border-radius: 1px; background: #fff; font: inherit; }
.form-shell textarea { height: 96px; resize: vertical; }
.form-shell .iti { width: 100%; margin-bottom: 16px; }
.form-shell .iti input { margin-bottom: 0; padding-left: 58px; }
.iti__hide { display: none !important; }
.iti__country-list { position: absolute; z-index: 20; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #ccc; box-shadow: 1px 1px 4px rgb(0 0 0 / 20%); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; line-height: 1.15; }
.consent input { flex: 0 0 auto; margin: 2px 0 0; }
.consent span { color: #000 !important; }
.submit-button { align-self: center; width: 153px; min-height: 36px; border-radius: 4px; font: 600 14px Inter, sans-serif; }
.honeypot { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-message { margin-top: 14px; text-align: center; }
.form-message.success { color: #176c2f; }
.form-message.error { color: #a20d0d; }
.form-message.info { color: #004aad; }

.section-light { background: var(--light-gray); }
.services { min-height: 455px; padding: 46px 0 38px; }
.section-heading { text-align: center; font-family: 'Roboto Serif', sans-serif; }
.section-heading h2 { margin: 0; font-size: 40px; line-height: 40px; font-weight: 600; }
.section-heading p { margin: 18px 0 0; font-size: 20px; font-weight: 300; line-height: 20px; }
.heading-rule { display: block; width: 148px; height: 2px; margin: 23px auto 0; background: var(--button-blue); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-top: 89px; }
.service-card { min-height: 176px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #aaa; background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 35%); }
.service-card h3 { margin: 11px 0 0; font-family: Roboto, sans-serif; font-size: 25px; font-weight: 300; line-height: 30px; text-align: center; }
.service-icon { width: 77px; height: 77px; display: grid; place-items: center; border-radius: 50%; background: var(--icon-blue); }
.service-icon svg { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.welcome { min-height: 444px; padding: 48px 30px 42px; text-align: center; }
.welcome-copy { max-width: 1300px; margin: 30px auto 0; font-family: Lato, sans-serif; font-size: 17px; font-weight: 400; line-height: 25.5px; }
.learn-button { min-width: 242px; min-height: 42px; margin-top: 30px; padding: 10px 20px; }
.mini-brand { margin-top: 27px; text-align: left; }
.mini-brand strong { font-size: 18px; }
.mini-brand span { font-size: 12px; }

.content-section { padding: 70px 30px; background: #fff; }
.content-container, .faq-container { width: min(1280px, 100%); margin-inline: auto; }
.content-heading { margin-bottom: 38px; text-align: center; }
.content-heading h2, .faq-heading h2 { margin: 0; font-family: 'Roboto Serif', sans-serif; font-size: 40px; font-weight: 600; line-height: 1.15; }
.article-copy { font-family: Lato, sans-serif; font-size: 17px; font-weight: 400; line-height: 1.65; }
.article-copy p { margin: 0 0 20px; }
.article-copy p:last-child { margin-bottom: 0; }
.content-cta { margin-top: 34px; text-align: center; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 54px; align-items: start; }
.article-column { min-width: 0; }
.contact-sidebar { position: sticky; top: 24px; }
.sidebar-form-shell { padding: 26px 22px 24px; border: 2px solid var(--blue); background: #e9e6eb; box-shadow: 0 3px 9px rgb(0 0 0 / 18%); font-family: Inter, sans-serif; }
.sidebar-form-shell h2 { margin: 0 0 24px; text-align: center; font: 500 21px/1.2 'Roboto Serif', sans-serif; }
.sidebar-intake-form { display: flex; flex-direction: column; }
.sidebar-intake-form > label:not(.consent) { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.sidebar-intake-form label span, .sidebar-intake-form .consent b { color: #d40000; }
.sidebar-intake-form input[type='text'], .sidebar-intake-form input[type='tel'], .sidebar-intake-form input[type='email'], .sidebar-intake-form textarea { width: 100%; height: 43px; margin-bottom: 18px; padding: 8px 10px; border: 1px solid #c7c7c7; border-radius: 3px; background: #fff; font: 400 15px/1.3 Inter, sans-serif; }
.sidebar-intake-form textarea { height: 105px; resize: vertical; }
.sidebar-intake-form .iti { width: 100%; margin-bottom: 18px; }
.sidebar-intake-form .iti input { margin-bottom: 0; padding-left: 58px; }
.sidebar-intake-form .consent { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 20px; font-size: 12px; line-height: 1.3; }
.sidebar-intake-form .consent input { flex: 0 0 auto; margin-top: 2px; }
.sidebar-intake-form .consent span { color: #000; }
.sidebar-submit { align-self: flex-start; min-height: 39px; padding: 9px 18px; font-weight: 600; }

.contact-page-section { padding: 62px 0 70px; background: #fff; }
.contact-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; align-items: start; }
.contact-details h2 { margin: 0 0 18px; font: 500 32px/1.2 'Roboto Serif', sans-serif; }
.contact-details p { margin: 0 0 18px; font: 400 17px/1.5 Lato, sans-serif; }
.contact-map { display: block; width: min(520px, 100%); height: 320px; margin-top: 26px; border: 0; }
.contact-page-form .sidebar-form-shell { padding: 32px 28px 28px; }

.consultation-title-band { padding: 24px 0; background: var(--blue); color: #fff; }
.consultation-title-band h1 { margin: 0; font: 400 30px/1.2 'Roboto Serif', sans-serif; }
.consultation-page-section { padding: 62px 0 70px; background: #f7f8f9; }
.consultation-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.consultation-card { min-height: 610px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 16px 16px; border: 1px solid #d6d6d6; border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 5%); text-align: center; }
.consultation-eyebrow { margin: 0 0 12px; color: var(--blue); font: 600 14px/1.3 Lato, sans-serif; }
.consultation-card h2 { min-height: 58px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid #ccc; font: 500 21px/1.18 'Roboto Serif', sans-serif; }
.consultation-price, .consultation-format, .consultation-duration, .consultation-summary { margin: 0; padding: 10px 2px; border-bottom: 1px solid #ccc; font: 400 16px/1.3 Lato, sans-serif; }
.consultation-price, .consultation-duration, .consultation-summary { font-weight: 700; }
.consultation-card ul { margin: 18px 0 20px; padding-left: 19px; text-align: left; font: 400 14px/1.45 Lato, sans-serif; }
.consultation-card-actions { display: grid; justify-items: center; gap: 16px; }
.consultation-more { color: #111; font: 700 14px/1.35 Lato, sans-serif; text-decoration: underline; }
.consultation-book { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 9px 17px; border-radius: 3px; background: var(--blue); color: #fff; font: 700 13px/1.2 Lato, sans-serif; text-transform: uppercase; }
.sitemap-section { padding: 68px 30px 78px; background: #f7f7f7; }
.sitemap-container { width: min(1000px, 100%); margin-inline: auto; }
.sitemap-container h2 { margin: 0 0 30px; font: 600 36px/1.2 'Roboto Serif', sans-serif; text-align: center; }
.sitemap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sitemap-list a { display: block; padding: 18px 22px; border-left: 4px solid var(--blue); background: #fff; box-shadow: 0 1px 5px rgb(0 0 0 / 12%); color: #111; font: 500 17px/1.3 Lato, sans-serif; }
.sitemap-list a:hover, .sitemap-list a:focus { color: var(--blue); }
.consultation-policies { margin-top: 54px; text-align: center; }
.consultation-policies p { margin: 0 0 13px; font: 400 14px/1.45 Lato, sans-serif; }

.faq-section { padding: 68px 30px 75px; background: #fff; scroll-margin-top: 20px; }
.faq-heading { margin-bottom: 28px; text-align: center; text-transform: uppercase; }
.faq-list { display: grid; gap: 0; }
.faq-item { margin: 0; }
.faq-item h3 { margin: 0; padding: 19px 38px; background: #67bddc; color: #000; font: 600 17px/1.35 Roboto, sans-serif; }
.faq-item p { margin: 0; padding: 27px 38px 31px; color: #111; font: 400 17px/1.55 Lato, sans-serif; }
.faq-cta { max-width: 1080px; margin: 12px auto 0; text-align: center; font: 600 17px/1.55 Lato, sans-serif; }
.faq-section > .faq-container > .learn-button { display: flex; width: fit-content; margin: 26px auto 0; }

.inner-hero { min-height: 275px; display: flex; align-items: center; padding: 50px 0; background: linear-gradient(rgb(0 47 102 / 86%), rgb(0 47 102 / 86%)), url('../images/hero-gavel.jpg') center 48% / cover; color: #fff; text-align: center; }
.inner-hero p { margin: 0 0 8px; font: 400 18px/1.3 Lato, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.inner-hero h1 { margin: 0 0 28px; font: 600 44px/1.12 'Roboto Serif', sans-serif; }
.inner-content { background: #f7f7f7; }

.map-section { padding: 52px 0 15px; border-top: 1px solid #eee; }
.map-frame { display: block; width: min(1680px, calc(100% - 120px)); height: 450px; margin-inline: auto; border: 0; }
.footer-main { min-height: 212px; display: grid; grid-template-columns: 1.2fr .9fr .9fr 1.2fr; align-items: start; padding-top: 20px; text-align: center; color: var(--blue); }
.footer-column { min-height: 142px; padding: 0 24px; border-right: 1px solid var(--blue); }
.footer-column:last-child { border-right: 0; }
.footer-column h2 { margin: 0 0 27px; font-family: Roboto, sans-serif; font-size: 30px; font-weight: 600; line-height: 30px; }
.footer-column p { margin: 0 0 25px; font-family: Lato, sans-serif; font-size: 17px; font-weight: 400; line-height: 25.5px; }
.footer-column:first-child p { line-height: 32px; }
.social-links { display: flex; justify-content: center; gap: 8px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; }
.social-links svg { width: 24px; height: 24px; fill: #fff; }
.copyright { min-height: 78px; display: flex; align-items: center; background: #e7e7e7; font-family: Lato, sans-serif; font-size: 15px; font-weight: 400; line-height: 22.5px; }
.copyright-inner { width: min(1500px, calc(100% - 30px)); margin-inline: auto; display: grid; grid-template-columns: 13.2% 1fr; align-items: center; gap: 12px; }
.footer-logo { display: block; width: 74px; height: 74px; object-fit: contain; }
.copyright p { margin: 0; text-align: left; }
.copyright a { font-weight: 700; }

@media (max-width: 900px) {
  .container, .container-wide { width: min(100% - 36px, 760px); }
  .site-header { min-height: 196px; }
  .header-top { height: 122px; flex-direction: column; justify-content: center; gap: 20px; }
  .brand { width: 84px; height: 76px; margin-left: 0; }
  .brand img { width: 80px; height: 74px; }
  .brand strong { font-size: 21px; }
  .brand span { font-size: 13px; }
  .header-phones { align-self: auto; padding: 0; font-size: 15px; line-height: 22.5px; text-align: center; }
  .nav-row { min-height: 74px; justify-content: center; position: relative; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; z-index: 30; left: 18px; right: 18px; top: 60px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 20%); }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .nav-dropdown > a { display: block; padding: 12px 0; }
  .dropdown-menu { display: none; position: static; width: auto; padding-left: 14px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .dropdown-menu a { padding: 11px 15px; font-size: 15px; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .consultation-strip { height: 93px; flex-direction: column; gap: 7px; }
  .consultation-strip h2 { font-size: 20px; line-height: 20px; text-align: center; }
  .button-consult { min-width: 224px; min-height: 42px; }
  .service-strip { height: 33px; font-size: 14px; line-height: 14px; text-align: center; }
  .hero { min-height: 843px; display: block; }
  .hero-image { display: none; }
  .hero-content { min-height: 843px; padding: 10px 20px 45px; }
  .hero-title h1 { max-width: 350px; margin: 0 auto 11px; font-size: 30px; font-weight: 600; line-height: 30px; white-space: normal; }
  .hero-title p { font-size: 20px; font-weight: 300; line-height: 20px; }
  .form-shell { width: min(255px, 100%); margin-top: 58px; }
  .form-shell h2 { margin-bottom: 39px; font-size: 20px; line-height: 24px; }
  .form-shell input[type='text'], .form-shell input[type='tel'], .form-shell input[type='email'] { height: 40px; }
  .form-shell textarea { height: 100px; }
  .services { min-height: 1000px; padding: 50px 0 28px; }
  .section-heading h2 { font-size: 25px; line-height: 25px; font-weight: 600; }
  .section-heading p { margin-top: 23px; font-size: 20px; font-weight: 300; line-height: 20px; }
  .heading-rule { width: 31px; margin-top: 21px; }
  .service-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 74px; }
  .service-card { min-height: 176px; }
  .welcome { min-height: 595px; padding: 53px 30px 36px; }
  .welcome .section-heading h2 { max-width: 340px; margin-inline: auto; }
  .welcome-copy { max-width: 330px; margin-top: 33px; font-size: 17px; font-weight: 400; line-height: 25.5px; }
  .learn-button { margin-top: 30px; }
  .mini-brand { display: none; }
  .content-section { padding: 50px 22px; }
  .content-heading { margin-bottom: 30px; }
  .content-heading h2, .faq-heading h2 { font-size: 27px; line-height: 1.15; }
  .article-copy { font-size: 16px; line-height: 1.6; }
  .content-with-sidebar, .contact-page-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-sidebar { position: static; }
  .sidebar-form-shell { width: min(520px, 100%); margin-inline: auto; }
  .contact-page-section { padding: 50px 0 56px; }
  .contact-map { width: 100%; height: 300px; }
  .consultation-title-band { padding: 20px 0; }
  .consultation-title-band h1 { font-size: 26px; }
  .consultation-page-section { padding: 44px 0 55px; }
  .consultation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .consultation-card { min-height: 0; }
  .sitemap-section { padding: 50px 22px 60px; }
  .sitemap-container h2 { font-size: 28px; }
  .sitemap-list { grid-template-columns: 1fr; }
  .faq-section { padding: 50px 18px 56px; }
  .faq-heading { margin-bottom: 24px; }
  .faq-item h3 { padding: 15px 18px; font-size: 16px; }
  .faq-item p { padding: 20px 18px 25px; font-size: 16px; }
  .faq-cta { font-size: 16px; }
  .inner-hero { min-height: 235px; padding: 42px 0; }
  .inner-hero h1 { font-size: 34px; }
  .inner-hero p { font-size: 16px; }
  .map-section { padding: 42px 0 18px; }
  .map-frame { width: calc(100% - 36px); height: 360px; }
  .footer-main { min-height: 540px; grid-template-columns: 1fr; padding-top: 10px; }
  .footer-column { min-height: auto; padding: 0 12px 19px; border-right: 0; }
  .footer-column h2 { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 30px; }
  .footer-column p { margin-bottom: 22px; font-size: 17px; line-height: 25.5px; }
  .footer-column:first-child p { line-height: 32px; }
  .social-links { margin-bottom: 6px; }
  .social-links a { width: 38px; height: 38px; }
  .copyright { min-height: 145px; padding: 15px 0; font-size: 12px; line-height: 18px; }
  .copyright-inner { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .footer-logo { width: 74px; height: 74px; }
  .copyright p { max-width: 321px; text-align: center; }
}

@media (max-width: 420px) {
  .container, .container-wide { width: calc(100% - 36px); }
  .header-phones { font-size: 15px; }
  .service-strip { font-size: 14px; }
  .form-shell { width: min(451px, 100%); }
  .service-card h3 { font-size: 25px; font-weight: 300; line-height: 30px; }
  .consultation-grid { grid-template-columns: 1fr; }
  .contact-page-form .sidebar-form-shell, .sidebar-form-shell { padding: 24px 18px; }
}

/* Keep content within its column at desktop, tablet and zoomed widths. */
.header-top { height: auto; min-height: 100px; gap: 24px; }
.brand { flex-shrink: 0; margin-left: 0; }
.header-phones { flex-wrap: wrap; justify-content: flex-end; align-self: center; padding-top: 0; }
.header-phones a { white-space: nowrap; }
.primary-nav { flex-wrap: wrap; justify-content: flex-end; }
.consultation-strip { height: auto; min-height: 62px; padding: 12px 20px; flex-wrap: wrap; text-align: center; }
.service-strip { height: auto; min-height: 35px; padding: 9px 18px; line-height: 1.4; text-align: center; }
.button { max-width: 100%; text-align: center; }
.contact-details, .contact-page-form, .contact-sidebar, .consultation-card, .footer-column { min-width: 0; overflow-wrap: anywhere; }
.iti__country-list { max-width: calc(100vw - 48px); white-space: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (min-width: 901px) and (max-width: 1200px) {
  .consultation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-page-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .content-with-sidebar { grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: 32px; }
}

@media (max-width: 900px) {
  .site-header { min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; padding: 12px 18px 16px; }
  .header-top, .nav-row { display: contents; }
  .brand { grid-column: 1; grid-row: 1; width: 84px; height: 76px; }
  .menu-toggle { grid-column: 2; grid-row: 1; width: 44px; height: 44px; padding: 10px; border: 1px solid #d9e1ea; border-radius: 6px; }
  .header-phones { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 4px 12px; font-size: 15px; line-height: 1.5; }
  .header-phones > span { display: none; }
  .primary-nav { grid-column: 1 / -1; grid-row: 3; position: static; width: 100%; margin-top: 4px; padding: 8px 14px; border: 1px solid #e2e7ee; border-radius: 6px; box-shadow: none; }
  .primary-nav > a { min-height: 44px; padding: 14px 0; }
  .consultation-strip { gap: 12px; padding-block: 18px; }
  .hero, .hero-content { min-height: 0; }
  .hero-content { padding: 28px 24px 40px; }
  .hero-title h1 { max-width: 560px; font-size: clamp(26px, 5vw, 34px); line-height: 1.2; }
  .hero-title p { font-size: 18px; line-height: 1.4; }
  .form-shell { width: min(451px, 100%); margin-top: 32px; }
  .form-shell h2 { margin-bottom: 24px; }
  .form-shell input[type='text'], .form-shell input[type='tel'], .form-shell input[type='email'], .form-shell textarea,
  .sidebar-intake-form input, .sidebar-intake-form textarea { font-size: 16px; }
  .form-shell input[type='text'], .form-shell input[type='tel'], .form-shell input[type='email'] { height: 44px; }
}

@media (max-width: 600px) {
  .consultation-grid { grid-template-columns: 1fr; }
}
