/* =========================================================
   epoxygrouting.css
   Page-specific styles for the Epoxy Grouting page.
   Load AFTER tilegrount.css:
   <link rel="stylesheet" href="/assets/css/epoxygrouting.css">
   ========================================================= */
.epoxy-padding{
    padding-bottom: 120px;
}
#tile-grout-page .eg-compare,
#tile-grout-page .eg-cost {
  --eg-navy: #0a2a5e;
  --eg-navy-2: #0b3a7a;
  --eg-navy-3: #0a2554;
  --eg-sky: #4fc3f7;
  --eg-blue: #1e9be0;
  --eg-pale: #eaf5fc;
  --eg-text: #4a5d7a;
}

/* ---------- AREAS: two paragraphs inside one card ---------- */
#tile-grout-page #areas .tg-pcard p + p {
  margin-top: 10px;
}

/* ---------- COMPARISON TABLE ---------- */
#tile-grout-page .eg-table-wrap {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(10, 42, 94, .12);
}
#tile-grout-page .eg-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}
#tile-grout-page .eg-table thead th {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--eg-navy-2) 0%, var(--eg-navy-3) 100%);
}
#tile-grout-page .eg-table thead th.eg-ep {
  background: linear-gradient(135deg, var(--eg-blue) 0%, var(--eg-navy-2) 100%);
}
#tile-grout-page .eg-table tbody th,
#tile-grout-page .eg-table tbody td {
  padding: 18px 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--eg-text);
  border-top: 1px solid rgba(10, 42, 94, .08);
  vertical-align: top;
}
#tile-grout-page .eg-table tbody th {
  width: 22%;
  text-align: left;
  font-weight: 700;
  color: var(--eg-navy);
}
#tile-grout-page .eg-table tbody td.eg-ep {
  background: var(--eg-pale);
  color: var(--eg-navy);
  font-weight: 500;
}
#tile-grout-page .eg-table tbody tr:hover td,
#tile-grout-page .eg-table tbody tr:hover th {
  background: #f4fafe;
}
#tile-grout-page .eg-table tbody tr:hover td.eg-ep {
  background: #ddeffa;
}

/* notes under the table */
#tile-grout-page .eg-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}
#tile-grout-page .eg-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 20px;
  border-left: 4px solid var(--eg-sky);
  box-shadow: 0 8px 26px rgba(10, 42, 94, .08);
}
#tile-grout-page .eg-note i {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--eg-pale);
  color: var(--eg-blue);
  font-size: 22px;
}
#tile-grout-page .eg-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--eg-text);
}

/* ---------- PROCESS: closing line under the tabs ---------- */
#tile-grout-page .eg-proj {
  max-width: 760px;
  margin: 26px auto 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}
#tile-grout-page .eg-proj a {
  color: var(--eg-sky);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- COST SECTION ---------- */
/* top wave divider: set --eg-wave to the colour of the section ABOVE */
#tile-grout-page .eg-cost {
  --eg-wave: #fff;
  position: relative;
  padding-top: 120px;
}
#tile-grout-page .eg-cost::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  background: var(--eg-wave);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V50C1320 80 1200 80 1080 50C960 20 840 20 720 50C600 80 480 80 360 50C240 20 120 20 0 50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V50C1320 80 1200 80 1080 50C960 20 840 20 720 50C600 80 480 80 360 50C240 20 120 20 0 50Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
#tile-grout-page .eg-cost .eg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
#tile-grout-page .eg-cost .eg-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border-left: 4px solid var(--eg-sky);
  box-shadow: 0 8px 26px rgba(10, 42, 94, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
#tile-grout-page .eg-cost .eg-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 42, 94, .14);
}
#tile-grout-page .eg-cost .eg-item i {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--eg-pale);
  color: var(--eg-blue);
  font-size: 22px;
}
#tile-grout-page .eg-cost .eg-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--eg-text);
}
#tile-grout-page .eg-cost .eg-bar {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 34px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--eg-navy-2) 0%, var(--eg-navy-3) 100%);
  box-shadow: 0 24px 50px rgba(10, 42, 94, .28);
}
#tile-grout-page .eg-cost .eg-bar::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -110px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 195, 247, .35), transparent 70%);
  pointer-events: none;
}
#tile-grout-page .eg-cost .eg-bar i {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .14);
  color: var(--eg-sky);
  font-size: 26px;
}
#tile-grout-page .eg-cost .eg-bar p {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  #tile-grout-page .eg-notes,
  #tile-grout-page .eg-cost .eg-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  /* table turns into stacked cards */
  #tile-grout-page .eg-table thead {
    display: none;
  }
  #tile-grout-page .eg-table,
  #tile-grout-page .eg-table tbody,
  #tile-grout-page .eg-table tr,
  #tile-grout-page .eg-table th,
  #tile-grout-page .eg-table td {
    display: block;
    width: 100%;
  }
  #tile-grout-page .eg-table tbody tr {
    border-top: 1px solid rgba(10, 42, 94, .1);
  }
  #tile-grout-page .eg-table tbody th {
    width: 100%;
    padding: 16px 20px 6px;
    border-top: 0;
    font-size: 15px;
    background: #fff;
  }
  #tile-grout-page .eg-table tbody td {
    padding: 8px 20px;
    border-top: 0;
  }
  #tile-grout-page .eg-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--eg-blue);
  }
  #tile-grout-page .eg-table tbody td:last-child {
    padding-bottom: 16px;
  }
  #tile-grout-page .eg-cost .eg-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
}
@media (max-width: 575px) {
  #tile-grout-page .eg-note,
  #tile-grout-page .eg-cost .eg-item {
    padding: 18px;
    gap: 12px;
  }
}