/* ===== Home ===== */
.hero {
  position: relative;
  height: 41.6vw;
  min-height: 420px;
  background: #333 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 76.25%;
  max-width: none;
  text-align: left;
}

.hero-content h1 {
  font-family: var(--font-b);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: var(--font-m);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 36px;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.biz-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.biz-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.biz-card .pic {
  aspect-ratio: 348 / 231;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.biz-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.biz-card .info {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: #fff;
  transition: margin-top 0.3s ease;
}

.biz-card h3 {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.biz-card ul {
  flex: 1;
}

.biz-card li {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: #000;
  line-height: 1.9;
}

.biz-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 0;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  font-family: var(--font-m);
  font-size: 15px;
  font-weight: 400;
  flex-shrink: 0;
  transition: height 0.3s ease;
}

.biz-consult .btn-ico {
  width: 18px;
  height: 18px;
}

.biz-consult .btn-ico svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.biz-card:hover .info {
  margin-top: -56px;
}

.biz-card:hover .biz-consult {
  height: 56px;
}

.home-team {
  background: var(--bg);
}

.home-team-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  align-items: stretch;
  overflow: hidden;
}

.home-team-box .pic {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 732 / 440;
  background: #eee;
  min-height: 100%;
}

.home-team-box .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-team-copy {
  background: #fff;
  padding: 56px 48px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-team-box h3,
.home-team-box h2 {
  font-family: var(--font-b);
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.home-team-box p {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: #000;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}

.home-team-box p:last-child {
  margin-bottom: 0;
}

.home-about-banner {
  position: relative;
  height: 29.6vw;
  min-height: 420px;
  background: #333 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.home-about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.home-about-banner .container {
  position: relative;
  z-index: 1;
  width: 76.25%;
  max-width: none;
}

.home-about-banner h2 {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #fff;
}

.home-about-banner p {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  opacity: 0.95;
  margin: 0 auto 28px;
  max-width: 980px;
  color: #fff;
}

.home-about-banner .more-link {
  display: inline-block;
  color: #fff;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-m);
  font-size: 14px;
  font-weight: 400;
}

.home-about-banner .more-link:hover {
  background: transparent;
  color: #fff;
  opacity: 0.8;
}

/* ===== Demolition ===== */
.section--overview {
  padding-top: 60px;
}

.overview-title {
  font-family: var(--font-b);
  font-size: 36px;
  font-weight: 400;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0;
}

.overview-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px 0 28px;
  background: var(--red);
}

.overview-row {
  display: grid;
  grid-template-columns: minmax(0, 1.76fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

.overview-copy p {
  font-size: 14px;
  color: #111;
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: left;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}

.overview-row .pic {
  overflow: hidden;
  background: #eee;
  min-height: 220px;
}

.overview-row .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overview-btn {
  margin-top: 20px;
  min-width: 240px;
  min-height: 56px;
  padding: 0 40px;
}

/* ===== Team ===== */
.team-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.team-row h2 {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 400;
  color: #111;
  line-height: 1.3;
  margin-bottom: 40px;
}

.team-row p {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: left;
}

.team-row .pic {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 472 / 606;
  background: #eee;
}

.team-row .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Case detail ===== */
.breadcrumb {
  padding: 28px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--red);
}

.article {
  padding: 20px 0 80px;
}

.article-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.article-head h1 {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-size: 14px;
  color: var(--text-2);
}

.article-body h2 {
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 400;
  margin: 32px 0 14px;
}

.article-body h3 {
  font-family: var(--font-b);
  font-size: 17px;
  font-weight: 400;
  margin: 20px 0 10px;
}

.article-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 14px;
  text-align: justify;
}

.article-body .lead {
  font-family: var(--font-b);
  font-size: 17px;
  font-weight: 400;
}

.article-body ol,
.article-body ul {
  margin: 8px 0 16px 1.2em;
}

.article-body ol {
  list-style: decimal;
}

.article-body ul {
  list-style: disc;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.85;
  color: var(--text);
}

.article-body .quote {
  margin: 0 0 8px;
  padding: 28px 32px;
  background: #f5f5f5;
  border: 0;
  border-left: 4px solid var(--red);
  color: #666;
  font-style: normal;
  font-size: 15px;
  line-height: 1.9;
}

.article-body .quote cite {
  display: block;
  margin-top: 16px;
  text-align: right;
  font-style: normal;
  color: #999;
}

.article-result p {
  margin-bottom: 20px;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.article-gallery img {
  width: 100%;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.article-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-2);
}

.article-nav a:hover {
  color: var(--red);
}

/* ===== About ===== */
.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-block h2 {
  font-family: var(--font-b);
  font-size: 34px;
  font-weight: 400;
  color: #111;
  line-height: 1.3;
  margin-bottom: 15px;
}

.about-block p {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  text-align: left;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-block .pic {
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  aspect-ratio: 688 / 416;
}

.about-block .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.promise-card .pic {
  aspect-ratio: 472 / 226;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
  margin-bottom: 20px;
}

.promise-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promise-card h3 {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.5;
}

.promise-card p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.85;
}

/* ===== Contact ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 28px;
  background: var(--bg);
  border-radius: 4px;
  border: 0;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}

.contact-card-msg {
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-msg:hover,
.contact-card-msg:focus-visible {
  background: #f0f0f0;
  box-shadow: var(--shadow);
  outline: none;
}

.contact-card .ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card .ico img {
  width: 24px;
  height: 24px;
}

.contact-card small {
  display: block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-bottom: 8px;
}

.contact-card strong {
  display: block;
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 400;
  color: #111;
  line-height: 1.4;
}

.contact-map {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #eee;
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Contact message modal ===== */
.msg-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.msg-modal[hidden] {
  display: none !important;
}

.msg-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.msg-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  padding: 36px 32px 32px;
}

.msg-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.msg-modal-close:hover {
  color: var(--text);
}

.msg-modal-dialog h3 {
  font-family: var(--font-b);
  font-size: 22px;
  font-weight: 400;
  color: #111;
  margin-bottom: 24px;
  text-align: center;
}

.msg-form {
  display: grid;
  gap: 16px;
}

.msg-field {
  display: grid;
  gap: 8px;
}

.msg-field > span {
  font-size: 14px;
  color: var(--text-2);
}

.msg-field input,
.msg-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.msg-field input:focus,
.msg-field textarea:focus {
  border-color: var(--red);
}

.msg-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.msg-captcha-row img {
  height: 44px;
  width: auto;
  cursor: pointer;
  border-radius: var(--radius);
}

.msg-submit {
  margin-top: 8px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-m);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.msg-submit:hover {
  background: var(--red-dark);
}

body.msg-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero {
    height: 52vw;
    min-height: 380px;
  }

  .hero-content {
    width: calc(100% - 48px);
    max-width: none;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .biz-grid,
  .promise-grid,
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .biz-card .info {
    margin-top: 0;
    padding-bottom: 0;
  }

  .biz-card .biz-consult {
    height: 48px;
  }

  .biz-card:hover .info {
    margin-top: 0;
  }

  .home-team-box,
  .overview-row,
  .team-row,
  .about-block,
  .about-block--reverse {
    grid-template-columns: 1fr;
  }

  .home-team-box .pic {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .home-team-copy {
    padding: 36px 28px;
  }

  .overview-row {
    gap: 32px;
  }

  .overview-title {
    font-size: 28px;
  }

  .overview-btn {
    min-width: 0;
    width: 100%;
    max-width: 280px;
  }

  .team-row {
    gap: 28px;
  }

  .team-row h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .team-row .pic {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-block {
    gap: 32px;
  }

  .about-block h2 {
    font-size: 28px;
  }

  .article-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .article-head h1 {
    font-size: 26px;
  }

  .article-meta {
    gap: 16px 28px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .home-about-banner {
    height: auto;
    min-height: 0;
    padding: 72px 0;
  }

  .home-about-banner .container {
    width: calc(100% - 48px);
  }

  .home-about-banner h2 {
    font-size: 26px;
  }

  .home-about-banner p {
    font-size: 14px;
    line-height: 1.85;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 360px;
    padding: 72px 0 64px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .home-team-copy {
    padding: 28px 20px;
  }

  .home-team-box h3,
  .home-team-box h2 {
    font-size: 20px;
  }

  .article {
    padding: 12px 0 56px;
  }

  .article-body .quote {
    padding: 20px 18px;
  }

  .contact-card .ico {
    width: 52px;
    height: 52px;
  }

  .contact-card strong {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .biz-grid,
  .promise-grid,
  .contact-cards,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 320px;
    padding: 56px 0 48px;
  }

  .hero-content h1 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .home-about-banner {
    padding: 56px 0;
  }

  .home-about-banner .container {
    width: calc(100% - 32px);
  }

  .home-about-banner h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .overview-title,
  .team-row h2,
  .about-block h2 {
    font-size: 24px;
  }

  .article-head h1 {
    font-size: 22px;
  }

  .article-meta {
    gap: 10px 16px;
    font-size: 13px;
  }

  .contact-card {
    padding: 22px 16px;
    gap: 14px;
  }
}
