:root {
  --blue: #168dd2;
  --blue-dark: #0f5f91;
  --green: #37b46b;
  --green-dark: #25834d;
  --ink: #182936;
  --muted: #5d6f7b;
  --soft: #eff9fb;
  --soft-green: #eefaf3;
  --line: #dbe9ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 69, 92, .13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(55, 180, 107, .12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; }
.skip-link:focus { left: 10px; background: var(--ink); color: #fff; padding: 10px; z-index: 5; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 116px; gap: 24px; transition: min-height .22s ease; }
.brand img { width: 200px; height: auto; transition: width .22s ease; }
.site-header.is-scrolled .header-grid { min-height: 68px; }
.site-header.is-scrolled .brand img { width: 100px; }
.site-nav { justify-self: end; display: flex; align-items: center; gap: 24px; font-weight: 700; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--blue-dark); }
.nav-toggle { display: none; }

.section { padding: 86px 0; }
.hero { padding-top: 66px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) 390px; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--blue-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.1rem); line-height: .96; letter-spacing: -.06em; max-width: 850px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-text { font-size: 1.14rem; max-width: 720px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 0; cursor: pointer; }
.primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; box-shadow: 0 12px 28px rgba(22, 141, 210, .25); }
.primary:hover { transform: translateY(-1px); }
.secondary { background: var(--white); border: 1px solid var(--line); color: var(--blue-dark); }
.secondary:hover { border-color: rgba(22, 141, 210, .45); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.trust-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; }
.hero-visual { position: relative; }
.hero-card { position: relative; overflow: hidden; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card { background: linear-gradient(160deg, #ffffff 0%, #ffffff 62%, #eefaf3 100%); }
.hero-card::after { content: ""; position: absolute; right: -45px; bottom: -45px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(55,180,107,.2), transparent 68%); }
.temperature { display: block; font-size: 4.4rem; line-height: 1; font-weight: 900; color: var(--blue); letter-spacing: -.08em; margin-bottom: 18px; }
.text-link { color: var(--blue-dark); font-weight: 800; }
.mini-facts { display: grid; gap: 10px; margin-top: 18px; }
.mini-facts span { width: fit-content; background: var(--soft); border: 1px solid var(--line); color: var(--blue-dark); font-weight: 800; border-radius: 999px; padding: 8px 12px; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.wide-heading { max-width: 820px; }
.section-heading p { color: var(--muted); }
.cards { display: grid; gap: 20px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 40px rgba(22, 69, 92, .07); }
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--soft); border-radius: 18px; font-size: 1.5rem; margin-bottom: 20px; }
.card p, .process p, .contact-section p, .split-section p, .notice-card p { color: var(--muted); }
.image-cards { align-items: stretch; }
.service-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.card-photo { width: 100%; height: 210px; object-fit: cover; border-bottom: 1px solid var(--line); }
.card-body { padding: 24px; }
.card-body .icon { margin-bottom: 16px; }

.projects-section {
  background:
    radial-gradient(circle at right top, rgba(22, 141, 210, .11), transparent 28rem),
    linear-gradient(180deg, #ffffff, #f7fcfe);
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 12px 40px rgba(22, 69, 92, .07); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); }
.gallery-grid figcaption { padding: 12px 14px 14px; font-size: .94rem; color: var(--muted); font-weight: 800; }
.gallery-note { margin: 22px 0 0; color: var(--muted); }

.split-section { background: #fff; }
.split-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .6fr); gap: 42px; align-items: center; }
.brand-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brand-panel span { min-height: 88px; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--soft), var(--soft-green)); border: 1px solid var(--line); border-radius: 22px; padding: 18px; font-weight: 900; color: var(--blue-dark); box-shadow: 0 12px 40px rgba(22, 69, 92, .07); }

.process { background: var(--soft); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 20px 74px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 19px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.steps span { display: block; color: var(--muted); }

.assurance { background: linear-gradient(180deg, #ffffff, #f6fcfd); }
.compact-cards { margin-bottom: 20px; }
.stat-card { min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.stat-card strong { display: block; font-size: clamp(1.75rem, 3vw, 2.55rem); letter-spacing: -.04em; color: var(--blue-dark); line-height: 1; }
.stat-card span { margin-top: 10px; color: var(--muted); font-weight: 800; }
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.notice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 40px rgba(22, 69, 92, .06); }

.contact-grid { display: grid; grid-template-columns: .78fr 1fr; gap: 42px; align-items: start; }
.contact-lines { display: grid; gap: 10px; font-weight: 800; color: var(--blue-dark); }
.contact-lines a { width: fit-content; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fbfeff; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(22,141,210,.16); border-color: var(--blue); }

input[type="file"] { padding: 12px; background: #ffffff; }
.form-hint { display: block; color: var(--muted); font-weight: 600; line-height: 1.45; }
.form-status { min-height: 1.5em; font-size: .94rem; color: var(--blue-dark); font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .four, .notice-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
}

@media (max-width: 820px) {
  .header-grid { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand img { width: 100px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 1.4rem; }
  .site-nav { display: none; grid-column: 1 / -1; justify-self: stretch; padding: 0 0 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav.is-open { display: flex; }
  .process-grid, .contact-grid, .split-grid, .three, .four, .notice-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding-top: 52px; }
  .brand-panel { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .card-photo { height: 240px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: clamp(2.25rem, 13vw, 3.6rem); }
  .hero-card { padding: 24px; }
  .temperature { font-size: 3.6rem; }
  .gallery-grid { gap: 12px; }
  .gallery-grid figcaption { font-size: .86rem; padding: 10px 11px; }
}


.planning-list { display: grid; gap: 14px; margin: 16px 0 0; }
.planning-list div { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 10px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, #ffffff, var(--soft)); }
.planning-list dt { font-weight: 900; color: var(--ink); }
.planning-list dd { margin: 0; color: var(--blue-dark); font-weight: 900; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-files { color: var(--blue-dark); font-weight: 800; }
.check-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 700; color: var(--muted); }
.check-row input { width: 18px; height: 18px; margin-top: .25rem; }
.contact-form.is-sending { opacity: .72; pointer-events: none; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-error { color: #a33; }

@media (min-width: 821px) {
  .site-header:not(.is-scrolled) .site-nav { padding-top: 6px; }
}

@media (max-width: 820px) {
  .header-grid { min-height: 72px; }
  .site-header.is-scrolled .header-grid { min-height: 72px; }
}

@media (max-width: 560px) {
  .planning-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* Mobile polish + stable sticky header ------------------------------- */
html { scroll-padding-top: 92px; }
section[id] { scroll-margin-top: 92px; }

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  section[id] { scroll-margin-top: 76px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.52; }
  .container { width: min(100% - 32px, 1120px); }

  .site-header { backdrop-filter: blur(12px); }
  .header-grid,
  .site-header.is-scrolled .header-grid { min-height: 66px; gap: 12px; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 96px; }
  .nav-toggle { width: 42px; height: 42px; border-radius: 14px; font-size: 1.22rem; }
  .site-nav { gap: 8px; padding: 4px 0 14px; }
  .site-nav a { width: 100%; padding: 9px 12px; border-radius: 12px; background: var(--soft); }

  .section { padding: 42px 0; }
  .hero { padding-top: 40px; }
  .hero-grid { gap: 22px; }
  .eyebrow { font-size: .7rem; letter-spacing: .12em; margin-bottom: 8px; }

  h1 { font-size: clamp(2rem, 10.5vw, 2.65rem); line-height: 1.03; letter-spacing: -.055em; margin-bottom: 18px; }
  h2 { font-size: clamp(1.72rem, 8.7vw, 2.2rem); line-height: 1.06; letter-spacing: -.045em; margin-bottom: 12px; }
  h3 { font-size: 1.08rem; margin-bottom: 8px; }
  .hero-text { font-size: 1rem; line-height: 1.55; }

  .hero-actions { margin: 20px 0 16px; gap: 10px; }
  .button { min-height: 42px; padding: 0 17px; font-size: .94rem; }
  .hero-actions .button.primary { flex: 1 1 100%; max-width: 260px; }
  .hero-actions .button.secondary { min-height: 40px; }

  .trust-list { gap: 8px; }
  .trust-list li { padding: 6px 10px; font-size: .9rem; line-height: 1.25; }

  .hero-card { padding: 20px; border-radius: 20px; box-shadow: 0 16px 42px rgba(22, 69, 92, .10); }
  .temperature { font-size: 3rem; margin-bottom: 10px; }
  .hero-card h2 { font-size: 1.8rem; }
  .hero-card p { font-size: .95rem; line-height: 1.5; }
  .mini-facts { gap: 7px; margin-top: 14px; }
  .mini-facts span { padding: 7px 10px; font-size: .86rem; line-height: 1.22; }

  .section-heading { margin-bottom: 20px; }
  .section-heading p { margin-bottom: 0; }
  .cards { gap: 14px; }
  .card { padding: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(22, 69, 92, .06); }
  .card p { font-size: .95rem; line-height: 1.55; }
  .icon { width: 42px; height: 42px; border-radius: 14px; font-size: 1.15rem; margin-bottom: 13px; }

  .projects-section { background: linear-gradient(180deg, #f7fcfe, #eef9fd); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-grid figure { border-radius: 16px; }
  .gallery-grid img { aspect-ratio: 1 / 1; }
  .gallery-grid figcaption { font-size: .78rem; line-height: 1.35; padding: 9px 10px; }

  .split-grid { gap: 20px; }
  .brand-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-panel span { min-height: 56px; padding: 10px; border-radius: 16px; font-size: .8rem; line-height: 1.2; }

  .process-grid { gap: 22px; }
  .steps { gap: 12px; }
  .steps li { padding: 16px 16px 16px 58px; border-radius: 17px; }
  .steps li::before { left: 16px; top: 17px; width: 28px; height: 28px; font-size: .9rem; }
  .steps span { font-size: .95rem; line-height: 1.5; }

  .compact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { min-height: 98px; padding: 18px; }
  .stat-card strong { font-size: clamp(1.35rem, 7vw, 1.9rem); line-height: 1.05; }
  .stat-card span { margin-top: 7px; font-size: .88rem; line-height: 1.25; }

  .notice-grid { gap: 12px; }
  .notice-card { padding: 20px; border-radius: 20px; }
  .planning-list { gap: 9px; margin-top: 12px; }
  .planning-list div { padding: 10px 12px; border-radius: 14px; }
  .planning-list dt, .planning-list dd { font-size: .94rem; }

  .contact-grid { gap: 22px; }
  .contact-lines { gap: 8px; font-size: .95rem; }
  .contact-form { padding: 20px; border-radius: 20px; gap: 13px; box-shadow: 0 16px 42px rgba(22, 69, 92, .10); }
  label { gap: 6px; font-size: .94rem; }
  input, textarea, select { border-radius: 13px; padding: 11px 12px; font-size: .95rem; }
  textarea { min-height: 112px; }
  input[type="file"] { min-width: 0; max-width: 100%; font-size: .82rem; padding: 10px; }
  .form-hint { font-size: .82rem; line-height: 1.4; }
  .check-row { grid-template-columns: 18px 1fr; gap: 9px; font-size: .9rem; line-height: 1.45; }
  .check-row input { width: 16px; height: 16px; }

  .site-footer { padding: 22px 0; font-size: .9rem; }
  .footer-grid { gap: 12px; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 26px, 1120px); }
  h1 { font-size: clamp(1.9rem, 10vw, 2.35rem); }
  h2 { font-size: clamp(1.58rem, 8vw, 2rem); }
  .compact-cards { grid-template-columns: 1fr; }
  .brand-panel span { font-size: .78rem; }
}
