/* Shared masthead and mobile actions; other rules belong to Stage 1 home. */
.s1-utility{background:#ecf3f8;color:#28506b;font-size:13px}
.s1-utility .upp-shell{display:flex;align-items:center;gap:24px;min-height:34px}
.s1-utility a{margin-left:auto;color:inherit;font-weight:700;text-decoration:none}
.upp-site .upp-header__inner{min-height:76px}
.upp-site .upp-brand img{width:150px;height:54px}
.upp-site .upp-footer{padding-top:40px}
.upp-site .upp-footer__bottom{margin-top:24px}
.upp-site:has(.upp-menu[open]) .upp-mobile-bar{display:none}
.upp-site .upp-porch,.upp-site .upp-contact-entry img.upp-porch{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:14px}
.upp-site .upp-contact-entry{max-width:540px}
.s1-home{background:#fff;color:var(--upp-navy)}
.s1-home p{line-height:1.5;margin:0 0 12px}
.upp-site .s1-home h1{max-width:22ch;font-size:clamp(32px,3.45vw,48px);font-weight:600;line-height:1.08;margin:0 0 14px;letter-spacing:-.04em;text-wrap:initial}
.upp-site .s1-home h2{font-size:clamp(28px,2.55vw,37px);font-weight:600;margin:0;line-height:1.13}
.upp-site .s1-home h3{font-weight:600}
.s1-intro{background:#eaf3f8;border-bottom:1px solid #d5e3ec}
.s1-intro-inner{display:grid;grid-template-columns:1.27fr 1fr;gap:clamp(24px,5vw,80px);align-items:center;padding-block:36px}
.s1-lead{font-size:19px;max-width:48ch}
.s1-origin{color:#486276;font-size:15px;margin:0!important}
.s1-choice{border-left:2px solid #a5c1d3;padding:4px 0 4px 28px}
.s1-choice p{max-width:48ch}
.s1-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.s1-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;min-height:48px;border:1px solid #8daebe;border-radius:9px;font-size:15px;font-weight:600;color:#174e7a;text-decoration:none}
.s1-secondary:hover{background:white;text-decoration:underline}
.s1-directions{padding-block:36px}
.s1-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
#napravleniya{scroll-margin-top:20px}
.s1-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.upp-site .s1-card{min-width:0;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #d3e1eb;background:#f8fafc;color:var(--upp-navy);border-radius:14px;text-decoration:none}
.upp-site .s1-card:hover{border-color:#7b9fb9;background:#f0f6fa}
.upp-site .s1-card h3{font-size:22px;line-height:1.2;margin:0;letter-spacing:-.02em}
.s1-person{display:flex;align-items:center;gap:12px}
.s1-person span{font-size:16px;line-height:1.35;font-weight:600;max-width:17ch}
.s1-person img{display:block;flex:none;width:76px;height:88px;object-fit:cover;object-position:center 19%;border-radius:9px;background:#e6eef4}
.s1-card p{font-size:16px;color:#435a6a;line-height:1.45;margin:0}
.s1-fees{margin-top:auto}
.s1-fee{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap;justify-content:space-between}
.s1-fee span{font-size:13px;color:#4a6274}
.s1-fee strong{font-size:17px;white-space:nowrap}
.s1-next{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #d5e2eb;padding-top:11px;color:#174e7a;font-size:14px;line-height:1.4;font-weight:600}
.s1-next b{font-size:19px;line-height:1}
.s1-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-block:18px 42px}
.s1-detail{border-top:3px solid #90b3c9;padding-top:20px}
.upp-site .s1-detail h2{font-size:26px;margin-bottom:16px}
.s1-detail p{color:#405969;font-size:16px}
.s1-detail .upp-text-link{margin-right:12px}
.s1-contact{background:#edf4f8;padding-block:36px}
.s1-contact-inner{display:grid;grid-template-columns:1.12fr 1fr;gap:40px;align-items:center}
.s1-contact figure{margin:0;width:100%;max-width:540px;justify-self:end}
.s1-contact h3{margin:20px 0 4px;font-size:21px}
.s1-contact p{color:#3c5668}
.s1-contact p a{color:#174e7a;white-space:nowrap}
.s1-hours{display:grid;grid-template-columns:max-content 1fr;gap:2px 16px;margin:8px 0;line-height:1.5}
.s1-hours dd{margin:0;font-variant-numeric:tabular-nums}
@media(max-width:1199px){.s1-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s1-details{grid-template-columns:repeat(2,minmax(0,1fr))}.s1-about{grid-column:1/-1}.s1-about p{max-width:75ch}}
@media(max-width:900px){.s1-intro-inner{grid-template-columns:1fr;gap:16px}.s1-choice{border:0;padding:0}.s1-choice p{max-width:64ch}.s1-contact-inner{gap:24px}}
@media(max-width:767px){.s1-utility{display:none}.upp-site .upp-header__inner{min-height:66px}.upp-site .upp-brand img{height:46px;width:130px}.s1-intro-inner{padding-block:24px}.s1-lead{font-size:17px}.s1-directions{padding-block:26px}.s1-details{gap:24px}.s1-contact-inner{grid-template-columns:1fr}.s1-contact figure{justify-self:start}.s1-contact{padding-block:26px}.s1-home{font-size:16px}html{scroll-padding-bottom:84px}.upp-site .upp-footer{padding-bottom:24px}}
@media(max-width:639px){.s1-grid,.s1-details{grid-template-columns:1fr}.s1-card{position:relative}.s1-person img{width:66px;height:74px}.upp-site .s1-card{gap:11px;padding:17px}.s1-heading{align-items:flex-start}.s1-heading .upp-text-link{white-space:nowrap;min-height:32px}.s1-intro .s1-actions{gap:8px}.s1-actions .upp-button,.s1-secondary{font-size:14px;padding:10px 14px}.s1-fee{justify-content:flex-start}.s1-heading h2{max-width:13ch}.s1-intro-inner{gap:14px}}

.upp-site .upp-skip:not(:focus){clip-path:inset(50%)}
.s1-home{container-type:inline-size}
@container (max-width:1199px){.s1-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:639px){.s1-grid{grid-template-columns:1fr}}
