/* ==========================================================================
   Extreme Marketing - brand layer (switched on by body.em-hs-brand)

   Classes you can add to Divi modules (Advanced > Attributes > class):
     em-card          dark panel with hairline border; red glow follows the cursor
     em-card-red      solid brand-gradient panel
     em-checks        Text module: list items get red ticks
     em-steps         Group: children become a numbered sequence joined by a line
     em-band-red      Section: brand gradient field
     em-grid-bg       Section: faint grid lines behind the content
     em-outline       Text/Heading: hollow outlined lettering
     em-btn-primary / em-btn-ghost / em-btn-white   Button variants
     em-menu-cta      Menu item class (Appearance > Menus): renders as a red button
   ========================================================================== */

/* ---------------------------------------------------------------- base */
html :where(body.em-hs-brand) { background: var(--em-ink); color: var(--em-text); }
html :where(body.em-hs-brand) #page-container,
html :where(body.em-hs-brand) #main-content,
html :where(body.em-hs-brand) #et-main-area { background: var(--em-ink); }
html :where(body.em-hs-brand),
html :where(body.em-hs-brand) p,
html :where(body.em-hs-brand) li,
html :where(body.em-hs-brand) input,
html :where(body.em-hs-brand) textarea,
html :where(body.em-hs-brand) select,
html :where(body.em-hs-brand) #top-menu a,
html :where(body.em-hs-brand) .et_mobile_menu a { font-family: var(--em-font-body); }
html :where(body.em-hs-brand) h1,
html :where(body.em-hs-brand) h2,
html :where(body.em-hs-brand) h3,
html :where(body.em-hs-brand) h4,
html :where(body.em-hs-brand) h5,
html :where(body.em-hs-brand) h6 {
  font-family: var(--em-font-head);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.04;
}
html :where(body.em-hs-brand) h3,
html :where(body.em-hs-brand) h4 { letter-spacing: 0.02em; line-height: 1.15; }
html :where(body.em-hs-brand) a { color: #ff5a4f; }
html :where(body.em-hs-brand) .et_pb_button { font-family: var(--em-font-head); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; font-size: 15px; }

/* ---------------------------------------------------- Divi default header */
html :where(body.em-hs-brand) #main-header,
html :where(body.em-hs-brand) #main-header .nav li ul,
html :where(body.em-hs-brand) #main-header .et_mobile_menu { background-color: #000 !important; }
html :where(body.em-hs-brand) #main-header { box-shadow: 0 1px 0 var(--em-line); }
html :where(body.em-hs-brand) #main-header.et-fixed-header { background-color: rgba(0, 0, 0, 0.82) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html :where(body.em-hs-brand) #top-menu a,
html :where(body.em-hs-brand) #main-header .et_mobile_menu a,
html :where(body.em-hs-brand) #et_search_icon::before,
html :where(body.em-hs-brand) #top-menu .menu-item-has-children > a:first-child::after { color: #fff !important; }
html :where(body.em-hs-brand) #top-menu > li > a { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
html :where(body.em-hs-brand) #top-menu > li.current-menu-item > a,
html :where(body.em-hs-brand) #top-menu > li.current-menu-ancestor > a,
html :where(body.em-hs-brand) #top-menu > li > a:hover { color: #ff5a4f !important; opacity: 1; }
html :where(body.em-hs-brand) #main-header .nav li ul { border: 1px solid var(--em-line); border-radius: var(--em-radius); padding: 10px 0; width: 260px; }
html :where(body.em-hs-brand) #top-menu li li a { width: 220px; padding: 8px 14px; border-radius: 4px; font-size: 14px; }
html :where(body.em-hs-brand) #top-menu li li a:hover { background: rgba(224, 43, 32, 0.16); opacity: 1; }
html :where(body.em-hs-brand) .mobile_menu_bar::before { color: #fff !important; }
html :where(body.em-hs-brand) #main-header .et_mobile_menu { border-top: 2px solid var(--em-brand); }
html :where(body.em-hs-brand) #main-header .et_mobile_menu li a:hover { background: rgba(224, 43, 32, 0.16); }
html :where(body.em-hs-brand) #logo { max-height: 62%; }

html :where(body.em-hs-brand) #top-menu li.em-menu-cta { padding-right: 0; }
html :where(body.em-hs-brand) #top-menu li.em-menu-cta > a {
  padding: 12px 18px !important;
  border-radius: var(--em-btn-radius);
  background: linear-gradient(100deg, var(--em-brand-deep), var(--em-brand-2));
  color: #fff !important;
  font-family: var(--em-font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: filter 0.25s ease, transform 0.25s var(--em-ease);
}
html :where(body.em-hs-brand) #top-menu li.em-menu-cta > a:hover { filter: brightness(1.15); transform: translate3d(0, -1px, 0); color: #fff !important; }
html :where(body.em-hs-brand) .et_mobile_menu li.em-menu-cta a { margin-top: 8px; background: var(--em-brand); text-align: center; }

/* --------------------------------------------------------------- sections */
.em-hero.et_pb_section { position: relative; overflow: hidden; isolation: isolate; }
.em-hero.et_pb_section::before,
.em-hero.et_pb_section::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.em-hero.et_pb_section::before {
  width: 58vw; height: 58vw; max-width: 900px; max-height: 900px;
  right: -14vw; top: -22vw;
  background: radial-gradient(circle, rgba(247, 23, 53, 0.55), rgba(150, 20, 10, 0.25) 55%, transparent 70%);
  animation: em-drift 18s ease-in-out infinite alternate;
}
.em-hero.et_pb_section::after {
  width: 36vw; height: 36vw; max-width: 560px; max-height: 560px;
  left: -12vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(224, 43, 32, 0.4), transparent 68%);
  animation: em-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes em-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vw, 5vw, 0) scale(1.15); }
}
.em-grid-bg.et_pb_section {
  background-image:
    linear-gradient(var(--em-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--em-line) 1px, transparent 1px) !important;
  background-size: 88px 88px !important;
  background-position: center top !important;
}
.em-hero.em-grid-bg.et_pb_section { -webkit-mask-image: none; }
.em-hero.em-grid-bg.et_pb_section > .et_pb_row { position: relative; }
.em-band-red.et_pb_section {
  background-image: linear-gradient(120deg, var(--em-brand-deep) 0%, var(--em-brand) 48%, var(--em-brand-2) 100%) !important;
  position: relative;
  overflow: hidden;
}
.em-band-red.et_pb_section::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(0, 0, 0, 0.07) 46px 48px);
  pointer-events: none;
}
.em-band-red.et_pb_section > .et_pb_row { position: relative; z-index: 1; }

/* Breadcrumb used on inner page heroes */
.em-crumbs p { font-size: 14px; color: var(--em-muted); }
.em-crumbs a { color: var(--em-muted); text-decoration: none; }
.em-crumbs a:hover { color: #fff; }
.em-crumbs span { color: #ff5a4f; }

/* Hollow lettering */
.em-outline h1, .em-outline h2, .em-outline p, span.em-outline {
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------------ cards */
.em-card {
  position: relative;
  background: var(--em-ink-3);
  border: 1px solid var(--em-line);
  border-radius: var(--em-radius);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--em-ease);
}
.em-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--em-mx, 50%) var(--em-my, -40%), rgba(247, 23, 53, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.em-card:hover { border-color: rgba(247, 23, 53, 0.6); }
.em-card:hover::before { opacity: 1; }
.em-card > * { position: relative; }
.em-card-red {
  background: linear-gradient(140deg, var(--em-brand-deep), var(--em-brand) 55%, var(--em-brand-2)) !important;
  border-radius: var(--em-radius);
}
a.em-card { display: block; color: inherit; text-decoration: none; }

.em-card-link a { color: #fff !important; font-family: var(--em-font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; text-decoration: none; background: linear-gradient(var(--em-brand), var(--em-brand)) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size 0.35s var(--em-ease), color 0.25s ease; }
.em-card-link a:hover { color: #ff5a4f !important; background-size: 30% 2px; }
.em-card .em-card-link { margin-top: auto; }

.em-icon-badge { display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 !important; }
.em-icon-badge .et-pb-icon { line-height: 1; }

/* Tick lists */
.em-checks ul { list-style: none; padding: 0 !important; margin: 0; }
.em-checks li { position: relative; padding: 0 0 12px 30px; }
.em-checks li::before {
  content: '';
  position: absolute; left: 0; top: 0.32em;
  width: 18px; height: 18px;
  border-radius: 3px;
  background: var(--em-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='square' d='M4 8.4l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.em-checks strong { color: #fff; }
.em-band-red .em-checks li::before, .em-card-red .em-checks li::before { background-color: #000; }

/* Numbered sequence (use only for real steps) */
.em-steps { counter-reset: em-step; }
.em-step { position: relative; counter-increment: em-step; }
.em-step::before {
  content: counter(em-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--em-font-head);
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--em-brand-2);
}
.em-step::after { content: ''; position: absolute; top: 32px; left: 96px; right: -24px; height: 1px; background: linear-gradient(90deg, var(--em-brand), transparent); }
.em-step:last-child::after { display: none; }

/* Big numbers */
.em-stat-num p { font-family: var(--em-font-head); line-height: 0.95; letter-spacing: -0.01em; }
.em-stats > * + * { border-left: 1px solid var(--em-line); padding-left: 32px !important; }

/* Rolling service names */
.em-ticker { --em-marquee-gap: 44px; --em-marquee-speed: 38s; border-block: 1px solid var(--em-line); padding-block: 22px !important; }
.em-ticker p { font-family: var(--em-font-head); text-transform: uppercase; font-size: clamp(28px, 4.2vw, 56px); line-height: 1; white-space: nowrap; color: #fff; }
.em-ticker .em-marquee-track > *:nth-child(even) p { color: transparent; -webkit-text-stroke: 1.5px var(--em-brand-2); }

/* ------------------------------------------------- hero "get found" demo */
.em-found { position: relative; border: 1px solid var(--em-line); border-radius: 10px; background: rgba(12, 12, 13, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 90px -40px rgba(247, 23, 53, 0.55); overflow: hidden; }
.em-found-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--em-line); }
.em-found-tab { padding: 9px 14px; border: 0; border-radius: 6px 6px 0 0; background: transparent; color: var(--em-muted); font: 500 13px var(--em-font-body); cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease; }
.em-found-tab[aria-selected='true'] { background: var(--em-ink-3); color: #fff; box-shadow: inset 0 2px 0 var(--em-brand-2); }
.em-found-bar { display: flex; align-items: center; gap: 12px; margin: 18px; padding: 13px 16px; border: 1px solid var(--em-line); border-radius: 999px; background: #000; color: #fff; font-size: 15px; min-height: 50px; }
.em-found-bar svg { flex: 0 0 18px; width: 18px; height: 18px; stroke: var(--em-muted); fill: none; stroke-width: 2; }
.em-found-q::after { content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--em-brand-2); animation: em-caret 1s steps(1) infinite; }
.em-found.em-found-done .em-found-q::after { display: none; }
.em-found-body { padding: 0 18px 18px; min-height: 250px; }
.em-found-note { margin: 0 0 12px; padding: 0 !important; font-size: 13px; color: var(--em-muted); }
.em-found-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border: 1px solid transparent; border-radius: 8px; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.45s var(--em-ease), transform 0.45s var(--em-ease), border-color 0.4s ease, background-color 0.4s ease; }
.em-found.em-found-show .em-found-row { opacity: 1; transform: none; }
.em-found.em-found-show .em-found-row:nth-child(3) { transition-delay: 0.12s; opacity: 0.55; }
.em-found.em-found-show .em-found-row:nth-child(4) { transition-delay: 0.24s; opacity: 0.35; }
.em-found-row.em-found-you { border-color: rgba(247, 23, 53, 0.65); background: rgba(224, 43, 32, 0.12); }
.em-found-rank { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: #000; border: 1px solid var(--em-line); font: 500 14px var(--em-font-head); color: #fff; }
.em-found-you .em-found-rank { background: var(--em-brand); border-color: var(--em-brand); }
.em-found-row strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.em-found-row span { display: block; font-size: 13px; line-height: 1.5; color: var(--em-muted); }
.em-found-row i { display: block; height: 9px; margin-top: 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); font-style: normal; }
@keyframes em-caret { 50% { opacity: 0; } }

/* ----------------------------------------------------------------- buttons */
.em-btn-primary.et_pb_button,
body.em-hs-brand .et_pb_contact_submit.et_pb_button,
.em-btn {
  background-color: var(--em-brand) !important;
  background-image: linear-gradient(100deg, var(--em-brand-deep), var(--em-brand-2)) !important;
  border: 0 !important;
  color: #fff !important;
  padding: 0.95em 1.7em !important;
  border-radius: var(--em-btn-radius) !important;
}
.em-btn-ghost.et_pb_button { background: transparent !important; border: 1px solid rgba(255, 255, 255, 0.5) !important; color: #fff !important; padding: 0.95em 1.7em !important; border-radius: var(--em-btn-radius) !important; }
.em-btn-ghost.et_pb_button:hover { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.em-btn-white.et_pb_button { background: #fff !important; border: 0 !important; color: #000 !important; padding: 0.95em 1.7em !important; border-radius: var(--em-btn-radius) !important; }
.em-btn-white.et_pb_button:hover { background: #000 !important; color: #fff !important; }
.et_pb_button[class*='em-btn-'], .em-btn { transition: filter 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--em-ease), box-shadow 0.25s var(--em-ease) !important; }
.em-btn-primary.et_pb_button:hover, body.em-hs-brand .et_pb_contact_submit.et_pb_button:hover, .em-btn:hover { filter: brightness(1.14); transform: translate3d(0, -2px, 0); box-shadow: 0 16px 34px -14px rgba(247, 23, 53, 0.8); padding: 0.95em 1.7em !important; }
.et_pb_button_module_wrapper { margin-bottom: 0 !important; }
a.em-btn { display: inline-block; font-family: var(--em-font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; text-decoration: none; }

/* ------------------------------------------------------------------- forms */
body.em-hs-brand .em-form .et_pb_contact_field input,
body.em-hs-brand .em-form .et_pb_contact_field textarea,
body.em-hs-brand .em-form .et_pb_contact_field select {
  background: #000 !important;
  border: 1px solid var(--em-line) !important;
  border-radius: var(--em-btn-radius) !important;
  color: #fff !important;
  font-size: 16px !important;
  padding: 14px 16px !important;
}
body.em-hs-brand .em-form .et_pb_contact_field input::placeholder,
body.em-hs-brand .em-form .et_pb_contact_field textarea::placeholder { color: #8d8d96 !important; opacity: 1; }
body.em-hs-brand .em-form .et_pb_contact_field input:focus,
body.em-hs-brand .em-form .et_pb_contact_field textarea:focus,
body.em-hs-brand .em-form .et_pb_contact_field select:focus { border-color: var(--em-brand-2) !important; box-shadow: 0 0 0 3px rgba(247, 23, 53, 0.25); }
body.em-hs-brand .em-form .et_pb_contact_select { background-color: #000 !important; color: #fff !important; }
body.em-hs-brand .em-form .et_contact_bottom_container { float: none; display: flex; justify-content: flex-start; margin-top: 10px; }
body.em-hs-brand .em-form .et_pb_contact_submit { margin-left: 0 !important; font-size: 15px !important; }
body.em-hs-brand .em-form .et-pb-contact-message { color: #fff; }
body.em-hs-brand .em-form .et_pb_contact_form { margin-left: -3%; }

/* ---------------------------------------------------------- media frames */
.em-shot .et_pb_image_wrap, .em-shot img { display: block; border-radius: var(--em-radius); }
.em-shot { position: relative; }
.em-shot::before { content: ''; position: absolute; inset: 12% 6% -4% 6%; background: radial-gradient(closest-side, rgba(247, 23, 53, 0.5), transparent); filter: blur(50px); z-index: 0; }
.em-shot .et_pb_image_wrap { position: relative; z-index: 1; }
.em-photo .et_pb_image_wrap { display: block; overflow: hidden; border-radius: var(--em-radius); border: 1px solid var(--em-line); }
.em-photo img { display: block; width: 100%; filter: saturate(0.9) contrast(1.05); transition: transform 0.8s var(--em-ease), filter 0.5s ease; }
.em-photo:hover img { transform: scale(1.04); filter: none; }

/* Service rows with a photo that wakes up on hover */
.em-service { position: relative; border-top: 1px solid var(--em-line); transition: background-color 0.35s ease; }
.em-service:last-child { border-bottom: 1px solid var(--em-line); }
.em-service:hover { background: var(--em-ink-3); }
.em-service-img { overflow: hidden; border-radius: var(--em-radius); }
.em-service-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) brightness(0.7); transition: filter 0.5s ease, transform 0.8s var(--em-ease); }
.em-service:hover .em-service-img img { filter: none; transform: scale(1.05); }

/* Reviews */
.em-stars p { color: #ffb400; letter-spacing: 3px; }
.em-quote-mark p { font-family: Georgia, serif; font-size: 72px; line-height: 0.6; color: var(--em-brand-2); }

/* FAQ (details/summary inside a Text module) */
.em-faq details { border-top: 1px solid var(--em-line); }
.em-faq details:last-child { border-bottom: 1px solid var(--em-line); }
.em-faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--em-font-head); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; transition: color 0.2s ease; }
.em-faq summary::-webkit-details-marker { display: none; }
.em-faq summary::after { content: '+'; flex: 0 0 auto; font-size: 30px; font-weight: 300; line-height: 1; color: var(--em-brand-2); transition: transform 0.3s var(--em-ease); }
.em-faq details[open] summary::after { transform: rotate(45deg); }
.em-faq summary:hover { color: #ff5a4f; }
.em-faq details > div { padding: 0 4px 24px; max-width: 780px; color: var(--em-muted); }

/* ------------------------------------------------------------- case studies */
.em-cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.em-cs-card { display: flex; flex-direction: column; }
.em-cs-thumb { display: block; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
.em-cs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--em-ease); }
.em-cs-card:hover .em-cs-thumb img { transform: scale(1.06); }
.em-cs-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.em-cs-tag { font-size: 13px; color: #ff5a4f; }
.em-cs-card h3 { margin: 0; padding: 0; font-size: 24px; }
.em-cs-card p { margin: 0; padding: 0; font-size: 15px; line-height: 1.6; color: var(--em-muted); }
.em-cs-stat { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--em-line); }
.em-cs-stat b { font-family: var(--em-font-head); font-size: 34px; font-weight: 600; line-height: 1; color: #fff; }
.em-cs-stat span { font-size: 13px; line-height: 1.35; color: var(--em-muted); }
.em-cs-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.em-cs-filter { padding: 10px 18px; border: 1px solid var(--em-line); border-radius: 999px; background: transparent; color: #fff; font: 500 14px var(--em-font-body); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.em-cs-filter:hover { border-color: #fff; }
.em-cs-filter[aria-pressed='true'] { background: var(--em-brand); border-color: var(--em-brand); }
.em-cs-card[hidden] { display: none; }

.em-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.em-cs-hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 72px; }
.em-cs-hero::before { content: ''; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -16vw; top: -26vw; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(247, 23, 53, 0.5), rgba(150, 20, 10, 0.2) 55%, transparent 70%); }
.em-cs-hero h1 { margin: 14px 0 0; padding: 0; font-size: clamp(42px, 6.4vw, 88px); max-width: 16ch; }
.em-cs-lead { max-width: 60ch; margin: 22px 0 0; font-size: 20px; line-height: 1.55; color: #e4e4e7; }
.em-cs-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.em-cs-meta span { padding: 7px 14px; border: 1px solid var(--em-line); border-radius: 999px; font-size: 13px; color: #fff; }
.em-cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--em-line); }
.em-cs-stats div { padding: 28px 28px 0 0; }
.em-cs-stats div + div { padding-left: 28px; border-left: 1px solid var(--em-line); }
.em-cs-stats b { display: block; font-family: var(--em-font-head); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; color: #fff; }
.em-cs-stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--em-muted); max-width: 26ch; }
.em-cs-section { padding: 72px 0; border-top: 1px solid var(--em-line); }
.em-cs-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.em-cs-cols h2 { margin: 0; padding: 0; font-size: clamp(30px, 3.4vw, 44px); position: sticky; top: 120px; }
.em-cs-copy { font-size: 17px; line-height: 1.75; color: #d4d4d8; }
.em-cs-copy p { padding-bottom: 1.1em; }
.em-cs-copy h3 { margin: 1.2em 0 0.5em; font-size: 22px; }
.em-cs-copy ul { padding: 0 0 1em 1.2em; list-style: square; }
.em-cs-copy li::marker { color: var(--em-brand-2); }
.em-cs-figure { margin: 0 0 8px; border: 1px solid var(--em-line); border-radius: var(--em-radius); overflow: hidden; background: #000; }
.em-cs-figure img { display: block; width: 100%; height: auto; }
.em-cs-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.em-cs-cta { padding: 80px 0; text-align: left; }
.em-cs-cta h2 { margin: 0 0 12px; padding: 0; font-size: clamp(32px, 4.4vw, 60px); max-width: 18ch; }
.em-cs-cta p { max-width: 56ch; margin-bottom: 26px; color: #fff; font-size: 18px; }
.em-archive-hero { padding: 96px 0 56px; position: relative; overflow: hidden; isolation: isolate; }
.em-archive-hero h1 { margin: 12px 0 0; padding: 0; font-size: clamp(46px, 7vw, 104px); }
.em-archive-hero p { max-width: 58ch; margin-top: 20px; font-size: 19px; color: #e4e4e7; }

/* ------------------------------------------------------------------ footer */
html :where(body.em-hs-brand) #main-footer { background-color: #000; border-top: 1px solid var(--em-line); }
html :where(body.em-hs-brand) #footer-widgets { padding: 80px 0 24px; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget h4.title { font-size: 16px; letter-spacing: 0.08em; margin-bottom: 16px; color: #fff; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget,
html :where(body.em-hs-brand) #footer-widgets .footer-widget p { color: var(--em-muted); font-size: 15px; line-height: 1.7; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget li { padding-left: 0; margin-bottom: 10px; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget li::before { display: none; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget a { color: #e4e4e7; transition: color 0.2s ease; }
html :where(body.em-hs-brand) #footer-widgets .footer-widget a:hover { color: #ff5a4f; }
.em-footer-logo { display: block; width: 190px; height: auto; margin-bottom: 20px; }
html :where(body.em-hs-brand) #footer-bottom { background-color: #000; border-top: 1px solid var(--em-line); padding: 22px 0; }
html :where(body.em-hs-brand) #footer-info { font-size: 13px; color: var(--em-muted); }
html :where(body.em-hs-brand) .em-top { background: var(--em-brand); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .em-cs-grid, .em-cs-next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-cs-cols { grid-template-columns: 1fr; gap: 20px; }
  .em-cs-cols h2 { position: static; }
  .em-step::after { display: none; }
  .em-stats > * + * { border-left: 0; padding-left: 0 !important; }
}
@media (max-width: 767px) {
  .em-cs-grid, .em-cs-next { grid-template-columns: 1fr; }
  .em-cs-hero, .em-archive-hero { padding: 64px 0 48px; }
  .em-cs-stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--em-line); }
  .em-cs-stats div { padding: 22px 0; }
  .em-cs-section { padding: 52px 0; }
  .em-found-body { min-height: 0; }
  .em-step::before { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .em-hero.et_pb_section::before, .em-hero.et_pb_section::after { animation: none; }
  .em-card, .em-photo img, .em-service-img img, .em-cs-thumb img, .em-found-row { transition: none; }
  .em-found-row { opacity: 1; transform: none; }
  .em-found-q::after { animation: none; }
}

.em-mt-24 { margin-top: 24px !important; }
.em-mt-40 { margin-top: 40px !important; }

/* Header fit: wide logo beside the menu */
html :where(body.em-hs-brand) #logo { max-height: 52%; max-width: 210px; }
html :where(body.em-hs-brand) #top-menu > li { padding-right: 20px; }
html :where(body.em-hs-brand) #et-top-navigation { display: flex; align-items: center; padding-top: 0 !important; height: 84px; }
html :where(body.em-hs-brand) .et-fixed-header #et-top-navigation { height: 60px; }
html :where(body.em-hs-brand) #top-menu > li > a { padding-bottom: 0 !important; }
html :where(body.em-hs-brand) #top-menu-nav, html :where(body.em-hs-brand) #top-menu { display: flex; align-items: center; }
html :where(body.em-hs-brand) #top-menu > li.menu-item-has-children > a:first-child::after { top: 50%; transform: translateY(-50%); }
@media (min-width: 981px) and (max-width: 1180px) {
  html :where(body.em-hs-brand) #logo { max-width: 150px; }
  html :where(body.em-hs-brand) #top-menu > li { padding-right: 14px; }
  html :where(body.em-hs-brand) #top-menu > li > a { font-size: 13px; }
  html :where(body.em-hs-brand) #top-menu li.em-menu-cta > a { padding: 10px 12px !important; }
}
@media (max-width: 980px) {
  html :where(body.em-hs-brand) #et-top-navigation { height: auto; display: block; padding-top: 24px !important; }
  html :where(body.em-hs-brand) #top-menu-nav, html :where(body.em-hs-brand) #top-menu { display: none; }
}

/* Pricing plans */
.em-price { font-family: var(--em-font-head); font-size: 56px; font-weight: 600; line-height: 1; color: #fff; }
.em-per { color: rgba(255, 255, 255, 0.75); }
.em-plan .em-plan-group { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--em-line); }
.em-card-red.em-plan .em-plan-group { border-top-color: rgba(255, 255, 255, 0.3); }
.em-plan .em-plan-btn { margin-top: auto; padding-top: 14px; }
.em-plan .em-checks li { padding-bottom: 8px; }

/* AI tool logos, comparison table, step timing, map, contact values */
.em-logos { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0 !important; list-style: none !important; }
.em-logos li { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 1px solid var(--em-line); border-radius: 999px; background: #000; color: #fff; font-size: 15px; font-weight: 500; transition: border-color 0.25s ease, transform 0.25s var(--em-ease); }
.em-logos li:hover { border-color: var(--em-brand-2); transform: translate3d(0, -2px, 0); }
.em-logos img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; }
.em-table-wrap { overflow-x: auto; border: 1px solid var(--em-line); border-radius: var(--em-radius); }
.em-table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; border: 0; font-size: 15px; line-height: 1.5; }
.em-table th, .em-table td { padding: 16px 18px; border: 0; border-bottom: 1px solid var(--em-line); text-align: left; vertical-align: top; color: var(--em-muted); }
.em-table tr:last-child th, .em-table tr:last-child td { border-bottom: 0; }
.em-table thead th { font-family: var(--em-font-head); font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--em-ink-3); }
.em-table tbody th { color: #fff; font-weight: 600; }
.em-table td:last-child, .em-table thead th:last-child { background: rgba(224, 43, 32, 0.14); color: #fff; }
.em-when { display: block; margin-top: 8px; font-family: var(--em-font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #ff5a4f; }
.em-map { display: block; border: 1px solid var(--em-line); border-radius: var(--em-radius); filter: grayscale(1) invert(0.92) contrast(0.9); }
.em-contact-value a { color: #fff; text-decoration: none; }
.em-contact-value a:hover { color: #ff5a4f; }
.em-stat-static { font-variant-numeric: tabular-nums; }

/* Rows are always centred (Divi only prints this rule on some pages) */
html :where(body.em-hs-brand) .et_pb_section > .et_pb_row { margin-left: auto; margin-right: auto; }

/* Insights (blog) */
.em-post-title { margin: 0; padding: 0; font-size: 24px; line-height: 1.15; }
.em-post-lead { grid-column: 1 / -1; flex-direction: row; }
.em-post-lead .em-cs-thumb { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
.em-post-lead .em-cs-body { justify-content: center; padding: 40px; gap: 16px; }
.em-post-lead .em-post-title { font-size: clamp(28px, 3vw, 42px); }
.em-post-lead p { font-size: 17px; }
.em-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.em-pagination .page-numbers { display: inline-block; min-width: 44px; padding: 10px 16px; border: 1px solid var(--em-line); border-radius: 999px; color: #fff; text-align: center; text-decoration: none; font-weight: 500; transition: background-color 0.2s ease, border-color 0.2s ease; }
.em-pagination a.page-numbers:hover { border-color: #fff; }
.em-pagination .page-numbers.current { background: var(--em-brand); border-color: var(--em-brand); }
.em-post-wrap { max-width: 860px; }
.em-post-hero { padding-bottom: 48px; }
.em-post-hero h1 { max-width: none; font-size: clamp(36px, 5vw, 64px); }
.em-post-figure { margin-bottom: 40px; }
.em-post-copy { padding-bottom: 80px; font-size: 18px; }
.em-post-copy h2 { margin: 1.6em 0 0.6em; padding: 0; font-size: clamp(26px, 3vw, 34px); }
.em-post-copy h3, .em-post-copy h4 { margin: 1.4em 0 0.5em; padding: 0; font-size: 22px; }
.em-post-copy a { text-decoration: underline; text-underline-offset: 3px; }
.em-post-copy img { max-width: 100%; height: auto; border-radius: var(--em-radius); margin: 12px 0; }
.em-post-copy ol { padding: 0 0 1em 1.4em; list-style: decimal; }
.em-post-copy blockquote { margin: 1.4em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--em-brand-2); color: #fff; font-size: 1.1em; }
.em-post-copy table { width: 100%; margin: 1.2em 0; border-collapse: collapse; border: 1px solid var(--em-line); font-size: 15px; display: block; overflow-x: auto; }
.em-post-copy th, .em-post-copy td { padding: 12px 14px; border: 1px solid var(--em-line); text-align: left; vertical-align: top; }
.em-post-copy th { background: var(--em-ink-3); color: #fff; }
@media (max-width: 767px) {
  .em-post-lead { flex-direction: column; }
  .em-post-lead .em-cs-thumb { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .em-post-lead .em-cs-body { padding: 24px; }
}

/* ------------------------------------------------ 1366px content width */
.em-wrap { max-width: 1366px; }
html :where(body.em-hs-brand) #main-header .container,
html :where(body.em-hs-brand) #main-footer .container { width: 90%; max-width: 1366px; }
.em-post-wrap { max-width: 860px; }

/* ------------------------------------------------------- feature cards */
.em-feature { border-radius: 10px; transition: transform 0.4s var(--em-ease), border-color 0.35s ease, box-shadow 0.4s var(--em-ease); }
.em-feature:hover { transform: translate3d(0, -8px, 0); box-shadow: 0 34px 70px -34px rgba(247, 23, 53, 0.75); }
.em-feature .et_pb_code, .em-feature .et_pb_code_inner { margin: 0 !important; }
.em-feature-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.em-feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: transform 0.9s var(--em-ease), filter 0.5s ease; }
/* brand duotone over the photo; lifts on hover to show it in full colour */
.em-feature-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, var(--em-brand-deep), var(--em-brand-2)); mix-blend-mode: multiply; transition: opacity 0.5s ease; }
.em-feature-img::after { content: ''; position: absolute; inset: 45% 0 0 0; z-index: 2; background: linear-gradient(180deg, transparent, var(--em-ink-3)); }
.em-feature:hover .em-feature-img img { transform: scale(1.07); filter: none; }
.em-feature:hover .em-feature-img::before { opacity: 0; }
.em-feature-body { position: relative; z-index: 3; flex: 1; padding: 0 30px 30px !important; }
.em-feature-body .em-feature-icon { margin-top: -30px !important; margin-bottom: 8px !important; border-radius: 12px !important; background-image: linear-gradient(135deg, var(--em-brand-deep), var(--em-brand-2)) !important; box-shadow: 0 14px 30px -10px rgba(247, 23, 53, 0.9), 0 0 0 5px var(--em-ink-3); transition: transform 0.4s var(--em-ease); }
.em-feature:hover .em-feature-icon { transform: rotate(-6deg) scale(1.08); }
.em-feature-body .em-card-link { margin-top: auto; padding-top: 10px; }

/* Icon badges on every card: gradient tile with a soft glow */
.em-card .em-icon-badge { border-radius: 10px !important; background-image: linear-gradient(135deg, var(--em-brand-deep), var(--em-brand-2)) !important; box-shadow: 0 12px 26px -12px rgba(247, 23, 53, 0.85); transition: transform 0.4s var(--em-ease); }
.em-card:hover .em-icon-badge { transform: translate3d(0, -3px, 0) rotate(-4deg); }
.em-card-red .em-icon-badge { background-image: none !important; box-shadow: none; }
/* thin brand line that draws across the top of a card on hover */
.em-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--em-brand-deep), var(--em-brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--em-ease); pointer-events: none; }
.em-card:hover::after { transform: scaleX(1); }

/* ------------------------------------------- decorative section backgrounds
   Shapes echo the ring / diamond / triangle artwork from the previous site,
   redrawn in the brand reds for dark sections. Added automatically to tall
   sections (em-deco-1 to em-deco-4); add the classes to a Section yourself too. */
.em-deco.et_pb_section { position: relative; overflow: hidden; isolation: isolate; }
.em-deco.et_pb_section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: no-repeat; }
.em-deco.et_pb_section > .et_pb_row { position: relative; z-index: 1; }
.em-deco-1.et_pb_section::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' fill='none'%3E%3Ccircle cx='110' cy='40' r='190' stroke='%23e02b20' stroke-opacity='.2' stroke-width='70'/%3E%3Cpath d='M0 40 640 230M840 180l230 62M1270 290l330-180' stroke='%23fff' stroke-opacity='.08'/%3E%3Crect x='640' y='222' width='24' height='24' fill='%23f71735' fill-opacity='.35'/%3E%3Crect x='806' y='156' width='40' height='40' stroke='%23fff' stroke-opacity='.16' stroke-width='8'/%3E%3Crect x='1062' y='236' width='16' height='16' stroke='%23f71735' stroke-opacity='.5' stroke-width='3'/%3E%3Cpath d='m1270 300 12-20 12 20z' fill='%23fff' fill-opacity='.16'/%3E%3C/svg%3E"),
    radial-gradient(50% 60% at 0% 0%, rgba(224, 43, 32, 0.16), transparent 70%);
  background-size: max(100%, 1200px) auto, 100% 100%;
  background-position: left top, 0 0;
}
.em-deco-2.et_pb_section::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' fill='none'%3E%3Cpath d='M1420 300 1610 490 1420 680 1230 490z' stroke='%23e02b20' stroke-opacity='.22' stroke-width='60'/%3E%3Cpath d='M360 470l250 55M660 540l470-130M1140 405l460 190' stroke='%23fff' stroke-opacity='.07'/%3E%3Cpath d='m345 500 20-34 20 34z' fill='%23f71735' fill-opacity='.3'/%3E%3Crect x='626' y='510' width='50' height='50' stroke='%23fff' stroke-opacity='.12' stroke-width='9'/%3E%3Ccircle cx='1136' cy='404' r='9' stroke='%23f71735' stroke-opacity='.6' stroke-width='4'/%3E%3Crect x='566' y='690' width='18' height='18' stroke='%23fff' stroke-opacity='.2' stroke-width='4'/%3E%3C/svg%3E"),
    radial-gradient(45% 60% at 100% 55%, rgba(247, 23, 53, 0.16), transparent 70%);
  background-size: max(100%, 1200px) auto, 100% 100%;
  background-position: right 120px, 0 0;
}
/* soft flowing shapes: the grey wave artwork from the previous site, inverted for dark */
.em-deco-3.et_pb_section::before { background-image: url('../img/bg-abstract-3.png'); background-size: cover; background-position: center; filter: invert(1) contrast(1.6); opacity: 0.5; mix-blend-mode: screen; }
.em-deco-4.et_pb_section::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' fill='none'%3E%3Ccircle cx='1500' cy='860' r='210' stroke='%23e02b20' stroke-opacity='.2' stroke-width='64'/%3E%3Cpath d='m120 760 26-44 26 44z' fill='%23f71735' fill-opacity='.28'/%3E%3Cpath d='M150 740 560 640M600 630l520 120' stroke='%23fff' stroke-opacity='.07'/%3E%3Crect x='560' y='612' width='44' height='44' stroke='%23fff' stroke-opacity='.12' stroke-width='8'/%3E%3Ccircle cx='1124' cy='752' r='8' stroke='%23f71735' stroke-opacity='.6' stroke-width='4'/%3E%3C/svg%3E"),
    radial-gradient(rgba(255, 255, 255, 0.11) 1.2px, transparent 1.6px),
    radial-gradient(40% 55% at 100% 100%, rgba(224, 43, 32, 0.18), transparent 70%);
  background-size: max(100%, 1200px) auto, 26px 26px, 100% 100%;
  background-position: right bottom, 0 0, 0 0;
  background-repeat: no-repeat, repeat, no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
/* grid sections get a red glow in one corner */
.em-grid-bg.et_pb_section:not(.em-hero) { position: relative; overflow: hidden; }
.em-grid-bg.et_pb_section:not(.em-hero)::after { content: ''; position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -14vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(247, 23, 53, 0.32), transparent 68%); filter: blur(70px); pointer-events: none; }
.em-grid-bg.et_pb_section:not(.em-hero) > .et_pb_row { position: relative; z-index: 1; }
/* heroes: the brand ring behind the headline */
.em-hero.et_pb_section > .et_pb_row::before { content: ''; position: absolute; z-index: -1; left: -170px; top: -150px; width: 420px; height: 420px; border: 64px solid rgba(224, 43, 32, 0.13); border-radius: 50%; pointer-events: none; }
/* red bands: large diamond on the right */
.em-band-red.et_pb_section::before { content: ''; position: absolute; right: 6%; top: 50%; width: 300px; height: 300px; border: 46px solid rgba(0, 0, 0, 0.12); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
@media (max-width: 767px) {
  .em-hero.et_pb_section > .et_pb_row::before { width: 260px; height: 260px; border-width: 40px; left: -120px; top: -100px; }
  .em-band-red.et_pb_section::before { width: 160px; height: 160px; border-width: 26px; right: -40px; }
  .em-feature-body { padding: 0 24px 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .em-feature, .em-feature-img img, .em-feature-icon, .em-card .em-icon-badge, .em-card::after { transition: none; }
  .em-feature:hover, .em-feature:hover .em-feature-icon, .em-card:hover .em-icon-badge { transform: none; }
}

/* Font Awesome for card icons. Divi only loads these fonts on pages where it
   detects them, which missed the inner pages, so they are declared here. */
@font-face { font-family: FontAwesome; font-style: normal; font-weight: 900; font-display: block; src: url('../../../Divi/core/admin/fonts/fontawesome/fa-solid-900.woff2') format('woff2'); }
@font-face { font-family: FontAwesome; font-style: normal; font-weight: 400; font-display: block; src: url('../../../Divi/core/admin/fonts/fontawesome/fa-regular-400.woff2') format('woff2'); }
@font-face { font-family: FontAwesome; font-style: normal; font-weight: 500; font-display: block; src: url('../../../Divi/core/admin/fonts/fontawesome/fa-brands-400.woff2') format('woff2'); }

/* Compact forms: two fields per row, the message box and a lone last field full width.
   Labels stay for screen readers; the placeholder shows the same text. */
body.em-hs-brand .em-form .et_pb_contact_form { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 0 !important; width: 100%; }
body.em-hs-brand .em-form .et_pb_contact_field { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
body.em-hs-brand .em-form .et_pb_contact_field[data-type='text'],
body.em-hs-brand .em-form .et_pb_contact_field:nth-child(odd):has(+ :not(.et_pb_contact_field)),
body.em-hs-brand .em-form .et_contact_bottom_container { grid-column: 1 / -1; }
body.em-hs-brand .em-form .et_pb_contact_form_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.em-hs-brand .em-form .et_pb_contact_field input,
body.em-hs-brand .em-form .et_pb_contact_field select { padding: 12px 14px !important; font-size: 15px !important; width: 100%; }
body.em-hs-brand .em-form .et_pb_contact_field textarea { min-height: 110px; padding: 12px 14px !important; font-size: 15px !important; width: 100%; }
body.em-hs-brand .em-form .et_pb_contact_field select { color: #8d8d96 !important; }
body.em-hs-brand .em-form .et_pb_contact_field select:valid, body.em-hs-brand .em-form .et_pb_contact_field select option { color: #fff !important; }
body.em-hs-brand .em-form .et_contact_bottom_container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; padding: 0; }
body.em-hs-brand .em-form .et_pb_contact_right { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--em-muted); font-size: 14px; }
body.em-hs-brand .em-form .et_pb_contact_right p { padding: 0; display: flex; align-items: center; gap: 8px; }
body.em-hs-brand .em-form input.et_pb_contact_captcha { width: 64px !important; padding: 10px !important; background: #000 !important; border: 1px solid var(--em-line) !important; border-radius: var(--em-btn-radius) !important; color: #fff !important; text-align: center; }
@media (max-width: 479px) {
  body.em-hs-brand .em-form .et_pb_contact_form { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ menu dropdown alignment
   Each top-level item fills the header height, so its dropdown opens flush
   with the bottom of the bar and lines up with the item's text. */
@media (min-width: 981px) {
  html :where(body.em-hs-brand) #top-menu > li { position: relative; display: flex; align-items: center; height: 84px; }
  html :where(body.em-hs-brand) .et-fixed-header #top-menu > li { height: 60px; }
  html :where(body.em-hs-brand) #top-menu > li > ul.sub-menu { top: 100% !important; left: -18px !important; margin: 0; border-top: 2px solid var(--em-brand); border-radius: 0 0 var(--em-radius) var(--em-radius); padding: 10px 0; }
  html :where(body.em-hs-brand) #top-menu li li { padding: 0 10px; width: 100%; }
  html :where(body.em-hs-brand) #top-menu li li a { width: 100%; padding: 9px 12px; }
  html :where(body.em-hs-brand) #top-menu > li:last-child > ul.sub-menu,
  html :where(body.em-hs-brand) #top-menu > li:nth-last-child(2) > ul.sub-menu { left: auto !important; right: 0; }
}

/* ------------------------------------------------- even-width button pairs */
.em-btn-stack { flex-direction: column !important; align-items: stretch !important; flex-wrap: nowrap !important; row-gap: 12px !important; }
.em-btn-stack .et_pb_button_module_wrapper { width: 100% !important; max-width: none !important; }
.em-btn-stack .et_pb_button { display: block !important; width: 100%; text-align: center; }
/* side-by-side pairs (heroes): both buttons take the width of the longer one */
.et_pb_group:has(> .et_pb_button_module_wrapper + .et_pb_button_module_wrapper):not(.em-btn-stack) { display: inline-grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; width: fit-content; max-width: 100%; column-gap: 14px; }
.et_pb_group:has(> .et_pb_button_module_wrapper + .et_pb_button_module_wrapper):not(.em-btn-stack) .et_pb_button { display: block; width: 100%; text-align: center; white-space: nowrap; }
@media (max-width: 600px) {
  .et_pb_group:has(> .et_pb_button_module_wrapper + .et_pb_button_module_wrapper):not(.em-btn-stack) { display: grid !important; grid-auto-flow: row; width: 100%; row-gap: 12px; }
  .et_pb_group:has(> .et_pb_button_module_wrapper + .et_pb_button_module_wrapper):not(.em-btn-stack) .et_pb_button { white-space: normal; }
}

/* Forms: full-width submit, no captcha row */
body.em-hs-brand .em-form .et_contact_bottom_container { display: block; }
body.em-hs-brand .em-form .et_pb_contact_right { display: none; }
body.em-hs-brand .em-form .et_pb_contact_submit { display: block; width: 100%; text-align: center; }

/* -------------------------------------------------------- pricing offers */
.em-plan { position: relative; transition: transform 0.45s var(--em-ease), box-shadow 0.45s var(--em-ease), border-color 0.35s ease; }
.em-plan:hover { transform: translate3d(0, -8px, 0); box-shadow: 0 40px 80px -40px rgba(247, 23, 53, 0.7); }
.em-plan .em-plan-btn .et_pb_button_module_wrapper, .em-plan .em-plan-btn .et_pb_button { display: block; width: 100%; text-align: center; }
.em-plan-badge p { display: inline-block; padding: 7px 12px; border-radius: 999px; background: #000; color: #fff; }
.em-plan-badge p::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--em-brand-2); box-shadow: 0 0 0 0 rgba(247, 23, 53, 0.8); animation: em-pulse 2s ease-out infinite; vertical-align: 1px; }
@keyframes em-pulse { to { box-shadow: 0 0 0 10px rgba(247, 23, 53, 0); } }
.em-price-xl { font-size: clamp(64px, 6.4vw, 96px); }
/* featured plan: slow sheen across the red panel, and it sits a little proud */
.em-plan-featured { overflow: hidden; isolation: isolate; }
.em-plan-featured::before { content: ''; position: absolute; z-index: -1; top: -60%; bottom: -60%; left: -40%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: rotate(18deg) translateX(-200%); animation: em-sheen 6s var(--em-ease) infinite; pointer-events: none; }
@keyframes em-sheen { 0%, 55% { transform: rotate(18deg) translateX(-200%); } 100% { transform: rotate(18deg) translateX(620%); } }
@media (min-width: 981px) {
  .em-card-red.em-plan.em-plan-featured { margin-top: -18px; margin-bottom: -18px; z-index: 2; box-shadow: 0 40px 90px -40px rgba(247, 23, 53, 0.85); }
}
/* wide offer */
.em-offer { border: 1px solid var(--em-line); border-radius: 12px; overflow: hidden; }
.em-offer:hover { border-color: rgba(247, 23, 53, 0.6); }
.em-offer-head { border-radius: 0 !important; justify-content: center; }
.em-offer-body { align-content: flex-start; }
.em-offer-group { transition: transform 0.35s var(--em-ease); }
.em-offer-group:hover { transform: translate3d(6px, 0, 0); }
.em-offer-group .em-icon-badge { border-radius: 10px !important; background-image: linear-gradient(135deg, var(--em-brand-deep), var(--em-brand-2)) !important; }
/* ticks draw in one after another when the offer scrolls into view */
:where(.em-js) .em-plan .em-checks li { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity 0.45s var(--em-ease), transform 0.45s var(--em-ease); }
:where(.em-js) .em-plan .em-checks li::before { transform: scale(0); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.em-plan.em-seen .em-checks li { opacity: 1; transform: none; }
.em-plan.em-seen .em-checks li::before { transform: scale(1); }
.em-plan .em-checks li:nth-child(1), .em-plan .em-checks li:nth-child(1)::before { transition-delay: 0.10s; }
.em-plan .em-checks li:nth-child(2), .em-plan .em-checks li:nth-child(2)::before { transition-delay: 0.18s; }
.em-plan .em-checks li:nth-child(3), .em-plan .em-checks li:nth-child(3)::before { transition-delay: 0.26s; }
.em-plan .em-checks li:nth-child(4), .em-plan .em-checks li:nth-child(4)::before { transition-delay: 0.34s; }
.em-plan .em-checks li:nth-child(5), .em-plan .em-checks li:nth-child(5)::before { transition-delay: 0.42s; }
.em-plan .em-checks li:nth-child(6), .em-plan .em-checks li:nth-child(6)::before { transition-delay: 0.50s; }
.em-plan .em-checks li:nth-child(n+7), .em-plan .em-checks li:nth-child(n+7)::before { transition-delay: 0.58s; }
@media (max-width: 980px) {
  .em-offer-head, .em-offer-body { width: 100% !important; max-width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .em-plan, .em-offer-group, .em-plan .em-checks li, .em-plan .em-checks li::before { transition: none; }
  .em-plan:hover, .em-offer-group:hover { transform: none; }
  .em-plan-featured::before, .em-plan-badge p::before { animation: none; }
  :where(.em-js) .em-plan .em-checks li { opacity: 1; transform: none; }
  :where(.em-js) .em-plan .em-checks li::before { transform: none; }
}
body.em-hs-brand .em-form .et_contact_bottom_container { width: 100% !important; max-width: none !important; justify-self: stretch; margin: 4px 0 0 !important; float: none !important; }
body.em-hs-brand .em-form .et_contact_bottom_container .et_pb_button_wrapper { display: block; width: 100%; }
body.em-hs-brand .em-form .et_pb_contact_submit { width: 100% !important; margin: 0 !important; }

/* Plan badge: room for descenders (the tight line-height was clipping the text) */
.em-plan-badge, .em-plan-badge .et_pb_text_inner { overflow: visible !important; line-height: 1.4 !important; }
.em-plan-badge p { padding: 6px 14px 6px 12px !important; line-height: 1.4 !important; white-space: nowrap; }

/* ------------------------------------------- hero demo: try it yourself */
.em-found-try { margin: 0; padding: 16px 18px 18px; border-top: 1px solid var(--em-line); background: rgba(0, 0, 0, 0.45); }
.em-found-try-title { margin: 0 0 10px; padding: 0 !important; font-family: var(--em-font-head); font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; }
.em-found-try-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.em-found-try label { display: block; margin: 0; }
.em-found-try input { width: 100%; padding: 12px 14px; border: 1px solid var(--em-line); border-radius: var(--em-btn-radius); background: #000; color: #fff; font: 400 15px var(--em-font-body); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.em-found-try input::placeholder { color: #8d8d96; }
.em-found-try input:focus { border-color: var(--em-brand-2); box-shadow: 0 0 0 3px rgba(247, 23, 53, 0.25); outline: 0; }
.em-found-try button.em-btn { padding: 0 20px !important; cursor: pointer; white-space: nowrap; font-size: 14px; }
.em-found-try-note { margin: 10px 0 0; padding: 0 !important; font-size: 12.5px; line-height: 1.5; color: var(--em-muted); }
.em-found-cta { margin: 12px 0 0; padding: 0 !important; }
.em-found-cta .em-btn { display: block; text-align: center; animation: em-cta-in 0.5s var(--em-ease) both; }
@keyframes em-cta-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
.em-found .em-found-body { min-height: 236px; }
@media (max-width: 520px) {
  .em-found-try-row { grid-template-columns: 1fr; }
  .em-found-try button.em-btn { padding: 12px 20px !important; }
}

/* --------------------------------------------- before / after slider */
.em-compare { position: relative; overflow: hidden; aspect-ratio: 1200 / 660; border: 1px solid var(--em-line); border-radius: var(--em-radius); background: #000; user-select: none; touch-action: pan-y; }
.em-compare-img { position: absolute; inset: 0; }
.em-compare-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.em-compare-before { clip-path: inset(0 calc(100% - var(--em-pos, 50%)) 0 0); }
.em-compare-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 13px; font-weight: 500; }
.em-compare-before .em-compare-tag { left: 14px; }
.em-compare-after .em-compare-tag { right: 14px; background: var(--em-brand); }
.em-compare-line { position: absolute; top: 0; bottom: 0; left: var(--em-pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); pointer-events: none; transition: left 0.35s var(--em-ease); }
.em-compare-before { transition: clip-path 0.35s var(--em-ease); }
.em-compare:active .em-compare-line, .em-compare:active .em-compare-before { transition: none; }
.em-compare-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: linear-gradient(135deg, var(--em-brand-deep), var(--em-brand-2)); border: 3px solid #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.8); }
.em-compare-knob::before, .em-compare-knob::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border: solid #fff; border-width: 0 0 2.5px 2.5px; }
.em-compare-knob::before { left: 11px; transform: translateY(-50%) rotate(45deg); }
.em-compare-knob::after { right: 11px; transform: translateY(-50%) rotate(-135deg); }
.em-compare input[type='range'] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.em-compare input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100vh; }
.em-compare input[type='range']::-moz-range-thumb { width: 52px; height: 100vh; border: 0; }
.em-compare:has(input:focus-visible) { outline: 3px solid #ff5a4f; outline-offset: 3px; }
.em-compare-help { margin-top: 14px; font-size: 15px; color: var(--em-muted); max-width: 30ch; }
@media (prefers-reduced-motion: reduce) {
  .em-compare-line, .em-compare-before { transition: none; }
  .em-found-cta .em-btn { animation: none; }
}
