/*
 * Euro Way 2026 layout, built to Assets/Euro_Way_Website_Mockup.pdf.
 * Loaded after master.css and custom.css. Rebuilt templates wrap their content in <main class="ew">;
 * the old agency styles still serve the old ads landing page and the payment pages.
 */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --ew-red: #b5214f;
  --ew-red-dark: #941a40;
  --ew-ink: #1c1c1c;
  --ew-text: #333;
  --ew-muted: #6b6b6b;
  --ew-beige: #f4f2ee;
  --ew-line: #e7e4de;
  --ew-radius: 8px;
  --ew-font: "Outfit", "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--ew-font);
}

/* ---------- Base for the rebuilt pages. They no longer load bootstrap/master/custom.css (body.ew-lean). ---------- */
.ew-lean,
.ew-lean *,
.ew-lean *::before,
.ew-lean *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body.ew-lean {
  margin: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ew-lean a {
  text-decoration: none;
}
.ew-lean img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.ew-lean figure {
  margin: 0;
}
.ew-lean button,
.ew-lean input,
.ew-lean select,
.ew-lean textarea {
  font: inherit;
}
:where(.ew-lean) h1,
:where(.ew-lean) h2,
:where(.ew-lean) h3,
:where(.ew-lean) p {
  margin: 0;
}

/* ---------- Carried over from custom.css: notes to confirm, lightbox, quote form, closing band, footer ---------- */
/* Visible only until Filip's answers are in; the go-live check fails if any remain. */
.ew-todo {
  background: #fff3cd;
  border-left: 4px solid #e0a800;
  padding: 10px 14px;
  font-size: 14px;
}
.ew-todo-inline {
  background: #fff3cd;
  padding: 0 4px;
}
.ew-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.ew-lightbox.is-open {
  display: flex;
}
.ew-lightbox__figure {
  margin: 0;
  max-width: 92vw;
  text-align: center;
}
.ew-lightbox__figure img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
}
.ew-lightbox__figure figcaption,
.ew-lightbox__count {
  color: #ddd;
  font-size: 14px;
  margin-top: 10px;
}
.ew-lightbox__count {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
}
.ew-lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  padding: 12px 18px;
  cursor: pointer;
}
.ew-lightbox__close {
  top: 10px;
  right: 10px;
}
.ew-lightbox__prev {
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}
.ew-lightbox__next {
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .ew-lightbox__prev,
  .ew-lightbox__next {
    display: none;
  }
}
.ew-quote-form .forminator-row {
  margin-bottom: 22px;
}
.ew-quote-form .forminator-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #121212;
  margin: 0 0 8px;
}
.ew-quote-form .forminator-required {
  color: #b5214f;
}
.ew-quote-form .forminator-description {
  display: block;
  font-size: 14px;
  color: #666;
  margin: -4px 0 10px;
}
.ew-quote-form input.forminator-input,
.ew-quote-form select,
.ew-quote-form textarea {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 16px;
  color: #121212;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.ew-quote-form textarea {
  height: 140px;
  padding: 12px 14px;
  resize: vertical;
}
.ew-quote-form input.forminator-input:focus,
.ew-quote-form select:focus,
.ew-quote-form textarea:focus {
  outline: 2px solid #b5214f;
  outline-offset: 0;
  background: #fff;
}
.ew-quote-form .forminator-checkbox,
.ew-quote-form .forminator-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 8px 0;
  font-size: 16px;
  cursor: pointer;
}
.ew-quote-form input[type="checkbox"],
.ew-quote-form input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #b5214f;
  appearance: auto;
  -webkit-appearance: auto;
}
.ew-quote-form .forminator-checkbox-box,
.ew-quote-form .forminator-radio-bullet {
  display: none;
}
.ew-quote-form input[type="file"] {
  display: block;
  font-size: 15px;
  padding: 10px 0;
}
.ew-quote-form .forminator-error-message,
.ew-quote-form .forminator-response-message.forminator-error {
  display: block;
  color: #b5214f;
  font-size: 14px;
  margin-top: 6px;
}
.ew-quote-form .forminator-response-message:empty {
  display: none;
}
.ew-quote-form input.forminator-input,
.ew-quote-form select,
.ew-quote-form textarea,
.ew-quote-form .forminator-multi-upload {
  margin: 0;
}
.ew-quote-form .forminator-row {
  margin-bottom: 18px;
}
.ew-quote-form input[type="file"] {
  background: none;
  border: 0;
}
.ew-quote-form .forminator-ui .forminator-button-submit {
  cursor: pointer;
}
/* Closing band and footer, as in the mockup (2026 update) */
.ew-band { background: #161616; color: #fff; padding: 64px 0; }
.ew-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ew-band__title { color: #fff; font-size: 36px; line-height: 1.15; font-weight: 700; margin: 0 0 12px; max-width: 460px; }
.ew-band__text { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }
.ew-band__actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.ew-band__btn { background: #b5214f; color: #fff; padding: 14px 26px; border-radius: 30px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.ew-band__btn:hover { background: #941a40; color: #fff; }
.ew-band__phone { color: #fff; font-size: 15px; white-space: nowrap; }
.ew-band__phone:hover { color: #fff; text-decoration: underline; }
.ew-footer { background: #0e0e0e; color: rgba(255,255,255,.7); padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.ew-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.ew-footer__about img { width: 130px; height: auto; margin-bottom: 18px; }
.ew-footer__about p { color: rgba(255,255,255,.7); line-height: 1.7; max-width: 260px; margin: 0; }
.ew-footer__title { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 14px; }
.ew-footer ul { list-style: none; margin: 0; padding: 0; }
.ew-footer li { margin-bottom: 8px; line-height: 1.6; color: rgba(255,255,255,.7); }
.ew-footer a { color: rgba(255,255,255,.7); }
.ew-footer a:hover { color: #fff; }
.ew-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.ew-footer__bottom p { margin: 0; color: rgba(255,255,255,.55); }
@media (max-width: 991px) {
  .ew-band__inner { flex-direction: column; align-items: flex-start; }
  .ew-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .ew-band { padding: 48px 0; }
  .ew-band__title { font-size: 28px; }
  .ew-footer { padding-bottom: 80px; }
  .ew-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .ew-footer__bottom { flex-direction: column; }
}

/* Google reviews: hide the "Based on N reviews" count. The widget's saved count goes out of date (it said 11, Google has 18). */
.ti-widget .ti-rating-text { display: none !important; }
.ew-footer .ew-footer__about p { font-size: 14px; line-height: 1.7; }
.ew-footer .ew-footer__bottom p { font-size: 12px; line-height: 1.5; }
.ew-band .ew-band__text { font-size: 15px; line-height: 1.5; }

/* ---------- Base inside the rebuilt pages (low specificity, so components can override) ---------- */
.ew {
  color: var(--ew-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
:where(.ew) h1,
:where(.ew) h2,
:where(.ew) h3,
:where(.ew) h4 {
  margin: 0;
  color: var(--ew-ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
:where(.ew) p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
:where(.ew) p + p {
  margin-top: 14px;
}
:where(.ew) ul,
:where(.ew) ol {
  margin: 0;
  padding: 0;
}
:where(.ew) li {
  list-style: none;
  margin: 0;
}
:where(.ew) img {
  max-width: 100%;
  height: auto;
}
:where(.ew) a {
  color: var(--ew-red);
}
:where(.ew) a:hover {
  color: var(--ew-red-dark);
}

.ew-wrap {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Small parts ---------- */
.ew-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.ew-eyebrow--muted {
  color: var(--ew-muted);
}
.ew-h2 {
  font-size: 34px;
}
.ew-h3 {
  font-size: 24px;
}
.ew-lead {
  max-width: 620px;
  margin-top: 12px;
  font-size: 16px;
}
.ew-body {
  font-size: 16.5px;
  line-height: 1.7;
}
.ew-h2 + .ew-body {
  margin-top: 16px;
}
.ew-muted {
  color: var(--ew-muted);
  margin-top: 8px;
}
.ew-small {
  font-size: 14px;
}
.ew-note {
  font-size: 13px;
  color: var(--ew-muted);
  margin-bottom: 14px;
}
.ew-center {
  text-align: center;
}
.ew-mt {
  margin-top: 26px !important;
}
.ew-mt-lg {
  margin-top: 56px !important;
}
.ew-rule {
  margin-top: 32px !important;
  padding-top: 26px;
  border-top: 1px solid var(--ew-line);
  font-size: 14px;
}

.ew-btn,
.ew .ew-btn {
  display: inline-block;
  padding: 13px 26px;
  border: 0;
  border-radius: 40px;
  background: var(--ew-red);
  color: #fff;
  font-family: var(--ew-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s;
}
.ew-btn:hover,
.ew .ew-btn:hover {
  background: var(--ew-red-dark);
  color: #fff;
}
.ew .ew-link {
  color: var(--ew-red);
  font-size: 14.5px;
}
.ew .ew-link:hover {
  text-decoration: underline;
}
.ew .ew-link--underline {
  border-bottom: 1px solid var(--ew-red);
  padding-bottom: 1px;
  white-space: nowrap;
}
.ew .ew-link--underline:hover {
  text-decoration: none;
}

.ew-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px !important;
}
.ew-pills li {
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--ew-beige);
  font-size: 13px;
  color: var(--ew-ink);
}

.ew-box {
  padding: 22px 24px;
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
  background: #fff;
}
.ew-box__title {
  font-size: 18px;
  margin-bottom: 6px !important;
}
.ew-box p {
  font-size: 14.5px;
}
.ew-stack {
  display: grid;
  gap: 14px;
}

/* ---------- Header ---------- */
.ew-header {
  position: sticky;
  top: -34px;
  z-index: 1000;
  background: #fff;
  font-family: var(--ew-font);
}
.ew-topbar {
  height: 34px;
  background: #161616;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 34px;
}
.ew-topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}
.ew-topbar a {
  color: #fff;
}
.ew-topbar a:hover {
  text-decoration: underline;
}
.ew-nav {
  border-bottom: 1px solid var(--ew-line);
}
.ew-nav__inner {
  display: flex;
  align-items: center;
  height: 74px;
  gap: 30px;
}
.ew-nav__logo {
  margin-right: auto;
  line-height: 0;
}
.ew-nav__logo img {
  width: 96px;
  height: auto;
}
.ew-nav__menu > ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.ew-nav__menu li {
  position: relative;
  list-style: none;
  margin: 0;
}
.ew-nav__menu a {
  display: block;
  padding: 26px 0;
  color: var(--ew-ink);
  font-size: 15px;
  line-height: 22px;
}
.ew-nav__menu a:hover,
.ew-nav__menu a.is-current {
  color: var(--ew-red);
}
.ew-nav__menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.ew-nav__menu li:hover > ul,
.ew-nav__menu li:focus-within > ul {
  display: block;
}
.ew-nav__menu li ul a {
  padding: 8px 18px;
  font-size: 14.5px;
}
.ew-nav__cta {
  padding: 11px 22px;
}
.ew-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ew-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.ew-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ew-ink);
  transition: transform 0.2s, opacity 0.2s;
}
.ew-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ew-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.ew-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.ew-mnav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 10px 24px 28px;
  background: #fff;
  border-bottom: 1px solid var(--ew-line);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}
.ew-mnav[hidden] {
  display: none;
}
.ew-mnav ul {
  margin: 0;
  padding: 0;
}
.ew-mnav li {
  list-style: none;
  margin: 0;
}
.ew-mnav > ul > li {
  border-bottom: 1px solid var(--ew-line);
}
.ew-mnav a {
  display: block;
  padding: 13px 0;
  color: var(--ew-ink);
  font-size: 17px;
}
.ew-mnav li ul {
  padding: 0 0 10px 14px;
}
.ew-mnav li ul a {
  padding: 7px 0;
  font-size: 15px;
  color: var(--ew-text);
}
.ew-mnav .ew-btn {
  display: block;
  margin-top: 20px;
  padding: 14px;
  color: #fff;
  text-align: center;
}
.ew-mnav p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ew-muted);
  text-align: center;
}
.ew-mnav p a {
  display: inline;
  padding: 0;
  font-size: 14px;
  color: var(--ew-ink);
}

/* Sticky quote bar on phones */
.ew-sticky-quote {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  height: 50px;
  background: var(--ew-red);
  color: #fff;
  font-family: var(--ew-font);
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
}
.ew-sticky-quote:hover {
  color: #fff;
}

/* ---------- Home hero ---------- */
.ew-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 80px 0;
  background: #222;
  color: #fff;
  overflow: hidden;
}
.ew-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0) 72%);
}
.ew-hero__img,
.ew-phead__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}
.ew-hero .ew-wrap {
  position: relative;
  z-index: 2;
}
.ew-hero__content {
  max-width: 560px;
  padding-left: 20px;
}
.ew-hero__title {
  margin: 0 0 22px;
  color: #fff;
  font-size: 66px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.ew-hero__subtitle {
  margin: 0 0 30px;
  color: #fff;
  font-size: 19px;
  line-height: 1.45;
}
.ew-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.ew .ew-hero__phone {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.ew .ew-hero__phone:hover {
  color: #fff;
  text-decoration: underline;
}
.ew-hero__coverage {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

/* ---------- Page headers ---------- */
.ew-phead {
  padding: 78px 0 62px;
  background: var(--ew-beige);
}
.ew-phead .ew-eyebrow {
  color: var(--ew-muted);
}
.ew-phead__title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.ew-phead__text {
  max-width: 720px;
  margin-top: 18px !important;
  font-size: 18px;
  color: var(--ew-ink);
}
.ew-phead--photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 370px;
  padding: 60px 0 52px;
  background: #222;
  overflow: hidden;
}
.ew-phead--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.7) 100%);
}
.ew-phead--photo .ew-phead__inner {
  position: relative;
  z-index: 2;
  padding-left: 44px;
}
.ew-phead--photo .ew-eyebrow,
.ew-phead--photo .ew-phead__title {
  color: #fff;
}
.ew-phead--photo .ew-phead__title {
  font-size: 54px;
}

/* ---------- Sections ---------- */
.ew-sec {
  padding: 84px 0;
}
.ew-sec--flush {
  padding-top: 0;
}
.ew-sec--tight {
  padding: 44px 0;
}
.ew-sec--beige {
  background: var(--ew-beige);
}
.ew-sec--line {
  border-top: 1px solid var(--ew-line);
}
.ew-sec--beige + .ew-sec--line {
  border-top: 0;
}
.ew-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.ew-sec__head + .ew-tiles,
.ew-lead + .ew-ba,
.ew-lead + .ew-cards,
.ew-lead + .ew-photo-links,
.ew-h2 + .ew-cards,
.ew-h2 + .ew-steps-grid,
.ew-h2 + .ew-team,
.ew-h2 + .ew-team-wrap,
.ew-h2 + .ew-ba {
  margin-top: 28px;
}
.ew-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ew-split--top {
  align-items: start;
}
.ew-split--form {
  grid-template-columns: 0.9fr 1fr;
}
.ew-split + .ew-cards {
  margin-top: 56px;
}
.ew-stat {
  color: var(--ew-red);
  font-size: 128px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.ew-stat--sm {
  font-size: 92px;
}
.ew-wide-photo {
  margin-top: 56px;
  border-radius: var(--ew-radius);
  overflow: hidden;
  line-height: 0;
}
.ew-wide-photo img {
  width: 100%;
  aspect-ratio: 875 / 400;
  object-fit: cover;
}
.ew-intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ew-ink);
}

/* ---------- Photo tiles ---------- */
.ew-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ew-tiles--4 {
  grid-template-columns: repeat(4, 1fr);
}
.ew-tiles a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
  background: var(--ew-beige);
}
.ew-tiles img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s;
}
.ew-tiles--portrait img {
  aspect-ratio: 4 / 5;
}
.ew-tiles--tall img {
  aspect-ratio: 3 / 4;
}
.ew-tiles--landscape img {
  aspect-ratio: 4 / 3;
}
.ew-tiles a:hover img {
  transform: scale(1.03);
}

/* Before / after */
.ew-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ew-ba figure {
  position: relative;
  margin: 0;
  border-radius: var(--ew-radius);
  overflow: hidden;
  line-height: 0;
}
.ew-ba img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ew-ba span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: 30px;
  background: #161616;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ew-ba span.is-after {
  background: var(--ew-red);
}

/* ---------- Service cards ---------- */
.ew-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ew-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ew-radius);
  background: #fff;
  overflow: hidden;
}
.ew-cards--bordered .ew-card {
  border: 1px solid var(--ew-line);
}
.ew-card__media {
  display: block;
  line-height: 0;
}
.ew-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ew-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}
.ew-card__title {
  font-size: 21px;
  margin-bottom: 10px !important;
}
.ew .ew-card__title a {
  color: var(--ew-ink);
}
.ew-card__text {
  flex: 1;
  font-size: 14.5px;
}
.ew-card__price {
  margin-top: 18px !important;
  font-size: 14.5px;
  color: var(--ew-ink);
}
.ew-card .ew-link {
  margin-top: 8px;
}
.ew-card__text + .ew-link {
  margin-top: 18px;
}

/* ---------- About ---------- */
.ew-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ew-step {
  border-radius: var(--ew-radius);
  background: #fff;
  overflow: hidden;
}
.ew-step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ew-step__body {
  padding: 20px 20px 24px;
}
.ew-step__num {
  color: var(--ew-red);
  font-size: 12px;
  font-weight: 600;
}
.ew-step__title {
  margin: 6px 0 8px !important;
  font-size: 18px;
}
.ew-step__body p:last-child {
  margin-top: 0;
  font-size: 14px;
}
.ew-photo-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ew .ew-photo-links a {
  color: var(--ew-ink);
  font-size: 17px;
  font-weight: 600;
}
.ew-photo-links img {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ew .ew-photo-links a:hover {
  color: var(--ew-red);
}
.ew-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ew-member {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ew-member__photo {
  flex: 0 0 84px;
  width: 84px !important;
  height: 84px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}
.ew-member__role {
  color: var(--ew-red);
  font-size: 13.5px !important;
}
.ew-member p + p {
  margin-top: 6px;
}
.ew-strip {
  padding: 26px 0;
  background: var(--ew-beige);
}
.ew-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  font-size: 15px;
  color: var(--ew-ink);
}

/* ---------- Service pages (HTML written by deploy/content/03b-service-pages.php) ---------- */
.ew-facts {
  display: grid;
  gap: 14px;
}
.ew-fact {
  padding: 22px 24px;
  border-radius: var(--ew-radius);
  background: var(--ew-beige);
}
.ew-fact__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ew-muted);
}
.ew-fact__value {
  margin-top: 6px !important;
  color: var(--ew-red);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}
.ew-fact__value small {
  color: var(--ew-ink);
  font-size: 14px;
  font-weight: 400;
}
.ew-fact > p:last-child:not(.ew-fact__value) {
  margin-top: 8px;
  font-size: 13.5px;
}
.ew-fact__trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.ew-fact__trio span {
  display: block;
  font-size: 13px;
}
.ew-fact__trio strong {
  display: block;
  color: var(--ew-red);
  font-size: 20px;
  font-weight: 600;
}
.ew-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 56px;
}
.ew-lists--3 {
  grid-template-columns: repeat(3, 1fr);
}
.ew-lists .ew-box {
  padding: 28px 28px 30px;
}
.ew-lists h2 {
  font-size: 21px;
  margin-bottom: 14px;
}
.ew-lists li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
}
.ew-lists li + li {
  margin-top: 8px;
}
.ew-lists li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ew-ink);
}
.ew-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.ew-notes--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ew-notes h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.ew-notes p {
  font-size: 14.5px;
}
.ew-sub {
  margin: 44px 0 18px !important;
  font-size: 18px;
}
.ew-also {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.ew-also__title {
  margin-bottom: 6px !important;
  font-size: 15px;
}
.ew-also p + p {
  margin-top: 4px;
}
.ew-dots {
  color: var(--ew-red);
}
.ew-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
}
.ew-inline-links strong {
  color: var(--ew-ink);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Areas we serve (HTML written by deploy/content/06-locations.php) ---------- */
.ew-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ew-area {
  padding: 24px 24px 26px;
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
}
.ew-area--plain {
  border-color: var(--ew-beige);
  background: var(--ew-beige);
}
.ew-area h2 {
  font-size: 21px;
  margin-bottom: 8px;
}
.ew-area p {
  font-size: 14.5px;
}
.ew-area p + p {
  margin-top: 10px;
}
.ew-callline {
  margin-top: 56px !important;
  padding-top: 30px;
  border-top: 1px solid var(--ew-line);
  font-size: 16px;
  color: var(--ew-ink);
}
.ew .ew-callline a {
  margin-left: 14px;
  font-weight: 600;
}

/* ---------- Plain text pages (privacy, blog posts) ---------- */
.ew-prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
}
.ew-prose h2 {
  margin: 40px 0 12px;
  font-size: 26px;
}
.ew-prose h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}
.ew-prose ul,
.ew-prose ol {
  margin: 14px 0 14px 22px;
}
.ew-prose ul li {
  list-style: disc;
  margin-bottom: 6px;
}
.ew-prose ol li {
  list-style: decimal;
  margin: 0 0 6px;
}
.ew-prose img {
  margin: 20px 0;
  border-radius: var(--ew-radius);
}

/* ---------- Reviews ---------- */
.ew-reviews {
  padding-bottom: 70px;
}
.ew-reviews .ew-h2 {
  margin-bottom: 26px;
}

/* ---------- Contact ---------- */
.ew-contact p + p {
  margin-top: 6px;
}
.ew-contact .ew-h3 + p {
  margin-top: 12px;
}
.ew .ew-contact__phone {
  margin-top: 16px !important;
}
.ew .ew-contact__phone a {
  color: var(--ew-red);
  font-size: 24px;
  font-weight: 600;
}
.ew-next {
  margin: 30px 0 26px;
  padding: 26px 28px;
  border-radius: var(--ew-radius);
  background: var(--ew-beige);
}
.ew-next ol {
  counter-reset: ew-step;
  margin-top: 16px;
}
.ew-next li {
  position: relative;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 3px 0 0 46px;
  font-size: 14.5px;
  list-style: none;
  counter-increment: ew-step;
}
.ew-next li:last-child {
  margin-bottom: 0;
}
.ew-next li::before {
  content: counter(ew-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ew-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}
.ew-form-card {
  padding: 32px 30px 30px;
}
.ew-form-card .ew-h3 {
  margin-bottom: 18px;
}
.ew-quote-form .forminator-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.ew-quote-form .forminator-row > .forminator-col {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
}
.ew-quote-form .forminator-label {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ew-ink);
}
.ew-quote-form .forminator-required {
  display: none;
}
.ew-quote-form .forminator-description {
  margin: -2px 0 8px;
  font-size: 13px;
  color: var(--ew-muted);
}
.ew-quote-form input.forminator-input,
.ew-quote-form select,
.ew-quote-form textarea {
  height: 46px;
  font-family: var(--ew-font);
  font-size: 15px;
  background: #fff;
  border: 1px solid #d9d5ce;
  border-radius: 6px;
}
.ew-quote-form textarea {
  height: 120px;
}
.ew-quote-form .forminator-checkbox,
.ew-quote-form .forminator-radio {
  display: inline-flex;
  width: calc(50% - 6px);
  margin: 0 8px 10px 0;
  padding: 12px 14px;
  border: 1px solid #d9d5ce;
  border-radius: 6px;
  font-size: 15px;
  color: var(--ew-ink);
}
.ew-quote-form .forminator-checkbox:nth-of-type(even),
.ew-quote-form .forminator-radio:nth-of-type(even) {
  margin-right: 0;
}
.ew-quote-form input[type="checkbox"],
.ew-quote-form input[type="radio"] {
  width: 17px;
  height: 17px;
}
.ew-quote-form .forminator-field-upload,
.ew-quote-form .forminator-file-upload,
.ew-quote-form .forminator-multi-upload {
  display: block;
}
.ew-quote-form .forminator-row:has(input[type="file"]) .forminator-field {
  padding: 22px 16px;
  border: 1px dashed #d2ccc0;
  border-radius: 6px;
  background: #faf9f6;
  text-align: center;
}
.ew-quote-form .forminator-row:has(input[type="file"]) .forminator-label {
  color: var(--ew-red);
  font-weight: 600;
}
.ew-quote-form .forminator-row:has(input[type="file"]) input[type="file"] {
  margin: 0 auto;
  max-width: 100%;
}
.ew-quote-form .forminator-ui .forminator-button-submit,
.ew-quote-form .forminator-button-submit {
  padding: 14px 28px;
  border: 0;
  border-radius: 40px;
  background: var(--ew-red);
  color: #fff;
  font-family: var(--ew-font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.ew-quote-form .forminator-button-submit:hover {
  background: var(--ew-red-dark);
}
.ew-privacy-note {
  margin-top: 16px !important;
  font-size: 13px;
  color: var(--ew-muted);
}
.ew .ew-privacy-note a {
  text-decoration: underline;
}

/* ---------- Footer and closing band: shared width ---------- */
.ew-band,
.ew-footer {
  font-family: var(--ew-font);
}
.ew-band__title {
  font-weight: 600;
  max-width: 520px;
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .ew-nav__menu,
  .ew-nav__cta {
    display: none;
  }
  .ew-nav__toggle {
    display: block;
  }
  .ew-nav__inner {
    height: 66px;
  }
  .ew-hero__title {
    font-size: 52px;
  }
  .ew-phead__title,
  .ew-phead--photo .ew-phead__title {
    font-size: 42px;
  }
  .ew-split,
  .ew-split--form {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .ew-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ew-lists--3,
  .ew-notes--3 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ew-areas {
    grid-template-columns: 1fr 1fr;
  }
  .ew-stat {
    font-size: 104px;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .ew-wrap {
    padding: 0 18px;
  }
  .ew-topbar__inner {
    justify-content: space-between;
  }
  .ew-topbar__email {
    display: none;
  }
  .ew-sticky-quote {
    display: block;
  }
  .ew-footer {
    padding-bottom: 80px;
  }
  .ew-hero {
    min-height: 0;
    padding: 150px 0 44px;
    align-items: flex-end;
  }
  .ew-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.78) 70%);
  }
  .ew-hero__content {
    padding-left: 0;
  }
  .ew-hero__title {
    font-size: 40px;
  }
  .ew-hero__subtitle {
    font-size: 17px;
  }
  .ew-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  .ew-hero__actions .ew-btn {
    padding: 15px;
  }
  .ew-hero__coverage {
    margin-top: 14px;
    text-align: center;
  }
  .ew-phead {
    padding: 48px 0 40px;
  }
  .ew-phead--photo {
    min-height: 260px;
    padding: 40px 0 32px;
  }
  .ew-phead--photo .ew-phead__inner {
    padding-left: 18px;
  }
  .ew-phead__title,
  .ew-phead--photo .ew-phead__title {
    font-size: 34px;
  }
  .ew-sec {
    padding: 54px 0;
  }
  .ew-sec--flush {
    padding-top: 0;
  }
  .ew-sec--tight {
    padding: 34px 0;
  }
  .ew-h2 {
    font-size: 27px;
  }
  .ew-stat {
    font-size: 84px;
  }
  .ew-wide-photo {
    margin-top: 34px;
  }
  .ew-wide-photo img {
    aspect-ratio: 4 / 3;
  }
  .ew-sec__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ew-tiles,
  .ew-tiles--4 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ew-ba,
  .ew-cards,
  .ew-photo-links,
  .ew-team,
  .ew-lists,
  .ew-notes,
  .ew-also,
  .ew-areas {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ew-steps-grid {
    grid-template-columns: 1fr;
  }
  .ew-lists {
    margin-top: 36px;
  }
  .ew-notes,
  .ew-also {
    gap: 26px;
  }
  .ew-strip ul {
    flex-direction: column;
  }
  .ew-form-card {
    padding: 24px 18px;
  }
  .ew-quote-form .forminator-row {
    flex-direction: column;
    gap: 16px;
  }
  .ew-quote-form .forminator-checkbox,
  .ew-quote-form .forminator-radio {
    width: 100%;
    margin-right: 0;
  }
  .ew .ew-callline a {
    display: block;
    margin: 6px 0 0;
  }
}

/* Form: hint text sits under the label (Forminator prints it after the field); options in two columns */
.ew-quote-form .forminator-field {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
}
.ew-quote-form .forminator-field > * {
  flex: 0 0 100%;
  max-width: 100%;
}
.ew-quote-form .forminator-field > .forminator-label {
  order: -2;
}
.ew-quote-form .forminator-field > .forminator-description {
  order: -1;
  margin: -4px 0 8px;
}
.ew-quote-form .forminator-field > .forminator-checkbox,
.ew-quote-form .forminator-field > .forminator-radio {
  flex: 0 0 calc(50% - 4px);
  width: auto;
  margin: 0 0 8px;
}
.ew-quote-form .forminator-row:has(input[type="file"]) .forminator-field {
  justify-content: center;
}
@media (max-width: 767px) {
  .ew-quote-form .forminator-field > .forminator-checkbox,
  .ew-quote-form .forminator-field > .forminator-radio {
    flex-basis: 100%;
  }
}

/* Grid children may shrink below their content width (keeps the form inside the screen on phones) */
.ew-split > *,
.ew-cards > *,
.ew-lists > * {
  min-width: 0;
}
.ew-quote-form input,
.ew-quote-form select,
.ew-quote-form textarea {
  box-sizing: border-box;
  max-width: 100%;
}
.ew-quote-form .forminator-field {
  box-sizing: border-box;
  max-width: 100%;
}
.ew-quote-form .forminator-row > .forminator-col {
  max-width: 100%;
  box-sizing: border-box;
}
.ew-quote-form input[type="file"] {
  width: 100%;
  min-width: 0;
}
.ew-quote-form .forminator-field > .forminator-button-submit {
  flex: 0 0 auto;
}

/* ---------- About: team photo beside the two cards ---------- */
.ew-team--stack {
  grid-template-columns: 1fr;
}
.ew-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ew-radius);
}
.ew-team-wrap {
  align-items: center;
}

/* ---------- Ads landing page (page-landing.php) ---------- */
.ew-landing .ew-lead + .ew-cards {
  margin-top: 32px;
}
.ew-landing__why,
.ew-landing__tiles {
  margin-top: 28px;
}
.ew-landing #quote {
  scroll-margin-top: 90px;
}
