/* style.css */
/*
Theme Name: Emal Bricks Child
Theme URI: https://emal.rs/
Description: Child theme for Emal website built with Bricks Builder.
Author: Alphasoft
Template: bricks
Version: 1.0.0
Text Domain: emal-bricks-child
*/
/* emal-team.css */
.emal-team {
  background: #f4f2ef;
}

.emal-team__inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-top: clamp(64px, 7.6vw, 110px);
  padding-bottom: clamp(64px, 7.6vw, 110px);
}

.emal-team__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}

.emal-team__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emal-team__eyebrow-line {
  width: 34px;
  height: 2px;
  background: var(--emal-orange, #ff8f20);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)) 150ms;
}

.emal-team__eyebrow.is-visible .emal-team__eyebrow-line,
html.emal-motion-disabled .emal-team__eyebrow-line,
html:not(.emal-motion-init) .emal-team__eyebrow-line {
  transform: scaleX(1);
}

.emal-team__eyebrow-text {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-team__title {
  margin: 0;
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 4.8vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #1c1e20;
}

.emal-team__heading {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.emal-team__intro {
  max-width: 420px;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #5a5e63;
  text-wrap: pretty;
}

.emal-team__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.emal-team-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--emal-white, #fff);
  box-shadow: 0 1px 2px rgba(28, 30, 32, 0.06);
}

.emal-team .emal-team-card {
  transition:
    transform 620ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)),
    box-shadow 620ms ease,
    opacity 650ms ease;
}

.emal-team-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--emal-orange, #ff8f20), #ffb066);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 620ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

.emal-team-card:hover {
  transform: translateY(-5px) !important;
  box-shadow:
    0 34px 60px -34px rgba(28, 30, 32, 0.5),
    0 1px 2px rgba(28, 30, 32, 0.06);
}

.emal-team-card:hover::after {
  transform: scaleX(1);
}

.emal-team-card--lead {
  grid-row: 1 / 3;
  min-height: 720px;
  background: var(--emal-dark, #141416);
}

.emal-team-card--lead:hover {
  transform: none !important;
}

.emal-team-card--lead .emal-team-card__img,
.emal-team-card--lead .emal-team-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 900ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

.emal-team-card--lead:hover .emal-team-card__img img {
  transform: scale(1.04);
}

.emal-team-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 120px 32px 32px;
  background: linear-gradient(180deg, rgba(20, 21, 23, 0) 0%, rgba(20, 21, 23, 0.9) 70%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emal-team-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}

.emal-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 700ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

.emal-team-card:hover .emal-team-card__media img {
  transform: scale(1.04);
}

.emal-team-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emal-team-card__name {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1c1e20;
}

.emal-team-card--lead .emal-team-card__name {
  font-size: 28px;
  color: var(--emal-white, #fff);
}

.emal-team-card__role {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-team-card--lead .emal-team-card__role {
  font-size: 14px;
}

.emal-team-card__contacts {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5a5e63;
}

.emal-team-card--lead .emal-team-card__contacts {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.emal-team-card__contacts a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.emal-team-card__contacts a:hover {
  color: var(--emal-orange, #ff8f20);
}


@media (prefers-reduced-motion: reduce) {
  .emal-team-card,
  .emal-team-card::after,
  .emal-team-card__media img,
  .emal-team-card--lead .emal-team-card__img img,
  .emal-team__eyebrow-line {
    transition: none;
  }

  .emal-team-card:hover {
    transform: none !important;
  }

  .emal-team-card:hover .emal-team-card__media img,
  .emal-team-card--lead:hover .emal-team-card__img img {
    transform: none;
  }

  .emal-team__eyebrow-line {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .emal-team__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .emal-team-card--lead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .emal-team__inner {
    gap: 44px;
  }

  .emal-team__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .emal-team__grid {
    grid-template-columns: 1fr;
  }

  .emal-team-card--lead {
    aspect-ratio: 4 / 4.6;
  }

  .emal-team-card__overlay {
    padding: 96px 22px 22px;
  }
}

/* emal-content.css */
:root {
  --emal-fs-content-h2: var(--emal-fs-h3, clamp(22px, 2vw, 30px));
  --emal-fs-content-h3: clamp(17px, 1.3vw, 20px);
  --emal-fs-content-h4: var(--emal-fs-body, clamp(15px, 1vw, 16px));
}

.emal-rich-text,
.single-emal_material .brxe-text-basic:has(.wp-block-paragraph, .wp-block-list, .wp-block-heading),
.single-emal_service .brxe-text-basic:has(.wp-block-paragraph, .wp-block-list, .wp-block-heading),
.single-emal_material .brxe-post-content,
.single-emal_service .brxe-post-content {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--emal-fs-body);
  line-height: 1.55;
  color: var(--emal-body, #2a2a2a);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(.wp-block-paragraph, .wp-block-list, .wp-block-list li) {
  font-family: inherit;
  color: inherit;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(.wp-block-paragraph, .wp-block-list li) {
  font-size: var(--emal-fs-body) !important;
  line-height: 1.55;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .has-xx-large-font-size) {
  font-size: var(--emal-fs-body) !important;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-paragraph {
  margin: 0 0 var(--emal-space-sm, 16px);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-paragraph:last-child,
:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-list:last-child {
  margin-bottom: 0;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-paragraph:empty {
  display: none;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-list {
  margin: 0 0 var(--emal-space-sm, 16px);
  padding-left: 1.25em;
  display: grid;
  gap: 0.4em;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) ul.wp-block-list {
  list-style: disc;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) ol.wp-block-list {
  list-style: decimal;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-list li::marker {
  color: var(--emal-orange, #ff8f20);
  font-weight: 700;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-list li:empty {
  display: none;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-heading {
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  color: var(--emal-text, #141414);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.15;
  margin: var(--emal-space-md, 28px) 0 var(--emal-space-xs, 10px);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-heading:first-child {
  margin-top: 0;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) h2.wp-block-heading {
  font-size: var(--emal-fs-content-h2);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) h3.wp-block-heading {
  font-size: var(--emal-fs-content-h3);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(h4, h5, h6).wp-block-heading {
  font-size: var(--emal-fs-content-h4);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) .wp-block-heading strong {
  font-weight: inherit;
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(.wp-block-paragraph, .wp-block-list) strong {
  font-weight: 700;
  color: var(--emal-text, #141414);
}

:is(.emal-rich-text, .single-emal_material, .single-emal_service) :is(.wp-block-paragraph, .wp-block-list) em {
  font-style: italic;
  color: var(--emal-muted, #6f6f6f);
}

/* emal-interactions.css */
:root {
  --emal-motion-duration: 650ms;
  --emal-motion-ease: cubic-bezier(0.22, 0.68, 0, 1);
  --emal-hover-ease: cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 143, 32, 0.34);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.62);
}

.emal-language-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.emal-language-switcher__item:hover,
.emal-language-switcher__item:focus-visible,
.emal-language-switcher__item.is-active {
  background: #ff8f20;
  color: #101010;
  box-shadow: 0 8px 22px rgba(255, 143, 32, 0.24);
}

.emal-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--emal-motion-duration) ease,
    transform var(--emal-motion-duration) var(--emal-motion-ease);
  will-change: opacity, transform;
}

html.emal-motion-init .emal-hero .emal-hero-content > :not(.is-visible),
html.emal-motion-init body:is(.page-id-24, .page-id-396, .page-id-397, .post-type-archive-product) #brx-content > section:first-of-type :is(.emal-eyebrow, h1, h2, h3, .emal-title-xl, .emal-title-lg, .emal-title-md, .emal-lead, .emal-text, .emal-btn, .bricks-button):not(.is-visible),
html.emal-motion-init .emal-section-head > :not(.is-visible),
html.emal-motion-init .emal-section-head-content > :not(.is-visible),
html.emal-motion-init .emal-section-head-simple > :not(.is-visible),
html.emal-motion-init .emal-section-head-center > :not(.is-visible),
html.emal-motion-init .emal-product-card:not(.is-visible),
html.emal-motion-init .woocommerce ul.products li.product:not(.is-visible),
html.emal-motion-init .products .product:not(.is-visible),
html.emal-motion-init .emal-service-card:not(.is-visible),
html.emal-motion-init body.single-emal_material #brx-content > section:first-of-type > :not(.is-visible),
html.emal-motion-init body.single-emal_material #brx-content > section:nth-of-type(2) .brxe-container > :not(.is-visible),
html.emal-motion-init body.single-emal_service #brx-content > section:first-of-type > :not(.is-visible),
html.emal-motion-init body.single-emal_service #brx-content > section:nth-of-type(2) .brxe-container > :not(.is-visible),
html.emal-motion-init .emal-about-grid > :not(.is-visible),
html.emal-motion-init .emal-single-product-grid > :not(.is-visible),
html.emal-motion-init .emal-single-product-tabs-section .brxe-container > :not(.is-visible),
html.emal-motion-init .emal-related-products-section .brxe-container > :not(.is-visible),
html.emal-motion-init .emal-cart-section .woocommerce > :not(.is-visible),
html.emal-motion-init .emal-checkout-section .woocommerce > :not(.is-visible),
html.emal-motion-init .emal-contact-section form:not(.is-visible),
html.emal-motion-init .emal-contact-section .emal-content-image:not(.is-visible),
html.emal-motion-init .emal-location-section .brxe-container > :not(.is-visible),
html.emal-motion-init #brxe-gulwwq > :not(.is-visible),
html.emal-motion-init #brxe-wjbefj > :not(.is-visible),
html.emal-motion-init #brxe-ppkegu:not(.is-visible),
html.emal-motion-init #brxe-lsmywh .brxe-container > :not(.is-visible),
html.emal-motion-init .emal-team__heading > :not(.is-visible),
html.emal-motion-init .emal-team__intro:not(.is-visible),
html.emal-motion-init .emal-team-card:not(.is-visible),
html.emal-motion-init .emal-svc-grid__header > :not(.is-visible),
html.emal-motion-init .emal-svc-grid__cards:not(.is-visible),
html.emal-motion-init .emal-svc-showcase__heading > :not(.is-visible),
html.emal-motion-init .emal-svc-showcase__lead:not(.is-visible),
html.emal-motion-init .emal-svc-showcase__body:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--emal-motion-duration) ease,
    transform var(--emal-motion-duration) var(--emal-motion-ease);
  will-change: opacity, transform;
}

html.emal-motion-disabled .emal-hero .emal-hero-content > *,
html.emal-motion-disabled body:is(.page-id-24, .page-id-396, .page-id-397, .post-type-archive-product) #brx-content > section:first-of-type :is(.emal-eyebrow, h1, h2, h3, .emal-title-xl, .emal-title-lg, .emal-title-md, .emal-lead, .emal-text, .emal-btn, .bricks-button),
html.emal-motion-disabled .emal-section-head > *,
html.emal-motion-disabled .emal-section-head-content > *,
html.emal-motion-disabled .emal-section-head-simple > *,
html.emal-motion-disabled .emal-section-head-center > *,
html.emal-motion-disabled .emal-product-card,
html.emal-motion-disabled .woocommerce ul.products li.product,
html.emal-motion-disabled .products .product,
html.emal-motion-disabled .emal-service-card,
html.emal-motion-disabled body.single-emal_material #brx-content > section:first-of-type > *,
html.emal-motion-disabled body.single-emal_material #brx-content > section:nth-of-type(2) .brxe-container > *,
html.emal-motion-disabled body.single-emal_service #brx-content > section:first-of-type > *,
html.emal-motion-disabled body.single-emal_service #brx-content > section:nth-of-type(2) .brxe-container > *,
html.emal-motion-disabled .emal-about-grid > *,
html.emal-motion-disabled .emal-single-product-grid > *,
html.emal-motion-disabled .emal-single-product-tabs-section .brxe-container > *,
html.emal-motion-disabled .emal-related-products-section .brxe-container > *,
html.emal-motion-disabled .emal-cart-section .woocommerce > *,
html.emal-motion-disabled .emal-checkout-section .woocommerce > *,
html.emal-motion-disabled .emal-contact-section form,
html.emal-motion-disabled .emal-contact-section .emal-content-image,
html.emal-motion-disabled .emal-location-section .brxe-container > *,
html.emal-motion-disabled #brxe-gulwwq > *,
html.emal-motion-disabled #brxe-wjbefj > *,
html.emal-motion-disabled #brxe-ppkegu,
html.emal-motion-disabled #brxe-lsmywh .brxe-container > *,
html.emal-motion-disabled .emal-team__heading > *,
html.emal-motion-disabled .emal-team__intro,
html.emal-motion-disabled .emal-team-card,
html.emal-motion-disabled .emal-svc-grid__header > *,
html.emal-motion-disabled .emal-svc-grid__cards,
html.emal-motion-disabled .emal-svc-showcase__heading > *,
html.emal-motion-disabled .emal-svc-showcase__lead,
html.emal-motion-disabled .emal-svc-showcase__body {
  opacity: 1;
  transform: none;
  transition: none;
}

.emal-reveal--scale {
  transform: translateY(20px);
}

.emal-reveal--card {
  transform: translateY(24px);
  transition-duration: 820ms;
}

html.emal-motion-init .emal-product-card.emal-reveal--card:not(.is-visible),
html.emal-motion-init .woocommerce ul.products li.product.emal-reveal--card:not(.is-visible),
html.emal-motion-init .products .product.emal-reveal--card:not(.is-visible),
html.emal-motion-init .emal-service-card.emal-reveal--card:not(.is-visible) {
  transform: translateY(24px);
  transition-duration: 820ms;
}

.emal-reveal--right {
  transform: translateY(20px);
}

.emal-reveal--left {
  transform: translateY(20px);
}

.emal-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.emal-reveal--hero {
  transform: translateY(20px);
  transition-duration: var(--emal-motion-duration);
}

.emal-reveal--hero-media {
  opacity: 1;
  transform: none;
  transition: none;
}

.emal-reveal--hero-media.is-visible {
  opacity: 1;
  transform: none;
}

.emal-header--scrolled {
  background: rgba(12, 10, 11, 0.72) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

#brx-header a,
#brx-header button,
.emal-btn,
.bricks-button,
.button,
button,
.wc-forward {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    transform 220ms var(--emal-hover-ease),
    box-shadow 220ms var(--emal-hover-ease);
}

#brx-header .bricks-nav-menu > li > a {
  position: relative;
}

#brx-header .bricks-nav-menu > li > a::after {
  content: none !important;
  display: none !important;
}

.emal-btn:hover,
.bricks-button:hover,
.button:hover,
button:hover,
.wc-forward:hover {
  transform: translateY(-1px);
}

.emal-btn:focus-visible,
.bricks-button:focus-visible,
.button:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--emal-orange, #ff8f20);
  outline-offset: 4px;
}

.bricks-mobile-menu-wrapper a:focus-visible {
  border-color: transparent !important;
  box-shadow: inset 0 -2px 0 var(--emal-orange, #ff8f20);
  outline: 0;
}

.emal-product-card,
.emal-gallery__item,
.woocommerce ul.products li.product,
.products .product {
  position: relative;
  transform: translateZ(0);
}

.emal-product-card img,
.emal-gallery__item img,
.woocommerce ul.products li.product img,
.products .product img {
  transition:
    transform 620ms var(--emal-hover-ease),
    filter 620ms var(--emal-hover-ease),
    opacity 300ms ease;
}

.emal-product-card:hover img,
.emal-product-card.is-touch-hover img,
.emal-gallery__item:hover img,
.woocommerce ul.products li.product:hover img,
.woocommerce ul.products li.product.is-touch-hover img,
.products .product.is-touch-hover img,
.products .product:hover img {
  transform: scale(1.02);
}

.emal-product-card,
.emal-product-card.brxe-div,
.woocommerce ul.products li.product,
.products .product {
  box-shadow: 0 0 0 rgba(12, 10, 11, 0);
  z-index: 0;
  transition:
    transform 620ms var(--emal-hover-ease),
    box-shadow 620ms ease,
    border-color 620ms ease,
    filter 620ms var(--emal-hover-ease);
}

.emal-product-card:hover,
.emal-product-card.is-touch-hover,
.emal-product-card:focus-within,
.emal-product-card:focus-visible,
.emal-product-card.brxe-div:hover,
.emal-product-card.brxe-div.is-touch-hover,
.emal-product-card.brxe-div:focus-within,
.emal-product-card.brxe-div:focus-visible,
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product.is-touch-hover,
.woocommerce ul.products li.product:focus-within,
.products .product:hover,
.products .product.is-touch-hover,
.products .product:focus-within {
  box-shadow:
    0 34px 60px -34px rgba(12, 10, 11, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-5px) !important;
  z-index: 3;
}

.emal-product-card__arrow,
.emal-product-card .brxe-product-add-to-cart {
  transition:
    transform 360ms var(--emal-hover-ease),
    background-color 260ms ease,
    color 260ms ease;
}

.emal-product-card:hover .emal-product-card__arrow,
.emal-product-card:hover .brxe-product-add-to-cart {
  transform: translateX(4px);
}

.emal-about-image img,
.emal-content-image img {
  transition: none;
}

.emal-about-image:hover img,
.emal-content-image:hover img {
  transform: none;
}

body.page-id-3 #brx-content,
body.page-id-703 #brx-content {
  padding-top: clamp(112px, 10vw, 156px);
}

body.page-id-3 #brx-content > .brxe-section:first-child,
body.page-id-703 #brx-content > .brxe-section:first-child {
  padding-top: clamp(48px, 5vw, 80px);
}

body.page-id-3 #brx-content,
body.page-id-703 #brx-content,
#brx-content > section:first-of-type {
  overflow-x: clip;
}

body.page-id-3 #brx-content > h2.wp-block-heading:first-of-type,
body.page-id-703 #brx-content > h2.wp-block-heading:first-of-type {
  display: none;
}

.brxe-woocommerce-mini-cart .cart-icon {
  transition: transform 220ms var(--emal-hover-ease), color 180ms ease;
}

.brxe-woocommerce-mini-cart .mini-cart-link {
  color: var(--emal-white, #fff);
}

.brxe-woocommerce-mini-cart .cart-count {
  background: var(--emal-orange, #ff8f20) !important;
  color: var(--emal-white, #fff) !important;
}

.brxe-woocommerce-mini-cart .mini-cart-link:hover .cart-icon {
  transform: translateY(-2px);
  color: var(--emal-orange, #ff8f20);
}

#brx-header .bricks-mobile-menu-toggle {
  color: var(--emal-orange, #ff8f20) !important;
}

#brx-header .bricks-mobile-menu-toggle span {
  background-color: var(--emal-orange, #ff8f20) !important;
  border-radius: 999px;
  display: block !important;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle {
  color: var(--emal-black, #0c0a0b) !important;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle span {
  background-color: var(--emal-black, #0c0a0b) !important;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle:hover,
#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle:focus-visible {
  color: var(--emal-orange, #ff8f20) !important;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle:hover span,
#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle:focus-visible span {
  background-color: var(--emal-orange, #ff8f20) !important;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle .bar-center,
#brx-header .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-center {
  opacity: 0 !important;
  visibility: hidden !important;
}

#brx-header .mini-cart-link:focus-visible,
#brx-header .bricks-mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--emal-orange, #ff8f20);
  outline-offset: 6px;
}

#brx-header .brxe-woocommerce-mini-cart .cart-detail {
  color: var(--emal-body, #2a2a2a);
}

#brx-header .brxe-woocommerce-mini-cart .cart-detail .widget_shopping_cart_content:empty::before {
  content: "Korpa je prazna.";
  color: var(--emal-body, #2a2a2a);
  display: block;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__empty-message {
  color: var(--emal-body, #2a2a2a);
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.45;
  margin: 0;
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons {
  display: flex;
  gap: 10px;
  margin: 0;
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--emal-radius-btn, 4px);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 450ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)),
    box-shadow 450ms ease;
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a:not(.checkout) {
  background: transparent;
  border: 1px solid var(--emal-orange, #ff8f20);
  color: var(--emal-orange, #ff8f20);
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a:not(.checkout):hover {
  background: var(--emal-orange, #ff8f20);
  border-color: var(--emal-orange, #ff8f20);
  color: var(--emal-white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(255, 143, 32, 0.3);
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a.checkout {
  position: relative;
  overflow: hidden;
  background: var(--emal-orange, #ff8f20);
  border: 1px solid var(--emal-orange, #ff8f20);
  color: var(--emal-white, #fff);
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a.checkout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 700ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a.checkout:hover::before {
  left: 130%;
}

#brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a.checkout:hover {
  background: #ffa04d;
  border-color: #ffa04d;
  color: var(--emal-white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(255, 143, 32, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  #brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a {
    transition: none;
  }

  #brx-header .brxe-woocommerce-mini-cart .woocommerce-mini-cart__buttons a:hover {
    transform: none;
  }
}

.woocommerce-notices-wrapper {
  width: min(100% - 48px, var(--emal-container, 1440px));
  margin-inline: auto;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 0 !important;
  border-left: 4px solid var(--emal-orange, #ff8f20) !important;
  background: var(--emal-white, #fff) !important;
  color: var(--emal-body, #2a2a2a) !important;
  box-shadow: 0 18px 44px rgba(12, 10, 11, 0.08);
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: var(--emal-text, #141414);
  font-weight: 700;
}

.emal-product-specs--generated {
  margin-top: 0;
}

.emal-product-specs--generated h3 {
  margin: 0 0 18px;
}

.emal-product-specs--generated dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.emal-product-specs--generated dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 16px;
}

.emal-product-specs--generated dt {
  color: var(--emal-text, #141414);
  font-weight: 700;
  text-transform: uppercase;
}

.emal-product-specs--generated dd {
  margin: 0;
}

.woocommerce-account .woocommerce,
.emal-cart-section .woocommerce,
.emal-checkout-section .woocommerce {
  width: 100%;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--emal-white, #fff);
  padding: clamp(28px, 4vw, 56px);
}

.woocommerce-account .woocommerce-form-login {
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.woocommerce-account .woocommerce-form-login .form-row {
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-form-login input[type="text"],
.woocommerce-account .woocommerce-form-login input[type="password"],
.woocommerce-account .woocommerce-form-login input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--emal-border, #d9d9d9);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
}

.woocommerce-account .woocommerce-form-login button {
  border-radius: var(--emal-radius-pill, 999px) !important;
  background: var(--emal-orange, #ff8f20) !important;
  color: var(--emal-white, #fff) !important;
  padding-inline: 28px !important;
}

@media (max-width: 767px) {
  .emal-reveal {
    transform: translate3d(0, 18px, 0);
  }

  #brxe-vqlhfa {
    display: flex !important;
    justify-content: flex-start;
    z-index: 60 !important;
  }

  #brxe-vqlhfa #brxe-qqsvyg {
    width: min(150px, 42vw) !important;
  }

  #brxe-vqlhfa #brxe-zuljtr {
    position: absolute;
    right: 72px;
    top: 21px;
    z-index: 70;
  }

  #brxe-vqlhfa #brxe-jaohmz {
    column-gap: 0 !important;
    display: block !important;
    height: 24px;
    max-width: none;
    position: absolute;
    right: 20px;
    top: 24px;
    width: 28px;
    z-index: 75;
  }

  #brxe-vqlhfa #brxe-iyzgpa {
    display: block !important;
    max-width: none;
    width: 28px;
  }

  #brxe-vqlhfa #brxe-iyzgpa .bricks-mobile-menu-toggle {
    display: block !important;
    height: 22px !important;
    min-height: 22px !important;
    min-width: 28px !important;
    opacity: 1 !important;
    padding: 0 !important;
    position: relative !important;
    visibility: visible !important;
    width: 28px !important;
  }

  #brxe-vqlhfa #brxe-iyzgpa .bricks-mobile-menu-toggle span {
    background: var(--emal-orange, #ff8f20) !important;
    height: 2px !important;
    left: 0 !important;
    min-height: 2px !important;
    min-width: 28px !important;
    right: auto !important;
    width: 28px !important;
  }

  #brxe-vqlhfa #brxe-iyzgpa.show-mobile-menu .bricks-mobile-menu-toggle span {
    background: var(--emal-black, #0c0a0b) !important;
  }

  #brxe-vqlhfa #brxe-zuljtr .cart-detail {
    background: var(--emal-white, #fff);
    border: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 24px 50px rgba(12, 10, 11, 0.22);
    left: 16px !important;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    position: fixed !important;
    right: 16px !important;
    top: 72px !important;
    transform: translateY(-6px);
    width: auto !important;
    z-index: 1000 !important;
  }

  #brxe-vqlhfa #brxe-zuljtr .cart-detail::before {
    content: none !important;
  }

  #brxe-vqlhfa #brxe-zuljtr.show-cart-details .cart-detail {
    transform: translateY(0);
  }

  #brxe-vqlhfa #brxe-zuljtr .cart-detail .widget_shopping_cart_content {
    gap: 16px;
    min-height: 92px;
    padding: 22px;
  }

  #brxe-vqlhfa #brxe-zuljtr .woocommerce-mini-cart {
    max-height: 48vh;
  }

  #brxe-vqlhfa #brxe-zuljtr .woocommerce-mini-cart__buttons {
    gap: 10px;
    grid-auto-flow: row;
  }

  .emal-hero-content.brxe-div {
    max-width: calc(100vw - 32px) !important;
    padding-inline: 0 !important;
    width: min(100% - 40px, 350px) !important;
  }

  #brx-content > section:first-of-type :is(.emal-eyebrow, .emal-title-xl, .emal-title-lg, .emal-title-md, .emal-lead, .emal-text) {
    max-width: min(100%, calc(100vw - 40px)) !important;
  }

  #brx-content > section:first-of-type :is(.emal-title-xl, .emal-title-lg, .emal-title-md) {
    overflow-wrap: normal;
    text-wrap: balance;
  }

  #brx-content > section:first-of-type :is(.emal-lead, .emal-text) {
    overflow-wrap: break-word;
  }

  #brx-content > section:first-of-type :is(.emal-lead, .emal-text) br {
    display: none;
  }

  .emal-product-card.brxe-div {
    min-width: 0 !important;
    width: 100%;
  }

  .emal-about-media.brxe-div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-inline: 24px;
  }

  .emal-about-image,
  .emal-about-image.brxe-div {
    aspect-ratio: 4 / 3;
    flex-basis: auto !important;
    height: auto !important;
    width: 100% !important;
  }

  .emal-contact-form.brxe-form .submit-button-wrapper {
    width: 100% !important;
  }

  .emal-contact-form.brxe-form button[type="submit"].bricks-button {
    min-width: min(100%, 220px);
    white-space: nowrap;
  }

  body.page-id-3 #brx-content,
  body.page-id-703 #brx-content {
    padding-inline: 24px;
  }

  body.page-id-3 #brx-content > .brxe-section:first-child,
  body.page-id-703 #brx-content > .brxe-section:first-child {
    padding-top: 32px;
  }

  body.page-id-3 #brx-content h1,
  body.page-id-703 #brx-content h1 {
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.18 !important;
    overflow-wrap: break-word;
  }

  body.page-id-3 #brx-content p,
  body.page-id-703 #brx-content p {
    font-size: 15px;
    line-height: 1.65;
  }

  .emal-product-specs--generated dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .woocommerce-notices-wrapper {
    width: min(100% - 32px, var(--emal-container, 1440px));
  }
}

@media (max-width: 478px) {
  .emal-title-xl.brxe-heading {
    font-size: 23px !important;
    line-height: 1.2 !important;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  #brx-content > section:first-of-type .emal-title-md.brxe-heading,
  #brx-content > section:first-of-type .emal-title-lg.brxe-heading {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .emal-hero-content.brxe-div {
    width: min(100% - 44px, 330px) !important;
  }

  .emal-lead.brxe-text-basic {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .emal-hero-content .emal-lead {
    max-width: 29ch !important;
    width: 100%;
  }

  .emal-hero-content .emal-lead br {
    display: none;
  }

  .emal-btn.brxe-button {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .emal-title-xl.brxe-heading {
    font-size: 21px !important;
  }

  #brx-content > section:first-of-type .emal-title-md.brxe-heading,
  #brx-content > section:first-of-type .emal-title-lg.brxe-heading {
    font-size: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .emal-reveal {
    opacity: 1;
    transform: none;
  }
}

/* emal-services.css */
.emal-svc-eyebrow {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--emal-fs-eyebrow, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-title {
  margin: 0;
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--emal-fs-h2, clamp(34px, 4vw, 52px));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--emal-white, #fff);
}

.emal-svc-lead {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--emal-fs-lead, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}

.emal-svc-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.emal-svc-grid {
  position: relative;
  overflow: hidden;
  background: #0e0f10;
}

.emal-svc-grid__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emal-svc-grid__overlay {
  position: absolute;
  inset: 0;
  background: #0b0c0d;
}

.emal-svc-grid__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.55) 0%, rgba(11, 12, 13, 0) 30%, rgba(11, 12, 13, 0) 55%, rgba(11, 12, 13, 0.75) 100%);
}

.emal-svc-grid__inner {
  position: relative;
  max-width: var(--emal-container, 1540px);
  margin: 0 auto;
  padding: var(--emal-space-xl, 96px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: var(--emal-space-lg, 64px);
}

.emal-svc-grid__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.emal-svc-grid__header .emal-svc-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.emal-svc-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.emal-svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 26px;
  min-height: 200px;
  background: rgba(20, 21, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: inherit;
  text-decoration: none;
  transition:
    transform 450ms cubic-bezier(0.22, 0.68, 0, 1),
    border-color 350ms ease,
    background 350ms ease,
    box-shadow 450ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emal-orange, #ff8f20), #ffb066);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 700ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 143, 32, 0.7);
  background: rgba(20, 21, 23, 0.88);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

.emal-svc-card:hover::before {
  transform: scaleX(1);
}

.emal-svc-card:hover::after {
  left: 130%;
}

.emal-svc-card .emal-svc-num {
  transition: color 300ms ease;
}

.emal-svc-card:hover .emal-svc-num {
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.emal-svc-card__name {
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--emal-white, #fff);
}

.emal-svc-card__desc {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

.emal-svc-card__more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-card__more span {
  transition: transform 350ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card:hover .emal-svc-card__more span {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .emal-svc-card,
  .emal-svc-card::before,
  .emal-svc-card::after,
  .emal-svc-card__more span {
    transition: none;
  }

  .emal-svc-card:hover {
    transform: none;
  }
}

.emal-svc-showcase {
  background: var(--emal-dark, #141416);
}

.emal-svc-showcase__inner {
  max-width: var(--emal-container, 1540px);
  margin: 0 auto;
  padding: var(--emal-space-xl, 96px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: var(--emal-space-lg, 56px);
}

.emal-svc-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
}

.emal-svc-showcase__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emal-svc-showcase__lead {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.66);
}

.emal-svc-showcase__body {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

.emal-svc-showcase__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.emal-svc-row {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 18px;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 220ms ease, border-color 220ms ease;
}

.emal-svc-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.emal-svc-row.is-active {
  border-left-color: var(--emal-orange, #ff8f20);
  background: rgba(255, 143, 32, 0.08);
}

.emal-svc-row__name {
  flex: 1;
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  transition: color 220ms ease;
}

.emal-svc-row.is-active .emal-svc-row__name {
  color: var(--emal-white, #fff);
}

.emal-svc-row__arrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;
}

.emal-svc-row.is-active .emal-svc-num,
.emal-svc-row.is-active .emal-svc-row__arrow {
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-showcase__media {
  position: relative;
  overflow: hidden;
  background: #0e0f10;
  min-height: clamp(380px, 40vw, 560px);
}

.emal-svc-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 450ms ease;
}

.emal-svc-media.is-active {
  opacity: 1;
}

.emal-svc-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emal-svc-media__placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #1a1c1e 0px, #1a1c1e 14px, #202225 14px, #202225 28px);
}

.emal-svc-media__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 15, 16, 0.75);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--emal-white, #fff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.emal-svc-media__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emal-orange, #ff8f20);
}

.emal-svc-showcase__caption-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(14, 15, 16, 0) 0%, rgba(14, 15, 16, 0.88) 55%);
  padding: 96px 36px 32px;
}

.emal-svc-caption {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.emal-svc-caption.is-active {
  display: flex;
}

.emal-svc-caption.is-active .emal-svc-caption__text {
  animation: emalCaptionIn 550ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)) both;
}

.emal-svc-caption.is-active .emal-svc-caption__cta {
  animation: emalCaptionIn 550ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)) 90ms both;
}

@keyframes emalCaptionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emal-svc-caption__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}

.emal-svc-caption__name {
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emal-white, #fff);
}

.emal-svc-caption__desc {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}

.emal-svc-caption__cta {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--emal-orange, #ff8f20);
  border: 1px solid var(--emal-orange, #ff8f20);
  color: var(--emal-white, #fff);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 44px;
  padding: 0 28px;
  border-radius: var(--emal-radius-btn, 4px);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--emal-transition, 220ms ease),
    background-color var(--emal-transition, 220ms ease),
    border-color var(--emal-transition, 220ms ease),
    transform 450ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)),
    box-shadow 450ms ease;
}

.emal-svc-caption__cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 700ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

.emal-svc-caption__cta:hover {
  background: #ffa04d;
  border-color: #ffa04d;
  color: var(--emal-white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(255, 143, 32, 0.38);
}

.emal-svc-caption__cta:hover::before {
  left: 130%;
}

.emal-svc-caption__cta:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .emal-svc-caption.is-active .emal-svc-caption__text,
  .emal-svc-caption.is-active .emal-svc-caption__cta {
    animation: none;
  }

  .emal-svc-media {
    transition: none;
  }

  .emal-svc-caption__cta,
  .emal-svc-caption__cta::before {
    transition: none;
  }

  .emal-svc-caption__cta:hover {
    transform: none;
  }
}

@media (max-width: 991px) {
  .emal-svc-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emal-svc-showcase__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .emal-svc-showcase__body {
    grid-template-columns: 1fr;
  }

  .emal-svc-showcase__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .emal-svc-grid__cards {
    grid-template-columns: 1fr;
  }

  .emal-svc-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .emal-svc-showcase__caption-wrap {
    padding: 72px 20px 24px;
  }

  .emal-svc-showcase__media {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .emal-svc-row {
    padding: 18px 14px;
  }
}

