/* EasyCatalog landing page — extends the shared TEWS visual system. */
body.page-template-page-easycatalog {
  overflow-x: hidden;
  overflow-x: clip;
}

.tews-ec {
  --tews-ec-cream: #f5eedf;
  --tews-ec-warm: #e9dcc0;
  --tews-ec-ink: #07182d;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: clip;
  background: var(--tews-ec-ink);
}

.tews-ec *,
.tews-ec *::before,
.tews-ec *::after {
  box-sizing: border-box;
}

.tews-ec-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.tews-ec h1,
.tews-ec h2,
.tews-ec h3,
.tews-ec p {
  font-family: "Kiro", sans-serif;
}

.tews-ec h1,
.tews-ec h2,
.tews-ec h3 {
  margin-top: 0;
  text-wrap: balance;
}

.tews-ec-eyebrow {
  margin: 0 0 22px;
  color: var(--tews-gold, #c8a96b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tews-ec-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--tews-header-height, 82px) + 76px) 0 82px;
  align-items: center;
  overflow: hidden;
  background: var(--tews-ec-ink);
}

.tews-ec-hero__image,
.tews-ec-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tews-ec-hero__image {
  object-position: center;
  animation: tewsEcDrift 18s ease-in-out infinite alternate;
}

.tews-ec-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 14, 29, 0.97) 0%, rgba(3, 14, 29, 0.88) 42%, rgba(3, 14, 29, 0.38) 72%, rgba(3, 14, 29, 0.55) 100%);
}

.tews-ec-hero__inner {
  max-width: 1180px;
}

.tews-ec-hero__inner > * {
  max-width: 760px;
}

.tews-ec-hero h1 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.tews-ec-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.65;
}

.tews-ec-actions {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  gap: 14px;
}

.tews-ec-next {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 50%;
  width: 30px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(200, 169, 107, 0.78);
  border-radius: 18px;
}

.tews-ec-next span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 3px;
  height: 7px;
  transform: translateX(-50%);
  background: var(--tews-gold, #c8a96b);
  border-radius: 3px;
  animation: tewsEcWheel 2.4s ease-in-out infinite;
}

.tews-ec-section {
  position: relative;
  padding: clamp(92px, 10vw, 152px) 0;
  overflow: hidden;
}

.tews-ec-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(200, 169, 107, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 169, 107, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  opacity: 0.5;
}

.tews-ec-section--dark {
  color: rgba(255, 255, 255, 0.75);
  background: var(--tews-ec-ink);
}

.tews-ec-section--light {
  color: rgba(7, 24, 45, 0.78);
  background: var(--tews-ec-cream);
}

.tews-ec-section--warm {
  color: rgba(7, 24, 45, 0.8);
  background: var(--tews-ec-warm);
}

.tews-ec h2 {
  margin-bottom: 28px;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tews-ec-section--dark h2,
.tews-ec-section--dark h3 {
  color: #fff;
}

.tews-ec-section--light h2,
.tews-ec-section--light h3,
.tews-ec-section--warm h2,
.tews-ec-section--warm h3 {
  color: var(--tews-ec-ink);
}

.tews-ec-copy > p:not(.tews-ec-eyebrow),
.tews-ec-copy--wide > p:not(.tews-ec-eyebrow) {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.75;
}

.tews-ec-copy--wide {
  max-width: 880px;
}

.tews-ec-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(46px, 7vw, 96px);
}

.tews-ec-split--reverse .tews-ec-copy {
  order: 2;
}

.tews-ec-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b2038;
  border: 1px solid rgba(200, 169, 107, 0.38);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(7, 24, 45, 0.18);
}

.tews-ec-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%);
}

.tews-ec-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tews-ec-tags,
.tews-ec-tile-list,
.tews-ec-modules,
.tews-ec-benefits {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.tews-ec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tews-ec-tags li {
  padding: 9px 14px;
  color: var(--tews-ec-ink);
  border: 1px solid rgba(128, 97, 38, 0.35);
  border-radius: 999px;
  font-size: 13px;
}

.tews-ec-heading {
  max-width: 880px;
  margin-bottom: 54px;
}

.tews-ec-card-grid {
  display: grid;
  gap: 18px;
}

.tews-ec-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tews-ec-card {
  position: relative;
  min-height: 280px;
  padding: 34px 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(200, 169, 107, 0.25);
  border-radius: 18px;
}

.tews-ec-card__number {
  display: block;
  margin-bottom: 50px;
  color: var(--tews-gold, #c8a96b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.tews-ec-card h3,
.tews-ec-process-list h3 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.tews-ec-card p,
.tews-ec-process-list p {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tews-ec-automation .tews-ec-copy {
  position: relative;
}

.tews-ec-automation .tews-ec-section__bg {
  opacity: 0.12;
}

.tews-ec-tile-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tews-ec-tile-list li {
  display: flex;
  min-height: 94px;
  padding: 18px;
  align-items: center;
  gap: 12px;
  color: var(--tews-ec-ink);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(128, 97, 38, 0.2);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.tews-ec-tile-list span,
.tews-ec-license-foot span {
  color: #9a742b;
  font-size: 9px;
}

.tews-ec-process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: rgba(128, 97, 38, 0.24);
  border: 1px solid rgba(128, 97, 38, 0.24);
  border-radius: 18px;
  overflow: hidden;
}

.tews-ec-process-list li {
  min-height: 310px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.48);
}

.tews-ec-process-list li > span {
  display: block;
  margin-bottom: 74px;
  color: #8d6926;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tews-ec-licenses {
  background-image: linear-gradient(90deg, rgba(7, 24, 45, 0.98), rgba(7, 24, 45, 0.88)), var(--tews-ec-license-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.tews-ec-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tews-ec-modules li {
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(200, 169, 107, 0.34);
  border-radius: 14px;
  font-family: "Kiro", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.tews-ec-license-foot {
  display: flex;
  margin-top: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.tews-ec-license-foot p {
  display: flex;
  max-width: 720px;
  margin: 0;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.tews-ec-benefits {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tews-ec-benefits li {
  display: flex;
  min-height: 110px;
  padding: 24px;
  align-items: center;
  gap: 16px;
  color: var(--tews-ec-ink);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(128, 97, 38, 0.22);
  border-radius: 14px;
  font-family: "Kiro", sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.tews-ec-benefits span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--tews-ec-ink);
  background: var(--tews-gold, #c8a96b);
  border-radius: 50%;
}

.tews-ec-contact {
  position: relative;
  padding: clamp(112px, 12vw, 180px) 0;
  overflow: hidden;
  text-align: center;
  background-color: var(--tews-ec-cream);
  background-image: radial-gradient(ellipse at center, rgba(247, 239, 220, 0.75), rgba(247, 239, 220, 0.22) 58%, rgba(247, 239, 220, 0.05)), var(--tews-ec-contact-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.tews-ec-contact__inner {
  max-width: 900px;
}

.tews-ec-contact h2 {
  color: var(--tews-ec-ink);
}

.tews-ec-contact__text {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(7, 24, 45, 0.72);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.tews-ec-contact .tews-button {
  margin-top: 34px;
}

.tews-reveal-ready [data-tews-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tews-reveal-ready [data-tews-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes tewsEcDrift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes tewsEcWheel {
  0%, 45%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  18% { opacity: 1; transform: translate(-50%, 8px); }
}

@media (max-width: 1040px) {
  .tews-ec-card-grid--four,
  .tews-ec-tile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tews-ec-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tews-ec-process-list li:last-child {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .tews-ec-process-list li > span {
    margin-bottom: 34px;
  }
}

@media (max-width: 800px) {
  .tews-ec-shell {
    width: min(100% - 36px, 1180px);
  }

  .tews-ec-hero {
    padding-top: calc(var(--tews-header-height, 72px) + 58px);
  }

  .tews-ec-hero__shade {
    background: linear-gradient(90deg, rgba(3, 14, 29, 0.96), rgba(3, 14, 29, 0.75));
  }

  .tews-ec-split {
    grid-template-columns: 1fr;
  }

  .tews-ec-split--reverse .tews-ec-copy {
    order: initial;
  }

  .tews-ec-visual {
    aspect-ratio: 16 / 10;
  }

  .tews-ec-modules,
  .tews-ec-benefits {
    grid-template-columns: 1fr;
  }

  .tews-ec-license-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .tews-ec-shell {
    width: min(100% - 28px, 1180px);
  }

  .tews-ec-hero {
    min-height: 100svh;
    padding-bottom: 72px;
  }

  .tews-ec-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .tews-ec-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tews-ec-actions .tews-button {
    justify-content: center;
    text-align: center;
  }

  .tews-ec-section {
    padding: 84px 0;
  }

  .tews-ec-card-grid--four,
  .tews-ec-tile-list,
  .tews-ec-process-list {
    grid-template-columns: 1fr;
  }

  .tews-ec-card,
  .tews-ec-process-list li,
  .tews-ec-process-list li:last-child {
    min-height: 0;
  }

  .tews-ec-card__number,
  .tews-ec-process-list li > span {
    margin-bottom: 26px;
  }

  .tews-ec-process-list li:last-child {
    grid-column: auto;
  }

  .tews-ec-contact {
    padding: 96px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tews-ec *,
  .tews-ec *::before,
  .tews-ec *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .tews-reveal-ready [data-tews-reveal] {
    opacity: 1;
    transform: none;
  }
}
