/**
 * Modern HVAC Calculation & Equipment Selection Styles
 * Tecnoclima S.p.A. - Industrial B2B Questionnaire & Engineering Configurator
 */

/* ==========================================================================
   1. Hero Header & Banner
   ========================================================================== */
.site-main-page .calc-page-hero,
.calc-page-hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  padding: 45px 0 55px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.calc-hero-title {
  color: #ffffff !important;
}

.calc-hero-desc {
  color: #cbd5e1 !important;
}

.calc-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.calc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.calc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 18px;
}

.calc-hero-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.calc-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 30px 0;
  max-width: 900px;
}

.calc-hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.calc-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.25s ease;
}

.calc-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.calc-feature-item .feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.calc-feature-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.calc-feature-item span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
}

/* ==========================================================================
   2. Success Banner
   ========================================================================== */
.calc-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-left: 6px solid #10b981;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 35px 0 25px 0;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.success-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-content h3 {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 8px 0;
}

.success-content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #047857;
  margin: 0;
}

/* ==========================================================================
   3. Main 2-Column Layout
   ========================================================================== */
.calc-page-wrapper {
  background: #f8fafc;
  padding: 40px 0 70px 0;
  min-height: 600px;
}

.calc-main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

/* ==========================================================================
   4. Form Cards & Inputs
   ========================================================================== */
.calc-card-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease;
}

.calc-card-section:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.calc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.calc-card-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.calc-card-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.form-group {
  margin-bottom: 24px;
}

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

.calc-field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.calc-field-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.form-row-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-input,
.calc-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.calc-input:focus,
.calc-textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.calc-input::placeholder,
.calc-textarea::placeholder {
  color: #94a3b8;
}

.input-with-hint .field-subhint {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 6px;
}

/* ==========================================================================
   5. Interactive Object Tiles
   ========================================================================== */
.object-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.obj-tile {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.obj-tile:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.obj-tile.active {
  background: #eff6ff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.obj-tile .tile-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.obj-tile .tile-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

.obj-tile.active .tile-title {
  color: #0284c7;
}

/* ==========================================================================
   6. Dimensions & Live Calculator Bar
   ========================================================================== */
.dimensions-inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dim-field .dim-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.dim-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dim-input-wrap .calc-input {
  padding-right: 38px;
  font-weight: 600;
  font-size: 16px;
}

.dim-input-wrap .dim-unit {
  position: absolute;
  right: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.live-calc-results {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 16px 22px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.live-res-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-res-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.live-res-val {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.live-res-item.highlight .live-res-val {
  color: #38bdf8;
}

.live-res-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   7. Insulation & Fuel Selection
   ========================================================================== */
.insulation-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.insul-chip {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.insul-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.insul-chip.active {
  background: #eff6ff;
  border-color: #0284c7;
}

.chip-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.insul-chip.active .chip-radio {
  border-color: #0284c7;
  background: #0284c7;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.insul-chip strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.insul-chip span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.fuel-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fuel-pill {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.fuel-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.fuel-pill.active {
  background: #eff6ff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.fuel-pill .fuel-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.fuel-pill strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.fuel-pill span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.purpose-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.purpose-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.purpose-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.purpose-btn.active {
  background: #eff6ff;
  border-color: #0284c7;
}

.purpose-btn strong {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.purpose-btn.active strong {
  color: #0284c7;
}

.purpose-btn span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   8. Form Submit Action
   ========================================================================== */
.calc-submit-bar {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 36px;
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
  width: 100%;
}

.calc-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.calc-submit-btn:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   9. Sticky Sidebar
   ========================================================================== */
.calc-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.calc-side-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.calc-side-card.engineer-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-color: #bae6fd;
}

.engineer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.engineer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.engineer-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.engineer-sub {
  font-size: 12px;
  color: #0284c7;
  font-weight: 600;
}

.engineer-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 16px 0;
}

.engineer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e0f2fe;
}

.side-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.side-contact-link:hover {
  color: #0284c7;
}

.side-contact-link svg {
  color: #0284c7;
  flex-shrink: 0;
}

.side-card-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.side-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.side-benefit-list .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.side-doc-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.side-doc-btn:last-child {
  margin-bottom: 0;
}

.side-doc-btn:hover {
  background: #eff6ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateX(3px);
}

.side-doc-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.side-doc-title {
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.side-doc-meta {
  font-size: 11px;
  color: #64748b;
  display: block;
}

/* ==========================================================================
   10. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1199px) {
  .calc-main-layout {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }
  .calc-hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .fuel-pills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .calc-main-layout {
    grid-template-columns: 1fr;
  }
  .calc-sidebar-column {
    position: static;
    margin-top: 10px;
  }
  .calc-hero-title {
    font-size: 26px;
  }
  .calc-hero-desc {
    font-size: 14.5px;
  }
  .object-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insulation-chips-grid {
    grid-template-columns: 1fr;
  }
  .purpose-selection-grid {
    grid-template-columns: 1fr;
  }
  .form-row-grid-2 {
    grid-template-columns: 1fr;
  }
  .calc-card-section {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .calc-hero-features {
    grid-template-columns: 1fr;
  }
  .dimensions-inputs-grid,
  .dimensions-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .phone-inputs-wrap {
    grid-template-columns: 1fr;
  }
  .live-calc-results {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .live-res-divider {
    display: none;
  }
  .fuel-pills-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Strict Form Elements (tcgroupenergia.ru/calc specification)
   ========================================================================== */
.phone-inputs-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
}

.phone-code-col,
.phone-number-col {
  display: flex;
  flex-direction: column;
}

.field-subhint,
.description-subhint {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 5px;
}

.description-subhint {
  font-style: italic;
}

.calc-select {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat calc(100% - 14px) center;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 38px 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-select:focus {
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.dimensions-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.dim-field-item {
  display: flex;
  flex-direction: column;
}

.dim-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.dim-hint {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: capitalize;
}

.dimensions-live-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 14px 20px;
  color: #ffffff;
}

.live-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.live-label {
  font-size: 12px;
  color: #94a3b8;
}

.live-value {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #38bdf8;
}

.live-item-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

.live-badge-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.calc-consent-row {
  margin-top: 20px;
  padding: 12px 0;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.calc-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0284c7;
  cursor: pointer;
}

.consent-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.consent-text a {
  color: #0284c7;
  text-decoration: underline;
}

.btn-calc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 36px;
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-calc-submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-calc-submit:active {
  transform: translateY(0);
}

.submit-privacy-note {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin-top: 10px;
}

/* Sidebar Specifics */
.calc-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}

.calc-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.engineer-contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-color: #bae6fd;
}

.sidebar-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.sidebar-card-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.sidebar-card-text {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 16px 0;
}

.sidebar-phone-box,
.sidebar-email-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.sidebar-email-box {
  margin-bottom: 0;
}

.sidebar-phone-link,
.sidebar-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-phone-link:hover,
.sidebar-email-link:hover {
  color: #0284c7;
}

.sidebar-phone-link svg,
.sidebar-email-link svg {
  color: #0284c7;
  flex-shrink: 0;
}

.sidebar-phone-note,
.sidebar-email-note {
  font-size: 11px;
  color: #64748b;
  padding-left: 30px;
}

.sidebar-sub-title {
  font-family: var(--tc-font-heading, "Montserrat", sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
}

.download-link-item:hover {
  background: #eff6ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateX(3px);
}

.download-link-item svg {
  color: #0284c7;
  flex-shrink: 0;
}

.download-link-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.download-link-item span {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.tkp-scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tkp-scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #334155;
}

.tkp-scope-list .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   12. Responsive Overrides (Guarantee correct stacking)
   ========================================================================== */
@media (max-width: 600px) {
  .dimensions-grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .phone-inputs-wrap {
    grid-template-columns: 1fr !important;
  }
  .dimensions-live-box {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 440px) {
  .dimensions-grid-4 {
    grid-template-columns: 1fr !important;
  }
  .dim-label {
    font-size: 13px !important;
  }
  .dimensions-live-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }
  .live-item-sep {
    display: none;
  }
  .live-badge-tag {
    margin-left: 0;
    margin-top: 4px;
  }
}


