/* Layout refresh. All brand colors are inherited from styles.css. */
body { font-size: 17px; }
.container { max-width: 1264px; padding-inline: 40px; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 20px; background: white; border: 2px solid var(--primary-color); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.main-header { position: sticky; background: rgba(255,255,255,.96); }
.main-header.scrolled { box-shadow: 0 4px 20px #5b2a8608; }
.navbar { padding: 20px 0; }
.nav-container { gap: 24px; }
.logo { margin-right: auto; flex-shrink: 0; }
.logo a { display: block; }
.brand-name { display: block; color: var(--primary-color); font-family: var(--font-display); font-size: 25px; line-height: 1.2; font-weight: 600; }
.brand-name > span { display: block; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; margin-bottom: 3px; }
.tagline { display: none; }
.header-phone { order: 3; padding: 12px 16px; border: 1px solid var(--border-color); background: white; color: var(--primary-color); font-size: 14px; margin: 0; }
.header-phone:hover { background: var(--primary-color); }
.nav-link { font-size: 14px; padding: 9px 12px; }
.nav-link.active { background: var(--background-light); color: var(--primary-color); }
.nav-link.active:hover { color: var(--primary-color); }
main { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.4vw, 43px); line-height: 1.2; }
em { font-weight: 500; color: var(--primary-light); }
.eyebrow { color: var(--primary-color); font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.home-hero { padding: 62px 0 64px; background: var(--background-white); }
.hero-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 52px; }
.hero-copy h1 { font-size: clamp(45px, 4.85vw, 68px); line-height: 1.09; margin-bottom: 26px; color: var(--primary-dark); }
.hero-copy h1 em { position: relative; }
.hero-copy h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--accent-soft); z-index: -1; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: .095em; display: flex; align-items: center; gap: 9px; }
.hero-description { font-size: 17px; line-height: 1.85; max-width: 475px; margin-bottom: 29px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.btn-primary, .btn-secondary, .btn-submit { border-radius: 9px; font-size: 14px; padding: 15px 21px; min-height: 50px; box-shadow: none; }
.btn-primary, .btn-submit { background: var(--primary-color); color: white; }
.btn-primary:hover, .btn-submit:hover { background: var(--primary-dark); box-shadow: 0 5px 15px #5b2a8620; }
.btn-primary span { margin-left: 22px; font-size: 21px; line-height: 1; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; color: var(--primary-color); padding-bottom: 5px; border-bottom: 1px solid var(--border-color); }
.text-link:hover { color: var(--primary-dark); border-color: var(--primary-color); }
.personal-note { display: flex; gap: 12px; align-items: center; margin-top: 33px; }
.personal-note p { font-size: 12px; line-height: 1.65; margin: 0; }
.personal-note strong { font-weight: 600; color: var(--primary-color); }
.note-heart { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--border-color); border-radius: 50%; color: var(--primary-color); background: var(--background-warm); font-size: 24px; }
.home-scene { position: relative; margin: 0; width: 100%; max-width: 430px; height: 360px; justify-self: center; min-width: 0; }
.room-view { position: absolute; inset: 0; border-radius: 18px; }
.scene-poster { width: 100%; height: 100%; object-fit: contain; }
.room-view canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.room-view.is-ready .scene-poster { visibility: hidden; }
.room-view:not(.is-ready) canvas { display: none; }
.region-band { border-block: 1px solid var(--border-color); background: var(--background-light); }
.region-band .container { display: flex; gap: 30px; align-items: center; justify-content: space-between; padding-block: 22px; }
.region-band p { color: var(--text-body); font-size: 12px; margin: 0; }
.region-band span { font-size: 14px; color: var(--primary-color); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.region-band span::before { content: '+'; color: var(--accent-color); font-size: 19px; font-weight: 400; }
.home-services, .steps-section { padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 330px; font-size: 15px; margin-bottom: 4px; line-height: 1.85; }
.service-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.service-preview { display: flex; flex-direction: column; align-items: flex-start; color: var(--text-body); padding: 30px; border: 1px solid var(--border-color); background: var(--background-light); border-radius: 14px; transition: background .2s, transform .2s; }
.service-preview:nth-child(2) { background: var(--background-warm); }
.service-preview:nth-child(3) { background: white; }
.service-preview:hover { color: var(--text-body); background: var(--secondary-light); transform: translateY(-3px); }
.preview-symbol { height: 52px; width: 52px; border-radius: 14px; display: grid; place-items: center; background: white; color: var(--primary-light); border: 1px solid var(--border-color); font-size: 32px; margin-bottom: 26px; }
.service-preview h3 { font-size: 22px; margin-bottom: 15px; }
.service-preview p { font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.card-link { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-color); color: var(--primary-color); font-size: 12px; font-weight: 700; }
.card-link span { font-size: 18px; }
.services-all { margin-top: 27px; }
.human-section { background: var(--background-warm); padding: 78px 0; }
.human-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.human-photo { position: relative; }
.human-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px 100px 16px 16px; }
.photo-note { position: absolute; bottom: 24px; left: 24px; padding: 12px 20px; background: var(--background-white); border-radius: 6px; font-family: var(--font-display); font-style: italic; color: var(--primary-color); font-size: 18px; }
.human-copy h2 { margin-bottom: 24px; }
.human-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
.human-copy .text-link { margin-top: 12px; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; list-style: none; }
.steps-list li { padding-top: 22px; border-top: 1px solid var(--border-color); }
.steps-list li > span { font-family: var(--font-display); font-size: 35px; color: var(--secondary-color); display: block; margin-bottom: 16px; }
.steps-list h3 { font-size: 21px; }
.steps-list p { font-size: 14px; line-height: 1.85; }
.home-contact { padding: 0 0 70px; }
.contact-banner { background: var(--primary-color); color: white; padding: 49px 54px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-banner h2 { color: white; }
.contact-banner p { color: var(--secondary-light); font-size: 14px; margin-bottom: 0; }
.contact-banner .eyebrow { color: var(--secondary-light); font-size: 10px; margin-bottom: 16px; }
.banner-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.banner-actions .btn-primary { background: var(--accent-color); color: var(--primary-dark); font-size: 21px; }
.banner-actions .btn-primary:hover { background: var(--accent-soft); }
.banner-actions .text-link { color: white; border-color: #ffffff55; font-size: 12px; }
.main-footer { margin-top: 0; background: var(--background-light); padding: 42px 0 26px; border-top: 1px solid var(--border-color); }
.footer-info h3, .footer-link, .footer-bottom a { color: var(--primary-color); }
.footer-info p { color: var(--primary-light); }
.footer-content { border-bottom: 1px solid var(--border-color); margin-bottom: 20px; padding-bottom: 24px; }
.footer-link:hover { background: var(--secondary-light); color: var(--primary-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; padding: 0; }
.footer-bottom p { color: var(--text-body); margin: 0; }
.footer-bottom a:hover { color: var(--primary-dark); }
.page-header { margin-top: 0; padding: 65px 0 58px; background: var(--background-light); text-align: left; border-bottom: 1px solid var(--border-color); }
.page-title { color: var(--primary-color); font-size: clamp(38px,5vw,58px); }
.page-subtitle { color: var(--text-body); font-size: 18px; }
.section-title::after { display: none; }
.about-content, .team-content { max-width: 820px; }
.about-content p, .team-content p { font-size: 17px; }
.value-card, .area-card, .service-card { box-shadow: none; border: 1px solid var(--border-color); border-radius: 14px; }
.service-card { scroll-margin-top: 115px; padding: 30px; }
.service-card h3 { font-size: 23px; line-height: 1.3; }
.services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.service-card p { line-height: 1.85; font-size: 15px; }
.service-icon { color: var(--primary-color); }
.contact-wrapper { max-width: none; align-items: start; }
.contact-info, .contact-form-wrapper { border-radius: 16px; box-shadow: none; }
.contact-item > div { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.contact-form-wrapper { border: 1px solid var(--border-color); }
.contact-form-wrapper h2, .contact-info h2 { font-size: 29px; }
.form-explanation { font-size: 14px; line-height: 1.75; }
.success-message.show { display: block; background: var(--secondary-light); color: var(--primary-dark); border: 1px solid var(--border-color); }
.success-message p { font-size: 14px; }
.success-message .draft-help { font-size: 12px; margin-top: 15px; }
.success-message a { overflow-wrap: anywhere; }
.legal-content { box-shadow: none; border: 1px solid var(--border-color); }
.legal-content h2 { font-size: 25px; margin-top: 30px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { text-decoration: underline; overflow-wrap: anywhere; }
.mobile-call-fab { background: var(--primary-color); box-shadow: 0 6px 18px #5b2a8630; }
/* Content remains visible when scripts or motion APIs are unavailable. */
.animate-on-scroll, .animate-fade-up { opacity: 1; transform: none; animation: none; }
@media (max-width: 1050px) {
  .container { padding-inline: 28px; }
  .hero-layout { gap: 30px; }
  .hero-copy h1 { font-size: 52px; }
  .home-scene { height: 330px; }
  .nav-container { gap: 14px; }
  .nav-link { padding-inline: 8px; }
  .header-phone { font-size: 12px; padding: 10px; }
  .human-layout { gap: 42px; }
}
@media (max-width: 800px) {
  .header-phone { display: none; }
  .mobile-call-fab { display: flex; }
  .hero-layout { gap: 24px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-description { font-size: 15px; }
  .hero-actions .btn-primary { font-size: 12px; padding-inline: 14px; }
  .hero-actions .btn-primary span { margin-left: 10px; }
  .home-scene { height: 310px; }
  .region-band .container { gap: 16px; flex-wrap: wrap; }
  .region-band p { flex-basis: 100%; }
  .service-preview { padding: 22px; }
  .service-preview h3 { font-size: 20px; }
}
@media (max-width: 768px) {
  .navbar { padding: 15px 0; }
  .brand-name { font-size: 23px; }
  .brand-name > span { font-size: 9px; }
  .nav-toggle { order: 4; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .nav-menu { top: 100%; width: 100%; max-width: none; right: 0; height: auto; max-height: calc(100dvh - 80px); overflow-y: auto; position: absolute; padding: 18px 28px 25px; border-bottom: 1px solid var(--border-color); border-left: 0; box-shadow: 0 10px 18px #5b2a860a; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .15s; }
  .nav-menu.active { visibility: visible; opacity: 1; pointer-events: auto; }
  html:not(.js) .nav-container { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-menu { position: static; visibility: visible; opacity: 1; pointer-events: auto; padding: 12px 0 0; box-shadow: none; border: 0; flex-direction: row; flex-wrap: wrap; }
  .nav-link { font-size: 16px; padding: 13px 16px; }
  .home-hero { padding: 37px 0 42px; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy h1 { font-size: clamp(43px,8vw,62px); }
  .hero-description { max-width: 560px; font-size: 16px; }
  .hero-actions .btn-primary { font-size: 14px; padding: 15px 18px; }
  .personal-note { margin-top: 24px; }
  .home-scene { height: 280px; max-width: 350px; }
  .region-band span { font-size: 12px; gap: 7px; }
  .home-services, .steps-section { padding: 55px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { max-width: 500px; margin-top: 20px; }
  .service-preview-grid, .steps-list { grid-template-columns: 1fr; gap: 16px; }
  .service-preview { padding: 26px; }
  .preview-symbol { margin-bottom: 18px; }
  .service-preview h3 { font-size: 24px; }
  .service-preview p { margin-bottom: 18px; }
  .human-section { padding: 50px 0; }
  .human-layout { grid-template-columns: 1fr; gap: 35px; }
  .human-photo img { height: 360px; }
  .steps-list { gap: 24px; }
  .steps-list li { padding-left: 63px; position: relative; }
  .steps-list li > span { position: absolute; left: 0; top: 15px; }
  .home-contact { padding-bottom: 45px; }
  .contact-banner { padding: 34px 28px; align-items: flex-start; flex-direction: column; }
  .banner-actions .btn-primary { font-size: 19px; }
  .footer-content { text-align: left; align-items: flex-start; gap: 18px; }
  .footer-links { margin-left: -16px; }
  .footer-bottom { flex-direction: column; text-align: left; gap: 8px; padding-right: 45px; }
  .page-header { padding: 42px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrapper { padding: 28px; }
}
@media (max-width: 420px) {
  .container { padding-inline: 20px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .06em; }
  .home-scene { height: 240px; max-width: 310px; }

  .region-band .container { column-gap: 15px; }
  .region-band span { font-size: 10px; }
  .human-photo img { height: 290px; }
  .contact-info, .contact-form-wrapper { padding: 23px 18px; }
  .legal-content { padding: 25px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  .home-scene { break-inside: avoid; }
  .page-header { margin: 0; }
}
