/* Elementor widget media and content extensions.
 * Global colors, typography, spacing and layout remain in the child theme.
 */

.ed-widget-section {
  width: 100%;
}

.ed-rich-text > :first-child,
.ed-hero-text > :first-child {
  margin-top: 0;
}

.ed-rich-text > :last-child,
.ed-hero-text > :last-child {
  margin-bottom: 0;
}

.ed-widget-section .ed-hero-text,
.ed-widget-section .ed-hero-text p,
.ed-widget-section .ed-hero-text li,
.ed-widget-section .ed-rich-text,
.ed-widget-section .ed-rich-text p,
.ed-widget-section .ed-rich-text li,
.ed-widget-section .ed-rich-text span,
.ed-widget-section.ed-services .ed-service-card p,
.ed-widget-section.ed-services .ed-service-card li,
.ed-widget-section .ed-contact-details,
.ed-widget-section .ed-contact-details span,
.ed-widget-section .ed-contact-details strong,
.ed-widget-section .ed-contact-details a {
  font-family: var(--ed-body-font, "Lato", sans-serif);
}

/* Hero */
.ed-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.ed-hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 12, 8, 0.96), rgba(16, 12, 8, 0.72), rgba(16, 12, 8, 0.42));
}

.ed-hero-background-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ed-hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* About */
.ed-about.ed-widget-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ed-about.ed-widget-section .ed-about-grid {
  position: relative;
  z-index: 2;
}

.ed-about-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.ed-about-decoration {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(24vw, 430px);
  max-width: 430px;
  opacity: 0.35;
  pointer-events: none;
  transform-origin: right bottom;
}

.ed-about-decoration-image {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* Services */
.ed-widget-section.ed-services .ed-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.ed-widget-section.ed-services .ed-service-card {
  --ed-service-card-bg: #18130f;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 470px;
  padding: 0;
  overflow: hidden;
  background: var(--ed-service-card-bg);
  border: 1px solid rgba(246, 234, 214, 0.15);
  transition: border-color var(--ed-transition, 220ms ease), box-shadow var(--ed-transition, 220ms ease);
}

.ed-service-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  padding: 30px 26px 26px;
}

.ed-service-card-content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 4px;
  background: var(--ed-service-card-bg);
  pointer-events: none;
}

.ed-service-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 46px;
  margin: 0 0 30px;
  color: var(--ed-gold, #c69a52);
  font-size: 46px;
  line-height: 1;
}

.ed-service-icon svg {
  width: 46px;
  height: auto;
  fill: currentColor;
  stroke: currentColor;
}

.ed-widget-section.ed-services .ed-service-card h3 {
  margin: 0 0 14px;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.05;
}

.ed-widget-section.ed-services .ed-service-card p {
  margin: 0;
  color: rgba(248, 241, 231, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.ed-service-title-link {
  color: inherit;
  transition: color var(--ed-transition, 220ms ease);
}

.ed-service-title-link:hover,
.ed-service-title-link:focus-visible {
  color: var(--ed-gold, #c69a52);
}

.ed-service-cta {
  align-self: flex-start;
  gap: 11px;
  margin-top: auto;
}

.ed-service-cta.ed-btn {
  width: auto;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 13px;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.ed-service-cta svg {
  width: 15px;
  height: 15px;
  transition: transform var(--ed-transition, 220ms ease);
}

.ed-service-cta:hover svg,
.ed-service-cta:focus-visible svg {
  transform: translateX(4px);
}

.ed-service-card-media {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  margin-top: -2px;
  overflow: hidden;
  background: var(--ed-brown, #24170f);
}

.ed-service-card-media::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 76px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--ed-service-card-bg) 0%, var(--ed-service-card-bg) 5px, rgba(24, 19, 15, 0.58) 36%, rgba(24, 19, 15, 0) 100%);
}

@media (hover: hover) {
  .ed-widget-section.ed-services .ed-service-card:hover {
    border-color: rgba(198, 154, 82, 0.46);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 1199px) {
  .ed-widget-section.ed-services .ed-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Gallery */
.ed-gallery-marquee {
  width: 100%;
  margin-top: clamp(32px, 5vw, 72px);
  overflow: hidden;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.ed-gallery-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ed-gallery-group {
  display: flex;
  flex: none;
  gap: 20px;
  padding-right: 20px;
}

.ed-gallery-item {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(260px, 30vw, 520px);
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}

.ed-gallery-marquee .ed-gallery-item:nth-child(2) {
  margin-top: 0;
}

.ed-gallery-item::after {
  content: none;
}

.ed-gallery-item > img.ed-gallery-image {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 500ms ease;
}

.ed-gallery-item:hover .ed-gallery-image {
  transform: scale(1.025);
}

/* Contact */
.ed-contact-details {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.ed-contact-details li {
  display: grid;
  gap: 2px;
}

.ed-contact-details span {
  color: var(--ed-gold, #c69a52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-contact-details strong,
.ed-contact-details a {
  color: var(--ed-text-light, #f8f1e7);
  font-size: 15px;
  font-weight: 400;
}

.ed-contact-details a:hover,
.ed-contact-details a:focus-visible {
  color: var(--ed-gold, #c69a52);
}

.ed-contact-form {
  margin-top: 30px;
}

.ed-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ed-contact-form textarea,
.ed-contact-form select {
  width: 100%;
  max-width: 100%;
  color: var(--ed-text-light, #f8f1e7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(246, 234, 214, 0.2);
  border-radius: 0;
}

.ed-contact-form input:focus,
.ed-contact-form textarea:focus,
.ed-contact-form select:focus {
  border-color: var(--ed-gold, #c69a52);
  outline: 1px solid var(--ed-gold, #c69a52);
  outline-offset: 1px;
}

.ed-contact-form button,
.ed-contact-form input[type="button"],
.ed-contact-form input[type="reset"],
.ed-contact-form input[type="submit"] {
  min-height: 52px;
  padding: 15px 28px;
  color: var(--ed-text-light, #f8f1e7);
  background: var(--ed-copper, #c85a24);
  border: 1px solid var(--ed-copper, #c85a24);
  border-radius: 0;
  font-family: var(--ed-body-font, "Lato", sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 991px) {
  .ed-about-image {
    min-height: 460px;
  }

  .ed-about-decoration {
    right: 0;
    bottom: 0;
    width: min(32vw, 300px);
    max-width: 300px;
  }
}

@media (max-width: 575px) {
	.ed-widget-section.ed-services .ed-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

	.ed-widget-section.ed-services .ed-service-card {
    min-height: 0;
  }

	.ed-service-card-content {
    min-height: 260px;
    padding: 28px 24px 24px;
  }

  .ed-about-image {
    min-height: 360px;
  }

  .ed-about-decoration {
    right: 0;
    bottom: 0;
    display: block;
    width: min(34vw, 160px);
    max-width: 160px;
    max-height: 210px;
    opacity: 0.38;
  }

  .ed-contact-form button,
  .ed-contact-form input[type="button"],
  .ed-contact-form input[type="reset"],
  .ed-contact-form input[type="submit"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-gallery-image,
  .ed-widget-section.ed-services .ed-service-card {
    transition: none;
  }

  .ed-gallery-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .ed-gallery-track {
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 767px) {
  .ed-gallery-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2.5%, #000 97.5%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 2.5%, #000 97.5%, transparent);
  }

  .ed-gallery-group {
    gap: 14px;
    padding-right: 14px;
  }

  .ed-gallery-item {
    flex-basis: min(72vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-gallery-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
