@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;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 compact row, like the mockup ---------- */
.eqx-header { display:flex !important; flex-wrap:nowrap !important; align-items:center; gap:24px;
  padding:18px 0; width:100%; }
.eqx-logo { flex:0 0 auto; }
.eqx-logo img { height:78px !important; width:auto !important; max-width:none !important; background:transparent; }
.eqx-est { flex:0 0 auto; font-size:13px; color:var(--eqx-dark); padding:0 22px;
  border-left: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 auto; min-width:0; align-items:flex-start; gap:8px;
  padding:0 18px; border-left:1px solid #cfcfcf; }
.eqx-link:last-child { padding-right:0; }
.eqx-link svg { flex:0 0 auto; width:34px; height:34px; margin-top:1px; }
.eqx-link div { min-width:0; }
.eqx-link strong { display:block; color:var(--eqx-green); font-size:17px; font-weight:700;
  line-height:1.15; white-space:nowrap; }
.eqx-link span { display:block !important; font-size:12px; line-height:1.35; color:var(--eqx-dark);
  margin-top:3px; max-width:250px; }
.eqx-link:hover strong { text-decoration:underline; }

/* ---------- Headline ---------- */
.eqx-hero { padding:8px 0 26px; }
.eqx-hero h1 { font-family:'Montserrat',Arial,sans-serif; font-size:43px; 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: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: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; }

/* ---------- Laptop (up to 1439px) ---------- */
@media (max-width:1439px) {
  .eqx-header { gap:20px; }
  .eqx-logo img { height:68px !important; }
  .eqx-est { font-size:12px; padding:0 18px; }
  .eqx-link { padding:0 16px; }
  .eqx-link svg { width:30px; height:30px; }
  .eqx-link strong { font-size:16px; }
  .eqx-link span { font-size:11px; max-width:215px; }
  .eqx-hero h1 { font-size:36px; }
  .eqx-area h2 { font-size:36px; }
  .eqx-area p { font-size:21px; }
}

/* ---------- Small laptop (up to 1279px) ---------- */
@media (max-width:1279px) {
  .eqx-header { gap:16px; }
  .eqx-logo img { height:58px !important; }
  .eqx-est { font-size:11px; padding:0 14px; }
  .eqx-link { padding:0 12px; }
  .eqx-link svg { width:26px; height:26px; }
  .eqx-link strong { font-size:14px; }
  .eqx-link span { font-size:10.5px; max-width:185px; }
  .eqx-hero h1 { font-size:40px; }
  .eqx-area h2 { font-size:40px; }
  .eqx-area p { font-size:19px; }
  .eqx-header-wrap { padding:0 24px; }
}

/* ---------- 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; }
  .eqx-hero h1 { font-size:32px; }
  .eqx-area h2 { font-size:34px; }
  .eqx-area p { font-size:18px; }
}

/* ---------- Mobile ---------- */

/* 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; }

/* ---------- 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; }

/* ---------- AI chat: answers ---------- */
.eqx-answer { position:relative; max-width:760px; max-height:440px; overflow-y:auto; margin:48px auto -40px;
  padding:20px 22px 12px; background:#fff; border:1px solid #e3e3e3; border-radius:18px;
  box-shadow:0 6px 24px rgba(0,0,0,.08); font-family:'Montserrat',Arial,sans-serif; }
.eqx-answer[hidden] { display:none; }
.eqx-answer-close { position:sticky; top:0; float:right; width:30px; height:30px; margin:-8px -8px 0 0; border:0;
  border-radius:50%; background:#f2f2f2; color:#4a4a4f; font-size:20px; line-height:30px; padding:0; cursor:pointer; }
.eqx-msg { margin:0 0 14px; }
.eqx-msg p { margin:0; font-size:15px; line-height:1.5; color:#4a4a4f; white-space:pre-wrap; }
.eqx-msg-user p { display:inline-block; background:#f1f7f2; color:#1f6f31; padding:8px 14px; border-radius:14px; font-weight:600; }
.eqx-prod { display:block; margin:10px 0 0; padding:12px 14px; border:1px solid #e3e3e3; border-left:4px solid #1f9a3c;
  border-radius:10px; text-decoration:none !important; color:#4a4a4f !important; }
.eqx-prod:hover { border-color:#1f9a3c; }
.eqx-prod strong { display:block; font-size:15px; font-weight:700; color:#4a4a4f; }
.eqx-prod-meta { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:4px; font-size:13px; }
.eqx-prod-price { font-weight:700; color:#4a4a4f; }
.eqx-prod-stock.is-in { color:#1f9a3c; font-weight:600; }
.eqx-prod-stock.is-out { color:#c62828; font-weight:600; }
.eqx-prod-sku { color:#8a8a8f; }

/* logo spins while the AI is thinking */
@keyframes eqx-spin { to { transform:rotate(360deg); } }
.eqx-chat.is-busy button img { animation:eqx-spin 1s linear infinite; }
.eqx-chat.is-busy input { opacity:.6; }


/* =========================================================
   DESKTOP (768px and up): fit the whole page on one screen
   so the AI chat bar is visible without scrolling.
   Image height = screen height minus everything else (~450px).
   ========================================================= */
@media (min-width:768px) {
  .eqx-hero { padding:5px 0 18px; }
  .eqx-hero .eqx-bar { margin-top:16px; }
  .eqx-areas { gap:32px; }
  .eqx-area img { width:100%; height:calc(100vh - 450px); min-height:170px; max-height:400px;
    aspect-ratio:auto; object-fit:contain; object-position:center center; }
  .eqx-area h2 { font-size:38px; margin:16px 0 0; padding-left:18px; border-left-width:7px; }
  .eqx-area p { font-size:18px; margin:8px 0 0 25px; }
  .eqx-chat { margin:30px auto 0; }
  .eqx { padding-bottom:24px; }

  /* centre each area: picture, title (with its green bar) and subtitle */
  .eqx-area { text-align:center; }
  .eqx-area h2 { display:inline-block; text-align:left; }
  .eqx-area p { margin-left:0; margin-right:0; }
}
@media (min-width:768px) and (max-width:1279px) {
  .eqx-hero h1 { font-size:36px; }
  .eqx-area h2 { font-size:32px; }
  .eqx-area p { font-size:16px; }
}
@media (min-width:1280px) and (max-width:1439px) {
  .eqx-hero h1 { font-size:33px; }
}
@media (min-width:1440px) {
  .eqx-hero h1 { font-size:40px; }
  .eqx-area h2 { font-size:38px; }
  .eqx-area p { font-size:20px; }

  /* images 20% smaller on screens 1440px and wider */
  .eqx-area img { height:calc((100vh - 450px) * 0.8); min-height:136px; max-height:320px; }
}

/* =========================================================
   MOBILE (up to 767px)
   - logo centred
   - 3 links in one row, 3 columns, small text
   - AI search field moved right under the headline
   ========================================================= */
@media (max-width:767px) {
  .eqx-header-wrap { padding:0 16px; }
  .eqx-header { flex-wrap:wrap !important; justify-content:center; gap:10px; padding:16px 0 12px; }

  .eqx-logo { flex:1 1 100%; display:flex; justify-content:center; }
  .eqx-logo img { height:52px !important; }

  .eqx-est { flex:1 1 100%; text-align:center; border:0; padding:0; white-space:normal; font-size:11px; }

  .eqx-links { display:grid !important; grid-template-columns:repeat(3, 1fr); flex:1 1 100%;
    margin-top:6px !important; padding-top:12px !important; border-top:1px solid #ececec; }
  .eqx-link { flex-direction:column; align-items:center; text-align:center; gap:4px; padding:0 6px;
    border-left:1px solid #e3e3e3; }
  .eqx-link:first-child { border-left:0; padding-left:0; }
  .eqx-link:last-child { padding-right:0; }
  .eqx-link svg { width:24px; height:24px; margin:0; }
  .eqx-link strong { font-size:12px; white-space:normal; }
  .eqx-link span { display:block !important; font-size:9.5px; line-height:1.3; max-width:none; margin-top:2px; }

  /* page body: headline, then AI search, then answers, then the 3 areas */
  .eqx { display:flex; flex-direction:column; padding:0 16px 32px; }
  .eqx-hero { order:2; padding:16px 0 20px; }
  .eqx-hero h1 { font-size:26px; }
  .eqx-hero .eqx-bar { width:110px; height:5px; margin-top:16px; }

  .eqx-chat { order:1; position:static; width:100%; max-width:none; margin:0 0 20px; padding:6px 6px 6px 18px; }
  .eqx-chat input { font-size:16px; height:44px; }
  .eqx-chat button, .eqx-chat button img { width:44px; height:44px; }

  .eqx-answer { order:3; position:relative; width:100%; max-width:none; max-height:60vh; margin:0 0 24px; padding:16px 16px 8px; }
  .eqx-msg p { font-size:14px; }

  .eqx-areas { order:4; grid-template-columns:1fr; gap:32px; }
  .eqx-area h2 { font-size:32px; }
  .eqx-area p { font-size:17px; }
}

/* =========================================================
   HOME v2: minimal, chat-style home page
   logo top-left, portals across the top, thin left menu,
   AI bar in the middle, "Established" line at the bottom,
   popup (title, image left, description right) per menu item
   ========================================================= */

/* "Established 2012 | Dubai, U.A.E." sits under the logo */
.eqx-header .eqx-links .eqx-link:first-child { border-left:0; }
@media (min-width:768px) {
  .eqx-header { display:grid !important; grid-template-columns:auto minmax(0,1fr); column-gap:24px; row-gap:6px; align-items:center; }
  .eqx-header .eqx-logo { grid-column:1; grid-row:1; }
  .eqx-header .eqx-est { grid-column:1; grid-row:2; border:0; padding:0 0 0 4px; font-size:12px; font-weight:300;
    letter-spacing:.3px; color:#6b6b70; white-space:nowrap; }
  .eqx-header .eqx-links { grid-column:2; grid-row:1 / span 2; align-self:center; }
}
/* the old bottom line is no longer used */
.eqx-home-foot { display:none !important; }

.eqx.eqx-home { display:grid; grid-template-columns:220px minmax(0,1fr) 220px;
  grid-template-rows:auto auto auto 1fr auto; align-items:start;
  min-height:calc(100vh - 120px); max-width:1440px; margin:0 auto; padding:0 32px; }

/* the headline, AI bar and answers are placed directly on the page grid,
   so the AI bar sits on the same line as the first menu item (Civil) */
.eqx-home-main { display:contents; }
.eqx-home-title { grid-column:2; grid-row:1; }
.eqx-home .eqx-chat { grid-column:2; grid-row:2; justify-self:center; }
.eqx-home .eqx-answer { grid-column:2; grid-row:3; justify-self:center; }

/* left menu: plain names, no lines or boxes; green when hovered/open */
.eqx-home-side { grid-column:1; grid-row:1 / span 3; padding-top:56px; }
.eqx-nav-list { list-style:none; margin:0; padding:0; }
.eqx-nav-list li { margin:0 0 4px; padding:0; }
.eqx-nav-item { all:unset; box-sizing:border-box; display:block; width:100%; cursor:pointer;
  padding:10px 0; border:0;
  font-family:'Montserrat',Arial,sans-serif; font-size:18px; font-weight:300; letter-spacing:.2px;
  color:var(--eqx-dark); transition:color .15s; }
.eqx-nav-item:hover, .eqx-nav-item.is-active { color:var(--eqx-green); }

/* override Porto's button styles: no border, box, shadow or background in any state */
.eqx-home .eqx-nav .eqx-nav-item,
.eqx-home .eqx-nav .eqx-nav-item:hover,
.eqx-home .eqx-nav .eqx-nav-item:focus,
.eqx-home .eqx-nav .eqx-nav-item:active,
.eqx-home .eqx-nav .eqx-nav-item.is-active {
  border:0 !important; border-radius:0 !important; box-shadow:none !important; outline:0 !important;
  background:transparent !important; background-image:none !important; text-transform:none !important;
  min-height:0 !important; height:auto !important; line-height:1.3 !important; }
.eqx-home .eqx-nav .eqx-nav-item:hover,
.eqx-home .eqx-nav .eqx-nav-item.is-active { color:var(--eqx-green) !important; }
.eqx-home .eqx-nav .eqx-nav-item:focus-visible { outline:2px solid var(--eqx-green) !important; outline-offset:2px; }

/* headline + AI */
.eqx-home-title { font-family:'Montserrat',Arial,sans-serif; font-size:30px; font-weight:300; letter-spacing:-.2px;
  line-height:1.3; color:var(--eqx-dark); text-align:center; margin:0; padding:56px 0 28px; }
.eqx-home .eqx-chat { width:100%; max-width:720px; margin:0; border-width:1px; box-shadow:0 2px 14px rgba(0,0,0,.06); }
.eqx-home .eqx-chat input { font-weight:300; }
.eqx-home .eqx-answer { width:100%; max-width:720px; margin:20px 0 0; }

/* bottom line */
.eqx-home-foot { grid-column:1 / -1; grid-row:5; text-align:center; padding:20px 0 24px;
  font-family:'Montserrat',Arial,sans-serif; font-size:12px; font-weight:300; color:#8a8a8f; }

/* popup */
.eqx-pop { width:min(880px, calc(100vw - 32px)); max-height:calc(100vh - 48px); padding:0; border:0; border-radius:16px;
  background:#fff; color:var(--eqx-dark, #4a4a4f); box-shadow:0 24px 60px rgba(0,0,0,.25); overflow:auto;
  font-family:'Montserrat',Arial,sans-serif; }
.eqx-pop::backdrop { background:rgba(25,25,30,.45); }
.eqx-pop[open] { animation:eqx-pop-in .18s ease-out; }
@keyframes eqx-pop-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.eqx-pop-inner { position:relative; padding:36px; }
.eqx-pop-close { position:absolute; top:12px; right:12px; width:36px; height:36px; padding:0; border:0; border-radius:50%;
  background:#f2f2f2; color:#4a4a4f; font-size:22px; line-height:36px; text-align:center; cursor:pointer; }
.eqx-pop-close:hover { background:#e6e6e6; }
.eqx-pop-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:36px; align-items:start; }
.eqx-pop-grid.no-image { grid-template-columns:1fr; }
.eqx-pop-img img { display:block; width:100%; height:auto; border-radius:10px; }
.eqx-pop-title { font-family:'Montserrat',Arial,sans-serif; font-size:30px; font-weight:600; line-height:1.15; color:var(--eqx-dark, #4a4a4f);
  margin:4px 40px 16px 0; padding-left:14px; border-left:4px solid #1f9a3c; }
.eqx-pop-title { margin-bottom:6px; }
.eqx-pop-sub { margin:0 0 22px 18px; font-size:14px; font-weight:400; line-height:1.4; color:#4a4a4f; }
.eqx-pop-desc { font-size:19px; font-weight:400; line-height:1.5; color:#4a4a4f; margin:0 0 18px; }
.eqx-pop-points { list-style:none; margin:0; padding:0; }
.eqx-pop-points li { position:relative; margin:0 0 10px; padding-left:24px; font-size:16px; line-height:1.5; color:#4a4a4f; }
.eqx-pop-points li::before { content:""; position:absolute; left:0; top:.55em; width:8px; height:8px; background:#5a8f2e; }
.eqx-pop-desc p { margin:0 0 12px; }
.eqx-pop-desc ul, .eqx-pop-desc ol { margin:0 0 12px 18px; padding:0; }
.eqx-pop-desc a { color:#1f9a3c; text-decoration:underline; }

/* tablet: drop the right spacer column */
@media (min-width:768px) and (max-width:1023px) {
  .eqx.eqx-home { grid-template-columns:170px minmax(0,1fr); padding:0 24px; }
  .eqx-home-title { font-size:26px; }
  .eqx-nav-item { font-size:16px; }
}

/* mobile: AI first, menu as pills under it, popup stacks */
@media (max-width:767px) {
  .eqx.eqx-home { display:flex; flex-direction:column; align-items:stretch; min-height:auto; padding:0 16px; }
  .eqx-home-title { order:1; font-size:22px; padding:24px 0 18px; }
  .eqx-home .eqx-chat { order:2; margin:0; }
  .eqx-home .eqx-answer { order:3; margin:16px 0 0; }

  .eqx-home-side { order:4; padding:14px 0 0; }
  .eqx-nav-list { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 28px; }
  .eqx-nav-list li { margin:0; }
  .eqx-nav-item { width:auto; padding:8px 0; font-size:15px; }

  .eqx-home-foot { order:5; padding:32px 0 20px; font-size:11px; }

  .eqx-pop { width:calc(100vw - 24px); max-height:calc(100vh - 24px); border-radius:14px; }
  .eqx-pop-inner { padding:56px 20px 20px; }
  .eqx-pop-close { top:10px; right:10px; }
  .eqx-pop-grid { grid-template-columns:1fr; gap:18px; }
  .eqx-pop-title { font-size:22px; margin-top:0; margin-right:0; }
  .eqx-pop-sub { font-size:13px; margin-bottom:16px; }
  .eqx-pop-desc { font-size:16px; }
  .eqx-pop-points li { font-size:14px; }
}

/* override Porto's button styles on the AI send button too */
.eqx-chat button, .eqx-chat button:hover, .eqx-chat button:focus, .eqx-chat button:active {
  border:0 !important; box-shadow:none !important; background:transparent !important; outline:0 !important; padding:0 !important; }
.eqx-chat button:focus-visible { outline:2px solid #1f9a3c !important; outline-offset:2px; }

/* =========================================================
   Client feedback 16 Nov
   ========================================================= */
/* 1. text the customer types is black (placeholder stays grey) */
.eqx-chat input, .eqx-home .eqx-chat input { color:#000 !important; }
.eqx-chat input::placeholder { color:#8a8a8f; opacity:1; }

/* 3. formatted AI answers (bold, lists) instead of raw ** symbols */
.eqx-msg-text { font-size:15px; line-height:1.55; color:#4a4a4f; }
.eqx-msg-text p { margin:0 0 8px; white-space:normal; }
.eqx-msg-text p:last-child { margin-bottom:0; }
.eqx-msg-text strong { font-weight:600; color:#4a4a4f; }
.eqx-msg-text ul, .eqx-msg-text ol { margin:4px 0 8px 20px; padding:0; }
.eqx-msg-text li { margin:0 0 4px; }

/* 2. product thumbnails in the result cards */
.eqx-prod { display:flex !important; align-items:center; gap:14px; }
.eqx-prod-thumb { flex:0 0 auto; width:60px; height:60px; object-fit:contain; border-radius:8px;
  background:#fff; border:1px solid #eee; }
.eqx-prod-info { display:block; min-width:0; flex:1 1 auto; }

@media (max-width:767px) {
  .eqx-msg-text { font-size:14px; }
  .eqx-prod { gap:10px; }
  .eqx-prod-thumb { width:48px; height:48px; }
}

/* =========================================================
   HOME v3: Civil / Interiors / Water always visible on the left
   (picture + copy, two columns) so Google and AI search can read them.
   Replaces the left menu + popup.
   ========================================================= */
.eqx.eqx-home { grid-template-columns:minmax(380px,460px) minmax(0,1fr); column-gap:56px; }
.eqx-home .eqx-home-title,
.eqx-home .eqx-chat,
.eqx-home .eqx-answer { grid-column:2; }

.eqx-home-side { grid-column:1; grid-row:1 / span 4; padding-top:54px; }
.eqx-blocks { display:flex; flex-direction:column; gap:30px; }

.eqx-block { display:grid; grid-template-columns:132px minmax(0,1fr); gap:20px; align-items:start; margin:0; }
.eqx-block-img img { display:block; width:132px; height:99px; object-fit:cover; border-radius:8px; }
.eqx-block-title { font-family:'Montserrat',Arial,sans-serif; font-size:22px; font-weight:600; line-height:1.1;
  color:var(--eqx-dark); margin:0 0 4px; padding-left:12px; border-left:4px solid var(--eqx-green); }
.eqx-block-sub { margin:0 0 8px 16px; font-size:12.5px; line-height:1.35; color:#6b6b70; }
.eqx-block-desc { margin:0 0 6px; font-size:14.5px; line-height:1.45; color:#4a4a4f; }
.eqx-block-desc p { margin:0 0 4px; }
.eqx-block-desc p:last-child { margin-bottom:0; }
.eqx-block.no-image { grid-template-columns:1fr; }
.eqx-block-points { list-style:none; margin:0; padding:0; }
.eqx-block-points li { position:relative; padding-left:16px; margin:0 0 3px; font-size:13px; line-height:1.4; color:#5a5a60; }
.eqx-block-points li::before { content:""; position:absolute; left:0; top:.5em; width:6px; height:6px; background:#5a8f2e; }

/* tablet and small laptop: AI first, then the three blocks */
@media (max-width:1099px) {
  .eqx.eqx-home { display:flex; flex-direction:column; align-items:stretch; min-height:auto; }
  .eqx-home .eqx-home-title { order:1; padding:32px 0 20px; }
  .eqx-home .eqx-chat { order:2; margin:0 auto; }
  .eqx-home .eqx-answer { order:3; margin:16px auto 0; }
  .eqx-home-side { order:4; padding:36px 0 32px; }
  .eqx-blocks { max-width:720px; margin:0 auto; }
}
@media (max-width:767px) {
  .eqx-home .eqx-home-title { padding:24px 0 18px; }
  .eqx-home-side { padding:28px 0 24px; }
  .eqx-blocks { gap:24px; }
  .eqx-block { grid-template-columns:96px minmax(0,1fr); gap:14px; }
  .eqx-block-img img { width:96px; height:96px; }
  .eqx-block-title { font-size:19px; }
  .eqx-block-desc { font-size:14px; }
}

/* =========================================================
   Bottom line: dark grey, 4px (same as the green title bars),
   across the bottom of the page from the left column (Civil,
   Interiors, Water) to the right edge of the chat section.
   The AI bar and answers always stay above it; long answers
   scroll inside their box.
   ========================================================= */
@media (min-width:1100px) {
  .eqx.eqx-home { min-height:calc(100vh - 190px); }
  .eqx-home-main { display:flex !important; flex-direction:column; align-items:center;
    grid-column:2; grid-row:1 / span 4; align-self:stretch; justify-self:stretch; padding-bottom:0; }
  .eqx-home .eqx-home-title { order:1; }
  /* chat and answers fill the right column, so the line ends exactly at the chat's right edge */
  .eqx-home .eqx-chat { order:2; width:100%; max-width:none; }
  .eqx-home .eqx-answer { order:3; width:100%; max-width:none; max-height:max(220px, calc(100vh - 470px)); margin-bottom:0; }

  .eqx.eqx-home::after { content:""; display:block; grid-column:1 / -1; grid-row:5; align-self:end;
    height:4px; background:#4a4a4f; margin:32px 0 24px; }
}
@media (max-width:1099px) {
  .eqx.eqx-home::after { content:""; order:99; display:block; height:4px; background:#4a4a4f;
    width:100%; margin:8px 0 24px; }
}
