/* Human Does design system.
   Loaded after Divi by the humandoes-child theme. Everything page-level is scoped
   under .hd so it cannot leak into Divi modules that are not ours. */

:root {
  --hd-blue: #0060d1;
  --hd-blue-deep: #004aa3;
  --hd-blue-soft: #e6effc;
  --hd-ink: #0b0b0f;
  --hd-body: #2b2f36;
  --hd-muted: #5e6673;
  --hd-line: #e3e7ee;
  --hd-mist: #f4f6fa;
  --hd-yellow: #edf000;
  --hd-radius: 18px;
  --hd-shadow: 6px 6px 0 var(--hd-ink);
  --hd-shadow-sm: 4px 4px 0 var(--hd-ink);
  --hd-wrap: 1180px;
  --hd-gutter: clamp(20px, 4vw, 40px);
  --hd-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body { background: #fff; font-family: var(--hd-font); -webkit-font-smoothing: antialiased; }
#page-container { overflow-x: clip; }

/* ---------- Divi shells: one section > row > column > code module per block ---------- */
.et_pb_section.hd-shell { padding: 0 !important; background: transparent !important; }
.et_pb_section.hd-shell .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.et_pb_section.hd-shell .et_pb_column { width: 100% !important; margin: 0 !important; float: none !important; }
.et_pb_section.hd-shell .et_pb_module { margin: 0 !important; }

/* ---------- Base ---------- */
.hd { font-family: var(--hd-font); font-size: 17px; line-height: 1.7; color: var(--hd-body); }
.hd *, .hd *::before, .hd *::after { box-sizing: border-box; }
.hd-wrap { width: 100%; max-width: calc(var(--hd-wrap) + 2 * var(--hd-gutter)); margin-inline: auto; padding-inline: var(--hd-gutter); }
.hd-section { padding-block: clamp(64px, 9vw, 112px); }
.hd-section--mist { background: var(--hd-mist); }
.hd-section--tight { padding-block: clamp(48px, 6vw, 72px); }

.hd h1, .hd h2, .hd h3, .hd h4 { font-family: var(--hd-font); color: var(--hd-ink); padding: 0; margin: 0; letter-spacing: -0.02em; }
.hd h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.04; font-weight: 700; }
.hd h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; font-weight: 700; }
.hd h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.hd p { padding: 0; margin: 0 0 1em; }
.hd p:last-child { margin-bottom: 0; }
.hd a { color: var(--hd-blue); text-decoration: none; }
.hd a:focus-visible, .hd summary:focus-visible { outline: 3px solid var(--hd-yellow); outline-offset: 3px; border-radius: 6px; }
.hd img { max-width: 100%; height: auto; }

.hd .hd-lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--hd-body); max-width: 38em; }
.hd .hd-muted { color: var(--hd-muted); }
.hd .hd-eyebrow { display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-blue); margin: 0 0 18px; line-height: 1.3; }
.hd .hd-eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--hd-yellow); box-shadow: 0 0 0 2px var(--hd-ink); }
.hd .hd-mark { background: linear-gradient(transparent 58%, var(--hd-yellow) 58%, var(--hd-yellow) 92%, transparent 92%); padding-inline: 0.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.hd-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.hd-head--center { margin-inline: auto; text-align: center; }
.hd-head .hd-lede { margin-top: 18px; }
.hd-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.hd-head-row .hd-head { margin-bottom: 0; }

/* ---------- Buttons and links ---------- */
.hd .hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; font-family: var(--hd-font); font-size: 1rem; font-weight: 600; line-height: 1; padding: 17px 28px; border-radius: 999px; border: 2px solid var(--hd-ink); background: var(--hd-ink); color: #fff; box-shadow: 4px 4px 0 var(--hd-blue); transition: transform 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; }
.hd .hd-btn:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hd-blue); }
.hd .hd-btn--ghost, .hd .hd-btn--light { background: #fff; color: var(--hd-ink); box-shadow: var(--hd-shadow-sm); }
.hd .hd-btn--ghost:hover, .hd .hd-btn--light:hover { color: var(--hd-ink); box-shadow: 6px 6px 0 var(--hd-ink); }
.hd .hd-actions { display: flex; flex-wrap: wrap; gap: 16px 18px; align-items: center; margin-top: 34px; }

.hd .hd-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; color: var(--hd-ink); border-bottom: 2px solid var(--hd-yellow); padding-bottom: 2px; line-height: 1.3; }
.hd .hd-arrow::after { content: "→"; color: var(--hd-blue); transition: transform 0.15s ease; }
.hd .hd-arrow:hover, a:hover .hd-arrow { color: var(--hd-blue); }
.hd .hd-arrow:hover::after, .hd a:hover .hd-arrow::after { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.hd-hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hd-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.hd-hero h1 { margin-bottom: 24px; }
.hd-art { position: relative; margin: 24px 11% 12% 0; }
.hd .hd-art__photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid var(--hd-ink); border-radius: 28px; box-shadow: 12px 12px 0 var(--hd-ink); }
.hd .hd-art__pin { position: absolute; top: -30px; left: 42%; width: 46px; transform: rotate(10deg); z-index: 2; }
.hd .hd-art__mascot { position: absolute; right: -16%; bottom: -18%; width: 54%; z-index: 2; filter: drop-shadow(0 14px 18px rgba(0, 50, 120, 0.14)); }
@media (max-width: 980px) {
  .hd-hero__grid { grid-template-columns: 1fr; }
  .hd-art { max-width: 480px; }
}
@media (max-width: 600px) {
  .hd-hero { padding-bottom: 56px; }
  .hd-art { margin: 20px 14% 14% 0; }
  .hd .hd-art__photo { box-shadow: 8px 8px 0 var(--hd-ink); border-radius: 22px; }
}

/* ---------- Client logos ---------- */
.hd-logos-block { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); }
.hd-logos-block--plain { border: 0; }
.hd .hd-logos-label { text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-muted); margin-bottom: 30px; }
.hd ul.hd-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 40px; align-items: center; line-height: 1; }
.hd .hd-logos li { display: flex; justify-content: center; align-items: center; height: 60px; padding: 0; }
.hd .hd-logos img { max-height: 40px; max-width: 150px; width: auto; opacity: 0.62; transition: opacity 0.15s ease; }
.hd .hd-logos img.hd-logo--tall { max-height: 52px; }
.hd .hd-logos li:hover img { opacity: 1; }
@media (max-width: 980px) { .hd ul.hd-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .hd ul.hd-logos { grid-template-columns: repeat(3, 1fr); gap: 20px 22px; }
  .hd .hd-logos img { max-height: 30px; max-width: 96px; }
  .hd .hd-logos img.hd-logo--tall { max-height: 40px; }
}

/* ---------- Cards ---------- */
.hd-grid { display: grid; gap: clamp(22px, 2.6vw, 34px); }
.hd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hd-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .hd-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .hd-grid--3, .hd-grid--2 { grid-template-columns: 1fr; } }

.hd .hd-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--hd-ink); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); padding: clamp(24px, 2.8vw, 34px); color: var(--hd-body); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.hd a.hd-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--hd-ink); color: var(--hd-body); }
.hd .hd-card h3 { margin-bottom: 10px; }
.hd .hd-card p { font-size: 0.98rem; }
.hd .hd-card__kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-blue); margin-bottom: 6px; }
.hd .hd-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; border: 2px solid var(--hd-ink); background: var(--hd-blue-soft); margin-bottom: 22px; flex: none; }
.hd .hd-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--hd-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hd .hd-card__foot { margin-top: auto; padding-top: 24px; }
.hd ul.hd-links { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hd-line); line-height: 1.4; }
.hd .hd-links li { padding: 7px 0; }
.hd .hd-links a { display: flex; justify-content: space-between; gap: 12px; color: var(--hd-ink); font-weight: 500; }
.hd .hd-links a::after { content: "→"; color: var(--hd-blue); transition: transform 0.15s ease; }
.hd .hd-links a:hover, .hd .hd-links a[aria-current] { color: var(--hd-blue); }
.hd .hd-links a:hover::after { transform: translateX(3px); }

/* ---------- Why us ---------- */
.hd-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.hd-split h2 { margin-bottom: 20px; }
.hd-split .hd-lede { margin-bottom: 1em; }
@media (max-width: 980px) { .hd-split { grid-template-columns: 1fr; } }
.hd-points { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 3.6vw, 48px) clamp(24px, 3vw, 44px); }
@media (max-width: 600px) { .hd-points { grid-template-columns: 1fr; } }
.hd .hd-point__num { display: block; font-size: 0.85rem; font-weight: 700; color: var(--hd-blue); margin-bottom: 8px; }
.hd .hd-point h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; }
.hd .hd-point p { font-size: 0.98rem; }

/* ---------- Success stories ---------- */
.hd-stories { display: grid; gap: clamp(64px, 8vw, 112px); }
.hd-story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hd-story:nth-child(even) .hd-story__media { order: 2; }
@media (max-width: 900px) {
  .hd-story { grid-template-columns: 1fr; }
  .hd-story:nth-child(even) .hd-story__media { order: 0; }
}
.hd .hd-story__media { border: 2px solid var(--hd-ink); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); overflow: hidden; background: #fff; }
.hd .hd-story__media img { display: block; width: 100%; height: auto; }
.hd .hd-story h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 18px 0 4px; }
.hd .hd-story__sub { color: var(--hd-muted); font-weight: 500; margin-bottom: 16px; }
.hd ul.hd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; line-height: 1; }
.hd .hd-chips li { font-size: 0.78rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: var(--hd-blue-soft); color: var(--hd-blue-deep); }
.hd .hd-stat { display: flex; align-items: baseline; gap: 0.5em; margin-top: 22px; font-weight: 500; color: var(--hd-ink); }
.hd .hd-stat strong { font-size: 2.4rem; line-height: 1; font-weight: 700; color: var(--hd-blue); letter-spacing: -0.03em; }
.hd dl.hd-story__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hd-line); font-size: 0.93rem; line-height: 1.5; }
.hd .hd-story__meta dt { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hd-muted); margin-bottom: 4px; }
.hd .hd-story__meta dd { margin: 0; color: var(--hd-ink); }
@media (max-width: 480px) { .hd dl.hd-story__meta { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.hd-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); align-items: start; }
@media (max-width: 980px) { .hd-quotes { grid-template-columns: 1fr; max-width: 680px; } }
.hd figure.hd-quote { margin: 0; background: #fff; border: 2px solid var(--hd-ink); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); padding: clamp(24px, 3vw, 32px); }
.hd figure.hd-quote:nth-child(2) { box-shadow: 6px 6px 0 var(--hd-blue); }
.hd .hd-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.7; color: var(--hd-ink); }
.hd .hd-quote blockquote::before { content: "“"; display: block; height: 30px; font-size: 4rem; line-height: 0.9; font-weight: 700; color: var(--hd-blue); }
.hd .hd-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hd-line); font-size: 0.9rem; line-height: 1.35; }
.hd .hd-quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--hd-ink); flex: none; }
.hd .hd-quote figcaption strong { display: block; color: var(--hd-ink); font-weight: 600; }
.hd .hd-quote figcaption span { color: var(--hd-muted); }

/* ---------- Page hero (inner pages) ---------- */
.hd-page-hero { background: var(--hd-mist); border-bottom: 1px solid var(--hd-line); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hd-page-hero__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 980px) { .hd-page-hero__grid { grid-template-columns: 1fr; } }
.hd.hd-page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 20px; }
.hd .hd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--hd-muted); margin-bottom: 22px; line-height: 1.4; }
.hd .hd-crumbs a { color: var(--hd-muted); }
.hd .hd-crumbs a:hover { color: var(--hd-blue); }
.hd .hd-crumbs [aria-current] { color: var(--hd-ink); font-weight: 500; }
.hd .hd-crumbs .hd-crumbs__sep { opacity: 0.45; }
.hd ul.hd-checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; line-height: 1.25; }
.hd .hd-checks li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border: 1.5px solid var(--hd-ink); border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 500; color: var(--hd-ink); }
.hd .hd-checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--hd-ink); background: var(--hd-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hd ul.hd-checks--stack { flex-direction: column; align-items: flex-start; margin-top: 12px; }

.hd .hd-aside { background: #fff; border: 2px solid var(--hd-ink); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); padding: clamp(22px, 2.6vw, 32px); }
.hd .hd-aside__title { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hd-muted); margin-bottom: 4px; }
.hd .hd-aside__text { font-size: 1rem; color: var(--hd-ink); margin-top: 6px; }
.hd .hd-aside ul.hd-links { border-top: 0; padding-top: 0; margin-top: 6px; }
.hd .hd-aside .hd-btn { width: 100%; margin-top: 22px; }

/* ---------- Services overview groups ---------- */
.hd-group { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--hd-line); }
.hd-group:first-child { border-top: 0; padding-top: 0; }
.hd-group:last-child { padding-bottom: 0; }
.hd .hd-group__intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.hd .hd-group__intro p { margin-bottom: 20px; }
.hd-subcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-content: start; }
@media (max-width: 900px) { .hd-group { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hd-subcards { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.hd-steps { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 72px); }
.hd-step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--hd-line); }
.hd .hd-step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--hd-ink); background: var(--hd-yellow); font-size: 0.9rem; font-weight: 700; color: var(--hd-ink); line-height: 1; }
.hd .hd-step h3 { margin: 9px 0 8px; }
.hd .hd-step p { font-size: 0.98rem; }
@media (max-width: 760px) { .hd-steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.hd .hd-faq details { border-bottom: 1px solid #d6dbe4; }
.hd .hd-faq details:first-child { border-top: 1px solid #d6dbe4; }
.hd .hd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.08rem; font-weight: 600; line-height: 1.4; color: var(--hd-ink); }
.hd .hd-faq summary::-webkit-details-marker { display: none; }
.hd .hd-faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--hd-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0f' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.2s ease, background-color 0.2s ease; }
.hd .hd-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--hd-yellow); }
.hd .hd-faq summary:hover { color: var(--hd-blue); }
.hd .hd-faq__a { padding: 0 58px 26px 0; }
.hd .hd-faq__a ul { list-style: disc; margin: 0 0 1em; padding: 0 0 0 1.2em; }
.hd .hd-faq__a li { margin-bottom: 0.4em; }
@media (max-width: 600px) { .hd .hd-faq__a { padding-right: 0; } }

/* ---------- Prose (privacy policy) ---------- */
.hd .hd-prose { max-width: 760px; }
.hd .hd-prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; }
.hd .hd-prose h2:first-child { margin-top: 0; }
.hd .hd-prose ul { list-style: disc; margin: 0 0 1em; padding: 0 0 0 1.2em; }

/* ---------- Contact page: a Divi row with the copy and the Divi contact form ---------- */
.et_pb_section.hd-shell--contact { background: var(--hd-mist) !important; }
.et_pb_section.hd-shell--contact .et_pb_row.hd-contact-row { display: grid !important; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; max-width: calc(var(--hd-wrap) + 2 * var(--hd-gutter)) !important; padding: clamp(40px, 6vw, 88px) var(--hd-gutter) clamp(64px, 8vw, 112px) !important; margin-inline: auto !important; }
.et_pb_section.hd-shell--contact .et_pb_row.hd-contact-row::before,
.et_pb_section.hd-shell--contact .et_pb_row.hd-contact-row::after { display: none !important; }
.et_pb_section.hd-shell--contact .et_pb_column { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
@media (max-width: 900px) { .et_pb_section.hd-shell--contact .et_pb_row.hd-contact-row { grid-template-columns: 1fr; } }
.hd .hd-contact__label { margin: 30px 0 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-muted); }
.hd.hd-contact__copy h1 { margin-bottom: 20px; }
.hd .hd-contact__mascot { display: block; width: 170px; margin-top: 40px; }
@media (max-width: 900px) { .hd .hd-contact__mascot { display: none; } }

.hd-form.et_pb_contact_form_container { background: #fff; border: 2px solid var(--hd-ink); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); padding: clamp(24px, 3.2vw, 40px) !important; margin: 0 !important; font-family: var(--hd-font); }
.hd-form .et_pb_contact_main_title { display: none; }
.hd-form .et_pb_contact_form { margin-left: 0 !important; }
.hd-form p.et_pb_contact_field { padding: 0 !important; margin: 0 0 18px !important; width: 100% !important; float: none !important; clear: both; }
.hd-form .et_pb_contact_form_label { display: block !important; font-size: 0.86rem; font-weight: 600; color: var(--hd-ink); padding-bottom: 6px; }
.hd-form .et_pb_contact p input,
.hd-form .et_pb_contact p textarea { width: 100%; background: #fff !important; border: 2px solid var(--hd-ink) !important; border-radius: 12px !important; padding: 14px 16px !important; font-family: var(--hd-font) !important; font-size: 1rem !important; color: var(--hd-ink) !important; transition: box-shadow 0.15s ease; }
.hd-form .et_pb_contact p textarea { min-height: 150px; }
.hd-form .et_pb_contact p input:focus,
.hd-form .et_pb_contact p textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--hd-blue); }
.hd-form .et_pb_contact ::placeholder { color: transparent !important; }
.hd-form .et_contact_bottom_container { float: none !important; display: flex; justify-content: flex-start; margin-top: 10px !important; text-align: left; }
.hd-form .et_pb_contact_submit.et_pb_button,
.hd-form .et_pb_contact_submit.et_pb_button:hover { margin: 0 !important; font-family: var(--hd-font) !important; font-size: 1rem !important; font-weight: 600 !important; letter-spacing: 0 !important; line-height: 1 !important; padding: 17px 30px !important; border-radius: 999px !important; border: 2px solid var(--hd-ink) !important; background: var(--hd-ink) !important; color: #fff !important; box-shadow: 4px 4px 0 var(--hd-blue); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.hd-form .et_pb_contact_submit.et_pb_button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hd-blue); }
.hd-form .et_pb_contact_submit.et_pb_button::after { display: none !important; }
.hd-form .et-pb-contact-message { font-weight: 600; color: var(--hd-ink); }

/* ---------- Call to action band + footer (Theme Builder footer layout) ---------- */
.hd.hd-cta { background: var(--hd-blue); color: #fff; overflow: hidden; }
.hd-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-top: clamp(56px, 7vw, 88px); }
.hd-cta__copy { padding-bottom: clamp(56px, 7vw, 88px); }
.hd.hd-cta h2 { color: #fff; max-width: 15ch; }
.hd.hd-cta p { color: #dce8fb; font-size: 1.15rem; margin-top: 14px; max-width: 34em; }
.hd .hd-cta__art { display: block; width: clamp(170px, 20vw, 250px); margin-bottom: -6%; }
@media (max-width: 720px) {
  .hd-cta__inner { grid-template-columns: 1fr; }
  .hd .hd-cta__art { display: none; }
}

.hd.hd-footer { background: var(--hd-ink); color: #a9afba; font-size: 0.95rem; line-height: 1.6; }
.hd-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: 64px 48px; }
@media (max-width: 900px) { .hd-footer__top { grid-template-columns: 1fr 1fr; } .hd-footer__brand { grid-column: 1 / -1; } }
.hd.hd-footer .hd-footer__brand img { display: block; height: 46px; width: auto; margin-bottom: 18px; }
.hd.hd-footer .hd-footer__brand p { max-width: 30ch; color: #a9afba; }
.hd.hd-footer h4 { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.hd.hd-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.4; }
.hd.hd-footer li { padding: 5px 0; }
.hd.hd-footer a { color: #dfe2e8; }
.hd.hd-footer a:hover { color: var(--hd-yellow); }
.hd-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid #25272e; padding-block: 22px; font-size: 0.85rem; color: #80868f; }

/* ---------- Divi header ---------- */
#main-header { box-shadow: none !important; border-bottom: 1px solid var(--hd-line); background: rgba(255, 255, 255, 0.96) !important; -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
#main-header .container { width: calc(100% - 2 * var(--hd-gutter)); max-width: var(--hd-wrap); }
#main-header #logo { max-height: 42px !important; width: auto; }
#top-menu li { padding-right: 30px; }
#top-menu > li:last-child { padding-right: 0; }
#top-menu li a, .et_mobile_menu li a { font-family: var(--hd-font) !important; font-weight: 500 !important; font-size: 15px !important; letter-spacing: 0 !important; color: var(--hd-ink) !important; }
#top-menu li a:hover { opacity: 1 !important; color: var(--hd-blue) !important; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a, #top-menu li.current-page-ancestor > a { color: var(--hd-blue) !important; }
#top-menu .menu-item-has-children > a:first-child::after { color: var(--hd-muted); }

#top-menu > li.hd-nav-cta > a { background: var(--hd-ink); color: #fff !important; border-radius: 999px; padding: 12px 22px !important; box-shadow: 3px 3px 0 var(--hd-blue); transition: transform 0.15s ease, box-shadow 0.15s ease; }
#top-menu > li.hd-nav-cta > a:hover { color: #fff !important; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--hd-blue); }
#top-menu > li.hd-nav-cta { position: relative; top: 0; }
.et-fixed-header #top-menu > li.hd-nav-cta { top: 0; }
#top-menu > li.hd-nav-cta.current-menu-item > a { color: #fff !important; }

#top-menu li ul.sub-menu { border: 2px solid var(--hd-ink) !important; border-radius: 14px; box-shadow: 6px 6px 0 var(--hd-ink) !important; padding: 10px !important; width: 270px; }
#top-menu li li { padding: 0 !important; width: 100%; }
#top-menu li li a { width: 100% !important; padding: 9px 12px !important; border-radius: 8px; font-size: 14px !important; line-height: 1.35; }
#top-menu li li a:hover { background: var(--hd-mist); }
/* Third level (Design > Branding...) is listed inside the same dropdown instead of flying out to
   the right, where it ran off the edge of the window. visibility: inherit keeps it hidden whenever
   the parent dropdown is hidden. */
#top-menu li ul.sub-menu ul.sub-menu { position: static !important; visibility: inherit !important; opacity: 1 !important; display: block !important; width: auto !important; border: 0 !important; border-radius: 0; box-shadow: none !important; padding: 0 0 8px 12px !important; margin: 0 !important; background: transparent !important; transform: none !important; }
#top-menu li li.menu-item-has-children > a { font-weight: 600 !important; color: var(--hd-ink) !important; }
#top-menu li li.menu-item-has-children > a:first-child::after { display: none !important; }
#top-menu li li li a { color: var(--hd-body) !important; padding: 7px 12px !important; }
#top-menu li li li a:hover, #top-menu li li li.current-menu-item > a { color: var(--hd-blue) !important; }

.mobile_menu_bar::before { color: var(--hd-ink) !important; }
.et_mobile_menu { border: 2px solid var(--hd-ink) !important; border-radius: 14px; box-shadow: 6px 6px 0 var(--hd-ink) !important; padding: 10px 14px !important; }
.et_mobile_menu li a { border-bottom: 1px solid var(--hd-line) !important; padding: 12px 6px !important; }
.et_mobile_menu li li a { padding-left: 16px !important; font-size: 14px !important; }
.et_mobile_menu li.hd-nav-cta a { background: var(--hd-ink); color: #fff !important; border: 0 !important; border-radius: 999px; text-align: center; margin: 12px 0 4px; }

@media (prefers-reduced-motion: reduce) {
  .hd *, #top-menu a { transition: none !important; }
}
