/* V32: inner-page components only. Homepage and slider styles are untouched. */
.v32-pages {
  --v32-primary: var(--cms-primary, #1fa8e5);
  --v32-primary-dark: var(--cms-primary-dark, #0f86d2);
  --v32-ink: var(--cms-navy, #0a2345);
  --v32-muted: #526c83;
  --v32-border: #deebf3;
  color: var(--v32-ink);
  background: var(--cms-page-bg, #f7fbff);
}
.v32-pages *, .v32-pages *::before, .v32-pages *::after { box-sizing: border-box; }
.v32-pages .container { max-width: 100%; }
.v32-page-heading {
  padding: 42px 0 28px;
  background: linear-gradient(115deg, #fff 0%, #f1faff 68%, #eaf6fd 100%);
  border-bottom: 1px solid #e4eff6;
}
.v32-page-heading h1 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.19;
  letter-spacing: -.028em;
  font-weight: 720;
  color: var(--v32-ink);
  max-width: 930px;
  margin: 0;
  overflow-wrap: break-word;
}
.v32-page-heading .eyebrow { margin-bottom: 10px; }
.v32-page-heading p {
  max-width: 820px;
  margin-top: 13px;
  color: var(--v32-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.v32-section { padding: 28px 0 50px; scroll-margin-top: 25px; }
.v32-pages .btn { min-height: 42px; padding: 11px 18px; font-size: 13px; }
.v32-pages .btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.v32-text-link {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12.5px; line-height: 1.45; font-weight: 650;
  color: var(--v32-primary-dark); text-decoration: none;
}
.v32-text-link svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .18s ease; }
.v32-text-link:hover svg { transform: translateX(3px); }
.v32-pages a:focus-visible, .v32-pages button:focus-visible {
  outline: 3px solid var(--v32-primary); outline-offset: 4px;
}
.v32-icon-box {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  flex: 0 0 auto; border-radius: 12px; color: var(--v32-primary-dark);
  background: linear-gradient(135deg, #f5fcff, #e3f5ff); border: 1px solid #d4edfa;
}
.v32-icon-box svg { width: 20px; height: 20px; }

/* Contact: map replaces the former quote card. */
.v32-contact-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch; gap: 22px;
}
.v32-contact-info, .v32-map-panel {
  min-width: 0; border: 1px solid var(--v32-border); border-radius: 22px;
  background: #fff; box-shadow: 0 8px 26px rgba(19, 59, 87, .035);
}
.v32-contact-info { padding: 26px; }
.v32-contact-info h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.v32-contact-intro { color: var(--v32-muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.v32-contact-lines { display: grid; gap: 2px; margin-top: 16px; }
.v32-contact-line {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  color: var(--v32-ink); border-bottom: 1px solid #edf3f7;
}
.v32-contact-line:last-child { border-bottom: 0; }
.v32-contact-line > span:last-child { min-width: 0; }
.v32-contact-line small { display: block; font-size: 11px; line-height: 1.4; color: var(--v32-muted); }
.v32-contact-line strong {
  display: block; margin-top: 2px; font-size: 14px; font-weight: 620; line-height: 1.45; overflow-wrap: anywhere;
}
.v32-contact-line:hover strong { color: var(--v32-primary-dark); }
.v32-contact-buttons { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 19px; }
.v32-copy-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 4px 0;
  border: 0; cursor: pointer; background: none; color: var(--v32-primary-dark); font: inherit;
  font-size: 12px; font-weight: 600;
}
.v32-copy-btn svg { width: 16px; height: 16px; }
.v32-mail-hint { margin-top: 10px; color: #647d91; font-size: 11.5px; line-height: 1.55; }
.v32-copy-status { min-height: 16px; margin: 2px 0 0; color: var(--v32-primary-dark); font-size: 11.5px; line-height: 1.4; }
.v32-copy-fallback { width: 100%; margin-top: 8px; border: 1px solid #c4dfef; border-radius: 8px; padding: 9px; font-size: 13px; color: var(--v32-ink); }
.v32-map-panel { display: grid; grid-template-rows: auto minmax(300px,1fr) auto; overflow: hidden; }
.v32-map-header { display: flex; gap: 12px; align-items: center; padding: 23px 24px 20px; }
.v32-map-header .eyebrow { font-size: 10px; margin-bottom: 5px; }
.v32-map-header h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.015em; font-weight: 650; }
.v32-map-frame { min-height: 300px; background: #edf5fa; }
.v32-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.v32-map-footer { padding: 19px 24px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 18px; }
.v32-map-footer p { flex: 1 1 240px; color: var(--v32-muted); font-size: 13px; line-height: 1.6; }
.v32-map-footer .btn { flex: 0 0 auto; }

/* References: small company title, readable text, restrained thumbnails. */
.v32-cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.v32-case-card {
  display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 18px; padding: 20px;
  min-width: 0; background: #fff; border: 1px solid var(--v32-border); border-radius: 18px;
  box-shadow: 0 6px 22px rgba(19,59,87,.025); transition: border-color .18s ease, box-shadow .18s ease;
}
.v32-case-card:hover { border-color: #adddf3; box-shadow: 0 10px 28px rgba(19,59,87,.055); }
.v32-case-image { min-width: 0; height: 160px; overflow: hidden; border-radius: 12px; background: #f2f7fa; }
.v32-case-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v32-case-content { min-width: 0; display: flex; flex-direction: column; }
.v32-case-company { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 12px; margin-bottom: 9px; }
.v32-case-company h2 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--v32-ink); margin: 0; }
.v32-case-company img { width: auto; max-width: 105px; height: 28px; object-fit: contain; }
.v32-case-title { color: #375573; font-size: 14px; line-height: 1.5; font-weight: 560; margin: 0; }
.v32-case-description { color: var(--v32-muted); font-size: 13px; line-height: 1.65; margin-top: 8px; }
.v32-case-content > .v32-text-link { margin-top: auto; padding-top: 14px; }
.v32-empty { color: var(--v32-muted); font-size: 15px; }

/* Service catalog: three compact columns with individual corner icons. */
.v32-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.v32-service-card {
  min-width: 0; background: #fff; border: 1px solid var(--v32-border); border-radius: 18px;
  box-shadow: 0 5px 22px rgba(19,59,87,.03); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.v32-service-card:hover, .v32-service-card:focus-within { border-color: #a8daf2; box-shadow: 0 12px 27px rgba(19,91,138,.08); transform: translateY(-2px); }
.v32-service-card-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 21px 20px 19px; border-radius: inherit; color: var(--v32-ink); }
.v32-service-corner {
  position: absolute; right: 18px; top: 18px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 1px solid #d6edf9; border-radius: 12px;
  background: linear-gradient(140deg, #f5fcff, #e7f6ff); color: var(--v32-primary-dark);
}
.v32-service-corner svg { width: 22px; height: 22px; }
.v32-service-card h2 { padding-right: 45px; margin: 0; font-size: 18px; line-height: 1.32; font-weight: 660; letter-spacing: -.016em; min-height: 46px; }
.v32-service-card p {
  margin-top: 12px; color: var(--v32-muted); font-size: 13.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.v32-service-card .v32-text-link { margin-top: auto; padding-top: 16px; }
.v32-service-card:hover .v32-text-link svg { transform: translateX(3px); }

/* About: replace the two number watermarks with meaningful SVG icons. */
.v32-about .about-pillar-card { min-height: 0; padding: 30px; }
.v32-pillar-icon { position: absolute; right: 23px; top: 22px; width: 92px; height: 92px; color: var(--v32-primary-dark); opacity: .095; pointer-events: none; }
.v32-pillar-icon svg { display: block; width: 100%; height: 100%; stroke-width: 1.35; }
.v32-about .about-pillar-card .eyebrow, .v32-about .about-pillar-card h2, .v32-about .about-richtext { position: relative; z-index: 1; }
.v32-about .about-pillar-card h2 { font-size: 26px; line-height: 1.24; font-weight: 660; padding-right: 60px; letter-spacing: -.02em; }
.v32-about .about-richtext { font-size: 14px; line-height: 1.75; }

/* Shared inner-page footer typography; homepage is not affected. */
.inner-page .inner-cta h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.inner-page .inner-cta .eyebrow.light { color: #e6f7ff !important; }
.inner-page .inner-cta p { font-size: 12px; line-height: 1.65; }

/* Avoid percentage-plus-gap overflow in the shared inner-page footer. */
.inner-page .footer-grid { grid-template-columns: minmax(150px,.85fr) minmax(0,1.4fr) auto minmax(0,1fr); gap: 20px; }
.inner-page .footer-grid > * { min-width: 0; }
.inner-page .footer-grid img { max-width: 100%; }
.inner-page .footer nav { gap: 10px 16px; }

@media (max-width:1100px) {
  .v32-case-card { grid-template-columns: 108px minmax(0,1fr); gap: 14px; padding: 17px; }
  .v32-case-image { height: 150px; }
  .v32-contact-info { padding: 23px; }
  .v32-service-card-link { padding: 18px; }
  .v32-service-card h2 { font-size: 17px; }
  .inner-page .footer-grid { grid-template-columns: 1fr 1.5fr; padding: 24px 0; }
  .inner-page .footer small { text-align: left; }
}
@media (max-width:940px) {
  .v32-cases-grid { grid-template-columns: minmax(0,1fr); }
  .v32-case-card { grid-template-columns: 128px minmax(0,1fr); padding: 20px; }
  .v32-case-image { height: 145px; }
  .v32-contact-grid { grid-template-columns: minmax(0,1fr); }
  .v32-map-panel { grid-template-rows: auto 330px auto; }
  .v32-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .v32-page-heading { padding: 30px 0 23px; }
  .v32-page-heading h1 { font-size: 28px; line-height: 1.22; }
  .v32-page-heading p { font-size: 14px; line-height: 1.65; }
  .v32-section { padding: 20px 0 36px; }
  .v32-contact-info { padding: 21px 18px; }
  .v32-contact-info h2 { font-size: 22px; }
  .v32-contact-buttons { gap: 9px 15px; }
  .v32-contact-line strong { font-size: 13px; }
  .v32-map-header { padding: 18px; }
  .v32-map-header h2 { font-size: 18px; }
  .v32-map-panel { grid-template-rows: auto 300px auto; }
  .v32-map-footer { padding: 17px 18px 20px; }
  .v32-service-grid { gap: 12px; }
  .v32-service-card h2 { font-size: 16px; }
  .v32-service-card p { font-size: 13px; }
  .v32-case-card { padding: 17px; grid-template-columns: 86px minmax(0,1fr); gap: 14px; }
  .v32-case-image { height: 112px; }
  .v32-case-company { align-items: start; gap: 6px; }
  .v32-case-company h2 { font-size: 17px; }
  .v32-case-company img { height: 24px; max-width: 96px; }
  .v32-case-title { font-size: 13px; }
  .v32-case-description { font-size: 12.5px; }
  .v32-about .about-pillar-card { padding: 24px 21px; }
  .v32-about .about-pillar-card h2 { font-size: 23px; padding-right: 35px; }
  .v32-pillar-icon { width: 75px; height: 75px; right: 18px; top: 18px; }
  .inner-page .footer-grid { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width:480px) {
  .v32-service-grid { grid-template-columns: minmax(0,1fr); }
  .v32-service-card-link { padding: 21px 19px 18px; }
  .v32-service-card h2 { font-size: 18px; min-height: 36px; }
  .v32-case-card { grid-template-columns: minmax(0,1fr); }
  .v32-case-image { display: none; }
  .v32-case-company { align-items: center; }
  .v32-case-description { font-size: 13px; }
  .v32-case-title { font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  .v32-service-card, .v32-case-card, .v32-text-link svg { transition: none; }
}
