:root {
  color-scheme: light;
  --ink: #101216;
  --dark-blue: #10274d;
  --blue: #1454a5;
  --light: #f3f6fa;
  --muted: #455264;
  --line: #dce3ed;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2b74dc; outline-offset: 4px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.utility { background: #101216; color: #e7eef7; font-size: .82rem; }
.utility > div, .header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.utility > div { min-height: 39px; }
.utility a, nav a, .footer a { text-decoration: none; }
.utility a:hover, nav a:hover, .footer a:hover { text-decoration: underline; }
.header { min-height: 85px; padding-block: 12px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; line-height: 1.15; white-space: nowrap; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup small { margin-top: 4px; font-weight: 750; }
.heat { color: #bd192e; }
.cool { color: var(--blue); }
.logo { width: 58px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 650; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .7rem 1.15rem; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 750; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--dark-blue); }
.hero { background: #101216; color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; min-height: 458px; gap: 36px; align-items: stretch; }
.hero-content { padding-block: clamp(44px, 7vw, 86px); align-self: center; }
.hero picture { position: relative; overflow: hidden; }
.hero img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.label { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; }
.hero .label { color: #c0dcff; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.28rem; letter-spacing: -.02em; }
.lead { max-width: 35ch; color: #dce6f3; margin-top: 18px; font-size: 1.13rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 21px; margin-top: 25px; }
.brick { background: #bd192e; color: #fff; }
.brick:hover { background: #991426; }
.hero-link { font-weight: 700; text-underline-offset: 5px; }
.section { padding-block: clamp(44px, 6.8vw, 82px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px 30px; margin-bottom: 26px; }
.section-heading > p { max-width: 42ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.service > img { width: 100%; aspect-ratio: 1.7; object-fit: cover; object-position: center 45%; }
.service > div { padding: 20px; }
.service p, .muted { color: var(--muted); margin-top: 10px; }
.service ul { margin: 14px 0 0; padding-left: 18px; font-size: .92rem; }
.service li + li { margin-top: 4px; }
.work { background: var(--light); }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 8px; }
.gallery img { width: 100%; aspect-ratio: 1.65; object-fit: cover; transition: transform .2s ease; }
.gallery a:hover img { transform: scale(1.035); }
.gallery a span { position: absolute; display: grid; place-items: center; bottom: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.2rem; }
.gallery figcaption { margin-top: 8px; font-weight: 750; }
.text-link { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 750; text-underline-offset: 4px; }
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.brands h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.brands ul { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin: 0; padding: 0; list-style: none; }
.brands img { width: clamp(74px, 13vw, 140px); height: 45px; object-fit: contain; }
.reviews { background: var(--light); }
.proof { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; }
.quotes { display: grid; gap: 13px; }
.quotes figure { padding: 22px; background: #fff; border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; }
blockquote { font-size: 1.22rem; font-weight: 650; line-height: 1.4; }
.quotes figcaption { margin-top: 10px; font-size: .87rem; font-weight: 700; }
.quotes figcaption span { color: var(--muted); font-weight: 400; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact p { max-width: 58ch; }
footer { background: #101216; color: #e7eef7; }
.footer { padding-block: 22px; flex-wrap: wrap; font-size: .9rem; }
.footer div { display: flex; gap: 18px; }
dialog { width: min(850px, calc(100% - 30px)); max-height: 90vh; padding: 16px; border: 0; border-radius: 10px; color: var(--ink); }
dialog::backdrop { background: #080d16df; }
dialog button { display: block; margin-left: auto; margin-bottom: 10px; padding: 8px 12px; font: inherit; }
dialog img { width: 100%; height: min(65vh, 630px); object-fit: contain; background: var(--light); }
dialog p { margin-top: 10px; font-weight: 750; }
@media (max-width: 850px) {
  .header { flex-wrap: wrap; }
  .header nav { order: 3; width: 100%; padding-bottom: 4px; }
  .service-grid { gap: 12px; }
  .service > div { padding: 14px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .utility > div { flex-wrap: wrap; padding-block: 6px; gap: 4px 12px; }
  .logo { width: 44px; }
  .brand-lockup { font-size: .9rem; }
  .header-call { font-size: .84rem; }
  nav { gap: 8px 16px; font-size: .91rem; }
  .hero-grid, .proof { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding-block: 40px 26px; }
  .hero picture { min-height: 205px; }
  .section-heading, .contact { display: grid; justify-items: start; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .proof { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
.advantages { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); }
.advantage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.advantage-grid article { padding-top: 15px; border-top: 2px solid var(--line); }
.advantage-grid p { margin-top: 8px; color: var(--muted); }
@media (max-width: 640px) { .advantage-grid { grid-template-columns: 1fr; gap: 16px; } }

.hero { border-bottom: 4px solid var(--blue); }
.brands img.mitsubishi { width: clamp(112px, 16vw, 170px); height: auto; border-radius: 5px; }
.company-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 28px; }
.company-profile img { width: 100%; height: auto; border-radius: 8px; }
.company-profile h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
@media (max-width: 640px) {
  .company-profile { grid-template-columns: 1fr; }
}

html { scroll-padding-top: 108px; }
body > .header { min-height: 103px; }
.brand-lockup { gap: 12px; }
.brand-lockup strong { font-size: clamp(1.16rem, 2.1vw, 1.6rem); letter-spacing: -.035em; }
.brand-lockup small { font-size: .9rem; letter-spacing: .025em; }
.brand-lockup .logo { width: clamp(68px, 7vw, 88px); }
.header nav { column-gap: clamp(12px, 2vw, 25px); }
.hero { background: linear-gradient(110deg, #0d121a, #152b49 76%, #1c3960); }
.hero picture { border-radius: 0 0 0 24px; }
.section { padding-block: clamp(52px, 7vw, 94px); }
.service { box-shadow: 0 8px 25px #10274d0b; }
.button { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { box-shadow: 0 6px 18px #10121626; transform: translateY(-2px); }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.gallery-group { min-width: 0; border-radius: 14px; background: #fff; padding: 14px; box-shadow: 0 8px 28px #10274d0b; }
.gallery-group h3 { margin: 4px 2px 10px; }
.gallery-sources { display: flex; flex-wrap: wrap; gap: 0 22px; }
.photo-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 10px; }
.photo-controls p { text-align: center; margin-top: 0; font-size: .9rem; }
.photo-controls button { margin: 0; }
.photo-controls button[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-content > *, .hero picture img, .reveal-on-scroll {
    animation: star-enter .72s cubic-bezier(.2,.65,.25,1) both;
  }
  .hero-content h1 { animation-delay: .1s; }
  .hero-content .lead { animation-delay: .2s; }
  .hero-content .actions { animation-delay: .3s; }
  .hero picture img { animation-name: hero-image-enter; animation-duration: 1.05s; }
  .reveal-on-scroll { animation-duration: .65s; animation-fill-mode: backwards; }
  .service:nth-child(2), .gallery-group:nth-child(even), .quotes figure:nth-child(2) { animation-delay: .09s; }
  .service:nth-child(3) { animation-delay: .16s; }
  .brand-lockup img, .service, .gallery a span { transition: transform .25s ease; }
  .brand-lockup:hover img { transform: rotate(-6deg) scale(1.08); }
  .service:hover { transform: translateY(-4px); }
  .gallery a:hover span, .gallery a:focus-visible span { transform: scale(1.12); }
  dialog[open] { animation: star-enter .28s ease-out both; }
  dialog[open]::backdrop { animation: photo-fade .28s ease-out both; }
  .photo-change { animation: photo-fade .24s ease-out both; }
  @keyframes star-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes hero-image-enter {
    from { opacity: .5; transform: scale(1.07); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes photo-fade {
    from { opacity: .35; }
    to { opacity: 1; }
  }
}
@media (max-width: 640px) {
  .header { column-gap: 10px; }
  .brand-lockup .logo { width: 55px; }
  .brand-lockup { gap: 7px; }
  .brand-lockup strong { font-size: 1rem; }
  .brand-lockup small { font-size: .74rem; }
  .header-call { padding-inline: .6rem; font-size: .77rem; }
  .hero picture { border-radius: 16px 16px 0 0; }
  .gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .gallery .gallery-group { grid-column: auto; }
}
@media (max-width: 365px) {
  .header-call { order: 3; }
  .header nav { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
