/* Inner pages share home.css tokens, header, footer and button system. */
.inner-page .container {
  width: min(1240px, calc(100% - 80px));
  margin: auto;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 15px;
}
.breadcrumbs a {
  text-decoration: none;
}
.site-header nav a[aria-current="page"] {
  border-bottom: 2px solid var(--orange);
}
.page-content {
  padding-top: 38px;
  padding-bottom: 65px;
}
.page-content h1 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 500;
  margin: 0 0 26px;
}
.page-content .section-subtitle {
  max-width: 790px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}
.page-content > .container > p {
  max-width: 850px;
}
.catalog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}
.catalog-jump a {
  text-decoration: none;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 18px;
}
.catalog-jump a:hover {
  background: var(--ink);
  color: white;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.catalog-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}
.catalog-item:target {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.catalog-item > img {
  width: 100%;
  height: 340px;
}
.catalog-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.catalog-content h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
.catalog-content p {
  font-size: 16px;
  color: var(--muted);
  margin: 16px 0 24px;
}
.catalog-content .text-link {
  align-self: flex-start;
  margin-top: auto;
}
.inner-cta {
  border-top: 1px solid var(--line);
  padding-top: 45px;
  padding-bottom: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.inner-cta h2 {
  font-size: 32px;
}
.inner-cta p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 18px;
}
.inner-cta .button {
  flex-shrink: 0;
}
.inner-prices {
  margin-top: 35px;
}
.price-terms {
  margin-top: 38px;
  padding-top: 25px;
}
.work-section {
  margin-top: 45px;
  scroll-margin-top: 110px;
}
.work-section h2 {
  font-size: 30px;
}
.work-section > p {
  max-width: 850px;
  color: var(--muted);
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 24px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 6px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.carousel-track img {
  flex: 0 0 42%;
  width: 42%;
  height: 400px;
  scroll-snap-align: start;
  border-radius: 5px;
}
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.gallery-controls button {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.gallery-controls button:hover {
  background: var(--orange);
}
.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.about-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  align-items: start;
  margin-top: 40px;
}
.about-text h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  color: var(--muted);
}
.about-image img {
  width: 100%;
  max-height: 540px;
  border-radius: 6px;
}
.philosophy {
  margin: 45px 0;
  padding: 30px;
  background: #e9ece7;
  border-radius: 6px;
}
.philosophy h3 {
  font-size: 22px;
  font-weight: 500;
}
.philosophy ul {
  padding-left: 20px;
  line-height: 2;
  font-size: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 38px 0 60px;
}
.stat-number {
  font-size: 40px;
  letter-spacing: -1px;
}
.stat-label {
  color: var(--muted);
  font-size: 15px;
}
.principles h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.principle {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 25px;
}
.principle-icon img {
  height: 55px;
  width: 55px;
  object-fit: contain;
  margin-bottom: 24px;
}
.principle h3 {
  font-size: 18px;
  font-weight: 500;
}
.principle p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
}
.contact-card {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 6px;
  background: #fff;
}
.contact-card:hover {
  border-color: var(--orange);
}

/* English cards contain a label, value and hint rather than an icon row. */
html[lang="en"] .contact-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-card-icon {
  flex-shrink: 0;
  width: 42px;
}
.contact-card-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.contact-card-letter {
  font-size: 27px;
}
.contact-card-label {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.contact-card-value {
  display: block;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.contact-meta {
  margin-top: 35px;
  padding: 25px;
  background: #e9ece7;
  border-radius: 6px;
}
.contact-meta-item {
  display: flex;
  gap: 25px;
  margin: 10px 0;
  font-size: 16px;
}
.contact-meta-label {
  font-weight: bold;
  min-width: 80px;
}
.inner-page footer {
  margin-top: 0;
}
@media (max-width: 1050px) {
  .inner-page .container {
    width: calc(100% - 48px);
  }
  .catalog-item > img {
    height: 290px;
  }
  .about-header {
    gap: 35px;
  }
  .carousel-track img {
    height: 330px;
  }
  .inner-cta {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .inner-page .container {
    width: calc(100% - 36px);
  }
  .breadcrumbs {
    padding-top: 22px;
    font-size: 14px;
  }
  .page-content {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  .page-content h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .page-content .section-subtitle {
    font-size: 16px;
  }
  .catalog-grid,
  .about-header,
  .principles-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .catalog-item,
  .work-section {
    scroll-margin-top: 130px;
  }
  .catalog-item > img {
    height: 300px;
  }
  .catalog-content {
    padding: 23px;
  }
  .catalog-content h2 {
    font-size: 25px;
  }
  .catalog-content p {
    font-size: 16px;
  }
  .catalog-jump {
    gap: 8px;
  }
  .catalog-jump a {
    font-size: 15px;
    padding: 8px 13px;
  }
  .inner-cta {
    padding-top: 30px;
    padding-bottom: 40px;
    gap: 24px;
  }
  .inner-cta h2 {
    font-size: 28px;
  }
  .inner-cta .button {
    width: 100%;
  }
  .carousel-track img {
    flex-basis: 88%;
    width: 88%;
    height: 330px;
  }
  .work-section h2 {
    font-size: 27px;
  }
  .work-section > p {
    font-size: 16px;
  }
  .about-header {
    gap: 30px;
  }
  .about-text p {
    font-size: 16px;
  }
  .philosophy {
    padding: 23px;
  }
  .philosophy h3 {
    font-size: 20px;
  }
  .philosophy ul {
    font-size: 16px;
  }
  .stats {
    gap: 12px;
  }
  .stat-number {
    font-size: 27px;
  }
  .stat-label {
    font-size: 14px;
  }
  .contact-card {
    padding: 23px;
    gap: 17px;
  }
  .contact-card-value {
    font-size: 16px;
  }
  .contact-meta-item {
    flex-direction: column;
    gap: 5px;
  }
  .price-terms {
    width: calc(100% - 36px);
  }
  .inner-page .review-grid {
    margin-top: 28px;
  }
}
/* Open deep links at the selected card immediately, without a long page scroll. */
html.inner-document {
  scroll-behavior: auto;
}

/* Editorial layout for the existing service guides. */
.service-copy > h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 42px 0 18px;
  max-width: 32ch;
}
.service-copy > h3 {
  font-size: 21px;
  margin: 26px 0 12px;
}
.service-copy > p,
.service-copy > ul {
  max-width: 76ch;
  line-height: 1.75;
  font-size: 17px;
}
.service-copy > ul {
  padding-left: 24px;
}
.service-copy > ul li + li {
  margin-top: 8px;
}
.service-photo {
  max-width: 780px;
  margin: 30px 0 40px;
}
.service-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}
.service-photo.shadow-detail {
  max-width: 660px;
}
.service-photo.shadow-detail img {
  height: 380px;
  object-position: 50% 65%;
}
.service-photo figcaption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
}
.scope-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 850px;
  margin: 25px 0;
  font-size: 16px;
}
.scope-table th,
.scope-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  text-align: left;
}
.scope-table th {
  background: #e9ece7;
}
.catalog-content .text-link + .text-link {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .service-photo img {
    height: 320px;
  }
  .service-photo.shadow-detail img {
    height: 270px;
  }
  .service-copy > h2 {
    margin-top: 32px;
  }
  .scope-table {
    font-size: 15px;
  }
  .scope-table th,
  .scope-table td {
    padding: 10px 6px;
  }
}
