/* Registration and consultation */
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: 0 .9rem; border-radius: 5px; color: white; background: #123f3c;
  font-size: clamp(1.12rem, 1.75vw, 1.55rem); font-weight: 800; letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.header-phone span { font-size: .76rem; font-weight: 600; }
.float-actions { gap: 7px; }
.float-actions a { width: 146px; height: auto; min-height: 58px; padding: 9px 12px; border-radius: 8px; }
.float-actions .float-phone { background: #fcf8ed; color: #123f3c; }
.float-actions span { display: block; font-size: .78rem; line-height: 1.15; }
.float-actions .float-phone strong { margin: 2px 0 0; font-size: 1.27rem; letter-spacing: -.025em; line-height: 1.12; }
.float-actions .float-register strong { font-size: 1.04rem; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.hero-links .hero-button {
  gap: 28px; margin: 0; padding: 13px 19px; min-width: 0; min-height: 54px;
  border: 0; border-radius: 5px; color: white; background: #123f3c; font-size: 1.12rem;
}
#avenue-open { min-height: 44px; padding: 3px 0; color: #173d39; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 5px; font-weight: 700; cursor: pointer; }
.registration .registration-grid { gap: clamp(24px, 4vw, 62px); }
.registration .form-wrap { min-width: 0; padding: clamp(22px, 3.4vw, 52px); border-radius: 12px; border: 1px solid #d3ddd6; }
.registration-heading .registration-phone {
  display: inline-flex; flex-flow: column; align-items: flex-start; gap: 4px;
  margin-top: 28px; padding: 16px 24px; border: none; border-radius: 8px; background: #103e39; color: white; text-decoration: none;
}
.registration-phone span { font-size: 1rem; }
.registration-phone strong, .contact-cta strong { font-size: clamp(1.85rem, 3.1vw, 2.6rem); letter-spacing: -.03em; line-height: 1.14; }
#interest-form { gap: 22px; }
#interest-form > label, #interest-form .site2-phone legend { font-size: 1.08rem; }
#interest-form :is(input:not([type="checkbox"]),select) { min-height: 60px; font-size: 1.08rem; border-radius: 7px; color: #193733; }
#interest-form input::placeholder { color: #646e6a; }
#interest-form .site2-form-intro { margin-top: 0; font-size: 1.04rem; }
#interest-form .site2-consent-description, #interest-form .site2-consent-detail { font-size: .89rem; }
#interest-form .site2-consent-item, #interest-form .site2-consent-subitem { min-height: 44px; font-size: .97rem; }
#interest-form .site2-consent-all { font-size: 1.05rem; }
#interest-form button[type="submit"] { min-height: 64px; padding: 0 22px; border-radius: 7px; font-size: 1.22rem; }
#registration { scroll-margin-top: 16px; }
#registration-title:focus { outline: none; }
@media (min-width: 801px) {
  .registration .registration-grid { grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); }
  .registration-heading h2 { font-size: clamp(3.2rem,4.6vw,5rem); }
}
@media (max-width: 800px) {
  .float-actions { bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: white; box-shadow: 0 -2px 16px #0c2e241a; padding-bottom: env(safe-area-inset-bottom); }
  .float-actions a { width: auto; min-height: 59px; border-radius: 0; box-shadow: none; }
  .float-actions .float-register strong { font-size: 1.1rem; }
  .registration-heading h2 { font-size: clamp(2.9rem,9vw,4rem); }
  .registration-heading .registration-phone { margin-top: 18px; }
  .registration .section-inner { padding-inline: clamp(14px,4vw,30px); }
  .registration .form-wrap { padding-inline: clamp(16px,4vw,28px); }
  .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  #interest-form .site2-phone > div { grid-template-columns: 80px minmax(0,1fr); }
}
@media (max-width: 540px) {
  .header { padding-inline: 12px; gap: 5px; }
  .header-phone { font-size: clamp(1.02rem,4.3vw,1.28rem); padding-inline: .56rem; }
  .header-phone span { font-size: .67rem; }
}
@media (max-width: 360px) { .header-phone span { display: none; } }

/* Avenue offer */
#avenue-offer {
  position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 14px;
  width: min(534px, calc(100vw - 28px)); max-width: none;
  max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain;
  background: #fffcf5; color: #153932; box-shadow: 0 28px 95px #031b17a8; font-family: var(--sans);
}
#avenue-offer::backdrop { background: #071b19bc; }
body:has(#avenue-offer[open]) { overflow: hidden; }
.avenue-visual { position: relative; height: clamp(122px,24vh,205px); background: #596f70; overflow: hidden; }
.avenue-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.avenue-visual figcaption { position: absolute; left: 12px; bottom: 9px; padding: 3px 6px; border-radius: 2px; background: #122e2ddb; color: #fff; font-size: .69rem; }
.avenue-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; padding: 0 0 3px; border: 1px solid #ffffff70; border-radius: 50%; font: 30px/1 Arial,sans-serif; background: #173933ee; color: white; cursor: pointer; }
.avenue-body { padding: clamp(20px,3vw,29px) clamp(18px,4.3vw,36px) 18px; }
.avenue-name { margin-bottom: 12px; color: #58634e; font-size: .89rem; font-weight: 750; letter-spacing: .015em; }
#avenue-title { line-height: 1.12; }
#avenue-title span { display: block; font-size: clamp(23px,5.8vw,33px); font-weight: 650; letter-spacing: -.055em; }
#avenue-title strong { display: block; margin-top: 2px; font-family: var(--serif); font-size: clamp(44px,11.2vw,65px); font-weight: 600; line-height: 1.16; letter-spacing: -.075em; color: #114b40; }
.avenue-terms { margin: 13px 0 0; font-size: .84rem; color: #43594e; line-height: 1.6; }
.avenue-note { margin: 9px 0 13px; color: #42554b; font-size: .82rem; line-height: 1.55; }
.avenue-note summary { cursor: pointer; width: fit-content; padding-block: 6px; text-underline-offset: 3px; text-decoration: underline; }
.avenue-note p { max-width: 46ch; margin-bottom: 6px; }
.avenue-actions { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; }
.avenue-actions a { min-height: 60px; border-radius: 6px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; line-height: 1.2; text-decoration: none; }
.avenue-register { background: #154b40; color: white; gap: 8px; font-size: clamp(.92rem,3.6vw,1.06rem); font-weight: 750; }
.avenue-call { flex-direction: column; color: #183e34; background: #ececdf; gap: 2px; }
.avenue-call small { font-size: .75rem; }
.avenue-call strong { white-space: nowrap; font-size: clamp(1.2rem,5vw,1.45rem); letter-spacing: -.03em; }
.avenue-foot { display: flex; justify-content: space-between; padding: 0 clamp(18px,4.3vw,36px); border-top: 1px solid #dadfd1; }
.avenue-foot button { cursor: pointer; border: 0; min-height: 42px; padding: 0 3px; color: #47584c; background: transparent; font-size: .85rem; }
#avenue-offer :focus-visible { outline: 3px solid #ab751a; outline-offset: 1px; }
@media (max-height: 550px) and (min-width: 560px) { .avenue-visual { height: 90px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
