@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.eqx, .eqx-header-wrap { --eqx-green:#1f9a3c; --eqx-yellow:#f4d000; --eqx-dark:#4a4a4f; --eqx-muted:#6b6b70;
  font-family:'Montserrat',Arial,sans-serif; color:var(--eqx-dark); background:#fff; }
.eqx {
  max-width:1440px; margin:0 auto; padding:0 32px 48px; box-sizing:border-box; }
.eqx *, .eqx *::before, .eqx *::after { box-sizing:border-box; }
.eqx a { text-decoration:none; color:inherit; }
.eqx img { max-width:100%; height:auto; display:block; border:0; }

/* ---------- Header (one row on desktop) ---------- */
.eqx-header { display:flex !important; flex-wrap:nowrap !important; align-items:center; gap:20px; padding:22px 0; width:100%; }
.eqx-logo { flex:0 0 auto; }
.eqx-logo img { height:64px !important; width:auto !important; max-width:none !important; }
.eqx-est { flex:0 0 auto; font-size:13px; color:var(--eqx-dark); padding:0 20px; border-left:1px solid #cfcfcf;
  border-right:1px solid #cfcfcf; line-height:1.4; white-space:nowrap; }
.eqx-links { display:flex !important; flex:1 1 auto; min-width:0; justify-content:flex-end; margin:0 !important; padding:0 !important; }
.eqx-link { display:flex !important; flex:0 1 240px; min-width:0; align-items:flex-start; gap:10px; padding:0 14px;
  border-left:1px solid #cfcfcf; }
.eqx-link:first-child { border-left:0; padding-left:0; }
.eqx-link:last-child { padding-right:0; }
.eqx-link svg { flex:0 0 auto; width:34px; height:34px; margin-top:2px; }
.eqx-link div { min-width:0; }
.eqx-link strong { display:block; color:var(--eqx-green); font-size:16px; font-weight:700; line-height:1.2; }
.eqx-link span { display:block; font-size:12px; line-height:1.35; color:var(--eqx-dark); margin-top:2px; }
.eqx-link:hover strong { text-decoration:underline; }

/* medium desktops: hide the small descriptions before anything wraps */
@media (max-width:1280px) {
  .eqx-est { font-size:12px; padding:0 14px; }
  .eqx-link span { display:none; }
  .eqx-link { flex:0 0 auto; align-items:center; }
}

/* ---------- Headline ---------- */
.eqx-hero { padding:36px 0 56px; }
.eqx-hero h1 { font-family:'Montserrat',Arial,sans-serif; font-size:clamp(26px,3.6vw,50px); font-weight:500;
  color:var(--eqx-dark); margin:0; line-height:1.2; letter-spacing:-0.5px; }
.eqx-hero .eqx-bar { width:150px; height:6px; background:var(--eqx-yellow); margin-top:22px; }

/* ---------- Three areas ---------- */
.eqx-areas { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.eqx-area img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.eqx-area h2 { font-family:'Montserrat',Arial,sans-serif; font-size:clamp(32px,3.4vw,52px); font-weight:700;
  color:var(--eqx-dark); margin:22px 0 4px; padding-left:22px; border-left:8px solid var(--eqx-green); line-height:1; }
.eqx-area p { font-size:clamp(17px,1.6vw,24px); color:var(--eqx-dark); margin:10px 0 0 30px; }

/* ---------- AI chat bar ---------- */
.eqx-chat { display:flex; align-items:center; gap:12px; max-width:760px; margin:64px auto 0;
  border:2px solid #d8d8d8; border-radius:999px; padding:8px 8px 8px 24px; background:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.06); }
.eqx-chat:focus-within { border-color:var(--eqx-green); }
.eqx-chat input { flex:1; border:0 !important; outline:0; font:inherit; font-size:17px; height:48px;
  background:transparent; box-shadow:none !important; padding:0 !important; color:var(--eqx-dark); }
.eqx-chat button { flex:0 0 auto; width:52px; height:52px; border-radius:50%; border:0; padding:0;
  background:#fff; cursor:pointer; }
.eqx-chat button img { width:52px; height:52px; }

/* ---------- Tablet ---------- */
@media (max-width:1023px) {
  .eqx-header { flex-wrap:wrap !important; }
  .eqx-est { border-right:0; }
  .eqx-links { flex:1 1 100%; justify-content:flex-start; }
}

/* ---------- Mobile ---------- */
@media (max-width:767px) {
  .eqx { padding:0 16px 110px; }
  .eqx-header { gap:14px; padding:16px 0; }
  .eqx-logo img { height:54px; }
  .eqx-est { border:0; padding:0; white-space:normal; font-size:12px; width:100%; }
  .eqx-links { flex-direction:column; gap:14px; }
  .eqx-link span { display:block; }
  .eqx-link { border-left:0; padding:0; max-width:none; }
  .eqx-link svg { width:32px; height:32px; }
  .eqx-hero { padding:20px 0 32px; }
  .eqx-areas { grid-template-columns:1fr; gap:36px; }
  /* chat stays reachable: pinned to the bottom of the screen */
  .eqx-chat { position:fixed; left:12px; right:12px; bottom:12px; margin:0; z-index:999; }
  .eqx-chat input { font-size:16px; height:44px; }
  .eqx-chat button, .eqx-chat button img { width:44px; height:44px; }
}

/* header block sits outside the page content wrapper */
.eqx-header-wrap { font-family:'Montserrat',Arial,sans-serif; max-width:1440px; margin:0 auto; padding:0 32px; box-sizing:border-box; }
.eqx-header-wrap a { text-decoration:none; color:inherit; }
@media (max-width:767px) { .eqx-header-wrap { padding:0 16px; } }

/* ---------- Hide Porto's own header, menu and footer on Equinox pages ---------- */
.page-wrapper > .page-header,
.page-header,
.panel.wrapper,
.header.panel,
.sections.nav-sections,
.nav-sections,
.page-footer,
.footer-container,
footer.page-footer,
.copyright,
.sticky-header { display:none !important; }