/* SpaceTV — regional installation detail pages */
.area-page {
    --area-blue: #0036b0;
    --area-blue-dark: #002b8f;
    --area-navy: #0f265c;
    --area-ink: #1f2933;
    --area-body: #3a4757;
    --area-muted: #5b6676;
    --area-line: #e3e8f2;
    --area-tint: #f4f7ff;
    --area-tint-deep: #eef3fd;
    color: var(--area-ink);
}
.navbar.hidden-xs { margin-bottom: 0; }
.container-fluid.mt40.mb25.hidden-xs { margin-top: 0 !important; }

/* Legacy floating inquiry buttons are replaced by the in-page CTA hierarchy */
#question-pc, #question-mobile { display: none !important; }

.area-page h1, .area-page h2, .area-page h3,
.area-page p, .area-page li, .area-page strong { word-break: keep-all; overflow-wrap: break-word; }
.area-page a { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.area-page a:focus-visible,
.area-page button:focus-visible {
    outline: 3px solid var(--area-blue) !important;
    outline-offset: 2px;
    border-radius: 8px;
}
.area-page ul, .area-page ol { list-style: none; margin: 0; padding: 0; }
.area-page .container:before, .area-page .container:after { display: none; }

/* Buttons — legacy Bootstrap 3 shell, SpaceTV blue */
.area-page .btn {
    padding: 13px 24px;
    border-radius: 10px;
    border-width: 1px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
}
.area-page .btn-primary {
    border-color: var(--area-blue);
    background: var(--area-blue);
    box-shadow: 0 8px 18px rgba(0, 54, 176, .22);
}
.area-page .btn-primary:hover, .area-page .btn-primary:focus, .area-page .btn-primary:active {
    border-color: var(--area-blue-dark);
    background: var(--area-blue-dark);
}
.area-page .btn-default {
    border-color: #c3d1ee;
    background: #fff;
    color: var(--area-blue);
}
.area-page .btn-default:hover, .area-page .btn-default:focus, .area-page .btn-default:active {
    border-color: var(--area-blue);
    background: var(--area-tint);
    color: var(--area-blue);
}
.area-page .btn-block + .btn-block { margin-top: 8px; }

/* ---------- Hero ---------- */
.area-hero {
    padding: 40px 0 56px;
    background: linear-gradient(180deg, #eaf1ff 0%, #f8fbff 100%);
    border-bottom: 1px solid #e2e9f8;
}
.area-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}
.area-hero__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.area-hero__body { min-width: 0; }

.area-breadcrumb { margin-bottom: 22px; font-size: 13px; color: #7a8699; }
.area-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.area-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.area-breadcrumb li + li:before { content: "›"; color: #b7c0d0; }
.area-breadcrumb a { color: inherit; }
.area-breadcrumb a:hover { color: var(--area-blue); text-decoration: none; }
.area-breadcrumb [aria-current="page"] { color: var(--area-navy); font-weight: 600; }

.area-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(0, 54, 176, .08);
    color: var(--area-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}
.area-eyebrow--muted { background: #eef1f6; color: var(--area-muted); }
.area-eyebrow--invert { background: rgba(255, 255, 255, .16); color: #dbe6ff; }

.area-hero h1 {
    margin: 0 0 18px;
    color: var(--area-navy);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
}
.area-hero__lead {
    margin: 0 0 22px;
    max-width: 34em;
    color: var(--area-muted);
    font-size: 17px;
    line-height: 1.75;
}
.area-page .area-hero__points { display: grid; gap: 9px; margin-bottom: 28px; }
.area-hero__points li {
    position: relative;
    padding-left: 27px;
    color: #2c3a4d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}
.area-hero__points li:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--area-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.area-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.area-actions--center { justify-content: center; }
.area-actions .btn-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 10px 26px;
}
.area-actions__label { font-size: 15px; }
.area-actions__sub { font-size: 13px; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.area-actions__link {
    color: var(--area-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.area-actions__link:hover, .area-actions__link:focus { color: var(--area-blue-dark); }

.area-hero__media { margin: 0; min-width: 0; }
.area-hero__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 420px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 38, 92, .18);
}
.area-hero__media figcaption {
    margin-top: 12px;
    color: #7a8699;
    font-size: 13px;
    text-align: center;
}

/* ---------- Bands ---------- */
.area-band { padding: 60px 0; }
.area-band--tint { background: var(--area-tint); }
#area-gallery { background: var(--area-tint-deep); }
.area-band--services { border-bottom: 1px solid var(--area-line); }
.area-band__head { margin-bottom: 28px; }
.area-band__head h2 {
    margin: 0 0 10px;
    color: var(--area-navy);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
}
.area-band__head p { margin: 0; max-width: 44em; color: var(--area-muted); font-size: 16px; line-height: 1.7; }
.area-band__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.area-band__more {
    color: var(--area-blue);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.area-band__more:after { content: " ›"; }
.area-band__more:hover, .area-band__more:focus { color: var(--area-blue-dark); text-decoration: none; }

/* Service scope */
.area-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area-service {
    padding: 24px 22px 26px;
    border: 1px solid var(--area-line);
    border-radius: 16px;
    background: #fff;
}
.area-service__no {
    display: block;
    margin-bottom: 12px;
    color: var(--area-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}
.area-service h3 {
    margin: 0 0 8px;
    color: var(--area-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}
.area-service p { margin: 0; color: var(--area-muted); font-size: 15px; line-height: 1.7; }

/* ---------- Article + sticky consult card ---------- */
.area-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
    padding-top: 60px;
    padding-bottom: 64px;
}
.area-content {
    min-width: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--area-body);
}
.area-content > :first-child { margin-top: 0; }
.area-content > :last-child { margin-bottom: 0; }
.area-content h2 {
    position: relative;
    margin: 48px 0 16px;
    padding-top: 16px;
    color: var(--area-navy);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}
.area-content h2:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--area-blue);
}
.area-content h3 { margin: 32px 0 10px; color: #17325f; font-size: 19px; font-weight: 700; line-height: 1.5; }
.area-content p { margin: 0 0 18px; }
.area-content ul, .area-content ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.area-content ol { list-style: decimal; }
.area-content li { margin-bottom: 6px; }
.area-content a { color: var(--area-blue); text-decoration: underline; text-underline-offset: 3px; }
.area-content a:hover { color: var(--area-blue-dark); }
.area-content strong, .area-content b { font-weight: 700; color: #1b2836; }
.area-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 24px auto;
    border-radius: 14px;
}
.area-content table, .area-content iframe, .area-content video { max-width: 100% !important; }
.area-content table { width: 100%; margin-bottom: 18px; border-collapse: collapse; font-size: 15px; }
.area-content th, .area-content td { padding: 11px 13px; border: 1px solid var(--area-line); }
.area-content th { background: var(--area-tint); color: var(--area-navy); }
.area-content hr { margin: 36px 0; border: 0; border-top: 1px solid var(--area-line); }
.area-content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--area-blue);
    color: var(--area-muted);
    font-size: 16px;
}

.area-aside { min-width: 0; }
.area-aside__card {
    position: sticky;
    top: 24px;
    padding: 26px 24px 24px;
    border: 1px solid #d8e2f6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 38, 92, .08);
}
.area-aside__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--area-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}
.area-aside__card h2 {
    margin: 0 0 16px;
    color: var(--area-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.01em;
}
.area-aside__tel {
    display: block;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--area-tint);
    color: var(--area-navy);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-align: center;
}
.area-aside__tel:hover, .area-aside__tel:focus { background: #e6edff; color: var(--area-blue); text-decoration: none; }
.area-aside__note { margin: 0 0 10px; color: var(--area-ink); font-size: 14px; font-weight: 700; }
.area-page .area-aside__list { margin-bottom: 20px; display: grid; gap: 7px; }
.area-aside__list li {
    position: relative;
    padding-left: 16px;
    color: var(--area-muted);
    font-size: 14px;
    line-height: 1.6;
}
.area-aside__list li:before {
    content: "";
    position: absolute;
    top: 9px;
    left: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9fb4e2;
}

/* ---------- Gallery cards ---------- */
.area-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.area-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--area-line);
    border-radius: 16px;
    background: #fff;
    color: var(--area-ink);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.area-card:hover, .area-card:focus {
    border-color: #b9caee;
    color: var(--area-ink);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 38, 92, .14);
}
.area-card__media { display: block; background: var(--area-tint); }
.area-card__media img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease;
}
.area-card:hover .area-card__media img { transform: scale(1.03); }
.area-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.area-card__body strong { flex: 1 1 auto; font-size: 15px; font-weight: 600; line-height: 1.55; }
.area-card__more { color: var(--area-blue); font-size: 13px; font-weight: 700; }
.area-card__more:after { content: " ›"; }

/* ---------- Related regions ---------- */
.area-link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.area-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    padding: 15px 18px;
    border: 1px solid #d9e2f5;
    border-radius: 12px;
    background: #fff;
    color: #16408f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}
.area-link-list a:after { content: "›"; color: #9fb4e2; font-size: 17px; }
.area-link-list a:hover, .area-link-list a:focus {
    border-color: var(--area-blue);
    color: var(--area-blue);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 38, 92, .08);
}
.area-link-list a:hover:after, .area-link-list a:focus:after { color: var(--area-blue); }

/* ---------- Contact band ---------- */
.area-contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f265c 0%, #123a94 100%);
    color: #fff;
}
.area-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 40px;
    align-items: center;
}
.area-contact__text h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
}
.area-contact__text p { margin: 0; max-width: 34em; color: #c9d8ff; font-size: 16px; line-height: 1.75; }
.area-contact__actions { display: grid; gap: 10px; }
.area-contact__tel {
    display: block;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-align: center;
}
.area-contact__tel span { display: block; color: #b9caf5; font-size: 13px; font-weight: 600; }
.area-contact__tel strong { display: block; margin-top: 2px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.area-contact__tel:hover, .area-contact__tel:focus { background: rgba(255, 255, 255, .18); color: #fff; text-decoration: none; }
.area-contact .btn { display: block; width: 100%; }
.area-contact .btn-primary { border-color: #fff; background: #fff; color: var(--area-blue); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.area-contact .btn-primary:hover, .area-contact .btn-primary:focus, .area-contact .btn-primary:active {
    border-color: #fff;
    background: #e8efff;
    color: var(--area-blue-dark);
}
.area-contact .btn-default { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.area-contact .btn-default:hover, .area-contact .btn-default:focus, .area-contact .btn-default:active {
    border-color: #fff;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.area-contact a:focus-visible, .area-contact button:focus-visible { outline-color: #fff !important; }

/* ---------- 404 ---------- */
.area-notfound { padding: 88px 0 96px; background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%); }
.area-notfound__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.area-notfound h1 { margin: 0 0 14px; color: var(--area-navy); font-size: 30px; font-weight: 800; line-height: 1.35; }
.area-notfound p { margin: 0 0 26px; color: var(--area-muted); font-size: 16px; line-height: 1.75; }
.area-page .area-notfound__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--area-line);
}
.area-notfound__links a { color: var(--area-muted); font-size: 14px; font-weight: 600; }
.area-notfound__links a:hover, .area-notfound__links a:focus { color: var(--area-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .area-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 991px) {
    .area-hero { padding: 32px 0 44px; }
    .area-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .area-hero h1 { font-size: 34px; }
    .area-hero__image { max-height: 340px; }
    .area-band { padding: 48px 0; }
    .area-band__head h2 { font-size: 25px; }
    .area-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .area-main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 48px; }
    .area-content { max-width: none; }
    .area-aside__card { position: static; }
    .area-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .area-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .area-contact__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .area-contact__actions { max-width: 420px; }
}

@media (max-width: 767px) {
    .area-page .btn { padding: 13px 18px; font-size: 15px; }
    .area-hero { padding: 20px 0 32px; }
    .area-hero__grid { gap: 24px; }
    .area-breadcrumb { margin-bottom: 14px; font-size: 12px; }
    .area-eyebrow { margin-bottom: 10px; padding: 5px 11px; font-size: 12px; }
    .area-hero h1 { font-size: 27px; line-height: 1.3; }
    .area-hero__lead { margin-bottom: 18px; font-size: 15px; line-height: 1.7; }
    .area-hero__points { gap: 7px; margin-bottom: 22px; }
    .area-hero__points li { padding-left: 24px; font-size: 14px; }
    .area-hero__points li:before { top: 4px; width: 16px; height: 16px; }
    .area-actions { gap: 8px; }
    .area-actions .btn { flex: 1 1 100%; text-align: center; }
    .area-actions .btn-primary { padding: 11px 18px; }
    .area-actions__link { flex: 1 1 100%; padding-top: 4px; text-align: center; }
    .area-hero__image { aspect-ratio: 3 / 2; max-height: 240px; border-radius: 14px; box-shadow: 0 12px 26px rgba(15, 38, 92, .16); }
    .area-hero__media figcaption { margin-top: 8px; font-size: 12px; }
    .area-band { padding: 36px 0; }
    .area-band__head { margin-bottom: 20px; }
    .area-band__head h2 { font-size: 21px; }
    .area-band__head p { font-size: 15px; }
    .area-band__head--row { align-items: flex-start; }
    .area-service-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .area-service { padding: 18px 18px 20px; border-radius: 14px; }
    .area-service__no { margin-bottom: 8px; }
    .area-service h3 { font-size: 17px; }
    .area-service p { font-size: 14.5px; }
    .area-main { gap: 30px; padding-top: 34px; padding-bottom: 38px; }
    .area-content { font-size: 16px; line-height: 1.8; }
    .area-content h2 { margin-top: 34px; padding-top: 13px; font-size: 21px; }
    .area-content h3 { margin-top: 24px; font-size: 17.5px; }
    .area-content img { margin: 18px auto; border-radius: 10px; }
    .area-aside__card { padding: 20px 18px; border-radius: 14px; }
    .area-aside__card h2 { font-size: 18px; }
    .area-aside__tel { font-size: 23px; }
    .area-card-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .area-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); border-radius: 12px; }
    .area-card:hover, .area-card:focus { transform: none; }
    .area-card:hover .area-card__media img { transform: none; }
    .area-card__media { height: 100%; min-height: 100px; }
    .area-card__media img { height: 100%; min-height: 100px; }
    .area-card__body { gap: 6px; padding: 12px 14px; }
    .area-card__body strong { font-size: 14px; line-height: 1.5; }
    .area-card__more { font-size: 12px; }
    .area-link-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .area-link-list a { padding: 13px 15px; font-size: 14px; }
    .area-contact { padding: 36px 0 44px; }
    .area-contact__inner { gap: 22px; }
    .area-contact__text h2 { font-size: 22px; }
    .area-contact__text p { font-size: 15px; }
    .area-contact__actions { max-width: none; }
    .area-contact__tel strong { font-size: 26px; }
    .area-notfound { padding: 48px 0 60px; }
    .area-notfound h1 { font-size: 23px; }
    .area-notfound p { font-size: 15px; }
    .area-notfound .area-actions .btn { flex: 1 1 100%; }
    .area-notfound__links { gap: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .area-page a, .area-card, .area-card__media img { transition: none; }
    .area-card:hover, .area-card:focus { transform: none; }
    .area-card:hover .area-card__media img { transform: none; }
    .area-page { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
