/* ==========================================================================
   UNTERRO - K QUARTZ PAGE STYLES (EDITORIAL DARK THEME)
   ========================================================================== */

.k-quartz-page {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--color-bg-dark);
  padding-top: 88px; /* User specified: Mobile -> 88 */
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .k-quartz-page {
    padding-top: 114px; /* User specified: Tablet -> 114 */
    padding-bottom: 100px;
  }
}

@media (min-width: 1024px) {
  .k-quartz-page {
    padding-top: 118px; /* User specified: Desktop -> 118 */
    padding-bottom: 120px;
  }
}

@media (min-width: 1440px) {
  .k-quartz-page {
    padding-top: 152px; /* User specified: Large Desktop -> 152 */
    padding-bottom: 140px;
  }
}

@media (min-width: 1920px) {
  .k-quartz-page {
    padding-top: 166px; /* User specified: Ultra-wide -> 166 */
    padding-bottom: 160px;
  }
}

/* Background Image */
.k-quartz__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Dark legibility overlay gradient */
.k-quartz__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(16, 15, 14, 0.3) 0%,
    rgba(16, 15, 14, 0.75) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Symmetrical container matching layout styles */
.k-quartz__container {
  position: relative;
  width: 100%;
  z-index: 3;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .k-quartz__container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .k-quartz__container {
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (min-width: 1920px) {
  .k-quartz__container {
    padding-left: 42px;
    padding-right: 42px;
  }
}

/* Split Columns Layout Grid */
.k-quartz__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .k-quartz__grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (min-width: 1440px) {
  .k-quartz__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* LEFT COLUMN: Main Content Block */
.k-quartz__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.k-quartz__eyebrow {
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
  opacity: 0.9;
}

.k-quartz__title {
  font-family: var(--font-family-sans);
  font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4.25rem); /* Editorial typography scale */
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.k-quartz__subtitle {
  font-family: var(--font-family-sans);
  font-size: clamp(14px, 13px + 0.3vw, 17px);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px 0;
}

/* Features List styling */
.k-quartz__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 600px;
  margin-bottom: 40px;
}

.k-quartz__feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 28px;
}

.k-quartz__feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: -2px; /* Micro alignment to align with title text */
  filter: invert(1); /* Render black SVGs as crisp white */
  background-color: transparent !important; /* Force override global img bg */
  border-radius: 0 !important; /* Force override global img border-radius */
  object-fit: contain !important;
}

.k-quartz__feature-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.k-quartz__feature-title {
  font-family: var(--font-family-sans);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.k-quartz__feature-desc {
  font-family: var(--font-family-sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Button ENQUIRE NOW */
.k-quartz__btn {
  padding: 14px 28px;
  border-radius: 4px;
  background-color: rgba(28, 26, 23, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.k-quartz__btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.k-quartz__btn span {
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.k-quartz__btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.k-quartz__btn:hover svg {
  transform: scale(1.05);
}

/* RIGHT COLUMN: Physical & Mechanical Test Card */
.k-quartz__table-card {
  width: 100%;
  background-color: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .k-quartz__table-card {
    padding: 32px;
  }
}

.k-quartz__card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.k-quartz__card-icon {
  width: 36px;
  height: 36px;
  filter: invert(1); /* Render black SVGs as crisp white */
  background-color: transparent !important; /* Force override global img bg */
  border-radius: 0 !important; /* Force override global img border-radius */
  object-fit: contain !important;
}

.k-quartz__card-title {
  font-family: var(--font-family-sans);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Card Table Styling */
.k-quartz__table {
  width: 100%;
  border-collapse: collapse;
}

.k-quartz__table th {
  font-family: var(--font-family-sans);
  font-size: 10.5px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.k-quartz__table th:first-child {
  text-align: left;
}

.k-quartz__table th:last-child {
  text-align: right;
}

.k-quartz__table td {
  font-family: var(--font-family-sans);
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.k-quartz__table tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

.k-quartz__table td:first-child {
  text-align: left;
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.75);
}

.k-quartz__table td:last-child {
  text-align: right;
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
}

/* Remove default layout spacing issues on mobile header/footer overlap & reduce mobile gaps */
@media (max-width: 1023px) {
  .page-template-page-k-quartz #content {
    padding-bottom: 0 !important;
  }

  .k-quartz__features {
    gap: 20px;
    margin-bottom: 24px; /* Reduced from 40px */
  }

  .k-quartz__feature-item {
    gap: 12px;
    padding-bottom: 20px; /* Reduced from 28px */
  }

  .k-quartz__grid {
    gap: 32px; /* Reduced from 48px to bring the specs card closer to the button */
  }
}

/* ==========================================================================
   LARGE MONITOR SCALING (Consistency with FAQs & Homepage)
   ========================================================================== */
@media (min-width: 1440px) {
  .k-quartz__eyebrow {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .k-quartz__title {
    font-size: 4.75rem;
    margin-bottom: 18px;
  }
  .k-quartz__subtitle {
    font-size: 18px;
    margin-bottom: 48px;
  }
  .k-quartz__features {
    gap: 36px;
    margin-bottom: 48px;
  }
  .k-quartz__feature-item {
    gap: 20px;
    padding-bottom: 36px;
  }
  .k-quartz__feature-icon {
    width: 44px;
    height: 44px;
  }
  .k-quartz__feature-title {
    font-size: 15px;
  }
  .k-quartz__feature-desc {
    font-size: 15px;
  }
  .k-quartz__btn {
    padding: 16px 32px;
  }
  .k-quartz__btn span {
    font-size: 12px;
  }
  .k-quartz__table-card {
    padding: 40px;
  }
  .k-quartz__card-header {
    gap: 16px;
    padding-bottom: 28px;
    margin-bottom: 24px;
  }
  .k-quartz__card-icon {
    width: 44px;
    height: 44px;
  }
  .k-quartz__card-title {
    font-size: 15px;
  }
  .k-quartz__table th {
    font-size: 12px;
    padding-bottom: 18px;
  }
  .k-quartz__table td {
    font-size: 14px;
    padding: 16px 0;
  }
}

@media (min-width: 1920px) {
  .k-quartz__eyebrow {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .k-quartz__title {
    font-size: 5.5rem;
    margin-bottom: 22px;
  }
  .k-quartz__subtitle {
    font-size: 20px;
    margin-bottom: 56px;
  }
  .k-quartz__features {
    gap: 44px;
    margin-bottom: 56px;
  }
  .k-quartz__feature-item {
    gap: 24px;
    padding-bottom: 44px;
  }
  .k-quartz__feature-icon {
    width: 52px;
    height: 52px;
  }
  .k-quartz__feature-title {
    font-size: 17px;
  }
  .k-quartz__feature-desc {
    font-size: 17px;
  }
  .k-quartz__btn {
    padding: 18px 36px;
  }
  .k-quartz__btn span {
    font-size: 13px;
  }
  .k-quartz__table-card {
    padding: 48px;
  }
  .k-quartz__card-header {
    gap: 20px;
    padding-bottom: 32px;
    margin-bottom: 28px;
  }
  .k-quartz__card-icon {
    width: 52px;
    height: 52px;
  }
  .k-quartz__card-title {
    font-size: 17px;
  }
  .k-quartz__table th {
    font-size: 13.5px;
    padding-bottom: 22px;
  }
  .k-quartz__table td {
    font-size: 16px;
    padding: 18px 0;
  }
}
