/* ============================================================
   SPECS & CAD PAGE — specs-page.css
   Supplements style.css. Variables inherited from :root.
   ============================================================ */

.nav-links a.active {
  color: var(--gold);
}

/* =====================
   PAGE HERO
===================== */
.specs-hero {
  min-height: 55vh;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 55%, #181510 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  border-bottom: 1px solid #2a2a2a;
  overflow: hidden;
}

.specs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(197,160,89,0.012) 40px,
      rgba(197,160,89,0.012) 41px
    );
  pointer-events: none;
}

.specs-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 55%, rgba(197,160,89,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.specs-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0 70px;
}

.page-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.specs-hero-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 620px;
}

.specs-hero-title span {
  font-weight: 600;
  color: var(--gold);
}

.specs-hero-text {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
}

.specs-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-pill {
  text-decoration: none;
  border: 1px solid #3a3a3a;
  color: #888;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 8px 18px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.anchor-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,160,89,0.05);
}

/* =====================
   INTRO STRIP
===================== */
.specs-intro-strip {
  background: #0f0f0f;
  border-bottom: 1px solid #2a2a2a;
  padding: 28px 0;
}

.specs-intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.intro-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 40px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

.intro-strip-item i {
  color: var(--gold);
  font-size: 14px;
}

.intro-strip-divider {
  width: 1px;
  height: 28px;
  background: #2a2a2a;
}

/* =====================
   SHARED SECTION STYLES
===================== */
.specs-section {
  padding: 90px 0;
  border-top: 1px solid #2a2a2a;
}

.specs-section--alt {
  background: rgba(255,255,255,0.012);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a2a2a;
}

.section-tag {
  font-size: 48px;
  font-weight: 300;
  color: #252525;
  line-height: 1;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.section-title-main {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 14px;
  color: #777;
  letter-spacing: 1px;
}

/* =====================
   DOWNLOADS
===================== */
.download-group {
  margin-bottom: 56px;
}

.download-group:last-child {
  margin-bottom: 0;
}

.download-group-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #222;
}

.download-group-title {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.download-group-title span {
  color: var(--gold);
}

.download-group-sub {
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #2a2a2a;
  padding: 16px 18px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}

.download-card:hover {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.download-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-icon i {
  color: var(--gold);
  font-size: 15px;
}

.download-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.download-name {
  font-size: 13px;
  color: #ddd;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-meta {
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
}

.download-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}

.download-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* =====================
   DATA TABLE
===================== */
.data-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid #2a2a2a;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 700px;
}

.data-table thead tr {
  background: #111;
  border-bottom: 1px solid #333;
}

.data-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.data-table thead th:first-child {
  color: #666;
}

.data-table tbody tr {
  border-bottom: 1px solid #1e1e1e;
  transition: background 0.2s;
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.data-table tbody td {
  padding: 13px 18px;
  color: #bbb;
  vertical-align: middle;
}

.prop-label {
  color: #fff !important;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.table-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  padding: 14px 0 0;
}

.table-note i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================
   FINISHES
===================== */
.finishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.finish-card {
  border: 1px solid #2a2a2a;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}

.finish-card:hover {
  border-color: var(--gold);
}

.finish-swatch {
  height: 80px;
  width: 100%;
}

.swatch-natural   { background: linear-gradient(135deg, #8B6914, #C4933A, #A07828); }
.swatch-silver    { background: linear-gradient(135deg, #7a7a7a, #a0a0a0, #888); }
.swatch-charcoal  { background: linear-gradient(135deg, #1a1a1a, #2e2e2e, #222); }
.swatch-unfinished{ background: linear-gradient(135deg, #C4933A, #d4aa60, #b8852a); }

.finish-info {
  padding: 18px 20px;
}

.finish-info h4 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
}

.finish-info p {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin-bottom: 10px;
}

.finish-available {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.finish-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(197,160,89,0.15);
  background: rgba(197,160,89,0.04);
  padding: 16px 20px;
}

.finish-note i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.finish-note p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* =====================
   SUSTAINABILITY
===================== */
.sustain-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sustain-story-title {
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.sustain-story p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.85;
  margin-bottom: 18px;
}

.sustain-story p:last-child {
  margin-bottom: 0;
}

.sustain-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cert-card {
  border: 1px solid #2a2a2a;
  padding: 22px 20px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s;
}

.cert-card:hover {
  border-color: var(--gold);
}

.cert-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon i {
  color: var(--gold);
  font-size: 14px;
}

.cert-card h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

.cert-card p {
  font-size: 12px;
  color: #888;
  line-height: 1.65;
  flex: 1;
}

.cert-download {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
}

.cert-download:hover {
  opacity: 0.75;
}

/* =====================
   WHATSAPP / SUPPORT CTA
===================== */
.whatsapp-section {
  padding: 90px 0;
  border-top: 1px solid #2a2a2a;
}

.wa-cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border: 1px solid #2a2a2a;
  padding: 56px;
  background: #111;
  align-items: center;
}

.wa-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.wa-title {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
}

.wa-text {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 28px;
}

.wa-contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 24px;
  transition: opacity 0.3s;
  width: fit-content;
}

.wa-btn:hover {
  opacity: 0.88;
}

.wa-btn i {
  font-size: 18px;
}

.phone-btn,
.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #ccc;
  transition: color 0.3s;
  width: fit-content;
}

.phone-btn i,
.email-btn i {
  color: var(--gold);
  width: 16px;
}

.phone-btn:hover,
.email-btn:hover {
  color: var(--gold);
}

.wa-hours {
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-hours i {
  color: var(--gold);
  font-size: 11px;
}

/* Feature list */
.wa-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wa-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e1e1e;
}

.wa-feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wa-feature i {
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.wa-feature span {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}

/* =====================
   TABLET — 768px to 1024px
===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .specs-hero-title {
    font-size: 38px;
  }

  .sustain-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sustain-certs {
    grid-template-columns: 1fr 1fr;
  }

  .wa-cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .section-tag {
    font-size: 36px;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================
   MOBILE — up to 767px
===================== */
@media (max-width: 767px) {

  .specs-hero {
    min-height: auto;
    padding-top: 90px;
  }

  .specs-hero-content {
    padding: 40px 0 50px;
  }

  .specs-hero-title {
    font-size: 26px;
  }

  .specs-hero-text {
    font-size: 14px;
  }

  .specs-anchors {
    gap: 8px;
  }

  .anchor-pill {
    font-size: 10px;
    padding: 7px 12px;
  }

  /* Intro strip */
  .specs-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .intro-strip-divider {
    display: none;
  }

  .intro-strip-item {
    padding: 14px 12px;
    font-size: 10px;
    border-bottom: 1px solid #2a2a2a;
    justify-content: center;
  }

  .intro-strip-item:nth-child(odd) {
    border-right: 1px solid #2a2a2a;
  }

  .intro-strip-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Sections */
  .specs-section {
    padding: 56px 0;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 32px;
  }

  .section-tag {
    font-size: 32px;
  }

  .section-title-main {
    font-size: 24px;
  }

  /* Downloads */
  .download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .download-name {
    font-size: 12px;
    white-space: normal;
  }

  /* Table */
  .data-table thead th,
  .data-table tbody td {
    padding: 10px 12px;
    font-size: 11px;
  }

  /* Finishes */
  .finishes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .finish-swatch {
    height: 60px;
  }

  .finish-info {
    padding: 14px;
  }

  .finish-info h4 {
    font-size: 12px;
  }

  .finish-info p {
    font-size: 12px;
  }

  /* Sustainability */
  .sustain-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sustain-certs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sustain-story p {
    font-size: 14px;
  }

  /* WhatsApp */
  .whatsapp-section {
    padding: 56px 0;
  }

  .wa-cta-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 20px;
  }

  .wa-title {
    font-size: 22px;
  }

  .wa-text {
    font-size: 13px;
  }

  .wa-btn {
    width: 100%;
    justify-content: center;
  }

  .phone-btn,
  .email-btn {
    font-size: 13px;
  }

  .wa-feature span {
    font-size: 13px;
  }
}

/* =====================
   DOWNLOAD GATE MODAL
===================== */
.dl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dl-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.dl-modal {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 44px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.dl-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
  line-height: 1;
}

.dl-modal-close:hover {
  color: #fff;
}

.dl-modal-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.dl-modal-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 8px;
  color: #fff;
}

.dl-modal-text {
  font-size: 13px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 28px;
}

.dl-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dl-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dl-form-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

.dl-form-label span {
  color: var(--gold);
}

.dl-form-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a2a;
  color: #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.dl-form-input:focus {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.dl-form-input::placeholder {
  color: #444;
}

.dl-form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23C5A059' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.dl-form-select option {
  background: #1a1a1a;
  color: #ddd;
}

/* File being downloaded indicator */
.dl-downloading-file {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(197,160,89,0.06);
  border: 1px solid rgba(197,160,89,0.2);
  padding: 10px 14px;
  font-size: 12px;
  color: #aaa;
}

.dl-downloading-file i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.dl-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.3s, background 0.4s;
}

.dl-submit-btn:hover {
  opacity: 0.88;
}

.dl-submit-btn:disabled {
  cursor: default;
}

.dl-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #444;
  letter-spacing: 0.5px;
  margin-top: -4px;
}

.dl-privacy-note i {
  color: #555;
  font-size: 10px;
  flex-shrink: 0;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .dl-modal {
    max-width: 500px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .dl-modal {
    padding: 32px 20px;
    max-height: 85vh;
  }

  .dl-modal-title {
    font-size: 20px;
  }

  .dl-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =====================
   FINISH REAL IMAGE
===================== */
.finish-real-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Stained finish swatch */
.swatch-stained {
  background: linear-gradient(135deg, #5a3e28, #7a5535, #4e3020);
}
