/* Splash Digital Marketing - small additions on top of the original page styles */

html { scroll-behavior: smooth; }
#services { scroll-margin-top: 110px; }

/* Header: the "Log In" button was removed, so the menu sits at the right end of the bar */
[data-mesh-id=comp-knd49s91inlineContent-gridContainer] > [id="comp-l4str8v5"] { left: 763px !important; }
#comp-l4str8v5 h2 { text-align: right; }

/* Testimonials slideshow: only one slide exists, so its dots do nothing - hide them */
#comp-knd66ens nav[aria-label="Slides"] { display: none; }

/* The new email address is longer than the old one: give it room so it stays on one line */
#comp-knd6ut9v { width: 400px !important; }
#comp-knes3gpl { width: 360px !important; }
#comp-l2qy8z13 { width: 400px !important; white-space: nowrap; }

/* Home hero animation: the still image stays until the video is actually playing */
#comp-l2dpvv3z_video { opacity: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
#comp-l2dpvv3z_img { transition: opacity .6s ease-out; }
#comp-l2dpvv3z.dm-playing #comp-l2dpvv3z_img { opacity: 0; }

/* Newsletter: success / error message under the field */
#comp-l2t8o3s7.dm-show { visibility: visible !important; }
#comp-l2t8o3s7.dm-error span { color: #FFD3A1 !important; }

/* ------------------------------------------------------------------ Contact Us page */
.dm-contact {
  width: 980px;
  box-sizing: border-box;
  padding: 10px 0 40px;
  font-family: avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  color: #012241;
}
.dm-contact *, .dm-contact *::before, .dm-contact *::after { box-sizing: border-box; }
.dm-contact__grid { display: grid; grid-template-columns: 420px 1fr; gap: 30px; align-items: stretch; }

.dm-card { border-radius: 40px; padding: 40px 36px; box-shadow: 0 0 16px rgba(0, 0, 0, 0.1); }
.dm-card--navy { background: #012241; color: #fff; box-shadow: 0 0 16px rgba(0, 112, 80, 0.2); }
.dm-card--white { background: #fff; }

.dm-h {
  margin: 0 0 14px;
  font: 700 22px/1.3 montserrat, sans-serif;
  color: #F08300;
  letter-spacing: normal;
}
.dm-h--navy { color: #012241; font-size: 26px; margin-bottom: 22px; }
.dm-lead { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: #fff; }

.dm-info { list-style: none; margin: 0 0 30px; padding: 0; }
.dm-info li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.dm-info li:last-child { margin-bottom: 0; }
.dm-info strong {
  display: block; margin-bottom: 4px;
  font: 700 13px/1.2 montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #F08300;
}
.dm-info span, .dm-info a { font-size: 17px; line-height: 1.5; color: #fff; text-decoration: none; word-break: break-word; }
.dm-info a:hover { color: #F08300; }
.dm-info a[href^="mailto:"] { font-size: 15px; white-space: nowrap; }
.dm-ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: #F08300; display: flex; align-items: center; justify-content: center;
}
.dm-ico svg { width: 22px; height: 22px; fill: #fff; }

.dm-company { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 24px; }
.dm-company h3 { margin: 0 0 14px; font: 700 15px/1.3 montserrat, sans-serif; color: #F08300; letter-spacing: .04em; }
.dm-company dl { margin: 0; }
.dm-company dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.dm-company dl > div:last-child { border-bottom: 0; }
.dm-company dt { font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.dm-company dd { margin: 0; font-size: 15px; color: #fff; text-align: right; font-weight: bold; }
.dm-company dd a { color: #fff; text-decoration: none; }
.dm-company dd a:hover { color: #F08300; }

.dm-form { margin: 0; }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dm-field { display: block; margin-bottom: 18px; }
.dm-field > span { display: block; margin-bottom: 7px; font: 700 13px/1.2 montserrat, sans-serif; color: #012241; letter-spacing: .03em; }
.dm-field input, .dm-field select, .dm-field textarea {
  width: 100%; display: block;
  font: 16px/1.4 avenir-lt-w01_35-light1475496, avenir-lt-w05_35-light, sans-serif;
  color: #012241; background: #F9F1E6;
  border: 1px solid transparent; border-radius: 14px;
  padding: 13px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.dm-field textarea { resize: vertical; min-height: 214px; }
.dm-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #012241 50%), linear-gradient(135deg, #012241 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.dm-field input:focus, .dm-field select:focus, .dm-field textarea:focus {
  background-color: #fff; border-color: #F08300; box-shadow: 0 0 0 3px rgba(240, 131, 0, 0.18);
}
.dm-field.dm-invalid input, .dm-field.dm-invalid textarea { border-color: #d6402c; background-color: #fff; }

.dm-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dm-btn {
  display: inline-block; cursor: pointer; border: 0;
  background: #F08300; color: #fff; text-decoration: none;
  font: 400 17px/1 montserrat, sans-serif;
  padding: 17px 40px; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(240, 131, 0, 0.3);
  transition: background .2s, transform .2s;
}
.dm-btn:hover { background: #012241; }
.dm-btn:active { transform: translateY(1px); }
.dm-btn[disabled] { opacity: .6; cursor: wait; }
.dm-btn--navy { background: #012241; box-shadow: 0 4px 12px rgba(1, 34, 65, 0.25); }
.dm-btn--navy:hover { background: #F08300; }
.dm-status { margin: 0; font-size: 16px; line-height: 1.4; }
.dm-status.is-ok { color: #00845e; font-weight: bold; }
.dm-status.is-err { color: #d6402c; font-weight: bold; }

.dm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ 404 page */
.dm-404 { width: 980px; text-align: center; padding: 30px 0 80px; }
.dm-404 p { display: flex; gap: 18px; justify-content: center; margin: 0; }
