/* Mestre Pinho Azulejaria - Technical Directory Stylesheet */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", sans-serif;
  background-color: #F3F4F6;
  color: #111827;
  line-height: 1.45;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

/* 1. Header */
.tech-header {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-bottom: 2px solid #111827;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.meta-brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111827;
}

.meta-divider {
  color: #9CA3AF;
}

.meta-jurisdiction {
  color: #4B5563;
  font-size: 12px;
}

.header-dispatch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.dispatch-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
}

.dispatch-contact {
  font-weight: 700;
  color: #EA580C;
  border-bottom: 1px dashed #EA580C;
  padding-bottom: 1px;
}

.dispatch-contact:hover {
  color: #111827;
  border-bottom-style: solid;
}

/* 2. Hours Banner */
.hours-banner {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  margin-bottom: 12px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.schedule-slot {
  padding: 10px 14px;
  border-right: 1px solid #E5E7EB;
}

.schedule-slot:last-child {
  border-right: none;
}

.schedule-slot.closed-slot {
  background-color: #F9FAFB;
}

.slot-heading {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 2px;
}

.slot-body {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

/* 3. Hero */
.hero-section {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  margin-bottom: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.hero-media {
  background-color: #E5E7EB;
  border-right: 1px solid #D1D5DB;
  display: flex;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  padding: 18px 20px;
}

.reg-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #F3F4F6;
  border: 1px solid #D1D5DB;
  color: #4B5563;
  padding: 2px 6px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 10px;
}

.hero-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}

/* 4. Refusal */
.refusal-panel {
  background-color: #FFFFFF;
  border-left: 4px solid #EA580C;
  border-top: 1px solid #D1D5DB;
  border-right: 1px solid #D1D5DB;
  border-bottom: 1px solid #D1D5DB;
  padding: 10px 16px;
  margin-bottom: 12px;
}

.refusal-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #EA580C;
  color: #FFFFFF;
  padding: 2px 5px;
  margin-bottom: 4px;
}

.refusal-text {
  font-size: 12.5px;
  color: #1F2937;
  line-height: 1.4;
}

/* 5. Spec Table */
.spec-section {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  margin-bottom: 12px;
}

.table-header-bar {
  padding: 10px 14px;
  border-bottom: 1px solid #D1D5DB;
  background-color: #F9FAFB;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-caption-code {
  font-family: monospace;
  font-size: 11px;
  background-color: #111827;
  color: #FFFFFF;
  padding: 2px 5px;
}

.table-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111827;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E5E7EB;
  vertical-align: top;
}

.level-one-header th {
  background-color: #F3F4F6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4B5563;
  border-bottom: 1px solid #D1D5DB;
  padding: 6px 14px;
}

.level-two-header th {
  background-color: #FFFFFF;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  border-bottom: 2px solid #111827;
}

.col-code {
  width: 100px;
}

.col-qty {
  width: 150px;
}

.col-rate {
  width: 150px;
  text-align: right;
}

.cell-code {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
}

.cell-scope strong {
  display: block;
  color: #111827;
  margin-bottom: 3px;
  font-size: 13.5px;
}

.cell-notes {
  display: block;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}

.cell-qty {
  font-size: 12.5px;
  color: #374151;
}

.cell-rate {
  text-align: right;
}

.rate-tag {
  display: inline-block;
  background-color: #EA580C;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.rate-tag.rate-eval {
  background-color: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
  font-weight: 600;
  font-size: 11.5px;
}

/* 6. Contact & Privacy */
.contact-panel {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #D1D5DB;
}

.contact-item {
  padding: 14px 16px;
  border-right: 1px solid #E5E7EB;
}

.contact-item:last-child {
  border-right: none;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 4px;
}

.contact-data {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 2px;
}

.contact-phone {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #EA580C;
  margin-bottom: 2px;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-link {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  margin-bottom: 2px;
}

.contact-link:hover {
  color: #EA580C;
  text-decoration: underline;
}

.contact-sub {
  display: block;
  font-size: 11px;
  color: #9CA3AF;
}

.footer-legal {
  padding: 12px 16px;
  background-color: #F9FAFB;
}

.legal-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6B7280;
  margin-bottom: 4px;
}

.legal-text {
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.45;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .site-frame {
    padding: 8px;
  }

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

  .hero-media {
    height: 180px;
    border-right: none;
    border-bottom: 1px solid #D1D5DB;
  }

  .schedule-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .schedule-slot,
  .contact-item {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .tech-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .col-qty {
    width: auto;
  }
}
