/* Requested homepage order, moving photo galleries and balanced inquiry layout. */
.stats .stat strong {
  font-size: 32px;
  letter-spacing: -0.025em;
}
.stats .stat p {
  font-size: 14px;
}
.stats .stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.stats .stat strong,
.stats .stat p {
  margin: 0;
}
.carousel-buttons .motion-toggle {
  width: auto;
  padding: 0 17px;
  border-radius: 24px;
  font-size: 13px;
  white-space: nowrap;
}
.carousel-toolbar {
  gap: 16px;
}
.carousel-toolbar p {
  max-width: 42ch;
}
[data-autoplay] [data-carousel-track] {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.service-grid.process-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #78b7d2 #e1edf3;
  overscroll-behavior-inline: contain;
  padding: 4px 3px 20px;
  margin: 0 -3px;
  max-width: calc(100% + 6px);
}
.process-track .service {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.process-track .service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.process-track .service-content > p {
  min-height: 0;
  margin-bottom: 24px;
}
.process-track .review-focus {
  margin-top: auto;
}
.process-track .service-photo img {
  height: 250px;
}
.process-track:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-layout figure {
  margin: 0;
}
.about-layout img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
}
.about-layout p {
  margin-top: 23px;
  line-height: 1.9;
  max-width: 70ch;
}
.about-layout .text-link {
  margin-top: 27px;
  display: inline-flex;
}
.rfq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.rfq-intro,
.rfq-form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  min-width: 0;
}
.rfq-intro {
  display: flex;
  flex-direction: column;
}
.rfq-intro h2 {
  font-size: 38px;
}
.rfq-intro > p {
  max-width: none;
}
.rfq-intro .brief-checklist {
  margin: 34px 0;
}
.brief-checklist h3 {
  font-size: 20px;
}
.brief-checklist ul {
  padding: 0;
  list-style: none;
  margin: 20px 0 0;
}
.brief-checklist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}
.rfq-intro .email-callout {
  margin-top: auto;
  padding-top: 24px;
}
.rfq-intro .direct-contact {
  margin-top: 24px;
}
.rfq-form .form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.rfq-form .field {
  margin: 0;
  min-width: 0;
}
.rfq-form .field.full {
  grid-column: 1/-1;
}
.rfq-form .field > span {
  min-height: 24px;
}
.rfq-form .field input,
.rfq-form .field select {
  height: 50px;
  min-width: 0;
}
.rfq-form textarea {
  min-height: 116px;
}
.attachment-area {
  border: 1px dashed #8daeba;
  border-radius: 12px;
  padding: 16px;
  background: var(--light);
}
.attachment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.attachment-state {
  color: var(--text);
  font-size: 12px;
}
.attachment-control {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: not-allowed;
  color: #546b78;
}
.attachment-control svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.attachment-control span {
  font-size: 14px;
}
.attachment-control input[type='file'] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.attachment-area p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 10px;
}
.attachment-area a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.rfq-form > .button {
  margin-top: 22px;
  width: 100%;
}
.form-status:empty {
  display: none;
}
.rfq-form .form-email {
  margin-top: 16px;
}
@media (max-width: 1000px) {
  .process-track .service {
    flex-basis: calc((100% - 24px) / 2);
  }
  .rfq-layout {
    gap: 20px;
  }
  .rfq-intro,
  .rfq-form {
    padding: 27px;
  }
  .about-layout {
    gap: 32px;
  }
  .about-layout img {
    height: 550px;
  }
  .rfq-intro h2 {
    font-size: 32px;
  }
}
@media (max-width: 700px) {
  .rfq-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-layout img {
    height: 290px;
  }
  .rfq-intro .email-callout {
    margin-top: 0;
  }
  .rfq-intro,
  .rfq-form {
    padding: 26px 22px;
  }
  .carousel-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .carousel-buttons {
    align-self: flex-end;
  }
  .process-track .service {
    flex-basis: 86%;
  }
  .service-grid.process-track {
    gap: 16px;
  }
  .process-track .service-photo img {
    height: 230px;
  }
  .stats .stat strong {
    font-size: 28px;
  }
  .stats .stat {
    gap: 10px;
  }
  .stats .stat:last-child {
    flex-direction: row;
    justify-content: flex-start;
  }
  .attachment-heading {
    align-items: flex-start;
  }
  .about-layout p {
    font-size: 16px;
  }
  .rfq-form .form-grid {
    gap: 16px 12px;
  }
}
@media (max-width: 360px) {
  .rfq-form .form-grid {
    grid-template-columns: 1fr;
  }
  .rfq-form .field.full {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-carousel-track] {
    scroll-behavior: auto !important;
  }
}
.rfq-contacts {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-intro {
  font-size: 14px;
  margin-bottom: 9px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  min-width: 0;
}
.contact-emoji {
  font-size: 24px;
  line-height: 1;
  flex: 0 0 30px;
  text-align: center;
}
.contact-row > span:last-child {
  min-width: 0;
}
.contact-row small {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 3px;
}
.contact-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.contact-row:hover strong {
  color: #116e95;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.david-contacts {
  background: var(--light);
  border-radius: 12px;
  padding: 7px 14px;
  margin: 9px 0;
}
.footer-contact {
  gap: 10px 24px;
}
.footer-contact a {
  overflow-wrap: anywhere;
}
.form-email a {
  display: inline-block;
}
@media (max-width: 700px) {
  .contact-row strong {
    font-size: 15px;
  }
  .rfq-contacts {
    margin-top: 12px;
  }
  .david-contacts {
    padding-inline: 12px;
  }
}
.contact-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-identity-card,
.contact-identity-card.david-contacts {
  background: var(--light);
  padding: 12px 16px;
  margin: 0;
  border-radius: 14px;
}
.contact-identity-card .contact-row {
  padding: 9px 0;
}
.contact-identity-card .contact-row strong {
  font-size: 16px;
}
.nav-drop > summary:after {
  display: none;
  content: none;
}
.nav-drop > summary {
  position: relative;
}
.nav-drop > summary:before,
.full-site-nav > a:after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--blue);
  left: 0;
  right: 0;
  bottom: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.full-site-nav > a {
  position: relative;
}
.nav-drop:hover > summary:before,
.nav-drop[open] > summary:before,
.full-site-nav > a:hover:after {
  transform: scaleX(1);
}
.nav-panel {
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 370px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d8e6ed;
  border-radius: 18px;
  box-shadow: 0 22px 48px -18px #062a4245;
  animation: nav-panel-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-panel:before,
.language-options:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 20px;
}
.nav-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1px 3px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.nav-panel-heading strong {
  font-size: 15px;
}
.nav-panel .nav-panel-heading > a {
  padding: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #116e95;
  white-space: nowrap;
}
.nav-panel-grid {
  display: grid;
  gap: 5px;
}
.nav-panel .nav-panel-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  min-height: 78px;
  transition: background 0.15s;
}
.nav-panel-item img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
  background: var(--light);
}
.nav-panel-item span {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--navy);
}
.nav-panel .nav-panel-item:hover,
.nav-panel .nav-panel-item:focus-visible {
  background: var(--selected);
}
.nav-panel-products {
  width: 560px;
}
.nav-panel-products .nav-panel-grid {
  grid-template-columns: 1fr 1fr;
}
.nav-panel-products .nav-panel-item {
  grid-template-columns: 67px 1fr;
  gap: 11px;
}
.nav-panel-products .nav-panel-item img {
  width: 67px;
  height: 64px;
  object-fit: contain;
}
.language-menu > summary > span {
  display: none;
}
.language-menu > summary {
  list-style: none;
}
.language-menu > summary::-webkit-details-marker {
  display: none;
}
@keyframes nav-panel-in {
  from {
    opacity: 0;
    translate: 0 7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 1020px) {
  .nav-drop {
    width: 100%;
  }
  .nav-drop > summary {
    padding: 13px 0;
    font-size: 15px;
  }
  .nav-panel,
  .nav-panel-products {
    position: static;
    transform: none;
    width: 100%;
    margin: 5px 0 12px;
    padding: 12px;
    box-shadow: none;
    background: var(--light);
    border: 0;
    animation: none;
  }
  .nav-panel-grid,
  .nav-panel-products .nav-panel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-panel:before {
    display: none;
  }
  .nav-panel-heading {
    padding-bottom: 8px;
  }
  .nav-panel .nav-panel-item,
  .nav-panel-products .nav-panel-item {
    grid-template-columns: 55px 1fr;
    gap: 10px;
    padding: 6px;
  }
  .nav-panel-item img,
  .nav-panel-products .nav-panel-item img {
    width: 55px;
    height: 50px;
  }
  .nav-panel-item span {
    font-size: 13px;
  }
  .nav-links.is-open {
    max-height: calc(100dvh - 85px);
    overflow: auto;
  }
  .nav-drop > summary:before {
    display: none;
  }
}
@media (max-width: 600px) {
  .nav-panel-grid,
  .nav-panel-products .nav-panel-grid {
    grid-template-columns: 1fr;
  }
  .contact-identity-card .contact-row strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-panel {
    animation: none;
  }
  .nav-drop > summary:before,
  .full-site-nav > a:after {
    transition: none;
  }
}
.rfq-form {
  display: flex;
  flex-direction: column;
}
.rfq-form > * {
  flex-shrink: 0;
}
.rfq-brand-art {
  margin-top: auto;
  padding-top: 26px;
}
.rfq-brand-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 156px;
  object-fit: contain;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .rfq-brand-art {
    padding-top: 24px;
  }
  .rfq-brand-art img {
    border-radius: 8px;
  }
}
.rfq-form {
  container-type: inline-size;
}
.phone-field > label {
  display: block;
}
.phone-field > label > span {
  min-height: 24px;
  display: block;
}
.phone-control {
  display: flex;
  align-items: stretch;
  position: relative;
  min-width: 0;
  border: 1px solid #c9d7df;
  border-radius: 9px;
  background: white;
  height: 50px;
}
.phone-control:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.rfq-form .phone-control #phone {
  flex: 1;
  min-width: 0;
  width: 0;
  border: 0;
  border-radius: 0 9px 9px 0;
  height: 48px;
  padding: 11px 10px;
  font-size: 15px;
  outline: none;
}
.dial-trigger {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  background: var(--light);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  min-height: 48px;
}
.dial-trigger[hidden],
.phone-country-native[hidden],
.phone-country-panel[hidden],
.phone-country-empty[hidden] {
  display: none !important;
}
.dial-trigger .dial-prefix,
.dial-trigger .dial-flag {
  margin: 0;
  line-height: 1;
  font-size: 13px;
}
.dial-flag {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 26px;
  width: 26px;
  line-height: 1;
  margin: 0 !important;
}
.dial-flag svg {
  display: block;
  width: 26px;
  height: 19px;
  border-radius: 2px;
  box-shadow: 0 1px 3px #062a4225;
}
.dial-caret {
  flex: 0 0 auto;
}
.rfq-form .phone-control .phone-country-native {
  width: 94px;
  flex-shrink: 0;
  padding: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  height: 48px;
  font-size: 13px;
}
.phone-country-panel {
  position: absolute;
  top: calc(100% + 9px);
  left: -1px;
  right: -1px;
  z-index: 60;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px;
  box-shadow: 0 14px 34px -12px #062a4250;
}
.phone-country-panel.opens-up {
  bottom: calc(100% + 9px);
  top: auto;
}
.phone-country-panel .phone-search-label {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
  color: var(--text);
}
.rfq-form .phone-country-panel input[type='search'] {
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 9px;
  font-size: 13px;
  margin-bottom: 7px;
}
.phone-country-options {
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.phone-country-option {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  border: 0;
  background: white;
  border-radius: 7px;
  padding: 10px 7px;
  min-height: 43px;
  text-align: left;
}
.phone-country-option:hover,
.phone-country-option[aria-selected='true'] {
  background: var(--selected);
}
.phone-country-option .phone-country-name {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  color: var(--navy);
  font-weight: 500;
}
.phone-country-option small {
  font-size: 12px;
  white-space: nowrap;
  color: var(--text);
}
.phone-country-empty {
  font-size: 13px;
  padding: 12px 5px;
}
@container (max-width:420px) {
  .phone-field,
  .phone-field + .field {
    grid-column: 1/-1;
  }
}

.attachment-control {
  position: relative;
  padding: 12px 0;
  cursor: pointer;
  color: #087fa8;
}
.attachment-control input[type='file'] {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.attachment-control:focus-within {
  outline: 2px solid #29a6d1;
  outline-offset: 4px;
  border-radius: 6px;
}
.attachment-files {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.attachment-files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #d7e4eb;
}
.attachment-file-name {
  flex: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}
.attachment-files button {
  border: 0;
  background: transparent;
  color: #087fa8;
  padding: 6px;
  cursor: pointer;
  font: inherit;
}
.attachment-area .attachment-error {
  color: #a62121;
  margin: 4px 0 0;
}
.attachment-error:empty,
.attachment-files:empty {
  display: none;
}

.attachment-control input[type='file'] {
  pointer-events: auto;
}
