/* EYN test hero — site palette (#F58D19), Geologika */
.eyn-hero-wrap {
  --eyn-orange: #f58d19;
  --eyn-orange-hover: #ff9d2e;
  --eyn-bg: #050505;
  --eyn-bg-soft: #0c0c0c;
  --eyn-text: #ffffff;
  --eyn-muted: rgba(255, 255, 255, 0.72);
  --eyn-line: rgba(245, 141, 25, 0.35);
  --eyn-card: rgba(8, 8, 8, 0.72);
  --eyn-font: Geologika, Montserrat, Arial, sans-serif;
  position: relative;
  width: 100%;
  max-width: none;
  color: var(--eyn-text);
  font-family: var(--eyn-font);
  background: var(--eyn-bg);
  overflow: visible;
}

.eyn-hero-wrap *,
.eyn-hero-wrap *::before,
.eyn-hero-wrap *::after {
  box-sizing: border-box;
}

.eyn-hero-wrap a {
  color: inherit;
  text-decoration: none;
}

.eyn-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.55) 40%, rgba(5, 5, 5, 0.18) 68%, rgba(5, 5, 5, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.08) 45%, rgba(5, 5, 5, 0.72) 100%),
    url("https://www.eyn-ems.com.ua/wp-content/uploads/2024/11/devushka-v-kostiume-ems-4.png") right 6% bottom / min(56vw, 680px) auto no-repeat,
    radial-gradient(ellipse 55% 70% at 78% 45%, rgba(245, 141, 25, 0.14), transparent 60%),
    var(--eyn-bg);
  pointer-events: none;
  z-index: 0;
}

.eyn-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 56px) 28px;
}

/* Global site header */
.eyn-site-header {
  --eyn-orange: #f58d19;
  --eyn-font: Geologika, Montserrat, Arial, sans-serif;
  position: relative;
  z-index: 500;
  width: 100%;
  background: #050505;
  color: #fff;
  font-family: var(--eyn-font);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eyn-site-header a {
  color: inherit;
  text-decoration: none;
}

.eyn-site-header-inner,
.eyn-hero-header,
.eyn-hero-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  position: relative;
}

.eyn-site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px clamp(20px, 4vw, 56px);
  box-sizing: border-box;
}

/* Header inside test-page hero */
.eyn-hero-header {
  padding-top: 10px;
  width: 100%;
}

.eyn-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.eyn-logo img {
  display: block;
  height: 42px;
  width: auto;
}

.eyn-logo-sub {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-left: 2px;
}

.eyn-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eyn-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.eyn-nav a:hover {
  color: var(--eyn-orange);
}

.eyn-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.eyn-phone {
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.eyn-phone:hover {
  color: var(--eyn-orange);
}

.eyn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.eyn-btn-ghost {
  border: 1px solid var(--eyn-orange) !important;
  color: var(--eyn-orange) !important;
  padding: 11px 18px;
  font-size: 12px;
  background: transparent !important;
}

.eyn-btn-ghost:hover {
  background: var(--eyn-orange);
  color: #111;
}

.eyn-btn-solid {
  width: 100%;
  border: none;
  background: var(--eyn-orange);
  color: #fff !important;
  padding: 16px 20px;
  font-size: 13px;
}

.eyn-btn-solid:hover {
  background: var(--eyn-orange-hover);
  transform: translateY(-1px);
}

.eyn-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.eyn-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
}

.eyn-mobile-nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 4px);
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(245, 141, 25, 0.35);
  border-radius: 10px;
  padding: 14px;
  z-index: 50;
}

.eyn-mobile-nav.is-open {
  display: block;
}

.eyn-mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.eyn-mobile-nav a:last-child {
  border-bottom: 0;
}

/* Main */
.eyn-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  padding: 36px 0 20px;
  min-height: clamp(520px, 68vh, 720px);
  align-items: end;
}

.eyn-hero-copy {
  max-width: 620px;
  padding-bottom: 8px;
}

.eyn-kicker {
  margin: 0 0 14px;
  color: var(--eyn-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .eyn-kicker {
    max-width: 11.5em;
    line-height: 1.45;
  }
}

.eyn-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyn-lead {
  margin: 0 0 28px;
  max-width: 520px;
  color: var(--eyn-muted);
  font-size: 16px;
  line-height: 1.55;
}

.eyn-offer {
  border: 1px solid var(--eyn-orange);
  border-radius: 12px;
  background: var(--eyn-card);
  backdrop-filter: blur(6px);
  padding: 22px 22px 18px;
  max-width: 620px;
  overflow: visible;
}

.eyn-offer-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
  overflow: visible;
}

.eyn-offer-label {
  margin: 0 0 8px;
  color: var(--eyn-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyn-offer-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyn-offer-icon {
  width: 42px;
  height: 42px;
  color: var(--eyn-orange);
  flex-shrink: 0;
  overflow: visible;
}

.eyn-offer-price {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1;
  font-weight: 700;
}

.eyn-checklist {
  list-style: none;
  margin: 0;
  padding: 2px 0;
  display: grid;
  gap: 10px;
  overflow: visible;
}

.eyn-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  overflow: visible;
}

.eyn-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  color: var(--eyn-orange);
  overflow: visible;
  display: block;
}

.eyn-hero-spacer {
  min-height: 1px;
}

/* Services */
.eyn-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  overflow: visible;
}

.eyn-service {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 8px 28px;
  position: relative;
  overflow: visible;
}

.eyn-service:first-child {
  padding-left: 0;
}

.eyn-service:last-child {
  padding-right: 0;
}

.eyn-service:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.eyn-service-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.eyn-service h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyn-service p {
  margin: 0;
  color: var(--eyn-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Hide old HFE / theme header globally */
body.eyn-eyn-layout #masthead,
body.eyn-eyn-layout header#masthead,
body.eyn-eyn-layout .elementor-location-header,
body.eyn-eyn-layout .ehf-header,
body.eyn-eyn-layout .elementor-location-header .elementor,
body.eyn-eyn-layout header.site-header {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Full-bleed hero on homepage / test page */
body.eyn-home-hero #content,
body.eyn-home-hero main#content,
body.eyn-home-hero .page-content,
body.eyn-home-hero .site-main,
body.eyn-home-hero article,
body.eyn-home-hero .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.eyn-home-hero .eyn-hero-wrap {
  margin-top: 0;
  width: 100%;
  max-width: none;
}

body.eyn-home-hero #content,
body.eyn-home-hero .site-main > article {
  padding-top: 0 !important;
}

body.eyn-home-hero .page-header,
body.eyn-home-hero .entry-title,
body.eyn-home-hero h1.entry-title {
  margin: 0;
  padding: 0;
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

body.eyn-eyn-layout .eyn-hide-default-title {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 980px) {
  .eyn-nav,
  .eyn-header-actions .eyn-phone,
  .eyn-header-actions .eyn-btn-ghost {
    display: none;
  }

  .eyn-burger {
    display: block;
  }

  .eyn-hero-main {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .eyn-hero-spacer {
    display: none;
  }

  .eyn-hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.28) 38%, rgba(5, 5, 5, 0.82) 72%, #050505 100%),
      url("https://www.eyn-ems.com.ua/wp-content/uploads/2024/11/devushka-v-kostiume-ems-4.png") center top / cover no-repeat,
      var(--eyn-bg);
  }

  .eyn-hero-copy {
    max-width: none;
    padding-top: 42vw;
  }

  .eyn-offer-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eyn-offer-price-row {
    justify-content: flex-start;
  }

  .eyn-services {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .eyn-service {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .eyn-service:last-child {
    border-bottom: 0;
  }

  .eyn-service:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .eyn-hero-inner {
    padding: 0 16px 20px;
  }

  .eyn-logo img {
    height: 36px;
  }

  .eyn-title {
    font-size: 30px;
  }

  .eyn-lead {
    font-size: 14px;
  }

  .eyn-offer {
    padding: 18px 16px 14px;
  }

  .eyn-offer-label {
    text-align: left;
  }

  .eyn-offer-price {
    font-size: 30px;
  }

  .eyn-service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .eyn-btn-solid {
    font-size: 12px;
    padding: 15px 12px;
    text-align: center;
  }
}

/* ========== Footer + form restyle (test page only) ========== */
body.eyn-eyn-layout #colophon,
body.eyn-eyn-layout footer.site-footer,
body.eyn-eyn-layout .ehf-footer {
  background: #050505 !important;
  color: #fff !important;
  font-family: Geologika, Montserrat, Arial, sans-serif !important;
}

body.eyn-eyn-layout #footer1,
body.eyn-eyn-layout #footer1 .e-con,
body.eyn-eyn-layout #footer1 .elementor-element {
  background-color: #050505 !important;
  background-image: none !important;
}

body.eyn-eyn-layout #footer1 {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

body.eyn-eyn-layout #footer1 .elementor-heading-title {
  font-family: Geologika, Montserrat, Arial, sans-serif !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Outline title like mockup */
body.eyn-eyn-layout #footer1 .elementor-element-f3681b3 .elementor-heading-title,
body.eyn-eyn-layout #footer1 h2.elementor-heading-title {
  color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.15 !important;
  text-transform: none;
  letter-spacing: 0.01em;
}

body.eyn-eyn-layout #footer1 .elementor-widget-text-editor,
body.eyn-eyn-layout #footer1 .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 18px !important;
}

body.eyn-eyn-layout #footer1 .elementor-element-3b89001 .elementor-heading-title {
  color: #f58d19 !important;
  -webkit-text-stroke: 0 !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 700 !important;
}

body.eyn-eyn-layout #footer1 .wpcf7,
body.eyn-eyn-layout #footer1 .contact-form,
body.eyn-eyn-layout .contact-form-cont-page .wpcf7,
body.eyn-eyn-layout .contact-form-cont-page .contact-form,
body.eyn-eyn-layout form.wpcf7-form .contact-form {
  max-width: 420px;
}

body.eyn-eyn-layout #footer1 .contact-form p,
body.eyn-eyn-layout #footer1 form p,
body.eyn-eyn-layout .contact-form p,
body.eyn-eyn-layout form.wpcf7-form p {
  margin: 0 0 14px !important;
}

body.eyn-eyn-layout #footer1 label,
body.eyn-eyn-layout .contact-form label,
body.eyn-eyn-layout .contact-form-cont-page label {
  display: block;
  color: #fff !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

body.eyn-eyn-layout #footer1 .cont-name,
body.eyn-eyn-layout #footer1 .cont-phone,
body.eyn-eyn-layout #footer1 input.wpcf7-form-control:not([type="submit"]):not([type="hidden"]),
body.eyn-eyn-layout .cont-name,
body.eyn-eyn-layout .cont-phone,
body.eyn-eyn-layout .contact-form input.wpcf7-form-control:not([type="submit"]):not([type="hidden"]) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none !important;
}

body.eyn-eyn-layout .cont-name::placeholder,
body.eyn-eyn-layout .cont-phone::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

body.eyn-eyn-layout .cont-name:focus,
body.eyn-eyn-layout .cont-phone:focus {
  border-color: #f58d19 !important;
  box-shadow: 0 0 0 3px rgba(245, 141, 25, 0.2) !important;
  background: rgba(245, 141, 25, 0.06) !important;
}

body.eyn-eyn-layout .cont-name.eyn-invalid,
body.eyn-eyn-layout .cont-phone.eyn-invalid,
body.eyn-eyn-layout input.eyn-invalid {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.18) !important;
}

body.eyn-eyn-layout .eyn-field-error {
  display: none;
  margin-top: 6px;
  color: #ff8a8a;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
}

body.eyn-eyn-layout .eyn-field-error.is-visible {
  display: block;
}

body.eyn-eyn-layout .cont-submit,
body.eyn-eyn-layout input.wpcf7-submit {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f58d19 !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

body.eyn-eyn-layout .cont-submit:hover,
body.eyn-eyn-layout input.wpcf7-submit:hover {
  background: #ff9d2e !important;
  transform: translateY(-1px);
}

body.eyn-eyn-layout .wpcf7-not-valid-tip,
body.eyn-eyn-layout .wpcf7-response-output {
  border-radius: 8px !important;
  font-size: 13px !important;
}

/* Lower footer columns */
body.eyn-eyn-layout #colophon .elementor-heading-title,
body.eyn-eyn-layout footer .elementor-heading-title {
  color: #fff !important;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

body.eyn-eyn-layout #colophon a,
body.eyn-eyn-layout footer a {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.2s ease;
}

body.eyn-eyn-layout #colophon a:hover,
body.eyn-eyn-layout footer a:hover {
  color: #f58d19 !important;
}

body.eyn-eyn-layout #colophon .elementor-icon-list-text,
body.eyn-eyn-layout footer .menu a,
body.eyn-eyn-layout footer .hfe-menu-item {
  font-size: 14px !important;
}

body.eyn-eyn-layout #colophon .elementor-widget-text-editor,
body.eyn-eyn-layout #colophon .elementor-widget-text-editor p,
body.eyn-eyn-layout footer .copyright,
body.eyn-eyn-layout footer .elementor-widget-html {
  color: rgba(255, 255, 255, 0.55) !important;
}

@media (max-width: 767px) {
  body.eyn-eyn-layout #footer1 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  body.eyn-eyn-layout #footer1 h2.elementor-heading-title {
    font-size: 28px !important;
  }
}
