.prof-page-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at top left, rgba(0, 142, 169, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef6fb 100%);
}

.prof-page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.prof-page-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.prof-page-filters {
  margin: 0 auto 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 213, 225, 0.9);
  border-radius: 1.5rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.prof-page-filters--disabled {
  opacity: 0.72;
}

.prof-page-filters-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.prof-page-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.prof-page-filter-label {
  color: #132238;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prof-page-filter-input,
.prof-page-filter-select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  color: #132238;
  font-size: 0.96rem;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.prof-page-filter-select {
  appearance: none;
  padding-right: 3rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #008ea9 50%),
    linear-gradient(135deg, #008ea9 50%, transparent 50%);
  background-position:
    calc(100% - 1.3rem) calc(50% - 0.15rem),
    calc(100% - 0.95rem) calc(50% - 0.15rem);
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  background-repeat: no-repeat;
}

.prof-page-filter-input::placeholder {
  color: #94a3b8;
}

.prof-page-filter-input:disabled,
.prof-page-filter-select:disabled {
  cursor: not-allowed;
  background-color: #f8fafc;
}

.prof-page-filter-input:focus,
.prof-page-filter-select:focus {
  outline: none;
  border-color: rgba(0, 142, 169, 0.68);
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, 0.12),
    inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.prof-page-filters-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.prof-page-results-count {
  margin: 0;
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.5;
}

.prof-page-filter-reset {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, #008ea9 0%, #0f6d8a 100%);
  box-shadow: 0 14px 28px rgba(15, 109, 138, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.prof-page-filter-reset:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(15, 109, 138, 0.26);
}

.prof-page-filter-reset:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, 0.18),
    0 18px 32px rgba(15, 109, 138, 0.26);
}

.prof-page-filter-reset:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.prof-page-title {
  margin-bottom: 1rem;
}

.prof-page-desc {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.prof-demo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.prof-demo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid rgba(201, 213, 225, 0.8);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.prof-demo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 142, 169, 0.25);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.prof-demo-media {
  position: relative;
  aspect-ratio: 4 / 5.1;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(180deg, #dff5fb 0%, #f7fbff 100%);
}

.prof-demo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.prof-demo-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
  min-height: 92px;
  text-align: center;
}

.prof-demo-kicker {
  margin: 0;
  color: #008ea9;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prof-demo-name {
  margin: 0;
  color: #132238;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.prof-demo-text {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 1280px) {
  .prof-demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .prof-page-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .prof-page-section {
    padding: 3rem 0 4rem;
  }

  .prof-page-filters {
    padding: 1rem;
  }

  .prof-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prof-demo-media {
    min-height: 280px;
  }

  .prof-page-filters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .prof-page-shell {
    padding: 0 1rem;
  }

  .prof-demo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .prof-page-header {
    margin-bottom: 2rem;
  }

  .prof-page-desc {
    font-size: 0.98rem;
  }

  .prof-page-filters-footer {
    align-items: stretch;
  }

  .prof-page-filter-reset {
    width: 100%;
  }

  .prof-demo-media {
    min-height: 300px;
  }
}

.profesional-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: var(--csjgreen);
  border: 2px solid var(--csjgreen);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profesional-btn:hover {
  background: var(--csjgreen);
  color: #ffffff;
  transform: translateX(4px);
}

.profesional-btn svg {
  width: 1rem;
  height: 1rem;
}
