:root { color-scheme: light; --blue: #215f9a; --ink: #151515; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ffdc38; outline-offset: 6px; }
.skip-link { position: absolute; left: 16px; top: -80px; background: white; padding: 10px 18px; z-index: 2; }
.skip-link:focus { top: 12px; }
.poster { max-width: 1060px; margin: 32px auto 0; padding: 22px; background: var(--blue); border: 1px solid #172a3b; }
.sign-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sign { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: contain; background: white; box-shadow: none; }
.sign-row .sign { width: 14%; }
.hero-contact { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 12px; margin: 26px 0 0; }
.consultation-button, .call-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 15px 24px; border: 2px solid transparent; border-radius: 5px; font: 700 18px/1.4 Arial, sans-serif; text-decoration: none; }
.consultation-button { background: #ffe16a; color: #153c60; box-shadow: 0 2px 5px #123e6433; }
.consultation-button:hover { background: #fff0ac; }
.call-button { border-color: #fff; color: #fff; }
.call-button:hover { background: #fff; color: #153c60; }
.about { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 55px; padding-top: 36px; border-top: 1px solid #ffffff55; text-align: left; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 4px; }
.about-text h2 { margin: 0 0 16px; font-size: 29px; line-height: 1.25; }
.about-text p { margin: 0; font-size: 20px; line-height: 1.6; }
.about-text .trainer { margin-top: 18px; }
.about-text .additional { margin-top: 18px; font-size: 16px; line-height: 1.6; }
.poster-layout { max-width: 720px; margin: 40px auto; padding: 0 10px; }
.poster-content { min-width: 0; text-align: center; color: #fff; }
.title-panel { background: #fff; box-shadow: 0 2px 8px #123e6426; color: #000; padding: 17px 8px 19px; }
h1 { margin: 0; font: 900 clamp(42px, 7.1vw, 83px)/1.1 'Arial Black', Arial, sans-serif; letter-spacing: .08em; text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: .045em; white-space: nowrap; }
.agency { margin: 48px -6px 0; font-size: 27px; font-weight: 400; line-height: 1.4; }
.services-section { margin-top: 46px; scroll-margin-top: 28px; }
.services-section h2 { margin: 0; font-size: 32px; line-height: 1.3; }
.services { list-style: none; margin: 26px 0 0; padding: 0; font-size: 23px; line-height: 1.5; text-align: center; overflow-wrap: break-word; }
.services li { display: block; }
.consultation { margin: 28px 0 0; font-size: 30px; font-weight: 700; line-height: 1.35; }
.consultation a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.consultation a:hover { text-decoration-thickness: 2px; }
.services li + li { margin-top: 17px; }
.contact-panel { margin: 38px auto 5px; width: 89%; background: white; box-shadow: 0 2px 8px #123e6426; padding: 18px 14px; color: #080808; }
.contact-panel h2 { margin: 0 0 9px; font-size: 33px; font-weight: 700; font-family: 'Lucida Handwriting', Georgia, serif; }
.contact-panel a { display: block; font-size: 26px; line-height: 1.5; }
.contact-panel address { margin: 0 0 8px; font-style: normal; font-size: clamp(16px, 3.5vw, 22px); line-height: 1.5; }
.contact-panel .email { color: #467886; text-underline-offset: 3px; }
.contact-panel .telephone { text-decoration: none; }
.contact-panel .telephone:hover { text-decoration: underline; }
footer { max-width: 1060px; margin: 0 auto; padding: 26px 0 40px; font: 15px/1.65 Arial, sans-serif; }
.footer-line { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; color: #37546c; }
.footer-line a { text-underline-offset: 3px; }
.legal { margin-top: 20px; border-top: 1px solid #ccd6df; padding: 18px 0 0; scroll-margin-top: 24px; }
.legal h2 { margin: 0; font-weight: 700; font-size: 24px; color: #215f9a; }
.legal-body { max-width: 750px; padding-top: 5px; }
.legal p { margin: 15px 0; }
.legal address { font-style: normal; }
@media (max-width: 1120px) { .poster { margin: 20px; } footer { margin: 0 20px; } }
@media (max-width: 760px) {
 .about { gap: 22px; }
 .about-text h2 { font-size: 25px; }
 .about-text p { font-size: 18px; }
 .poster { margin: 12px; padding: 14px; }
 .sign-row { gap: 10px; }
 .sign-row .sign { width: 15%; }
 .poster-layout { margin: 32px auto; }

 .title-panel { padding: 15px 5px 17px; }
 h1 { font-size: clamp(30px, 7.3vw, 57px); letter-spacing: .04em; }
 .agency { font-size: 23px; margin-top: 35px; }
 .services-section { margin-top: 35px; }
 .services-section h2 { font-size: 27px; }
 .services { font-size: 21px; margin-top: 23px; }
 .consultation { font-size: 26px; }
 .services li + li { margin-top: 16px; }
 .contact-panel { width: 100%; padding: 16px 6px; margin-top: 30px; }
 .contact-panel h2 { font-size: 28px; }
 .contact-panel a { font-size: clamp(16px, 3.5vw, 24px); }
 footer { margin: 0 18px; }
 .footer-line { display: block; }
 .footer-line a { display: inline-block; margin-top: 8px; }
}
@media (max-width: 560px) {
 .hero-contact { flex-direction: column; }
 .services li { display: block; }
 .services li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ffffff33; }
 .about { grid-template-columns: 1fr; text-align: center; margin-top: 40px; gap: 24px; }
 .portrait { max-width: 260px; margin: 0 auto; }
 .consultation-button, .call-button { font-size: 17px; padding: 14px 18px; }
}
@media (max-width: 450px) {
 .poster { margin: 8px; padding: 10px; }
 .poster-layout { margin: 26px auto; padding: 0 8px; }
 .title-panel { padding: 12px 4px 15px; }
 h1 { font-size: 8.5vw; }
 .agency { font-size: 21px; margin-left: 0; margin-right: 0; }
 .services-section h2 { font-size: 24px; }
 .services { font-size: 20px; }
 .consultation { font-size: 24px; }
 .contact-panel h2 { font-size: 25px; }
 .contact-panel a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.logout-form { margin-top: 24px; }
.logout-form button { border: 1px solid #ccd6df; border-radius: 4px; background: #fff; color: #37546c; padding: 10px 16px; font: inherit; cursor: pointer; }
.logout-form button:hover { background: #f2f5f7; }
.logout-form button:focus-visible { outline: 3px solid #215f9a; outline-offset: 3px; }

/* Central panel follows the supplied text and visual reference. */
:root { --blue: #193f61; }
.poster-content { font-family: Arial, sans-serif; }
.poster-layout { max-width: 920px; }
.title-panel { padding: 12px 8px; box-shadow: 0 0 5px 2px #ffffff99; }
h1 { font: 800 clamp(30px, 7vw, 64px)/1.15 Arial, sans-serif; letter-spacing: 0; text-decoration: none; }
.agency { margin: 42px 0 0; font-size: clamp(21px, 3vw, 29px); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.services-section { margin-top: 28px; }
.services { margin: 0; font-size: 29px; font-weight: 700; line-height: 1.5; }
.services li + li { margin-top: 0; padding-top: 0; border: 0; }
.consultation { margin: 0; font-size: 29px; line-height: 1.5; }
.consultation a { text-decoration: none; }
.consultation a:hover { text-decoration: underline; }
.about { display: block; margin-top: 36px; padding: 0; border: 0; text-align: center; }
.about p { margin: 0; font-size: 20px; line-height: 1.5; }
.contact-panel { width: fit-content; max-width: 100%; margin: 50px auto 5px; padding: 10px 28px; box-shadow: 0 0 5px 2px #ffffff99; }
.contact-panel h2 { font-family: 'Lucida Handwriting', 'Brush Script MT', Georgia, cursive; font-style: italic; font-weight: 400; font-size: 33px; }
.contact-panel address { font-size: 17px; margin-bottom: 2px; }
.contact-panel a { font-size: 20px; }
.contact-panel .email { color: #0000ee; }
@media (max-width: 560px) {
 .services, .consultation { font-size: 24px; }
 .about p { font-size: 17px; }
 .contact-panel { padding: 12px 14px; margin-top: 36px; }
 .contact-panel address { font-size: 16px; }
 .contact-panel a { font-size: 18px; }
}

/* Consistent contact typography and direct contact actions. */
.contact-panel { font-family: Arial, sans-serif; padding: 24px; }
.contact-panel h2 { font-family: inherit; font-style: normal; font-weight: 700; font-size: clamp(36px, 5vw, 46px); line-height: 1.2; margin-bottom: 14px; }
.contact-panel .email { overflow-wrap: anywhere; }
.contact-invitation { max-width: 38ch; margin: 20px auto 14px; font-size: 17px; line-height: 1.5; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-panel .contact-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 24px; border-radius: 5px; background: var(--blue); color: white; font: 700 18px/1.4 Arial, sans-serif; text-decoration: none; }
.contact-panel .contact-button:hover { background: #285c87; }
.footer-line { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-line a { margin-top: 0; }
